Search
To map it to Ctrl+Backspace you can add XTerm*vt100.translations: #override\ Ctrl ~Meta ~Shift <Key> BackSpace :popup-menu(vtMenu) to your Xresources file and reload the X resource ...
Suppose I am the author of a shell utility called bar. One common use case is in pipelines like foo | bar, where foo sometimes runs interactively. I want to distinguish situations where interaction...
For certain GPU-accelerated tasks, such as Docker containers using GPU, I need to run the following on every boot: sudo nvidia-ctk cdi generate --output /var/run/cdi/nvidia.yaml Without this, G...
I'm trying to make OpenRGB display a light show based on the music playing, however, audio device selection is unavailable in the application, and upon checking its permissions with flatpak permiss...
I want to issue a command[1] to open a certain folder in a new tab of the currently running Konsole instance (if any). There's a --new-tab option, but konsole --new-tab opens a new instance, even ...
It doesn't work unless you open Konsole settings and check the option for "Run all Konsole windows in a single process." From bugs.kde.org: My bad, it happens when you turn off running all konso...
I'm trying to use a proxy server with chromium but I can't get it to work. I'm using Arch Linux. Here are the steps I'm following: I find a proxy in the UK on the British Proxy List at proxyno...
To enable access to PulseAudio for OpenRGB (or any Flatpak application for that matter) you need to add --socket=pulseaudio to the finish-args section of the application's manifest. You can test t...
I have a partition and directory structure that looks like: small partition: / usr var ... # etc. large partition: /home shared other_stuff large_folder ...
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...
.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"...
Skopeo is a tool for managing remote containers. It has a list-tags subcommand which does exactly what it sounds like: $ skopeo list-tags docker://docker.io/archlinux Conventional container re...
How do I install and run Windows applications downloaded from a website? Windows applications do not run natively on Linux, but can be run using Wine. When downloading these applications from a we...
On X, open a terminal and run xev -event keyboard. You'll get a white box. Make sure this is focused and press the key. You should see some output in the terminal about what the key is. Particularl...
You can use Wine, or a VM. With a VM, it's pretty straightforward - install Windows in the VM, and then run the program as you would normally inside the VM. With Wine, the "basic" way (which you s...