Suspend with an Nvidia gpu
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Motion on my RPI. I didn't want it to save videos or photos, so I turned it off in the config. But it still saved them. So I tried a few other places in the config to turn it off, but nothing worked and I'd run out of space within a day. So I changed the save directory to /dev/null.
Then I tried to upgrade the pi, and the new version of motion has a different config, incompatible with the old one. So I'm running the old one.
hyprland but I'm a noob
Recently? Email notifications for my crontab jobs. I learned that snapraid sync had been failing for 200 DAYS. I was thinking it'd be easy for some reason. It hasn't been.
Overall though, Nextcloud was a nightmare and I just gave up.
In recent years I've found NextCloud to reasonable. A little delicate initially, but once you have it working, the upgrades are very easy.
Setting up Alpine or Mutt with multiple SMTP accounts is an exercise in frustration.
XDG portal filechooser for Firefox: the KDE implementation uses Dolphin, which is full of features and I use most of them; the default GTK one is mildly infuriating to use and looks ugly too, but getting the browser to use the portal I want was a nightmare - especially since GTK discontinued the GTK_USE_PORTAL envvar.
The related Firefox config entries make no sense either.
Can you explain a bit more about this and how to configure it? When I use FF on gnome, the save dialogue just looks like other dialogues?
Cloud-init. The config yaml is rather straight forward, but I can't convince my VM to execute it, and it's driving me nuts.
Just recently XDG Portals to get video sharing working. It just kept using the GTK fallbacks instead of KDE as I configured it, but it used the correct ones when starting from the terminal.
Eventually I figured out I had set an env override for XDG_CURRENT_DESKTOP="sway"
in my user systemd environment, because that's what I used previously.
Xserver... Somehow trying to find the magic string of letters and numbers that made your screen work.
It used to be button 10 (also counting 4 scrollwheel directions and click) of my Elecom trackball. I had written a small C program reading the device node and writing the events just of that to stdout, then piping that to a tclsh script (so I could change it easily and it's still super fast for gaming) which did something in X. Horrible. But then they added support for more buttons to everything (kernel, X) and now I can just map it in games, like any other.
Multiple versions, paths, and installs of Python. Using pip makes it worse.
pyenv and pyenv-virtualenv together solves this for me. Virtualenv with specific python versions that work together well with other tools like pip or poetry.
It boils down to something like
$ pyenv install 3.12.7
$ pyenv virtualenv 3.12.7 myenv
$ pyenv activate myenv
and at that point you can do regular python stuff like pip installing etc.
I have limited Python experience, but I always thought that's what virtualenvs and requirements.txt files are for? When I used those, I found it easy enough to use.
I still don't fully understand how to gracefully have multiple desktop environments and switch between them. When I want to try something new to me like lxqt, I usually spin up a VM.
Normally, the process is:
- install the packages for the desktop environment
- log out (not just locking the screen)
- find a dropdown or cogwheel where you can select the other desktop environment
- log in
Having said that, I don't know what you mean with "graceful". Desktop environments may involve lots of packages, which may create configuration files in your home directory or get auto-started in your other DEs, so it can be messy.
Something minimal, like LXQt or the various window managers, isn't going to cause much of a mess, though.
I guess, creating a second user with a separate home-directory, like the other person suggested, would isolate that potential mess...
Just add a new user
Trying to configure Sway in NixOS. I gave up and just use KDE Plasma. I do miss using Sway from when I used Arch, though.
Wild. I used sway for the first time with Nix since I could rollback a misconfiguration.
Yeah, I got stuck on secrets management. I just could not get network manager to keep my WiFi passwords. I'll probably go back and try again at some point.