Search
Have you tried using awful's widget instead: awful.widget.keyboardlayout. It seems to be a switcher that automatically loads the available X11 settings(?). Here's a sample configuration (untested,...
I want to run programs foo and bar with supervisord. Both programs produce a continuous stream of occasional output (stdout and stderr) as they run. When I run supervisor with nodaemon=true, I wan...
A convenient but a little risky method Don't do this unless you have backups on a separate drive, and are prepared to restore from them. Properties Pros Easy Uses native BTRFS tools Can be ...
How to migrate a single device BTRFS filesystem to a new drive? I don't want to send individual subvolumes, but instead the entire filesystem with its subvolume layout intact. Changing the filesyst...
inxi -G will show this. $ inxi -G Graphics: Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 460.39 Display: x11 server: X.Org v: 1.20.10 driver: X: loaded: nvidia reso...
If you need this in a portable POSIX-compliant script, you should not use which but this instead: command -v find
Objectively, the most accurate way would be to actually count the lines. So you would do wc on each file and add them up. This ends up being not a very useful statistic, because it is sensitive to...
This is an interesting discussion. I am late but want to give my take. I have definitely struggled with deciding where to post. I think that struggle is part of any organized community though. f~~...
Open the Disks application. Select the secondary disk and partition, and in the gears menu click on Edit Mount Options... Uncheck User Session Defaults and uncheck Show in user interface. Opt...
You can use openssl: openssl x509 -in server.crt -text
What command can be used to download the TLS certificate of a site such as https://wikipedia.org?
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...
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...
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...
I added IdleAction=hibernate IdleActionSec=30min To my bat /etc/systemd/logind.conf. Then I waited 31 min, but nothing happened. It didn't hibernate. Presumably, the config changes are not loa...
The unit does not support reloading, but restarting the service should do the trick. sudo systemctl restart systemd-logind
If I have an application such as the EA App running from Lutris, after starting the computer from hibernation, it sometimes doesn't render correctly; the window renders some areas fine, while other...
It seems as if there's an issue with the DBus connection. It's likely a bug in the software, so the solution for now is a workaround. When the application is restarted in Lutris, it leaves a backgr...
I have multiple systems, each of which has two different hard drives: one fast SSD and my good old spinning rust. Originally, I had set up the drives to have my root directory / on the SSD and my ...
Suppose you currently use the partition /dev/sda1 for everything, and you create a new partition /dev/sda2 to use for /home. It doesn't matter if the partition is on a different physical drive, sam...
At the most embarrassing time, Firefox on my Ubuntu laptop wouldn't connect to any websites. I've narrowed it down to a DNS issue. I can ping IP addresses, sftp to the computer, etc. The problem af...
I have / mounted on a relatively small partition and /home on a larger one taking up most of the rest of the drive (as seems to be common practice). I'd like to move certain other parts of the file...
I wanted to download C++ documentation and found cppreference-doc-en-qch in Debian's archive: Description: C and C++ standard library reference (English, Qt Help variant) A version of online C ...