Search
From what I understand, you can pass a command to the xinit program that will be executed instead of .xinitrc. So you might be able to use startx sh -c 'xrandr-invert-colors; exec "$HOME/.xinitrc"...
Windows packages all of its API functions into DLLs, so when you have a program that relies on calls to X, Y and Z you must ensure that you have the correct set of DLLs that provide all of those. T...
You said rsyslog specifically. Hopefully you are using a version new enough to use the advanced syntax (aka RainerScript). 1 Would something similar to the following work for you? $EscapeControlC...
Possibly -f "$dir" not -q "$dir". According to man: -q, --query=STR Start the finder with the given query ... -f, --filter=STR Filter mode. Do not start interactive finder. When used with -...
Although you have left a post saying it is solved, I think it's not uncommon for this kind of problem to show up. I think it can happen due to misconfiguration of either NM or the network drivers/h...
https://metadata.ftp-master.debian.org/changelogs/main/p/poppler/poppler_22.12.0-2_changelog contains the changelog for this particular package. It should be obvious how to change to a different ve...
Airflow is a distributed workflow manager intended for complex cloud computing use. However, it can be used to run tasks locally. You can run Airflow in single-node mode, with LocalExecutor, and w...
I'm trying to containerize an application that currently uses apparmor to confine Python. This allows sandboxing of user-submitted code. How can I get docker and apparmor to play well together? Cu...
That sounds like bad design on the developers' part. There are many unavoidable ways a program may be terminated unexpectedly: Killed by an OOM killer Program crash Terminated by virus OS cra...
I found a partial fix. You have to run: sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml After this, podman is able to run it: sudo podman run --rm --device nvidia.com/gpu=all ubuntu...
Git is a very good way to sync dotfiles. There are other sync methods, but git also gives you version control, which is the other crucial part of the dotfile approach. Dealing with secrets in git ...
I store my address book with abook(1). https://manpages.debian.org/bookworm/abook/abook.1.en.html Let's say I want to introduce some contact in some field that accepts the usual name <email>...
There's no such feature. But it's easy to write. Apply this patch: From 8ea7d1cf4933ca24006308ac61aa50fb8ab33b02 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar <alx@kernel.org> Date: S...
Unix filters are quite handy. First of all, you can get an index of any manual page with a simple grep(1): $ man pacman | grep '^[^ ]' PACMAN(8) Pacman Manual ...
Instead of having new stdout lines overwrite the previous one, it seems better to specify that old stdout lines should be overwritten by anything that comes after them. This has the benefit that s...
Use nohup(1), and redirect stdout and stderr to /dev/null The following works as expected, not having to wait until the PDF is generated. #!/bin/sh test "$1" = "refs/heads/main" || exit 0; ...
Here's my approach: find l1 -type d \ | while read d; do find $d -maxdepth 1 -type f \ | head -n3; done; If your middle directories also contain files, it will also show them (of course, ...
This answer is not directly usable under Arch, since I don't know the tools there. I show you a way to do it on Debian, which may inspire you to find a similar way in Arch. With apt-file(1), you ...
To make your example work, you should add Type=oneshot and RemainAfterExit=true to the [Service] section. This way the unit won't be considered active until the curl has actually succeeded, and ei...
There's three parts to this: Find all directories (in your case, sounds like you want depth=3 only) Print the top 3 files in a single directory Apply 2 to each in 1 1 should be a separate q...
You add a port to the public zone like so: # firewall-cmd --zone=public --add-port=8080/tcp Firewalld knows already many of the commonly used ports, so you might just use the service name inste...
Inxi has a -x, -xx, -xxx for extra details. I'd try sudo inxi -G -xxx though if it WILL report VRAM is another matter. My help says: -G Device serial number, class ID; Xorg Screen size, diag; ...
Is there a way in Ubuntu (22.04) to run a given bash command for a given Key combination in Gnome (42.9)? This Ubuntu is running in Hyper-V on a Win10 host. (I would like to run the setxkbmap us a...
It seems like Gnome requires xdg-desktop-portal-gnome. that has been removed to be installed. It turns out that things used to work due to a fallback path that has been removed now. Installing t...