General Q&A about Linux and Unix-like operating systems
Filters (None)
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...
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...
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 ...
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...
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 ...
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.
How can I delete a specific number of lines from the end of a text file using Linux command-line tools?
I've heard people say not to use "system Python", what is this and why not? What am I supposed to do instead?
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...
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...
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 ...
Context Name ≈ Implementation “Toast” Toast.makeText “Notification” NotificationCompat.Builder My Rationale I ask because: As android.stackexchange.com/revision...
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...
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.
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 ...
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 ...
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
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 ...
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...
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...
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...
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...
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: ...
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...
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...
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/$$...
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...
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? ...
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...
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...
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, ...
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...
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...
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...
I have a partition and directory structure that looks like: small partition: / usr var ... # etc. large partition: /home shared other_stuff large_folder ...
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 ...
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...
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...
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 ...
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' > } ...
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 ...
