linux

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

theshatterstone54, in NixOS 23.11 released

Seeing this prompted me to do an experiment.

There was a time when Nixpkgs was smaller than the AUR. And, until recently, Nixpkgs was larger than the AUR but still smaller than the combination of the main Arch repos with the AUR.

As it turns out, the current total package count for Arch and the AUR is 85,819.

For nixpkgs unstable, that number is 88,768.

NixOS 23.05 Stable has 83,740.

And considering the mention of 9,147 new packages and 4,015 removed packages, that would mean that 23.11 would have a total of:

88,872 packages. This is more than the current figures for Nixpkgs unstable, but this is going off data from separate sources (NixOS devs and repology, with repology still being slightly outdated)

And, as such, I think it’s fair to say the winner is (drumroll please)…

The USER for having such incredible distributions, giving him the vast breadth of choice for what distro matches their workflow best.

AI_toothbrush,

Gender neutral him moment

unionagainstdhmo,
@unionagainstdhmo@aussie.zone avatar

Though the difference is AUR packages aren’t officially supported or tested and are commonly out of date. They also need to be built on your system

korfuri,

To be fair, the level of support for packages in nixpkgs is inconsistent. My config has a number of backported packages overlaid on top of nixpkgs where upstream is not up to date enough for me.

const_void,

There may be more but that doesn’t mean that every Arch package is available on Nix

frogmint,

Package count is interesting to look at, but it doesn’t really give a good picture of software availability. Distributions will split or combine packages differently. For example, the AUR has both binaries and source versions available for many packages.

bizdelnick, in Checking dependencies for manual build and install of software

First, it is generally a bad idea to manually install software in package based distro. It can break something in your system (providing install.sh script is quite uncommon, it means that developers can do something uncommon and unexpected). Even if everything will go fine, once after system update the program you installed will get broken dependencies and stop working. Better search for prebuilt RPM package.

Then, answering your question: to build against libraries you need to install corresponding -devel packages. In Fedora their names can differ from the library name (e. g. not libglvnd-devel, but glvnd-devel, you need to search them yourself). For wayland-scanner you need wayland-devel as you can find here or with command dnf provides ‘*/wayland-scanner’.

meekah,
@meekah@lemmy.world avatar

As far as I’m aware the only options to install GSR as a package are AUR/yay (not available on fedora as far as I understand) or flatpak (unable to resolve permission issue), so I do think a manual install is the best option. This is a gaming system so GSR breaking is no huge deal.

Thanks for the tips regarding manual installation! I did not know about -devel packages or about the dnf provides command. They will probably prove to be very useful!

lemmyvore, (edited )

If you’re going to install from source at least change the compile config options so the prefix defaults to /opt/program-name.

You can further integrate with the system by adding the /opt/program/bin/ and sbin/ dirs to the PATH variable, and add lib/ to /etc/ld.so.conf but it should not be needed normally — only if other programs need to compile against this one.

You can also simplify integration by making common dirs for example /opt/.bin and /opt/.lib, adding only those to PATH and ld, and symlinking binaries and libraries from all /opt programs to them.

meekah,
@meekah@lemmy.world avatar

those are nice tips, thank you!

mex, in Checking dependencies for manual build and install of software

I noticed in the install.sh of GSR, that setcap cap_sys_admin+ep is called on the executable. So if you know any way of replicating something like that for flatpaks that is simpler than installing GSR manually, feel free to let me know.

You can just run the same command on the executable installed by flatpak. On my system it can be found in /var/lib/flatpak/app/{app name}/current/active/files/bin.

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

I didn’t consider that an option because whenever I searched for setcap and flatpak, most threads were pretty dismissive and told OP that flatpak is made with security in mind so doing that isn’t supported.

Regardless, I tried it just now, but the password prompt (image below) still shows up when launching the autostart .desktop file I created. The .desktop file launches a script I wrote, which in turn actually starts GSR through flatpak, in case that changes anything.

password prompt

Do I assume correctly that this prompt might be gone if I set the capabilities of /usr/bin/flatpak? It’s not something I want to do, so I’ll probably keep trying to get the manually built version installed.

VHS, in Laptop not working after installing nimdow
@VHS@hexbear.net avatar

If the computer boots but you can’t access a GUI, use Ctrl+Alt+F3 to open a console. From there you can use nano to edit the login manager configuration. If you had GNOME installed, your login manager is probably GDM, and its config should be at /etc/gdm/daemon.conf, according to the manual. If that is the case, it looks like you should erase the username under the entry “AutomaticLogin=”.

GregorTacTac,
@GregorTacTac@lemm.ee avatar

Thank you! The Linux community is the best! I will not regret switching to Linux

flashgnash,

Just be ready to have to lean on the community a lot to begin with

GregorTacTac,
@GregorTacTac@lemm.ee avatar

I don’t mind leaning on a community that helps me within 15 minutes of making a post and is just generally so helpful

GustavoM, in Recommend security-first basic Linux Apps!
@GustavoM@lemmy.world avatar

firejail

ufw

And docker if you are paranoid. (You can completely shut off the network of specific commands – can’t get any better (and safer) than that!).

draughtcyclist,

I love ufw… So straightforward and easy to use.

JustEnoughDucks,
@JustEnoughDucks@feddit.nl avatar

It’s a pity that docker doesn’t work with it well…

GravitySpoiled,

