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)
84%
+9 −0
Suitable Linux Distro for a system with 2GB RAM

Hello, I am currently using AntiX since one of my friend suggested it but I am looking for alternative since AntiX is really buggy. pipewire doesn't start automatically, no volume icon etc. is th...

5 answers  ·  posted 5mo ago by ghodawalaaman‭  ·  last activity 2d ago by akshay‭

distributions distro-hopping
50%
+2 −2
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 1y ago by deleted user  ·  edited 24d ago by matthewsnyder‭

recommendation terminal utility cloc loc
50%
+0 −0
How to determine compute module model over rpiBoot

I need to flash an OS + some goodies to a RPI module. Currently I am using rpiBoot for this, following these steps: start rpiboot - waiting for bcm... plug in rpi over usb connection ...

0 answers  ·  posted 1y ago by hest‭  ·  edited 24d ago by Karl Knechtel‭

raspbian filesystem
71%
+3 −0
Why is my Firefox window appearing underneath the application sidebar after unlocking my device?

After running software updates on Ubuntu 22.04.05, my Firefox (137.0) window is suddenly behaving strangely; after I lock and unlock my computer, the window for some reason appears behind my applic...

1 answer  ·  posted 8mo ago by Mithical‭  ·  last activity 24d ago by Andreas has suspended his contributions‭

ubuntu firefox
71%
+3 −0
How to make nmap to not resolve ports to service names?

Nmap seem always showing service names (using an "nmap-services" file for that). I would like if nmap would show the port numbers. So: 1.2.3.4.sunwebadmin 1.2.3.4.teradataordbms 1.2.3.4.tproxy ...

0 answers  ·  posted 6mo ago by deleted user  ·  edited 24d ago by Michael‭

networking nmap
77%
+5 −0
How to convert json to yaml?

How to convert a json file to yaml? Technically json is already valid yaml, but I'm talking about the characteristic easy-to-read yaml formatting with indentation and minimal quotes.

1 answer  ·  posted 1y ago by Iizuki‭  ·  last activity 24d ago by ArtOfCode‭

json yaml
71%
+3 −0
Remove last N lines from a text file in Linux

How can I delete a specific number of lines from the end of a text file using Linux command-line tools?

1 answer  ·  posted 1mo ago by ShadowsRanger‭  ·  last activity 29d ago by ShadowsRanger‭

shell bash text-processing
66%
+2 −0
What is system Python and why does it matter?

I've heard people say not to use "system Python", what is this and why not? What am I supposed to do instead?

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

python
50%
+0 −0
trap ... ERR, how to get the signal code?

Inspired by https://software.codidact.com/posts/294883 , I had a look at shell scripting (bash). I have little experience there as I prefer (long) one-liners. For trap there is some kind of wildc...

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

bash shell-scripting
71%
+3 −0
How to type letters for non Latin alphabets?

How to type letters for non Latin based alphabets? Russian keyboards have a key that works like a caps-lock but instead of switching between small-case and upper-case, it switches between Cyrillic...

1 answer  ·  posted 1mo ago by watchmaker‭  ·  last activity 1mo ago by Michael‭

keyboard
71%
+3 −0
Copy files while showing progress

The standard cp tool from GNU coreutils just copies files silently. This can be a little unnerving when copying large chunks of data. You're left to wonder whether it's actually doing something or ...

5 answers  ·  posted 1mo ago by Iizuki‭  ·  last activity 1mo ago by Iizuki‭

cli copy
50%
+0 −0
[How] can one force toasts to render as notifications in AOSP?

Context Name ≈ Implementation “Toast” Toast.makeText “Notification” NotificationCompat.Builder My Rationale I ask because: As android.stackexchange.com/revision...

0 answers  ·  posted 1mo ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭  ·  edited 1mo ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭

Android notifications
60%
+1 −0
How to increase the volume for all audio streams > 100 % in AOSP?

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

0 answers  ·  posted 11mo ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭  ·  edited 1mo ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭

audio Android
81%
+7 −0
How to get the kernel version?

How to get the version of the currently running Linux kernel? I'm looking for a commandline solution, but feel free to post GUI solutions as well.

3 answers  ·  posted 9mo ago by Iizuki‭  ·  last activity 1mo ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭

kernel
60%
+1 −0
How does one create a Windows (11 25H2) VM with GPU passthrough (in Fedora 42)?

