linux

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

Deckweiss, in Your favorite linux projects for weekend

searxng

caseyweederman, in Your favorite linux projects for weekend

Do what I do. “Oh shoot, Jellyfin stopped, now I have to remember how to tell Arch to clear out its cached packages” (it’s pacman -sc if you’re me and you’re reading this in the future)

Father_Redbeard,
@Father_Redbeard@lemmy.ml avatar

This is me… In general with Linux. So I have a whole section of my Obsidian vault dedicated to troubleshooting and setup steps for my server projects. It’s saved me hours of research already. Stupid brain…

BlanK0, in FINALLY! Worlds First Mid-Range Libreboot GAMING PC! GTA V - Max Settings - 1440p (Dell T1650 Mobo)

Congrats bro! Sadly, the nvidia drivers are proprietary but eventually it might not need to be with the progress we are seeing on NVK. Almost 100 percent libre system poggers 😳

Zeon,
krimson, in New in Fedora Asahi Remix - Asahi Linux
@krimson@feddit.nl avatar

I ditched MacOS for Asahi, runs well. Only issue I have is that the battery seems to drain a lot faster in sleep mode.

Yerbouti,

It does run nicely. Battery life and underperforming GPU are the only things to optimize for me to never use macOS on my M1 pro.

lemming741, in Random application segfaults on Arch

I had a 3700x that was doing that sort of thing. It seemed mostly random, but moving big files would crash it pretty often. It ran memtest86 for 3 days no problem. I replaced part by part, and it ended up being the CPU. I’d bought it second hand so it may have been abused.

1stTime4MeInMCU, in COSMIC: The Road to Alpha

Tldr: New desktop environment designed for PopOS (but usable elsewhere)

kevincox, in Is it possible to isolate which GUI programs are seem by a screensharing program in xorg or wayland ?
@kevincox@lemmy.ml avatar

If I run these as an unprivileged user via xhost, they don’t really work well.

This is not a strong security boundary and in this case is basically doing the opposite of what you want. Giving access to an X session is basically giving the app full access to your user account. As an example they can inject keystrokes to open a terminal and do whatever they want. X also gives every program access to every other program.

Running as a different user will prevent direct access to other resources of your user account which may block some generic malware/spyware that tries to gobble up random files, but keyloggers and screen captures will just work as expected because they use X anyways.


As mentioned in other comments the best solution to this is Wayland. Under Wayland apps don’t have direct access to each other. These apps use “Portals” which are trusted permission prompts. So if you try to share the screen under Wayland you will get a trusted prompt that list all windows, and if you select one the app only gets access to that one selected window.

Although it is worth noting that most apps running under your user account will have pretty broad access. This can be mitigated by sandboxing tools like Flatpak but many available Flatpaks don’t provide much isolation. Carefully check the permissions if isolation is important to you.

And for the truly paranoid anything running under the same kernel is not strongly isolated. It is likely good enough for these partially trusted apps like Zoom or Teams (they are not likely to actually try to exploit your system, just suck up more data than you would like them to) but not strong enough for running completely untrusted programs that may be malicious. You would at least want a VM boundary (see Qubes OS) or ideally different physical hardware.

Another good option is running these in a browser. Browsers are designed from the ground up to run untrusted software safely. Google Meet works perfectly in the browser and Zoom has all of the core functionality available. (I don’t use MS Teams so can’t vouch for it.) This is my main approach to isolating proprietary software as it is reliable and I also value features such as cross-platform usage. Half of these programs just run Electron anyways so running in my main browser will use less resources and be faster than running 7 different Chromium processes.

shadowintheday2,

Thank you for the explanation

So wayland fixes most of these. Is it possible to run GUI programs as another user just like in X with xhost though ? I’m asking not only from a security point, but as a practical one since I need to run the same program under different namespaces/users

kevincox,
@kevincox@lemmy.ml avatar

I can’t way I have tried. But Wayland uses a socket, so many you can set file permissions to let other users access it?

I don’t know what your exact use case is but if you just want programs to have different “profiles” you can probably do something like setting $HOME to point somewhere else or otherwise configure their data directory.

olafurp, in I'm so frustrated rn.

Ubuntu will work, sticking to Ubuntu based system is good to have stuff just work. For Gnome UI just use Ubuntu, for KDE use Kubuntu.

If you don’t like Ubuntu as a company you can always use these instead: PopOS for Gnome and KDE Neon for KDE. Both are very stable with great support. I’ve been running KDE Neon for years now.

Out of curiosity, what distros did you try?

Kawi,

Hi, I tried endeavor, Linux mint, manjaro, mx Linux, and I don’t remember what else. I have a question, is Gnome really popular? For me it doesn’t make sense, it feels it was made for tablets or something like that.

olafurp, (edited )

Absolutely, it’s very popular. It’s pretty similar to MacOS since it comes with a global menu by default. It’s pretty popular since the design is very consistent and looks good. They also have excellent support for new features (except Wayland). Gnome is popular with people that only want to customise the most important ports and just want a standard OS that is well thought out and accessible.

I do watch a lot of content about Linux distros, but I’m not a Gnome user so I can’t give good examples of customisation and differences between KDE and Gnome.

Here’s a review from a guy on YouTube I like on Gnome 45 that used Gnome as a daily driver for years. youtu.be/RQSA0nZaF6M?si=7UUEmWKG41gaU0uS

Btw, can replicate the same layout on KDE because of the high level of customization it provides. It can all done through the UI, as all OS changes should be done.

init, (edited ) in When Windows 10 dies, I am going to jump ship over to Linux. Which version would you recommend for someone with zero prior experience with Linux? **Edit: Linux Mint it shall be.**

Food for thought: you should start getting familiar with Linux, either with Virtualbox/VMware, or dual booting right now. When the time comes and Win10 reaches EOL, you know you will find reasons to just go with the flow and stay with Microsoft.

As for what flavor? There are a few that come to mind as “windowy”: Zorin, Mint, and the anything that uses KDE Plasma. Personally, I prefer Pop!_OS because I use MacOS as well and prefer that feel to windows a bit more, and System76 has done a fantastic job of making a polished product.

That’s what I did, anyway. The mental load of still having windows to fall back on if I couldn’t do something helped make the anxiety lighter and also helped me be motivated to try new things out. I couldn’t imagine having to learn something with a gun to my head!

DrownedRats, in When Windows 10 dies, I am going to jump ship over to Linux. Which version would you recommend for someone with zero prior experience with Linux? **Edit: Linux Mint it shall be.**
@DrownedRats@lemmy.world avatar

You should try a bunch and see what you really like! The beauty of Linux is there’s so much out there that you’ll almost definitely find one that gels with you.

A good place to start is Linux mint! The best way I can describe it is a blend of all the best parts of windows 7, 10 and 11 with very few of the downsides. You’ll almost definitely settle in quickly and you might never want to switch as it’s very full featured, snappy and well put together. It was designed for people wanting that Linux experience while still feeling familiar to windows users.

Another one to try if you love customisability is ZorinOS. There’s a free and paid tier, both of which are excellent with the free tier offering layouts for old and new windows and Mac like experience and the paid tier (only around £30 for a lifetime licence) has layouts and customisability for absolutely everything else and extra tools and options for those that want more of that!

rysiek, (edited ) in KDE 6 Megarelease - Release Candidate 1
@rysiek@szmer.info avatar

Will we get tabbed/grouped windows finally again? Been waiting for this for half more than a decade.

nbailey, (edited ) in Help with dbus after archlinux upgrade
@nbailey@lemmy.ca avatar

Not an arch user, but it’s possible they moved dbus to a user scoped unit now. Might be possible to start it like this (or something similar)


<span style="color:#323232;">systemctl —user start dbus.service
</span>
fishinthecalculator, in What's your current favorite distro that isn't Arch, Debian or Fedora?

I think functional distros like Guix or Nix are just another thing. Their ability of programming , provisioning and deploying software environments is unparalleled. My personal favorite is Guix since, while having less packages than Nix, it has the most consistent experience: everything is in Scheme from the top to the bottom of the distro. Also it pushes really hard on a sane bootstrapping story while allowing for impurity through channels like nonguix .

The main downside is the lack of tutorials and a documentation that’s very intense, let’s say. typical of GNU projects. I suggest the System Crafters youtube channel which has a lot of nice tutorials

BlanK0, in Easy way to try out a bunch of different DEs?

You can install them like any other package from dnf/apt and then run them with startX (if its X11) or start them via their name if they are Wayland compositors (all this in the tty, the black screen with just letter outputs)

evlogii, in What's your current favorite distro that isn't Arch, Debian or Fedora?
  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #