linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

tkn, in Package up and transport a linux?
@tkn@startrek.website avatar

I’m not an expert in Linux, but I’ve been using it for more than 20 years. I used to be plagued by this issue, but since online services have matured, I’ve got most of my stuff synced up. That, and my NAS and an external drive for backups. I do have a few thoughts, though.

One, I believe you can simply copy your /home directory and restore your OS settings by restoring it to a new install. This strikes me as a limiting option, as it doesn’t allow you to distro hop, at least not seamlessly. Also, get an external drive for backups. I use Deja Dup for simple, easy backups and restorations.

Two, I would suggest you investigate either Fedora (getfedora.org) or Pop_OS! (pop.system76.com) as an alternative. Fedora is based on Red Hat, which is very mature, but strikes a nice balance between the latest software and reliability. Pop_OS! is Debian-based, which is also a very well matured OS, though System76 has made some major improvements. I use their Pop Shell extension for GNOME on Fedora 39 for window tiling, easily the best I’ve used on any Linux distro. Regardless, almost any other distro should be easier to get going over Arch. Sorry, Arch users ;)

Three, if you really don’t want to leave Arch, check out Manjaro. It’s Arch-based, but it’s quite a bit easier to set up.

Four, if you’d still like to try borking things, but without facing consequences, I’d set up a local VM using Boxes for GNOME or VirtualBox (www.virtualbox.org). That way you can test stuff without risking your functional system. Boxes is better, IMO, since it can install distros from the app itself. The list has at least 100 distros of all types to choose from, including Haiku and FreeBSD. It would be good, however, if you have at least 16GBs of RAM, though I generally run VMs with 4GBs of RAM, Linux can run fine with 2GBs.

I hope that helps :)

UnRelatedBurner,

tbh I bearly have experience in any distro, but Arch didn’t pose that much of a challange. I might switch, but I really don’t see the advantage I’d get. Maybe to Debian, I used it’s terminal. But, great Idea to mess around in VMs first!

Can you explain this step:

and restore your OS settings by restoring it to a new install.

tkn,
@tkn@startrek.website avatar

I’m utterly useless with base arch 🤣 If it works for you, who’m I to complain 👍

I guess I should have made that clear. Your /home directory is where everything user-related is stored in invisible folders. All your settings for the OS and applications are kept in there. So, if you copy that directory and restore it to a fresh install of the same distro, all of your settings will be restored. It’s been years, but I’ve done it a few times.

The only thing you’ll really need to do after that is re-install all of the apps you installed. Once you have, however, every apps settings are restored.

UnRelatedBurner,

wonderful, thank you for the info. I’ll have to sleep on this tho.

tkn,
@tkn@startrek.website avatar

Definitely take your time and soak up more info from other sources :) I hope all of this turns out to be at least marginally helpful :D

UnRelatedBurner,

Thank you. You wrote so much that I checked out your profile, I just wanna say: Enjoy your time on Lemmy! And that I am honored to have more then half of your all time comments be answers to me.

tkn, in Package up and transport a linux?
@tkn@startrek.website avatar

So is this possible? and if yes, how should I go about this? did someone make a tool for this already? Or(!) can I burn it to a flash and the drivers will correct themselves/I’ll deal with them later?

I think this is where a few respondents got the impression you are looking at this like a Windows install. It is not. All of the drivers, minus proprietary (also called non-free) drivers (i.e., Nvidia, file format support, etc), are already included in the installation. On laptops, this can get weird with some of the laptop-specific hardware, but most of it works out of the box most of the time. Exceptions are old WinTel-era wireless and networking cards which needed a terrible driver wrapper, but has long since fallen out of favor. Thankfully!

UnRelatedBurner,

Wait, so… I can copy everything as-is except /boot ?

tkn,
@tkn@startrek.website avatar

~/boot is at the root of the drive. Your home folder should be in ~/home/username. THAT you can copy wholesale. I believe. Don’t take my word for it. Deja Dup can do it for you, as well, or the entire system.

UnRelatedBurner,

And if I make a user with the same username on the other system, it’ll just… connect?

tkn,
@tkn@startrek.website avatar

If you don’t encrypt the drive, yes. Some things you will have to reauthenticate, however, like your online accounts, but when those are reconnected everything should work as intended. That you should confirm, however. I don’t encrypt, though I should ;)

UnRelatedBurner,

I don’t even know how-to, or what it truly means to encrypt, so I don’t have to worry about that. And I just love hearing the other parts. Thanks

cadekat,

Bit of pedantry, but ~/boot expands to something like /home/username/boot.

/boot is a folder at the root of your filesystem, while ~/boot is a directory in your home folder.

