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)
50%
+0 −0
How to increase the volume for all audio streams >100%?

Rationale Occasionally, audio from a very useful proprietary application is too quiet to be audible. This is impossible to remediate at the application level because: I am unable to request t...

0 answers  ·  posted 5d ago by RokeJulianLockhart ‭  ·  edited 5d ago by RokeJulianLockhart ‭

50%
+0 −0
Dolphin Flatpak is not displaying the Aspect Ratio of video files

Hello everyone đź‘‹ The problem I have ~200 video files (.MP4) that I would like to organise based on their dimensions. However, the Dolphin File Manager (that I installed with Flatpak) does not di...

0 answers  ·  posted 5d ago by Pr. Sunflower‭

66%
+2 −0
How to connect to Zigbee devices?

I think I finally found a topic the Arch wiki doesn't cover :) I have a Zigbee USB dongle and some Zigbee-capable wireless devices. The dongle is supposed to create a network to which the devices ...

1 answer  ·  posted 20d ago by matthewsnyder‭  ·  last activity 10d ago by xxxxme‭

60%
+1 −0
How to reset time in Ubuntu after replacing CMOS battery?

How to reset time in Ubuntu after replacing CMOS battery?

2 answers  ·  posted 18d ago by victoriafl‭  ·  last activity 11d ago by GeraldS‭

60%
+1 −0
Why does nvidia CTK config need to be manually generated at each boot?

For certain GPU-accelerated tasks, such as Docker containers using GPU, I need to run the following on every boot: sudo nvidia-ctk cdi generate --output /var/run/cdi/nvidia.yaml Without this, G...

0 answers  ·  posted 14d ago by matthewsnyder‭  ·  edited 14d ago by matthewsnyder‭

50%
+0 −0
How do I solve the error 'Dependencies installation failed'?

How do I solve the error 'Dependencies installation failed' when installing a program using an installer in Bottles? I'm using Bottles 51.15. Console log 15:08:16 (INFO) Installing dependenc...

2 answers  ·  posted 2mo ago by riQQ‭  ·  last activity 20d ago by matthewsnyder‭

60%
+1 −0
Check if piped-in process is blocked on input

Suppose I am the author of a shell utility called bar. One common use case is in pipelines like foo | bar, where foo sometimes runs interactively. I want to distinguish situations where interaction...

0 answers  ·  posted 20d ago by Karl Knechtel‭

66%
+2 −0
How can I simply persist functions written in the current terminal session for later use?

Suppose I write a Bash function at the command line: $ hello-world() { echo "Hello, world!"; } and I revise (perhaps hitting up-arrow to retrieve it from command history and edit it) and test a...

2 answers  ·  posted 28d ago by Karl Knechtel‭  ·  last activity 21d ago by bgstack15‭

60%
+1 −0
click and open a URI link from a terminal in Docker

I am using Docker on Windows (from Powershell) to run a container that runs Rocky Linux. I can run GUI applications (e.g., xeyes) from the container by running VcXsrv on Windows, and setting DISPLA...

0 answers  ·  posted 2mo ago by Trevor‭

66%
+2 −0
how to create a clickable link to an executable in the terminal

My goal is to create a clickable link in the terminal that opens an executable. I'm trying to do this using thefile: URI. For example, I want to open Blender whose executable is /usr/bin/blender. I...

1 answer  ·  posted 2mo ago by Trevor‭  ·  last activity 2mo ago by Ordoviz‭

60%
+1 −0
Where did xterm's ctrl-middle-mouse-button menu go?

I'm using xterm version 395-1, on Arch Linux, with i3 window manager. I like xterm because it's fast, and I can configure things like "what characters are in a word when you double click on a word"...

1 answer  ·  posted 2mo ago by bediger4000‭  ·  last activity 2mo ago by QuasĂ­modo‭

x11
60%
+1 −0
strongswan can't find "trusted RSA public key"

I am trying to connect to a VPN server (that I don't control) using IKEv2 and strongswan. The connection fails with [IKE] no trusted RSA public key found for 'xxx.xxx.xxx.xxx'. I downloaded the Sec...

0 answers  ·  posted 2mo ago by filo‭

77%
+5 −0
How to convert a markdown file to PDF?

How to convert a markdown file to PDF? The final PDF output should represent the rendered markdown file. Bonus points if the method also preserves colored emojis. Both CLI and GUI solutions are we...

2 answers  ·  posted 2mo ago by Iizuki‭  ·  last activity 2mo ago by samcarter‭

50%
+0 −0
How to enable SysRq key?

I want my SysRq key to be fully functional. When I look in sudo sysctl -a I see kernel.sysrq = 1 in the output. This tells me it should be working. To test, I run echo h > /proc/sysrq-trigger ...

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

60%
+1 −0
Partially moving /home to a new partition, leaving some content behind

I have a partition and directory structure that looks like: small partition: / usr var ... # etc. large partition: /home shared other_stuff large_folder ...

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

60%
+1 −0
Running an executable through a symlink, at the target's location

I have this test setup: $ cat first #!./second one two three $ cat second #!/usr/bin/env python import sys for line in open(sys.argv[1]): print(line, end='') After chmod +x on th...

0 answers  ·  posted 2mo ago by Karl Knechtel‭

50%
+0 −0
How to determine compute module model over rpiBoot

Hi, i need to setup a script to validate the raspberry hardware connected to a desktop PC, and im not sure how to go about it. We are in an environment where we need to flash an OS + some goodies ...

0 answers  ·  posted 2mo ago by hest‭

66%
+2 −0
how to use %F in a file URI in a .desktop file

I'm trying to create a .desktop file which opens a file, either inside a Vim server named "VIM" if that server exists, or otherwise using the normal Vim .desktop file. My .desktop file is below. ...

1 answer  ·  posted 2mo ago by Trevor‭  ·  last activity 2mo ago by r~~‭

60%
+1 −0
Vanishing menus in KDE core components

Some context menus in my KDE installation show the following problem: When the menu is opened it shows normally. But as soon as I move the cursor over the menu, it becomes transparent and whate...

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

66%
+2 −0
How to identify which Docker container an overlay is for?

Docker stores data under directories like /var/lib/docker/overlay2/xyz123. These sometimes grow very large, and Docker does not provide good instructions for how to easily manage the space used by ...

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

50%
+0 −0
If I have /home on a separate partition, how can I move it back to the root partition?

Some Linux users prefer to have /home mounted on a separate partition from the filesystem root, while others prefer a unified partition. I can find plenty of tutorials out there for moving /home on...

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

75%
+4 −0
How can I use Remote Desktop to connect to a sleeping Ubuntu machine and wake it up?

I have a laptop running Ubuntu 24.04.1 LTS that I would like to access with Remote Desktop (or VNC)[1] from a Mac. I found the Ubuntu system settings to enable Remote Desktop and am able to connec...

1 answer  ·  posted 3mo ago by Monica Cellio‭  ·  last activity 2mo ago by Monica Cellio‭

71%
+3 −0
What does ${2-} mean in bash?

I came across this in a bash script: excludes+=("${2-}") What is the meaning of ${2-}?

1 answer  ·  posted 3mo ago by nogjam‭  ·  last activity 3mo ago by nogjam‭

66%
+2 −0
How does the OOM Killer stop its victim process?

Suppose the machine is short on memory and the OOM Killer has selected a target process to shut down (in order to reclaim memory). How does the OOM killer actually kill the process? Is it done usi...

1 answer  ·  posted 3mo ago by Iizuki‭  ·  edited 3mo ago by Karl Knechtel‭

71%
+3 −0
Getting a Module Error When Running Pytest Even Though the Module is Installed in the Current Virtual Environment

Hello everyone, I am encountering an issue when running pytest in my virtual environment. Although I have installed the required modules in my virtual environment using pip, I am still getting a M...

2 answers  ·  posted 1y ago by ShadowsRanger‭  ·  last activity 3mo ago by Karl Knechtel‭

60%
+1 −0
Disable ability of users to enable lingering in systemd

Can I disable the ability of regular users to enable lingering in loginctl? By default every user on a systemd enabled Linux can run loginctl --enable-linger and have a personal systemd instance s...

1 answer  ·  posted 3mo ago by GeraldS‭  ·  edited 3mo ago by GeraldS‭

60%
+1 −0
How to extract .tar.gz archive?

.tar.gz is a pretty common archive format. How to extract its contents, "unzipping" it in the command line?

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

71%
+3 −0
How can I efficiently create a collage of video thumbnails on Linux?

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

2 answers  ·  posted 3mo ago by ShadowsRanger‭  ·  last activity 3mo ago by GeraldS‭

80%
+6 −0
How to automatically block IPs that try exploit URLs?

I have a static website I serve with Caddy. The Caddy is inside a container. I notice that occasionally I get malicious requests, looking at the paths requested. Some examples are: /cgi-bin/luc...

1 answer  ·  posted 4mo ago by matthewsnyder‭  ·  last activity 3mo ago by GeraldS‭

62%
+3 −1
How to find big files and directories?

You've just run df -h and are shocked how little disk space you got left. You'd like to find where all the space has gone. How to find big(est) files and directories on your system? (So that you c...

3 answers  ·  posted 4mo ago by Iizuki‭  ·  edited 3mo ago by Iizuki‭

81%
+7 −0
How to get number of files in directory

How do you find out the number of files in a directory from the command line?

4 answers  ·  posted 2y ago by mcp‭  ·  last activity 3mo ago by Ed Morton‭

60%
+1 −0
How to switch between keyboard layouts with a keyboard shortcut in Awesome WM?

Context I can't switch between keyboard layouts with Alt+CapsLock with Awesome WM (v4.3) on Debian 12. I would like to use a French layout and the Programmer Dvorak layout (dvp). I succeed to us...

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

50%
+0 −0
How to use several keyboard layouts with Awesome WM?

I can't set two keyboard layouts with Awesome WM (v4.3) on Debian 12. Using the following configuration (in rc.lua config file of Awesome WM), only the french layout seems to be usable. The us lay...

1 answer  ·  posted 4mo ago by zetyty‭  ·  last activity 4mo ago by tantan‭

50%
+0 −0
Vulkan errors from headless chromium

Headless chromium gives me many errors: $ chromium codidact.com --headless [0914/093555.796025:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: ...

0 answers  ·  posted 4mo ago by matthewsnyder‭

60%
+1 −0
Supervisor: display, prefix and color output from child programs

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

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

50%
+0 −0
Duplicated instance of VSCodium in Awesome WM with Tyrannical

I'm using Awesome WM (v4.3) with Tyrannical plugin on Debian 12 and I observe an unexpected behavior of VSCodium. Using the following configuration (in rc.lua config file of Awesome WM), when I st...

0 answers  ·  posted 5mo ago by zetyty‭  ·  edited 4mo ago by zetyty‭

60%
+1 −0
How to move a BTRFS filesystem to another drive?

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

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

50%
+0 −0
Command to show GPU model

Looking for a command to show the model(s) of the system's GPU(s). It doesn't matter if it shows other related info too, as long as the model doesn't get buried.

2 answers  ·  posted 5mo ago by Iizuki‭  ·  last activity 5mo ago by matthewsnyder‭

77%
+5 −0
Find path to an executable

How to find the exact path to an executable file present in your PATH. I.e. commands you can call by just their names. E.g. what executable gets called when I type find and hit enter? $ hypotheti...

3 answers  ·  posted 5mo ago by Iizuki‭  ·  last activity 5mo ago by Ordoviz‭

57%
+2 −1
What is the most accurate CLOC (count lines of code) program?

I searched for "what is the most accurate lines of code counter linux", but didn't get relevant results. This tcount CLOC project says that it's somehow better than others ones. I don't really beli...

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

75%
+4 −0
What desktop environment am I running?

I'm a complete beginner, and just installed Linux for the first time. I chose a popular distribution, but I've run into some issues, or have a few questions. However, I don't know if I have Gnome, ...

2 answers  ·  posted 5mo ago by Andreas is speechless at the number of bird deaths‭  ·  last activity 5mo ago by matthewsnyder‭

66%
+2 −0
Secondary internal disk is mounted as an external disk

I just installed an SSD into my motherboard's third M.2 slot. After I booted up the computer, the secondary disk is now displayed like an externally connected one. There's an icon for it on the des...

1 answer  ·  posted 5mo ago by Andreas is speechless at the number of bird deaths‭  ·  last activity 5mo ago by Andreas is speechless at the number of bird deaths‭

66%
+2 −0
How to stop terminal from handling `Super+.`

Problem I have Super+. mapped to Switch to workspace on the right in gnome settings keyboard shortcuts. It works everywhere except when focus is on the terminal. There, it enters an e in the termi...

1 answer  ·  posted 6mo ago by mcp‭  ·  last activity 5mo ago by QuasĂ­modo‭

50%
+0 −0
Run programs of normal OS from a live USB

I am experiencing hardware or software problems that I cannot explain, or find a solution for. As part of the troubleshooting process, I have now arrived at running an older version of the OS from ...

1 answer  ·  posted 6mo ago by Andreas is speechless at the number of bird deaths‭  ·  edited 5mo ago by matthewsnyder‭

57%
+2 −1
How to view a TLS certificate from the command line?

I have a TLS certificate, let's say codidact.pem (downloaded as in https://linux.codidact.com/posts/292251/292257#answer-292257). But when I view it the file it appears to be base64 encoded: $ cat...

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

60%
+1 −0
Download a TLS certificate from the command line

What command can be used to download the TLS certificate of a site such as https://wikipedia.org?

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

66%
+2 −0
Command to display remote certificate information

How to display details about a site's certificate using CLI tools?

2 answers  ·  posted 5mo ago by Iizuki‭  ·  edited 5mo ago by Iizuki‭

75%
+4 −0
Is it a bad idea to pipe a script from curl to your shell?

Online, I often see someone tell people to run a command like /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" (example from https://brew.sh/). The g...

2 answers  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 5mo ago by Stephen Kitt‭

60%
+1 −0
Ubuntu system has lost DNS access

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

1 answer  ·  posted 7mo ago by gmcgath‭  ·  edited 5mo ago by matthewsnyder‭

71%
+3 −0
How do you play Windows games on Linux?

A lot of games are made for Windows, and don't have an official Linux version. Can you play these on Linux? Asking specifically about games, not all programs, because games have a lot of additiona...

1 answer  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 5mo ago by Kanaske‭