Search
Problem I want to set a global keyboard rate for both the X session and the console that persists for external keyboards, across plug-ins and removals. To my understanding, Xorg and console sett...
I don't know what these things are called exactly in the Linux world. But there is the concept of a drive in RAM, to write files onto and read them like it was any disk drive. There is also the c...
In Debian-based distributions, one can update the system with apt upgrade and cleanup unused dependencies with apt autoremove. Period. On Gentoo that is apparently not as straightforward. From G...
I have a RaspberyPi module, with USB connected to another module computer (as USB host) running Linux. The RasPi is configured as USB ethernet gadget. Once I boot the RasPi, and enter dmesg on th...
I figured this out myself. I needed to install the cnijfilter2 AUR package. Installing this package provided me with the correct PPD file (which was named canontr4500.pdd). How I figured this out:...
It is almost always a very bad idea to install a package meant for one distribution on another. It doesn't really matter if they use the same package format or not, but different package formats d...
I plan to set up a Raspberry Pi to host some dockerized apps, for it to be accessible to the Internet through a remote proxy, and since I'm no sysadmin, I'm trying to come up with a suitable policy...
As a general rule of thumb, Debian is restrictive about installing during the initial installation what, according to the Debian Free Software Guidelines, is non-free software. That's why the inst...
I have some suggestions for categories, or perhaps tags, here. kernel distribution-specific daemon application server laptop desktop phone/device hardware
When exploring the commands from this answer to my previous question, I found that the ist of packages includes a lot that were automatically installed due to dependencies. Obviously I'm interested...
POSIX defines Text file as A file that contains characters organized into zero or more lines. The lines do not contain NUL characters and none can exceed {LINE_MAX} bytes in length, inclu...
If you don't mind installing something I recommend ncdu. It sorts the directories and files by size, you can exclude other mounts, navigate the tree directly and even delete files and folders as yo...
I'm trying to create a .desktop file which opens a file, either inside a Vim server named "VIM" if it exists, or otherwise using the normal Vim .desktop file. This is what I have so far: [Desktop...
A general overview: Log in as root directly, no sudo or su (you may need to activate it temporarily, depending on your distribution) or boot from a live system unmount /home and mount it somewh...
I know I can write a function at a Bash command line like so: $ test() { echo 'test' ; } I also found that I can write the } on a separate line, and omit ;: $ test () { echo 'test' > } ...
The dash, -, is part of a Parameter Expansion syntax that tells Bash to check for existence of the preceding parameter, a.k.a. whether it is "set", substituting whatever follows if it isn't. For th...
I came across this in a bash script: excludes+=("${2-}") What is the meaning of ${2-}?
As a workaround, I had to uninstall pytest from the package manager and install it in the virtual environment. However, I would prefer to use the pytest from the package manager since it makes se...
I want to create a collage of 20 screenshots from a video, arranged in a 5x4 grid, regardless of the video’s length. How can I do this efficiently on a Linux system? Specifically, I’d like a way t...
You could use the LaTeX markdown package to create a pdf. To make sure that the coloured emoji are visible: choose a unicode-aware engine like lualatex choose a font which has coloured emoji, ...
Occasionally I ask how to do some configuration, and people tell me to do stuff like edit some config file in an XYZ directory. But if I configure everything this way, it will turn into a mess, and...
Suppose I have a command that prints to the standard output, like: $ echo hi hi How can I send this to the clipboard instead, as if I selected the output and did Ctrl+C?
I think there are three general strategies: Take notes. Configure everything through some utility that keeps track of it. Learn the default state and diff the system vs. it. Taking notes ...
On X, echo hi | xsel -ib seems to work. I can then paste with Ctrl+V. Sometimes I have to repeat it a few times for it to "stick".
I want to install additional Linux distributions on my computer, so I can try some new ones and see if they're better than my current ("old") one. I've been using my current distro for a while. I'...