tkn,
@tkn@startrek.website avatar

Oh yes! Thanks for reminding me. The ~ is a shortcut to the active users home folder? Thanks!

2xsaiko, (edited ) in Package up and transport a linux?
@2xsaiko@discuss.tchncs.de avatar

mkstage4 is exactly for this. It’s basically just a wrapper for tar which excludes unneeded directories for you already.

UnRelatedBurner,

I’ll look into it, thanks!

Drito, (edited ) in Package up and transport a linux?

There is a pacman command that prints the list of all packages installed by users. I don’t remenber the command sorry but you’ll find that here:

wiki.archlinux.org/title/Pacman/Tips_and_tricks

Its probably “pacman -Qe”.

Then it should be easy to create a script that install all that automaticcally. If your are cautious you should have a backup of your home anyway on some storage device .

UnRelatedBurner,

Huh, does everything store it’s configs in ~/.config ? Is it some unwritten rule? That’d make life so much easier.

Limitless_screaming, (edited )
@Limitless_screaming@kbin.social avatar

Unfortunately not every app follows that convention. A lot of them just dump config files into your home directory, including Firefox.

There's a script called XDG-Ninja that can list some of the apps that do that. You can probably get it from the AUR

UnRelatedBurner,

At least it’s somewhat narrowed down, I’ll try the app, thanks!

Drito, (edited )

Sorry I edited my post, I was wrong.

.config stores many apps settings. But unfortunately some apps stores that directly in ~ as hidden files and directories. Personnally I make a backup of my whole home.

UnRelatedBurner,

oh, no problem, at least I know now. Thanks!

tux0r, in Linux distribution for gaming and media centre.
@tux0r@feddit.de avatar

Linux is probably not the wisest choice for gaming - that would still be Windows. Anyway, the distribution does not matter that much. You can install most Linux and cross-platform software on most distributions. Do not choose your system because of what comes as the default desktop, default package set et cetera. Try a few ones. Read some reviews.

woelkchen,
@woelkchen@lemmy.world avatar

Go and tell your exciting information to Valve. They’ll certainly appreciate your input how Steam Deck with SteamOS is dead in the water.

dvdnet89,
@dvdnet89@lemmy.today avatar

it is strange you got downvoted because certain important games and tools does not work on Linux such as game pass or Destiny 2

tux0r,
@tux0r@feddit.de avatar

I probably said “Windows” once too often (= once).

the_q,

No you got downvoted for bad info.

nik282000,
@nik282000@lemmy.ca avatar

You’re in the wrong sub. OP didn’t ask which Windows should I install.

BroBot9000,
@BroBot9000@lemmy.world avatar

I buy and play games, I don’t pay for a subscription where a massive corporation gets the bulk of the money while the developers get squat.

Destiny is not an important game. It’s one game as a service designed to be as grindy as possible.

I’ll be fine with Linux.

woelkchen,
@woelkchen@lemmy.world avatar

GamePass is a service for mildly entertaining games (around 7/10 score). The better ones leave the service Netflix style all the time and for the games I’ve checked DLC was not included, so purchasing needed.

Destiny 2 fell down to mixed reception in recent months according to Steam. Most Sony PC games launch Steam Deck verified these days. Same for many other games. Since SteamOS is a Linux distribution, compatibility extends to other mainstream distributions.

BeardedBlaze,
@BeardedBlaze@lemmy.world avatar

Destiny 2 is an important game? XD

woelkchen,
@woelkchen@lemmy.world avatar

It used to be a couple of years ago.

warmaster,

Gamepass Cloud works. What won’t work is Gamepass PC, because Microsoft doesn’t care, and wraps it up in an unmodifiable container.

shreddy_scientist, in Linux distribution for gaming and media centre.
@shreddy_scientist@lemmy.ml avatar

Nobara could be a great choice for your setup. It’s a version of Fedora, made by a very well respected Fedora team member, setup with gaming in mind. It comes with many of the drivers you’d have to download using most other distros. Being Fedora based means you can tinker with anything you wanted to change. I recommend the KDE spin, KDE is known as the swiss army knife of environments. It’s super intuitive too. I’m actually in a bit of an emulator phase right now, I have had zero issues using KDE Fedora while figuring it all out!

Corgana, in Linux distribution for gaming and media centre.
@Corgana@startrek.website avatar

HoloISO is SteamOS for non Steam Decks. That would be great option for something that “just works” and is designed for use from the couch with a controller. I haven’t tried this but I’m sure there’s a way to install Kodi for media too.

helenslunch,
@helenslunch@feddit.nl avatar

Don’t know why I see so many people recommending HoloISO. It hasn’t been updated in 3 months, and all they did was merge a bunch of code from Chimera.

ChimeraOS and Bazzite are what you’re looking for.

Corgana,
@Corgana@startrek.website avatar

Thanks for educating me, what’s the difference between the three?

helenslunch, (edited )
@helenslunch@feddit.nl avatar

I don’t really know, other than the other 2 are updated on a nearly daily basis and Chimera is Arch-based (like SteamOS) with Gnome UI while Bazzite is Fedora-based.

BassTurd, in Linux distribution for gaming and media centre.

I switched to Linux and have no issues with gaming. There are a couple of settings that need tweaked in steam, but it doesn’t take a computer genius to figure it out, just follow a guide or video.

For a beginner something like Mint might be the easiest transition. I went with Garuda myself, and it’s worked well, but I feel it’s probably a little less intuitive that something like Mint.

For gaming, look into proton, and how to have your games run with it and you’ll probably be fine. Keep your windows key on hand in case you decide to revert.

const_void, in Linux distribution for gaming and media centre.

There’s no that much difference between distros except for the package manager. Choose whichever one is best for you.

danileonis, (edited ) in Metal music with Linux?
@danileonis@lemmy.ml avatar

I’m actually using Ardour as my daily daw, very powerfull (check my profile if interested in libre music). Consider I made electronic music for many years with proprietary software.

Pantherina, (edited ) in Testing packaging which targets multiple distributions?

Not mentioned here so:

  • virt-manager is better than virtualbox.

<span style="color:#323232;">sudo dnf install qemu qemu-kvm virt-manager
</span><span style="color:#323232;">sudo groupadd libvirt
</span><span style="color:#323232;">sudo usermod -aG libvirt $USER
</span><span style="color:#323232;">systemctl enable --now libvirtd
</span><span style="color:#323232;">virt-manager
</span>

Thats the way on Fedora, debian packages are called a bit differently, Ubuntu again, but that method works.

Also for packaging an app that just works, why not flatpak? Especially if its a GUI app, this would highly improve availability on many Distros not covered by RPMs and DEBs. Also RPMs can have dependency conflicts between Opensuse and Fedora because naming, probably similar with Ubuntu and Debian.

authed, in Linux distribution for gaming and media centre.

Just install your fav distro and install whatever you need

BroBot9000,
@BroBot9000@lemmy.world avatar

Never installed Linux before, don’t have a fav. That’s why I’m asking.

authed, (edited )

They are mostl all about the same (the major ones)… Different package managers and other differences but basically the same

wuphysics87,

How is this helpful?

authed, (edited )

I used more than 10 distros and don’t really notice that much difference is my point

Pantherina, in toolbox vs distrobox. Which one to use?

Distrobox was always stable for me. Autocomplete only in bash but that doesnt matter much. Waaay more images by default but not as curated, also many are maintained by Fedora people and not the Distrobox people, so its not like they actually support more but just ship.

This is a big difference, Toolbox also supports these images.

But featurewise distrobox is brilliant, love the app icon export, the binaries are maybe a bit bloated.

iopq, in Package up and transport a linux?

There’s a distro called NixOS that is created for this purpose. It also has a tool called home manager that will manage your dot files for you. Once you back up like two or three configuration files you can recreate your system (minus any actual data)

When you do this in Arch there’s no guarantee you get the same package versions and there’s no guarantee everything works

lupec, (edited )

To add to this, another viable path is using Nix, the package manager, on its own. That way you can get Home Manager to manage your applications and dotfiles independently of your base system, as long as you are able to install Nix.

It’s my general workflow, run Determinate Nix Installer, install Home Manager, clone my config and I’m off to the races. Been sharing that config between Debian, Ubuntu on WSL and Bazzite for a while and it’s served me well so far.

markstos, in Linux-hardened and Flatpak, Distrobox, Podman, Docker

Tools like Podman, Docker, Distrobox and Toolbox use custom uid namespaces. I don’t see how they could work with them disabled.

Pantherina,

With a specific exception only for one software. I would be happy with Flatpak and Podman. Maybe Waydroid and wine too though?

Rustmilian,
@Rustmilian@lemmy.world avatar

Wine should just work.
Waydroid needs extra support from the kernel that linux-hardend has disabled at compile time. There’s a DKMS solution however.

Pantherina,

This one? it doesnt mention the hardened kernel at all, is this some obsolete modification not needed in modern Kernels?

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

binder_linux-dkms
It’s an Android thing.

Pantherina,

Crazy that it just works on Fedora

Rustmilian,
@Rustmilian@lemmy.world avatar

That just means they have the feature enabled at compile time. Linux-Zen is the only kernel that has it on Arch.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #