Search
With the help of some community members in chat (thanks!), I was able to solve this and learned stuff in the process. I'm not the first person to run into this issue; there is a Gnome extension th...
I have a partition and directory structure that looks like: small partition: / usr var ... # etc. large partition: /home shared other_stuff large_folder ...
Although the system package manager was involved for your setup, this is really just a special case of a pure Python issue. When you run a program like Pytest that is itself written in Python, gen...
I agree with other answers: Normal TUI way is ncdu Normal CLI way is du Normal GUI way is Baobab aka "Gnome Disk Usage Analyzer" and the like But just for fun, you can build a pipeline such...
Context I can't switch between keyboard layouts with Alt+CapsLock with Awesome WM (v4.3) on Debian 12. I would like to use a French layout and the Programmer Dvorak layout (dvp). I succeed to us...
Can I disable the ability of regular users to enable lingering in loginctl? By default every user on a systemd enabled Linux can run loginctl --enable-linger and have a personal systemd instance s...
bash does not support floating point operations, so at least for a short video $interval will always be 0. That way you always get the same frame, which by chance probably was black for your video....
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 ...
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...
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 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...
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...
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...
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...
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...
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...
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...
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 -...
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...
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...
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...
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...
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: ...