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
When a command takes filenames as argument, how can I avoid creating temporary files?

Suppose I have a command that takes filenames as arguments, like: diff foo.txt bar.txt What if instead of actual files, I want to use the results of a command in each? I can use temporary files: ...

2 answers  ·  posted 11mo ago by matthewsnyder‭  ·  last activity 11mo ago by Kamil Maciorowski‭

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‭

60%
+1 −0
After update, OpenGL does not work until reboot

Whenever I do a big system update, OpenGL stops working until the next reboot. This also prevent OpenGL apps from launching. Example: $ glxgears X Error of failed request: BadValue (integer par...

0 answers  ·  posted 10mo ago by matthewsnyder‭

60%
+1 −0
How to start MariaDB (or MySQL) server on a WSL using systemctl?

When I try to start MariaDB server (same problem with MySQL) on a fresh Debian 11 install in a Windows Subsystem Linux (WSL) I got the following error: $ sudo systemctl start mariadb System has n...

2 answers  ·  posted 10mo ago by zetyty‭  ·  last activity 10mo ago by matthewsnyder‭

60%
+1 −0
Postgres 15.3 fails to create new tablespace (could not set permissions)

I am unable to create new tablespaces on a fresh Postgres 15.3 installation on Ubuntu 22.04. I tried the following so far: re-install Postgres fully loosen file system permission disabled SELi...

0 answers  ·  posted 10mo ago by Luís de Sousa‭  ·  last activity 9mo ago by Mithical‭

60%
+1 −0
PipeWire separates the audio of every program, how do I combine them?

I uninstalled PulseAudio and installed PipeWire. It seems like now, every application gets an independent audio configuration. When I go into pavucontrol I see "Spotify" where I configure the volu...

0 answers  ·  posted 10mo ago by matthewsnyder‭

60%
+1 −0
GUI apps stop working until next boot after some system upgrades

My system occasionally has an issue that looks like this: I run pacman -Syu Many things get updated Many GUI apps (including all display managers and Xorg) start refusing to run and throw up O...

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

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
Starts systemd service and follow log

I can start services with systemctl start. I can see logs with systemctl status or journalctl. But by the time I run the second the process has already started. I'd like to start a service and imme...

2 answers  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 8mo ago by AdminBee‭

60%
+1 −0
What does Gnome Disks "erase" do?

When formatting drives with Gnome Disks, there is an option to "Erase". The help text says this takes longer, but "completely" erases data. What exactly does this option do? Is there a CLI equival...

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

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‭

60%
+1 −0
Static IP on wired LAN

I have an Arch Linux machine connected to a LAN by ethernet. The router runs OpenWRT. DHCP assigns IPs to this machine like 192.168.1.* - quite typical. I want the IP to always be 192.168.1.10. I...

2 answers  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by matthewsnyder‭

60%
+1 −0
Do I have to update Guix frequently like Arch?

Guix is a rolling release distro. Another well known rolling release distro is Arch Linux. In Arch, you are expected to frequently do system updates. Partial updates are not supported. In my exper...

0 answers  ·  posted 8mo ago by matthewsnyder‭  ·  edited 8mo ago by matthewsnyder‭

60%
+1 −0
Ergonomic way to search man pages

You often have to read man pages to use Linux/Unix software. However, many man pages are not easy to read. They are very long, not always conveniently arranged, and man does not appear to have any ...

3 answers  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 7mo ago by alx‭

60%
+1 −0
How to fix DPI for Spotify

Spotify runs on my computer with higher DPI (bigger UI elements) than I'd like. How can I reduce it?

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

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‭

60%
+1 −0
How do I find files?

How can I search for files on my system? Ideally, I would like to search by various criteria, like date, name, extension, etc.

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

60%
+1 −0
Nvidia docker runtime: Failed to create task for container

I installed the Nvidia container toolkit so I can use GPU acceleration in Docker containers. However, I can't get the containers to work: $ sudo docker run --runtime=nvidia nvidia/cuda:12.2.0-base...

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

60%
+1 −0
Why does $XDG_DATA_HOME default to ~/.local/share?

Why does XDG_DATA_HOME default to ~/.local/share? Why not something less cryptic, like ~/.data? Why did they decide use that path?

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

xdg
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 7mo ago by ShadowsRanger‭  ·  last activity 7mo 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 7mo ago by Karl Knechtel‭  ·  last activity 7mo ago by r~~‭

60%
+1 −0
How to bypass SSH destination host key fingerprint check?

When you first connect to a host, ssh asks you about saving its fingerprint. If you do, on subsequent connections it will check the fingerprint and refuse to connect if it changed. I get that this...

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

ssh
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 6mo ago by matthewsnyder‭

60%
+1 −0
How to tile multiple small page PDFs on a single standard size PDF?

Suppose I have a PDF which is 2x3 in. I want to create a PDF with a single page, which has multiple copies of this. For example, if the small pieces are in landscape, and the large page is in portr...

0 answers  ·  posted 6mo ago by matthewsnyder‭

pdf
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 6mo ago by Iizuki‭  ·  last activity 6mo ago by Iizuki‭

60%
+1 −0
How to fix the dark mode after the Gnome 1:44 update?

I recently updated Gnome to 1:44.0 and since the update my dark mode settings seem to be ignored for Gnome applications. When setting the dark style in Settings > Appearance, the desktop backgr...

1 answer  ·  posted 6mo ago by mr Tsjolder‭  ·  last activity 6mo ago by mr Tsjolder‭

60%
+1 −0
How to prevent keyboard layout modifications from affecting external keyboards

Using For the console: /etc/vconsole.conf ---- KEYMAP=dvorak For X Session: .xinitrc ---- setxkbmap -layout us -variant dvorak & Problem For the console, it applies the dvorak lay...

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

60%
+1 −0
Lynis says my /etc/issue is weak - how to strengthen?

When hardening my system with Lynis I had information about /etc/issue and /etc/issue.net being found weak. Lynis redirects me to Enterprise, which is a paid product and a bit overkill for my home...

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

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 5mo ago by matthewsnyder‭

60%
+1 −0
In i3wm when moving windows, how do I also switch to the workspace if it's active?

Let's say I have workspaces 1, 2, 3 on screen A and 4, 5 on screen B. Currently workspaces 1 and 4 are active. With my current config, moving a window to another workspace never activates it. How...

0 answers  ·  posted 5mo ago by matthewsnyder‭

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 5mo ago by matthewsnyder‭

60%
+1 −0
In i3wm, how do I move a workspace with its windows to another screen?

In i3, is there a way to move an entire workspace to another monitor, including all windows it contains?

0 answers  ·  posted 5mo ago by matthewsnyder‭

60%
+1 −0
Can you put systemd units under a custom path?

The systemd manual gives a list of path where systemd looks for unit files. However, I want to isolate my units in a path of my own choosing. Is it possible to configure systemd to add some path t...

1 answer  ·  posted 4mo ago by matthewsnyder‭  ·  edited 1mo ago by matthewsnyder‭

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 4mo ago by matthewsnyder‭

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 3mo ago by mcp‭  ·  edited 3mo ago by mcp‭

60%
+1 −0
An alternative to pacman sudo nag?

Some pacman functions require sudo. When I forget the sudo, you get: error: you cannot perform this operation unless you are root. I then have to press the keys: up, home, s, u, d, o, space, en...

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

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 2mo ago by alx‭  ·  last activity 2mo ago by r~~‭

60%
+1 −0
Is there a way to automatically normalize paths when extracting RARs?

I use unrar to extract rar archives sometimes: UNRAR 6.24 freeware Copyright (c) 1993-2023 Alexander Roshal Sometimes the archive root has several files, so if I do unrar x foo.rar it will...

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

60%
+1 −0
Prettify XML in a shell

How to pretty print XML in a shell? I have command-line tool which outputs XML in a single line, totally unreadable. I would like something to pipe this into, to turn it into human readable XML wi...

1 answer  ·  posted 1mo ago by Iizuki‭  ·  edited 1mo ago by Iizuki‭

60%
+1 −0
How do you generate random strings from /dev/random?

Of course every language has some kind of random library... But can you generate custom random strings with just basic CLI tools? For example, we have /dev/random which provides a stream of random...

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

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 1mo ago by Karl Knechtel‭

57%
+2 −1
How to automatically change to the first matching directory using fuzzy search and cd?

I want the cd command to automatically change to the first directory that matches a fuzzy search, without prompting me to select between multiple options. This is what I've tried: cd() { loc...

1 answer  ·  posted 1y ago by ShadowsRanger‭  ·  last activity 11mo ago by jimbobmcgee‭

57%
+2 −1
Download packages for full system upgrade without installing

I noticed that downloading all the pacman packages for a full system install takes a lot of time, so I want to create a systemd time that will periodically download them for me. That way, most of t...

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

57%
+2 −1
How to change resolution of virtual terminal?

How can I rescale the Linux virtual terminals (ctrl + alt + {f1, f2, f3, f4, f5, f6}), so that a high-resolution display doesn't make the letters too small? I'd like to use 1080 or even 720 resolu...

2 answers  ·  posted 6mo ago by alx‭  ·  last activity 6mo ago by Canina‭

57%
+2 −1
Unpacking .zst files on Ubuntu

How one may unpack .zst archived on Ubuntu? I received .zst archive file and I am looking for a way to unpack it.

1 answer  ·  posted 2y ago by Runaway_from_you_know_what‭  ·  last activity 2y ago by Runaway_from_you_know_what‭

50%
+0 −0
USB host: any special kernel option(s) needed to detect Gadget devices?

I have a custom, ARM Cortex A53 based Linux system, based on Buildroot one RaspberryPi CM3 module, connected to the other system via USB The USB gadget is correctly set up on the CM3 module ...

0 answers  ·  posted 3y ago by sktpin‭

50%
+0 −0
Ruby installation in Manjaro (Arch-Based Linux)

I was reading the documentation. In Debian based Linux, I have to install build-essential, libssl-dev. But, what about Arch-Based Linux? I had tried sudo pacman -Syy build-essential libssl-dev ...

2 answers  ·  posted 3y ago by deleted user  ·  last activity 2y ago by Anonymous‭

50%
+1 −1
Is it possible to install .deb file on arch-based Linux?

Is it possible to install .deb extension file in Arch-Based Linux? I saw there's no dpkg package. But, if installing .deb file possible than, how?

2 answers  ·  posted 3y ago by deleted user  ·  last activity 2y ago by Grove‭

50%
+0 −0
Grub rescue error

I was using Linux mint and Windows 10 together (in different partitions). Few months I was using it freely. Today I got a message in Windows 10 (new updates available or shutdown and update) then, ...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by deleted user

50%
+0 −0
unable to access Manjaro (kernel file not found)

I have Prime OS and Windows 10 alongside Linux Manjaro. I was using Prime OS nearly 2 hours. Then, I turned off my laptop for 30-60 minutes. Then, I turned my laptop on and I was using Windows 10 f...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by deleted user