Search
.tar.gz is a pretty common archive format. How to extract its contents, "unzipping" it in the command line?
You can find that when you run docker inspect $CONTAINER. You can automate this with a simple loop like this: for CONTAINER in $(docker ps -qa); do docker inspect $CONTAINER |grep -q $DIRNAME...
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...
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...
Some context menus in my KDE installation show the following problem: When the menu is opened it shows normally. But as soon as I move the cursor over the menu, it becomes transparent and whate...
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....
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...
I have this test setup: $ cat first #!./second one two three $ cat second #!/usr/bin/env python import sys for line in open(sys.argv[1]): print(line, end='') After chmod +x on th...
I am trying to connect to a VPN server (that I don't control) using IKEv2 and strongswan. The connection fails with [IKE] no trusted RSA public key found for 'xxx.xxx.xxx.xxx'. I downloaded the Sec...
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...
I'm using xterm version 395-1, on Arch Linux, with i3 window manager. I like xterm because it's fast, and I can configure things like "what characters are in a word when you double click on a word"...
This appears to be set by the option deny in /etc/security/faillock.conf.
I'm going to write some systemd services. All of these can only be run if a certain website is up. I thought I could create a ~/.config/systemd/user/website.service this: [Unit] Description=Confi...
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...
When formatting drives with Gnome Disks, there is an option to "Erase". The help text says this takes longer, but "completely" erases data. What exactly does this option do? Is there a CLI equival...
My system occasionally has an issue that looks like this: I run pacman -Syu Many things get updated Many GUI apps (including all display managers and Xorg) start refusing to run and throw up O...
Another possibility is to use LaTeX. There are several ways in which you could use it to add a polygon on top of an image, one way is TikZ: % !TeX program = txs:///arara % arara: pdflatex: {synct...
You can't, without patching readline. What counts as a word character is hard-coded in the readline library, as of this writing. See: https://git.savannah.gnu.org/cgit/readline.git/tree/vi_mode...
Spotify runs on my computer with higher DPI (bigger UI elements) than I'd like. How can I reduce it?
How do I configure my system so that all GUI apps use a consistent DPI, without configuring each app individually?
If I understand you correctly, you want to skip empty lines at the beginning of a file/stream strip leading and trailing whitespace of non-empty lines skip empty lines at the end of a file/str...
systemctl is a tool for controlling systemd, the "new" Linux init system (actually it's been widely used for 10 years now). Systemd is the first process that runs at boot, which then brings up all ...
There's multiple, sometimes overlapping ways of altering the DPI globally on Linux. You should first ensure these are properly configured and Spotify is still not using them correctly. However, Sp...