There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

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

mudamuda , in would you recommend debian testing for a daily driver?
@mudamuda@geddit.social avatar

The problem with Debian testing is that packages are not fresh, neither packages are fresh in sid. So, Debian is not a replacement for rolling distros like Arch Linux or openSUSE Thumbleweed

tubbadu OP ,

why not? I installed it in a VM and the packages seems all up to date (except for firefox because it uses firefox-esr)

mudamuda ,
@mudamuda@geddit.social avatar

Where can I track package versions without installing? packages.debian.org/trixie/ and packages.debian.org/unstable/ show outdated packages.

Kierunkowy74 ,
@Kierunkowy74@kbin.social avatar

https://repology.org
Debian testing is Debian 13

ProxyZeus , in Documenting commands # or $ before sudo?
@ProxyZeus@lemmy.world avatar

Personally i prefer the $ sudo because honestly i don’t always notice the symbol at the beginning but sudo is really easy to keep track of whats root and what isn’t

exu OP ,

I hadn’t thought of it like that. Thanks

moobythegoldensock , in Can you please ELI5 tmux?

You’ve gotten a lot of good replies, so I’ll give you an example:

My wife and I set up a Minecraft server on an old work computer of hers. We would SSH in, start the server, and play. However, if the host lost the SSH session, the entire server would crash because the session would close.

With tmux, we could attach, start the server, and unattach. I could start the server and later my wife could attach to close it. I could SSH on my phone via iSH, attach, start the server, unattach, and close the app. We could troubleshoot mods together, since we could both see everything that happened in the session on our screens.

It offered a level of flexibility a traditional SSH session doesn’t give.

twitterfluechtling ,
@twitterfluechtling@lemmy.pathoris.de avatar

Sounds like “screen”? (I never heard about tmux until today, I work a lot with Linux on a daily base, maintaining servers etc. I use screen a lot.)

understandable ,

Tmux is screen in more powerful. Zellij is another great terminal multiplexer. Worth giving all of them a whirl.

iusearchbtw ,
@iusearchbtw@lemmy.sdf.org avatar

Hadn’t heard about Zellij before now, it looks really cool!

faktor50 ,

Am I right when I assume that “minecraft server” is a program - not a machine?

moobythegoldensock ,

Minecraft is a procedurally generated open world video game.

For multiplayer, the computer hosting the game has to be able to load the portion of the world for each player. Having a dedicated computer hosting the server allows for much smoother gameplay experience then trying to have a single PC both run the server and client.

The machine we used for the server was literally one of my wife’s old work PCs and we just use it to host these types of games. We previously ran an ARC: Survival Evolved server on it.

Pekka , in Anyone else starting to favor Flatpak over native packages?
@Pekka@feddit.nl avatar

Flatpak and Snap definitely make installation more simple. The packages come with their own dependencies so you have way less issues with conflicting dependencies. I like them when they are officially supported by the distribution or developer, but I prefer the official installations over supporting a random person making a package (not sure if this is a thing with Flatpak, but with Snaps that was definitely a thing).

Some software really benefits from not begin inside flatpak though, I had to switch back to the deb version of Visual Studio Code as the integrated console didn’t have access to some software outside the package and was also logging weird errors.

DidacticDumbass OP ,

I think that is what is pretty cool about them, that you can have both versions with no problems. Also, of course if the flatpak is giving me problems, I just uninstall it and use the package manager or something else.

vampatori , in Anyone else starting to favor Flatpak over native packages?
@vampatori@feddit.uk avatar

Containerised everything is the future of computing and I think we’ll look back on how we do things currently with horror!

But yes, I am slowly starting to use more contained desktop applications. Server-wise, everything I deploy is now in containers.

DidacticDumbass OP ,

I am happy that it is becoming more common. The first time I learned about containerization was QubesOS, which is great, and I still may try it.

minimo , (edited ) in SUSE Preserves Choice in Enterprise Linux by Forking RHEL with a $10+ Million Investment

It would be so cool if they created the Debian for RPM/Enterprise Linux and all the other distros from that “family” used it as a rock-solid upstream base.

Sir_Simon_Spamalot ,

We already have it. It’s called Debian.

minimo ,

Yeah, and I love it. However, after knowing the deb and the rpm worlds for the 20 years I’ve been using Linux, I believe it is too late for these two sides to unite and work together.

Sir_Simon_Spamalot ,

Even without talking about different dot extension, there are multiple incompatible repo with the same ones. Take RHEL vs SuSE vs Fedora, or Ubuntu vs Debian

musaoruc , in Anyone else starting to favor Flatpak over native packages?

When using Fedora Silverblue, there is no other option, which I do!

canpolat ,
@canpolat@programming.dev avatar

Are there any other distros that are flatpak-only?

effingjoe ,
@effingjoe@kbin.social avatar

Check out VanillaOS. It's pretty neat.

canpolat ,
@canpolat@programming.dev avatar

Thanks

effingjoe ,
@effingjoe@kbin.social avatar

They don't hype it as much as (I think) they should on that webpage, but VanillaOS does this thing with it's package manager, Apx, where it allows you to install applications from various distros via containers, and run them all side-by-side seamlessly. It's neat.

canpolat ,
@canpolat@programming.dev avatar

What about the packages that are not available in flatpak? I assume there must be some packages that are only available in certain corners of the internet?

effingjoe ,
@effingjoe@kbin.social avatar

Yeah, that's what I mean. You can use flatpak (or snap if you swing that way) but you can also install applications via containers. They're still not installed on the OS-- even "native" applications get installed via the container. So if the application you want is maintained for arch in aur, you can add the --aur tag to the apx command and it will install that version instead of the default, which is ubuntu. This also works for fedora applications.

Edit: More info here: https://handbook.vanillaos.org/2023/01/11/install-and-manage-applications.html

canpolat ,
@canpolat@programming.dev avatar

That sounds cool. Thanks for the recommendation.

Peruvian_Skies ,
@Peruvian_Skies@kbin.social avatar

Doesn't that result in a lot of wasted space from duplicated dependencies? Don't get me wrong, this looks great on paper, which is why I desperately need to find fault with it before I start distrohopping again.

effingjoe ,
@effingjoe@kbin.social avatar

I'm sure it does to some degree, though I don't know if it's enough to matter on modern computers, and isn't that what flatpak does, too? (duplicating dependencies)

In any event, if you don't need an application from a specific distro there's no reason to create that container. The non-ubuntu ones get created when they're needed. (And I think the next version of VanillaOS will be debian-based, not ubuntu; in case that matters.)

donuts ,
@donuts@kbin.social avatar

Flatpaks aren't the only option in Silverblue: you can also layer packages using 'rpm-ostree' (requires a reboot though), and you can also use toolbx (or even better, distrobox) to create an easy-to-use container that you can do anything with. With distrobox you can install an app inside of a fedora/ubuntu/arch/other container, and then use a simple terminal command to expose that app to your host system as if it was installed natively.

I'm on Silverblue and I have mostly flatpaks plus a handful of layered packages as my base system. Then I have a couple of distrobox ubuntu containers for software development (lots of libraries and build tools), music production (with Yabridge and Wine). Because the base system is immutable I've never had a problem that prevented my computer from booting, and if I ever do, it's extremely easy to roll back to before the last update. I've had a couple of issues working with containers in the past, but not big ones, and much of that comes down to my own user error.

I definitely recommend Silverblue for anyone who wants a rock solid, practically unbreakable Linux system.

eh ,

I wonder how well it integrates with hardware. Arch with the pacman packages has been the only distro where I could get ROCm working reliably. I'd love to make a "ROCm container" and dump all that mess into it's own sandbox.

In fact, the thing I really want is more of a "Qubes but not for security tryhards" (aka I can actually use Wayland AND game on it) where everything gets it's own container mainly for organizational purposes, but something like this sounds like a fair compromise.

effingjoe ,
@effingjoe@kbin.social avatar

Could you do this with something like Distrobox?

eh ,

Again - I have no idea how well it's hardware support is. I assume 3d accel and whatnot would be fine because it's widely used, but dunno if anyone tried running ROCm on it.

effingjoe ,
@effingjoe@kbin.social avatar

You first need to install Distrobox: https://www.gamingonlinux.com/2022/09/distrobox-can-open-up-the-steam-deck-to-a-whole-new-world/

this will give you a clean ubuntu enviroment to install amd-gpu

after that enter the ubuntu pod

and run the prerequisite
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation_new.html#prerequisite-actions
use the automated script

https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation_new.html#ubuntu-20-04

The source is reddit, but I didn't want to send more traffic there: https://www.reddit.com/r/steamdeck_linux/comments/xltere/rocm_finally_installed_via_distrobox/

sneakyninjapants ,

IIRC Apx is using distrobox under the hood. So in that case yes.

DidacticDumbass OP ,

That is actually awesome. It sound like the Fedora aliens (?) but probably more reliable. Cool. Adding VanillaOS that to the list potential new OS that makes computing easy and fun.

rainier ,

OpenSUSE Aeon (MicroOS Desktop)

alternateved ,
@alternateved@lemmy.one avatar

But there are other options with Silverblue.

ebits21 ,
@ebits21@lemmy.ca avatar

It’s the preferred option for gui programs.

alternateved ,
@alternateved@lemmy.one avatar

That doesn’t mean it is the only option.

ebits21 ,
@ebits21@lemmy.ca avatar

Same. But I started using flatpaks for everything I could prior to moving so it was easy.

pineapple , in Advice for a middle-age, moderately pc knowledgeable person to finally switch to or become proficient with Linux?

I have an arguably bad piece of advice, but one I hadn’t seen in skimming the replies.

You could always install Windows in a VM. Libvirt and virt-manager offer a pleasant GUI experience so it’s easy to do. If you give the VM a heavy resource allotment (while leaving a reasonable amount for the host) it should still perform well. The VM video driver is the only place you take a not insignificant performance hit, but for A/V manipulation I don’t think it’ll matter. Unless you use GPU based video encoding. In which case it’ll be CPU bound now so slower. You can potentially do PCI pass through to your GPU but that adds complexity.

A big downside here is that as far as Windows is concerned, this is different “hardware” so it won’t activate based on your physical device. As I recall, it only allows the use of one core while unactivated which is pretty much unusable. So a pretty hefty expense relative to a personal VM, I think. But it is an option.

Tippon ,

“A big downside here is that as far as Windows is concerned, this is different “hardware” so it won’t activate based on your physical device.”

You can transfer a Windows licence from another installation, so in OP’s situation, from the original installation. During Windows setup, select the ‘I don’t have a license key’ option, then once Windows is installed, go into settings, click the Windows isn’t activated option, and go through the activation troubleshooter.

I can’t remember exactly where, but somewhere in there is the option to transfer the license from another installation. It has to be the same version of Windows.

nan ,
@nan@lemmy.blahaj.zone avatar

The license transfer also depends what edition was being used. OEM may be stuck with the hardware, traditionally you could take a retail license to a new install.

Tippon ,

That’s a good point. It’s been so long since I had to buy a new copy that I can’t remember what version I have.

retiolus , in Anyone else starting to favor Flatpak over native packages?
@retiolus@lemmy.cat avatar

For a long time now, if a flatpack is available and maintained, I use it.

DidacticDumbass OP ,

I briefly considered getting into Fedora Silverblue, and I still may for this very purpose.

ebits21 ,
@ebits21@lemmy.ca avatar

If you switch everything you can to flatpaks and use distrobox for other apps before you switch you’re pretty close (better than toolbox and recommend layering it if you do switch to Silverblue).

Anything can be layered onto Silverblue if it can’t be installed another way. I’ve found it works well.

DidacticDumbass OP ,

Whoa! Distrobox looks cool! Did this come out on Android first? Seems like something I used to have fun with.

Damn, there are so many cool software I have never even seen in passing. I mean, I guess anything is possible. Hah.

rainier ,

I’m getting into OpenSUSE Aeon (MicroOS desktop) and it’s been really great with Flatpaks and Distrobox. You should consider that one too :)

DidacticDumbass OP ,

Sounds dope. I love OpenSuse. I almost made it my main OS, but got kicked in the ass installing graphics drivers and the fixes were many and too annoying.

MicroOS. Never head of that. I am excited now.

rainier ,

I had a reasonably good time getting NVIDIA drivers installed. I found the instructions here. I installed the newest drivers using the following command + a reboot. transactional-update -i pkg in nvidia-driver-G06-kmp-default nvidia-video-G06 nvidia-gl-G06 nvidia-compute-G06 nvidia-utils-G06 nvidia-compute-utils-G06The OpenSUSE guide doesn’t include compute-utils, which is needed if you want to run nvidia-smi. I haven’t tried installing a full CUDA SDK, so ymmv there.

DidacticDumbass OP ,

I think I just need to follow the guides more closely. I must have missed something.

ebits21 ,
@ebits21@lemmy.ca avatar

Same. Better stability, frequent updates, no building from aur, and permission management with flat seal are great.

If you use mostly flatpaks they share packages which means they don’t take nearly as much space overall as single packages do.

Updates with only downloading diff’s is fast and works well.

CrabAndBroom ,

I also like them just for the sake of tidiness. Some apps like Steam tend to make a big mess of dependencies all over the place, so it’s nice to have that all contained in one place. It does take up more space but I have a reasonably big hard drive so it’s kind of negligible for me.

sudo22 , in Anyone else starting to favor Flatpak over native packages?
@sudo22@lemmy.world avatar

This is exactly what flatpaks were meant to do. Simplify the program deployment across all distros

DidacticDumbass OP ,

It certainly has simplified things for me! To get anything so up to date, I would need to use something like Arch or the AUR, which is fine but I find unappealing (using Arch).

floofloof ,

AUR is also insecure. I’d rather use a Flatpak from a trustworthy source.

DidacticDumbass OP ,

I have been burned by the AUR so many times. It is not the perfect endless repository people advertise it to be.

lengsel , in would you recommend debian testing for a daily driver?

The benefit of testing branch is it's still nit quite so bleeding edge, and updating from testing branch every week means you'll never have to install new stable releases, you'll already be running it.

While the testing branch is stable, if you want even more assurance of consistant stabilty, use Devuan testing branch, which is Debian without systemd.

tubbadu OP ,

thanks for the answer! In your experience, is Devuan more stable than classical Debian? I’ve never used a non-systemd distro, so I don’t really know what to expect from it

lengsel ,

Yes, Devuan is more stable. It's not modified or forked, it's still Debian .deb files but with a different init system.

The difference is systemd is one thing to handle everything. The other inits are launched or initiated each time something thing starts on an individual basis.

I have heard that systemd has greatly improved, but a different init starts a new process ID for each separate program so if something locks or freezes, it affects that one inidividual init process. For systemd, which runs system wide to handle everything, if one program locks, systemd has to make adjusts for the whole system to fix the problem.

I also tried Artix, which is native Arch without systemd, and while it was still a rolling system like Arch, I found Artix to run smoother or lighter than Arch.

Some people find command line with systemd easier to do becase it is one centrslized control system, I say no, what you gain in ease of management you lose in optimal performance and precise control over each individual one, as opposed to systemd being a blanket system. I want Firefox running an isolated process from the one that Plasama desktop is running, each sith their own init started only when each one was started and not controlled by a shared resource.

tubbadu OP ,

super clear answer! thanks!

words_number , in would you recommend debian testing for a daily driver?

I’ve been using it for 5 years on laptop and desktop and I’ve had very few issues since then. Imo it offers the best trade-off between up to date packages (and availability of packages and repos), rolling release and stability. I don’t see any reason to switch distros anytime soon.

More details: I’m using xfce and I’ve installed firefox from the unstable branch (via apt pinning) because I wanted it to be more bleeding edge.

tubbadu OP ,

thanks for the answer! I have installed it on a VM and noticed that only firefox-esr is present, which is a couple of versions behind. Why isn’t a “normal” firefox package included? and also, does installing firefox from the unstable branch causes any problems to other packages, conflicts, etc, or is it completely safe?

words_number ,

Yes, that’s why I installed it from unstable. The ESR version is an older version with added security patches. I’m not sure, why exactly they are doing it like that and I don’t think it’s a good idea. I’d say a browser should be as up to date as possible for both, bug fixes AND new features. But it worked flawlessly using the “unstable” firefox package. Another option would be the flatpak, but that’s not that well integrated into the system - last time I tried that, the font rendering in the browser was awkward. I use some other flatpaks though, most notably gimp and inkskape which work really well and are very up to date that way.

Monologue ,
@Monologue@lemmy.zip avatar

i encountered the font rendering bug as well, it seemed to be caused by x11 font packages and simply removing those with

sudo apt remove xfonts-base xfonts-100dpi xfonts-75dpi

solved the problem, here is a more detailed explanation

rstein ,

That is standard in all of Debian, just get it as a flatpack.

scutiger , in New Steam Client Stable Update Fixes UI Issues on Linux for Intel/AMD Users

Has anyone else seen the issue where clicking on the menus at the top of the window will open the menu on another monitor?

namelivia , in The year of Linux on the desktop is closer. Linux reaches 3% of desktops

Not this year, but the next one

itsJoelleScott ,

If not, surely the one after that.

canpolat , (edited ) in Documenting commands # or $ before sudo?
@canpolat@programming.dev avatar

I don’t work much with Linux systems these days, but I would vote for $ sudo over #. Two reasons:

  1. It’s easy to overlook the prompt. That part is basically “some characters before the actual command”, so I don’t normally pay attention to it.
  2. # is also used for comments. I think it would be confusing to use the same character for two wildly different things.
exu OP ,

So $ sudo in general any time I need to run something as root?
I’ll have to think about that some more. I think I rather dislike “forcing” sudo on all commands as root.

canpolat ,
@canpolat@programming.dev avatar

Ok, maybe I misunderstood your question. I though you were proposing # instead of $ sudo and I meant to say that being explicit is better.

exu OP ,

I typed the post in a minute and published, so it definitely isn’t the most coherent or well thought out post.
I’m currently using # for commands executed by the root user or sudo.
Currently, I only use sudo if the command depends on one of its features. Like the example above where I execute a command as the www-data user.
My dilemma was whether to use $ sudo or # sudo for those few cases. But based on yours and other comments, it might make sense to use $ sudo for commands executed as root as well.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines