Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

General Q&A about Linux and Unix-like operating systems

Filters (None)
60%
+1 −0
Is libostree practical for user files?

Is it practical to use libostree for user files? Or is it too specialized for tracking an entire OS? I am not familiar with libostree, but sounds like it's "Git for filesystem trees". Seems like t...

0 answers  ·  posted 20d ago by matthewsnyder‭

33%
+0 −2
Calculate the SHA1 checksum of a file

How to calculate the SHA1 digest of a file in a shell?

2 answers  ·  posted 9d ago by Iizuki‭  ·  last activity 4d ago by Iizuki‭

71%
+3 −0
How do I migrate my main filesystem to a new drive?

I want to switch hard drives. How do I migrate my root FS from the drive it's on, to the new one, so that everything is exactly as it is?

3 answers  ·  posted 1mo ago by matthewsnyder‭  ·  last activity 1mo ago by matthewsnyder‭

50%
+0 −0
How to add a new drive to a BTRFS filesystem?

BTRFS is capable of spanning over multiple drives. How to add one more to an existing filesystem?

1 answer  ·  posted 2mo ago by Iizuki‭  ·  last activity 2mo ago by Iizuki‭

71%
+3 −0
How to count the lines of a file?

How to get the number of lines in a file? I.e. for a file like this: Line one Line 2 Final line I would like to do something like this: $ count-lines /path/to/the/file/above 3

2 answers  ·  posted 3mo ago by Iizuki‭  ·  last activity 1mo ago by Michael‭

66%
+2 −0
What are the %U and %u parameters in desktop files?

Desktop files always have either %u or %U as an argument for the program being launched. E.g. here's a line from my firefox.desktop: Exec=/usr/lib/firefox/firefox %u What does it mean?

1 answer  ·  posted 2mo ago by Iizuki‭  ·  last activity 2mo ago by Iizuki‭

60%
+1 −0
Stop Lutris from changing the screen scaling

Every time I open EA Games from within Lutris, the desktop's UI/screen scaling is reset from 150% to 100%. This is in PopOS running with a 4K resolution on a 4K screen. The resolution is not change...

1 answer  ·  posted 1d ago by Andreas from the dark caverns‭  ·  last activity 1d ago by Andreas from the dark caverns‭

60%
+1 −0
Is it safe to completely take over ~/.config/systemd/user?

~/.config/systemd/user intended purely for units created and managed by the user manually, or are there any automated processes that expect to control it? For example, do packages or programs ever...

0 answers  ·  posted 5mo ago by matthewsnyder‭

71%
+3 −0
NetworkManager can't open certificate file when trying to connect to VPN

I want to connect to my university network via OpenVPN under Fedora GNOME. I imported the openvpn configuration provided by the university in the Network Manager GUI and specified the user certifi...

0 answers  ·  posted 2mo ago by adonias‭  ·  edited 2mo ago by Quasímodo‭

71%
+3 −0
How do I diagnose TLS errors?

For reasons of my own, I have services on my LAN which use HTTPS and I create my own certificates for these. Over the years, the usage of TLS has evolved considerably. Many features that were once...

1 answer  ·  posted 2mo ago by matthewsnyder‭  ·  last activity 2mo ago by Michael‭

60%
+1 −0
Group and users seem to disagree about whether the users are in the group

On my current setup (running Linux Mint 20.3 Cinnamon), I have an administrative user and several ordinary users. I intend for all of these users to be in the same group, which happens to have the ...

0 answers  ·  posted 2mo ago by Karl Knechtel‭

66%
+2 −0
Modern and practical way to schedule tasks on a Linux machine that is not always on

What is a modern and practical way to handle scheduling tasks on a Linux desktop? Modern means basic features should not rely on obscure or convoluted commands and standards Practical means you...

3 answers  ·  posted 5mo ago by matthewsnyder‭  ·  edited 5mo ago by matthewsnyder‭

71%
+3 −0
How do you remap mouse buttons?