My Desire To summarise, I want to create a Windows 11 25H2 Enterprise Insider Preview Canary virtual machine on my Fedora 42 installation. Ideally, via virt-manager (because VirtualBox taints the ...

0 answers  ·  posted 1mo ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭  ·  edited 1mo ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭

virtualization
50%
+0 −0
Why is Helix auto-formatting my CSS files on save?

Hi everyone, I recently set up Helix and noticed that every time I save a CSS file, it gets automatically formatted. I didn’t enable any formatter for CSS in my configuration, only for Python. My ...

0 answers  ·  posted 1mo ago by ShadowsRanger‭  ·  edited 1mo ago by ShadowsRanger‭

text-processing
60%
+1 −0
How can I check texts using mathjax? [closed]

How can I check texts using latex/mathjax (intended for this site, but not restricted to that) on my own system before getting online and spending time on try&error? The focus is on mathjax, w...

1 answer  ·  posted 2mo ago by watchmaker‭  ·  closed 2mo ago by watchmaker‭

latex
66%
+2 −0
Connecting secondary wireguard VPN causes very high latency

Why would adding a secondary VPN massively increase latency? Suppose I have two Wireguard VPNs, wgA and wgB. Both are from the same provider, used to access the internet in general, so allowed IPs...

0 answers  ·  posted 2mo ago by matthewsnyder‭

networking wireguard
50%
+0 −0
nmcli asking for sudo when on SSH

Is there a way to make nmcli run without sudo over SSH? nmcli works without sudo on my machines. But when I SSH into them, it starts giving "insufficient privileges" errors. Very annoying when try...

0 answers  ·  posted 2mo ago by matthewsnyder‭

arch-linux security NetworkManager
60%
+1 −0
What are these weird hash symlinks to certificates in /etc/ssl/certs?

Trusted CA certificates are commonly stored in /etc/ssl/certs. Looking at the directory on my ubuntu server there's a bunch of certificate files and symlinks to certs in other directories as expect...

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

debian ubuntu certificate
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 1y ago by Trevor‭  ·  last activity 2mo ago by Quasímodo‭

docker mouse uri
60%
+1 −0
Run an app on Phosh from the CLI

One of the applications on my phone has a field to run a CLI command. I'd like to invoke another application with that property, but I don't know where it lives. I don't see likely candidates in m...

1 answer  ·  posted 2mo ago by Michael‭  ·  last activity 2mo ago by Quasímodo‭

phosh
60%
+1 −0
how to use a Brother QL-1100 label printer in Arch Linux

I just bought a Brother QL-1100 label printer. I set it up in Arch Linux using the following steps: install the CUPS package, and systemctl start cups.service install the QL-1100 printer ...

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

arch-linux printer cups
84%
+9 −0
Can I interrupt a crashing/frozen Ubuntu desktop?

Is there any Linux (specifically, Ubuntu) equivalent to Window's Ctrl+Alt+Del? I am aware of the System Monitor, and of top on the Terminal, but the true beauty of Ctrl+Alt+Del is that it interrupt...

3 answers  ·  posted 3mo ago by TRiG‭  ·  last activity 3mo ago by GeraldS‭

cli
75%
+4 −0
Install locally-compiled kernel module

I'm trying to get a hardware driver working. Someone seems to have a kernel module project, but I have to compile it locally and install it. I can install dependencies and make just fine, but inst...

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

kernel
66%
+2 −0
Permission denied when using curl on secondary drive

I am using Ubuntu 24.04. My problem occurs only on the secondary SDD, not the primary, original one. I would like to download things to it using a script, but every time I try to use curl to downlo...

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

downloading
66%
+2 −0
HTTPS misses with apt-cacher

I just noticed that all APT downloads through my apt-cacher server with a HTTPS mirror result in a MISS, while all requests to HTTP mirrors are handled properly by the Proxy. I did some tests and ...

0 answers  ·  posted 4mo ago by GeraldS‭

debian apt ubuntu apt-cacher
75%
+4 −0
Why is "'python' not found" on Debian/Ubuntu/Mint/etc. ?

This question is motivated by several threads and posts on the Linux Mint forums in which people encounter this sort of problem. On Debian-derived distributions of Linux, it's possible that th...

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

python
71%
+3 −0
How can I print both "before" and "after" filenames when batch-renaming files?

I'm trying to bulk-rename files in a directory and its subdirectories. I want to print each file's name before and after renaming, ideally on the same line in the form: original_filename -> new...

1 answer  ·  posted 5mo ago by ShadowsRanger‭  ·  last activity 5mo ago by ShadowsRanger‭

arch-linux renaming
80%
+6 −0
Displaying tricky UTF-8 filenames with sane escape sequences

Suppose, in a UTF-8 locale, I do something like: touch $'\u200d.txt' The resulting file's name starts with a zero-width joiner character, which is apparently considered "printable" but is invis...

0 answers  ·  posted 5mo ago by Karl Knechtel‭

ls unicode escaping
71%
+3 −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...

1 answer  ·  posted 11mo ago by Karl Knechtel‭  ·  last activity 5mo ago by samo‭

unix system-calls io-streams
71%
+3 −0
How can I get "help" with vanilla sh builtins?

I discovered that the -s flag for read is a Bash-ism: $ bash -c 'read -s -n 1' # waits until I press a key $ sh -c 'read -s -n 1' sh: 1: read: Illegal option -s Vanilla sh does offer read: ...

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

shell-scripting man-page sh
71%
+3 −0
How does Linux recognize and process .desktop files?

A Desktop entry (.desktop file) is an executable plain text file, which lacks a shebang. Its contents typically look like: [Desktop Entry] Name=Fancy Example Exec=/usr/bin/example --enable-fancy...

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

xdg desktop-environment
60%
+1 −0
Dark grey/black semi-transparent rectangle covers Gnome Terminal (bug in Enhanced Tiling?)

The bug I'm experiencing is that my (one almighty many-tabbed to multiple screen sessions in other places) Gnome Terminal started acquiring a dark semi-transparent rectangle over it. I'm using Ubu...

1 answer  ·  posted 8mo ago by mcast‭  ·  edited 6mo ago by mcast‭

debugging gnome-terminal wayland tiling a11y
50%
+0 −0
Temporarily making \u escapes use a different encoding on the command line

For debugging purposes, I made a little utility that can show the exact bytes (as a hex dump) of each command line argument fed to it: $ cat cmdline #!/bin/bash mapfile -d '' array < /proc/$$...

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

shell bash unicode escaping
66%
+2 −0
greedy capture with sed

I am trying to greedily capture text with sed. For example, I have the string abbbc, and I want to capture all of the repeated b characters, so that my result is bbb. Here's an attempt at a solut...

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

sed regex
71%
+3 −0
Why doesn't System Monitor see Firefox as an application, unlike Chrome?

I use Kubuntu 24.04.1 LTS. Firefox is running: System Monitor see Firefox as a process: But not as an application: Why doesn't System Monitor see Firefox as an application, unlike Chrome? ...

1 answer  ·  posted 8mo ago by Franck Dernoncourt‭  ·  last activity 6mo ago by InfiniteDissent‭

SystemMonitor firefox kubuntu
75%
+4 −0
Fuzzy search through multiple files

When I do rg foo /bar/baz/, ripgrep will search for foo in all files under /bar/baz/. For every file that has matching lines, it will print each line with its line number, highlight the matching pa...

0 answers  ·  posted 7mo ago by matthewsnyder‭

search
33%
+1 −4
Why isn't "porcelain" a popular term? [closed]

From What does the term "porcelain" mean in Git?: "Porcelain" is the material from which toilets are usually made (and sometimes other fixtures such as washbasins). This is distinct from "plumbi...

0 answers  ·  posted 7mo ago by Ooker‭  ·  edited 7mo ago by Karl Knechtel‭

terminology interface
80%
+6 −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, ...

3 answers  ·  posted 1y ago by Andreas has suspended his contributions‭  ·  last activity 8mo ago by mcast‭

desktop-environment
71%
+3 −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 it exists, or otherwise using the normal Vim .desktop file. This is what I have so far: [Desktop...

1 answer  ·  posted 1y ago by Trevor‭  ·  edited 8mo ago by Michael‭

shell-scripting gtk desktop xdg uri
75%
+4 −0
How do I keep track of configuration changes?

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

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

configuration best-practices
75%
+4 −0
Auto-enable FN-toggling for the first N FN keys

How can I auto-enable FN-toggling for the first N FN keys? F7-F12 on my keyboard are used for audio control, while, many games that I play, use the lower FN keys. Therefore, I'd like to relieve mys...

3 answers  ·  posted 1y ago by Andreas has suspended his contributions‭  ·  last activity 8mo ago by mcast‭

keyboard gnome PopOS
66%
+2 −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 ...

2 answers  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 8mo ago by polydact‭

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

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

arch-linux zigbee
60%
+1 −0
How do I enable audio access for Flatpak applications?

I'm trying to make OpenRGB display a light show based on the music playing, however, audio device selection is unavailable in the application, and upon checking its permissions with flatpak permiss...

1 answer  ·  posted 11mo ago by Andreas has suspended his contributions‭  ·  last activity 9mo ago by deleted user

flatpak
60%
+1 −0
how to use chromium's --proxy-server option

I'm trying to use a proxy server with chromium but I can't get it to work. I'm using Arch Linux. Here are the steps I'm following: I find a proxy in the UK on the British Proxy List at proxyno...

1 answer  ·  posted 9mo ago by Trevor‭  ·  last activity 9mo ago by Michael‭

google-chrome proxy-server
66%
+2 −0
Open Konsole as new tab

I want to issue a command[1] to open a certain folder in a new tab of the currently running Konsole instance (if any). There's a --new-tab option, but konsole --new-tab opens a new instance, even ...

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

kde
75%
+4 −0
Understanding semicolons in Bash functions

I know I can write a function at a Bash command line like so: $ test() { echo 'test' ; } I also found that I can write the } on a separate line, and omit ;: $ test () { echo 'test' > } ...

1 answer  ·  posted 11mo ago by Karl Knechtel‭  ·  last activity 9mo ago by bgstack15‭

syntax bash-function
50%
+0 −0
Latin American keyboard layout on IBus for Debian Bullseye doesn't work; Spanish layout is applied instead

The following question was asked by SE user RAKK. The original source can be found here. I am running Debian 11 Bullseye for AMD64 on an HP Pavillion Touch 14-N009LA laptop, using IBus and MATE ...

2 answers  ·  posted 10mo ago by aura-lsprog-86‭  ·  last activity 10mo ago by aura-lsprog-86‭

debian keyboard-layout ibus

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant