Search
Why does XDG_DATA_HOME default to ~/.local/share? Why not something less cryptic, like ~/.data? Why did they decide use that path?
I recently updated Gnome to 1:44.0 and since the update my dark mode settings seem to be ignored for Gnome applications. When setting the dark style in Settings > Appearance, the desktop backgr...
I installed the Nvidia container toolkit so I can use GPU acceleration in Docker containers. However, I can't get the containers to work: $ sudo docker run --runtime=nvidia nvidia/cuda:12.2.0-base...
virsh blockresize vmname diskname --size 123b vmname is the name of the "domain" in libvirt parlance. diskname is the name inside /dev int the vm. vda or vdb for instance. 123 should be the exa...
When I try to start MariaDB server (same problem with MySQL) on a fresh Debian 11 install in a Windows Subsystem Linux (WSL) I got the following error: $ sudo systemctl start mariadb System has n...
I am unable to create new tablespaces on a fresh Postgres 15.3 installation on Ubuntu 22.04. I tried the following so far: re-install Postgres fully loosen file system permission disabled SELi...
I uninstalled PulseAudio and installed PipeWire. It seems like now, every application gets an independent audio configuration. When I go into pavucontrol I see "Spotify" where I configure the volu...
My device is Thinkpad E40 with openSUSE Leap 15.4. I've use this device under this OS weeks ago and didn't happen this problem. After normally running, wlan0 device not show in nmcli and my wirele...
Although this would be bad design for other reasons, I can imagine a situation where a field from one file or database can be used as a file name. Imagine something like value="$(mysql -e 'select ...
How can I grow a libvirtd VM's LVM-backed virtual disk online, without rebooting the vm. My host has an LVM VG for VMs. Each VM disk is an LV to the host. It's easy to grow the VG by adding a PV...
You can modify your existing code to use the cursor shape codes for a vertical line (or "I" cursor) and a block cursor instead of the beam cursor shape. Here is an updated version of your code that...
Each situation is different. Some programs in Wine/Windows will work better with the Windows dlls, and some will work better with the Wine (builtin) dlls. The best way to learn how which dlls work...
Whenever I do a big system update, OpenGL stops working until the next reboot. This also prevent OpenGL apps from launching. Example: $ glxgears X Error of failed request: BadValue (integer par...
After installing the InconsolataGo font from the Arch package extra/ttf-inconsolata-go-nerd, I see there is an Inconsolata Nerd Font, Regular and an Inconsolata Nerd Font Mono, Regular. Both are mo...
I am using Linux and Gnome. Using GDK, I would like to programmatically manipulate the Top Bar (i.e., the bar at the top of the screen with "Activities", the time, etc.). Here is a picture of it: ...
I might be inclined to try... find . -type f -name '*.part' -exec sh -c ' [ -f "${1%.part}" ] && rm -i -- "${1%.part}"; for f in "${1%.part}".*; do [ -f "$f" ] && rm -...
Suppose I have a command that takes filenames as arguments, like: diff foo.txt bar.txt What if instead of actual files, I want to use the results of a command in each? I can use temporary files: ...
I'm trying to help fix a Debian installation that has ended up with a mix of Debian release repositories, aka a "FrankenDebian". This one has the bullseye and unstable repositories listed in /etc/a...
The obvious way to do it is: Find some way to get a list of the files Pipe it into wc to count Classically, this would be find /path/to/dir | wc. However fd does the same thing with better u...
MWE To reproduce: Add bindkey -v to your ~/.zshrc. Invoke python interpreter: python. Type something into the prompt without hitting ENTER: this = "this" + "that". Press ESC and try any vim ...
Question What is the simplest way to change the cursor to indicate vim mode when using zsh? Notes I want it to show as a vertical line in insert mode and a block in normal mode. This is the cur...
This appears to be set by the option deny in /etc/security/faillock.conf.
You often have to read man pages to use Linux/Unix software. However, many man pages are not easy to read. They are very long, not always conveniently arranged, and man does not appear to have any ...
Not a real answer, but these days there are some nice LLM models and they're good at summarizing text. If you have the CLI scripts to interact with them, you can submit the man page as the "system ...
Typically it is recommended to reboot your machine after a kernel update (because of the issues you mentioned). If you really do not want to reboot, there is a workaround by means of the kexec sys...