How can I remap buttons on my mouse, especially for more exotic ones like MMO mice?

3 answers  ·  posted 4mo ago by matthewsnyder‭  ·  last activity 2mo ago by Michael‭

50%
+0 −0
How to export public GPG key?

GPG stores keys inside an internal database of some sort. How to export your public key in the familiar -----BEGIN PGP PUBLIC KEY BLOCK----- format so that it can be imported to other software? E.g...

2 answers  ·  posted 1mo ago by Iizuki‭  ·  last activity 6d ago by amarok‭

GPG
62%
+3 −1
init process play a role in the booting of Linux

How does the init process play a role in the booting of Linux?

1 answer  ·  posted 3mo ago by trueframe‭  ·  last activity 3mo ago by Mithical‭

50%
+0 −0
Albert with compositor surrounded by ghost of other windows

On Arch Linux, I installed albert (from AUR) and picom as the compositor. I am using i3 as the window manager. When I bring up the albert window, it is surrounded by the ghost of a window in the b...

0 answers  ·  posted 5mo ago by matthewsnyder‭

66%
+2 −0
==> WARNING: Possibly missing firmware for module: 'foo'

When I create the initramfs, I sometimes see messages like: ==> WARNING: Possibly missing firmware for module: 'xhci_pci' I get many for different modules. What do they mean? Should I in...

1 answer  ·  posted 2mo ago by matthewsnyder‭  ·  last activity 1mo ago by Iizuki‭

50%
+0 −0
Systemd service status if ExecStop or ExecStopPost fails?

Will the overall unit status be failed if either ExecStop or ExecStopPost fail? I would expect it to be so, but the documentation isn't very explicit about it.

1 answer  ·  posted 29d ago by Iizuki‭  ·  last activity 29d ago by Iizuki‭

66%
+2 −0
How to debug audio issues with JACK on Linux

I am trying to debug an issue with audio playback in MuseScore. During this process, I realised that I had/have no clue about audio playback in Linux (or in general for that matter). I already le...

0 answers  ·  posted 3mo ago by mr Tsjolder‭  ·  edited 3mo ago by mr Tsjolder‭

75%
+4 −0
VISUAL=gvim makes crontab -e open a new crontab instead of a current one

My VISUAL setup interferes with my cron jobs. crontab -l works all right, I see my previous jobs. crontab -e, crontab -e -u user-here - opens GVIM on an empty file checked cron.allow or .deny,...

1 answer  ·  posted 6mo ago by LAFK‭  ·  last activity 6mo ago by Quasímodo‭

50%
+0 −0
How to get a mailto: URI out of abook(1)

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&gt...

1 answer  ·  posted 8mo ago by alx‭  ·  last activity 8mo ago by alx‭

60%
+1 −0
How does the root user locate executables?

A little while ago I was helping someone with running Python in a virtual environment, as root, for some specific purpose. I determined easily enough that this requires explicitly specifying the pa...

1 answer  ·  posted 8mo ago by Karl Knechtel‭  ·  last activity 8mo ago by r~~‭

60%
+1 −0
Moving the filesystem root to a different partition and booting from it

My primary drive is partitioned basically like so (only roughly to scale): / /home junk v v v |xx###############...

1 answer  ·  posted 1mo ago by Karl Knechtel‭  ·  last activity 1mo ago by Iizuki‭

50%
+0 −0
How do you terminate a DHCP lease in OpenWrt?

I am testing some DHCP stuff, and I want to manually end a lease so I don't have to wait hours for them to expire. How can I do this with OpenWrt?

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by matthewsnyder‭

60%
+1 −0
How to create ed25519 subkey in GPG?