Doesn’t podman solve that issue?

Pantherina,

Yup securitywise I would also say Podman > Docker

Pantherina,

Firejail has some big security flaws. There us bubblejail, which uses the way better bubblewrap also used for Flatpaks.

But the Bubblewrap and Flatpak Situation is quite complex. Flatpaks, as well as Podman containers, require user namespaces. Through these namespaces programs can get privileged access to system components, which is why secureblue now has bubblewrap-suid installed.

bubblejail maybe uses that binary already, or it needs to be patched too.

DangerousInternet,
@DangerousInternet@lemmy.world avatar

deleted_by_author

  • Loading...
  • Pantherina,

    I am no expert but it is possible. So the namespace has to be set by root and then used

    idiocracy,

    I keep seeing firejail being recommended though, were the security flaws still not fixed?

    ninekeysdown,
    @ninekeysdown@lemmy.world avatar

    To add to this systemd can do everything they can. You can isolate network, do fire-walling, and sandboxing pretty easily. Any OCI container can be used too if you don’t want to install something too.

    eager_eagle, (edited ) in What's the best way to remote into a linux machine?
    @eager_eagle@lemmy.world avatar

    I avoid it at all costs as no solution is really seamless, but NoMachine gave me the best (perceived) latency out of VNC, TeamViewer, and a couple others I tried a couple years ago. It’s also cross platform, but if the machines are in different networks (behind a NAT), you’ll likely need to configure port forwarding manually or via their GUI.

    edit: I just remembered I even played youtube videos and the transport fever 2 game via NX (NoMachine) for a few hours and it worked well, while other protocols had either too much of a degraded quality or latency.

    fuckwit_mcbumcrumble,

    How intensive is nomachine? I’ve used it on decent hardware and it’s performance was pretty good. But I’m thinking of setting it up on the raspbery pis at work since VNC is painful to use.

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

    I don’t know how it compares, but I’ve used it on the Pi and on Android before, and both work.

    VerbTheNoun95,

    I’ve used it on my pi before I disabled the display manager because I barely used it, but performance was fine. I could log in from my desktop, phone, laptop, another pi, anything really, which was nice to have.

    Unforeseen,

    I use NoMachine as well as it has been the most responsive solution for me.

    My biggest problem that I finally figured out was that NoMachine was attaching to a VNC console instead of creating its own display when I was using it with Unraid VMs (KVM)

    crypto, in Firefox Is Going To Try And Ship With Wayland Enabled By Default

    @leo KDE with Wayland was all crashy when I tried it. If Wayland windowing is as buggy and crashy as their browser we'll all need to switch to Windows or Mac just to get any work done.

    Laser,

    I’m daily driving Firefox with Wayland on KDE Plasma since years, not on Xwayland, and can’t remember it not working well. This on two different distributions (Arch and NixOS). Not saying this is your fault but your experience is not representative for everyone

    crypto,

    @Laser My experience is representative for enough people to show that Linux Desktop is a mess and is not suitable for production work. I don't identify myself by my choice of software. I just want to get work done.

    Shrexios,
    @Shrexios@mastodon.social avatar

    @crypto @Laser Linux desktop is not one thing. If you have a company that standardizes on Gnome, then the software you need to work will work as they will likely have been tested to work. As for work, well, not everyone uses it for work.

    leo,
    @leo@lemmy.linuxuserspace.show avatar

    I suppose it really depends on when you tried it. Ubuntu 23.10 has been working quite well on Wayland. I haven’t once failed down to X, and the only papercut I run into now is with differently scaled displays (100% and 150%) where OBS will crash the session when moving back and forth.

    Everything else seems good as I haven’t really seen anything else break at all and I use Firefox, Kdenlive, Audacity, lots of chat apps, and played some games. Specifically, playing Vivaldia 2 while I was remotely compiling Gentoo using OBS to livestream.

    LeFantome,

    KDE currently marks Wayland support as experimental. They are expecting full readiness by Plasma 6 ( next quarter ).

    Firefox has had Wayland marked as experimental for some time. They are expecting full readiness by…hey, look at that—they say that it is ready now.

    So run Firefox on GNOME and enjoy the Wayland I guess.

    rah, (edited ) in Installies, a site for managing, organizing, and retrieving shell scripts for installing things on Linux and Unix-based operating systems.
    BudgieMania, in Bored With Bash? Change the Default Shell in Linux

    Bored with driving your car with a wheel and pedals? Change the default handling device in your vehicle

    callyral, in Bored With Bash? Change the Default Shell in Linux
    @callyral@pawb.social avatar

    i use nushell

    I_like_cats, in What are you most excited when it comes to linux in 2024?

    I’m hoping for COSMIC to come out. It looks so promising and the fact that they implemented the panels using wlr-layer-shell is so great. I think more desktop environments should do this for interoperability

    radioactiveradio, in What are you most excited when it comes to linux in 2024?

    Kde plasma 6

    Syudagye, in What are you most excited when it comes to linux in 2024?
    @Syudagye@pawb.social avatar

    native wine under wayland ! :D

    The_Grinch, in What are you most excited when it comes to linux in 2024?

    Oxygen² theme was promised around the release of plasma 6 so probably next year!

    bizdelnick, in Installies, a site for managing, organizing, and retrieving shell scripts for installing things on Linux and Unix-based operating systems.

    OMFG there are so many package managers but you made chocolatey instead…

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