At the moment GPG only offers the following options when generating a new subkey the with the addkey command: gpg> addkey Please select what kind of key you want: (3) DSA (sign only) (...

1 answer  ·  posted 9mo ago by Iizuki‭  ·  last activity 9mo ago by Iizuki‭

71%
+3 −0
Why is 32768-60999 the default for local/ephemeral ports?

The local port range on my Arch Linux installation is 32768-60999 according to cat /proc/sys/net/ipv4/ip_local_port_range Wikipedia states that this range is "used by many Linux kernels" and th...

0 answers  ·  posted 16d ago by Matthias Braun‭  ·  edited 12d ago by Michael‭

60%
+1 −0
How to use the gitignore file without git(1).

How can a file list be manually filtered with a gitignore file. I want to do the equivalent of git ls-files, but it should work even if I remove .git, so I can't use git(1). Currently, I'm doing ...

1 answer  ·  posted 3mo ago by alx‭  ·  last activity 3mo ago by r~~‭

60%
+1 −0
How do I globally configure consistent DPI for GUI apps?

How do I configure my system so that all GUI apps use a consistent DPI, without configuring each app individually?

0 answers  ·  posted 8mo ago by matthewsnyder‭

66%
+2 −0
Does Fedora have cutting edge features, and what makes it so?

I saw another post recommend using Fedora if you want cutting edge features. Is Fedora really a "cutting edge" distro? I am not very familiar with Fedora, I know it's a community counterpart to R...

1 answer  ·  posted 20d ago by matthewsnyder‭  ·  last activity 5d ago by terdon‭

66%
+2 −0
Higher-order functions in Bash?

Say I have some Bash function my-func, that expects a filename and does some processing on the corresponding file. For demonstration purposes, my-func() { cat "$1"; } If I want to apply that fu...

1 answer  ·  posted 8mo ago by Karl Knechtel‭  ·  last activity 8mo ago by Kamil Maciorowski‭

77%
+5 −0
What is cat abuse/useless use of cat?

Sometimes I share Unix commands online, and people chastise me for "useless use of cat" (UUOC) or "cat abuse". My cat is quite comfy and doing very well, thank you. What are they talking about?

3 answers  ·  posted 2mo ago by matthewsnyder‭  ·  last activity 1mo ago by Canina‭

cli
66%
+2 −0
Systemd unit needs to start at boot but wait for network

I have a systemd unit that does some stuff on the internet. Sometimes this gets fired at startup. I want to make sure it's delayed until the computer is connected to the internet. In my notes I fo...

1 answer  ·  posted 28d ago by matthewsnyder‭  ·  last activity 25d ago by Iizuki‭

50%
+0 −0
What is Kmail running in the background?

When I run Kmail on i3, and then close it, it appears to continue running some stuff in the background. For example, I periodically get notifications about new mail from dunst, even though I have c...

0 answers  ·  posted 3mo ago by matthewsnyder‭

66%
+2 −0
How to change the default app for opening directories in Gnome?

I somehow managed to unknowingly change the default app for opening directories on my laptop. E.g. when I use the option open containing folder in a program like Evince, my editor (vscode) opens u...

2 answers  ·  posted 9mo ago by mr Tsjolder‭  ·  last activity 9mo ago by matthewsnyder‭

60%
+1 −0
How to create systemd unit that depends on a website being up?

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...

1 answer  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 7mo ago by Iizuki‭

60%
+1 −0
How to identify and separate standalone applications from libraries in Linux package lists?

I want to generate a list of trending Arch/AUR packages that focuses on user-facing applications rather than background libraries and dependencies. I wrote a script that uses the data from pkgstat...

1 answer  ·  posted 8mo ago by ShadowsRanger‭  ·  last activity 7mo ago by alx‭

66%
+2 −0
Nerf an SSH login outside expected IP range

Can I restrict myself from certain actions when I SSH in from outside a certain IP range? For instance no sudo? Maybe with ~/.ssh/authorized_keys having a from="!1.2.3.4/26" option with some kind ...

1 answer  ·  posted 20d ago by Michael‭  ·  last activity 8d ago by Michael‭

ssh
60%
+1 −0
How to find product and vendor names for xorg.conf

Problem How do I find product and vendor names for use with a xorg.conf file? Neither the xorg.conf nor the xinput manuals specify how to do this. xinput lists info, but the output lacks column ...

0 answers  ·  posted 4mo ago by mcp‭  ·  edited 4mo ago by mcp‭

75%
+4 −0
How do I tweak the start parameters of GUI apps?

There are many GUI apps on my computer that show up as eg. items in the start menu. When I launch these, what if I want to control how exactly they are launched, such as setting environment variabl...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by matthewsnyder‭

60%
+1 −0
Rename multiple files which have a variable suffix

I compressed some JPEGs with curtail it messed up the filenames. It was supposed to only add -min at the end but ended up adding a random string after the extension 😠: prs@PC:/DOWNLOADS/Pictures$ ...

3 answers  ·  posted 7mo ago by Pr. Sunflower‭  ·  edited 7mo ago by matthewsnyder‭

66%
+2 −0
Solr crashes on startup with segmentation fault

I am trying to run Solr 9.5.0 on Windows Subsystem For Linux 2. It crashes with a Segmentation Fault and does not start. I can run it on Windows without an issue. Java version on WSL2: 17 Java ve...

1 answer  ·  posted 2mo ago by tarhalda‭  ·  last activity 2mo ago by tarhalda‭

66%
+2 −0
How to change the keyboard layout with Gnome and Arch linux?

My goal is to use a french AZERTY keyboard layout with Arch linux and Gnome desktop environment but use US English as "OS language". Note that I am also open to a "working" solution on any other d...

2 answers  ·  posted 10mo ago by zetyty‭  ·  edited 10mo ago by matthewsnyder‭

60%
+1 −0
How do I fix a "FrankenDebian"?

I'm trying to help fix a Debian installation that has ended up with a mix of Debian release repositories, aka a "FrankenDebian". This one has the bullseye and unstable repositories listed in /etc/a...

0 answers  ·  posted 11mo ago by much‭  ·  edited 11mo ago by much‭

50%
+0 −0
How do you eval SSH agent output in fish?

SSH agent prints some envar commands for sourcing in a shell. However, these are bash-style, and I use fish. Fish barfs at the bash syntax. How can I fix it?

1 answer  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 9mo ago by matthewsnyder‭

60%
+1 −0
In i3wm, how do I tell which screen is which workspace?

I have multiple screens and I often connect and disconnect monitors while the system is running. i3 assigns a workspace to each monitor, but does so unpredictably. Both workspaces are highlighted a...

0 answers  ·  posted 6mo ago by matthewsnyder‭

50%
+0 −0
How can I change the timeout after too many incorrect login attempts?

When I enter the login password incorrectly 3 times, my computer locks me out from attempting a login for 10 minutes. How can I change the timeout?

1 answer  ·  posted 10mo ago by matthewsnyder‭  ·  last activity 10mo ago by matthewsnyder‭

66%
+2 −0
Are NixOS and Guix analogous projects?

From what I can tell, both NixOS and Guix are built around a package manager which, instead of installing package into the "common environment" as is traditional, isolates them to mitigate issues a...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by r~~‭

60%
+1 −0
In i3wm, how to create affinity between screens and workspaces?

I have multiple screens and I often connect and disconnect monitors while the system is running. i3 assigns a workspace to each monitor, but does so unpredictably. Sometimes my main monitor is work...

0 answers  ·  posted 6mo ago by matthewsnyder‭

60%
+1 −0
How to open a port in firewalld?

How to open a port when using firewalld as the system firewall?

1 answer  ·  posted 7mo ago by Iizuki‭  ·  last activity 7mo ago by Iizuki‭

50%
+0 −0
How to find user's id (UID)?

How to lookup user-id with the user's name? E.g. What's the UID of user linus?

1 answer  ·  posted 4mo ago by Iizuki‭  ·  last activity 4mo ago by Iizuki‭

uid