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)
71%
+3 −0
What does capital T mean in the output of 'ls -l'?

I had a nightly cronjob start throwing errors about "inappropriate permissions..." rsync: [generator] failed to set permissions on "/data2/home/redacted/alsoredacted/opt/dell/srvadmin/var/log/open...

2 answers  ·  posted 2y ago by re89j‭  ·  last activity 2y ago by Quasímodo‭

71%
+3 −0
How to detect if a Linux Docker host has had unwelcome guests?

I plan to set up a Raspberry Pi to host some dockerized apps, for it to be accessible to the Internet through a remote proxy, and since I'm no sysadmin, I'm trying to come up with a suitable policy...

1 answer  ·  posted 2y ago by nnlei‭  ·  last activity 2y ago by Canina‭

71%
+3 −0
Why is libvkd3d1 not upgrading on my system? (lubuntu 20.04 LTS)

Why is libvkd3d1 not upgrading on my system? (lubuntu 20.04 LTS) When I run sudo apt update, apt flags libvkd3d1 and libvkd3d1:i386 as upgradable, but sudo apt upgrade does nothing and reports tha...

1 answer  ·  posted 2y ago by Darth_Muldoon‭  ·  last activity 2y ago by Canina‭

71%
+3 −0
Treat underscores as word boundaries in terminal using vim mode

Question How do you specify underscores as Vim word boundaries when using vim mode in either bash or zsh? MWE w on this_word should place the cursor on the underscore. A second w should place th...

1 answer  ·  posted 1y ago by mcp‭  ·  last activity 9mo ago by r~~‭

71%
+3 −0
Is this a robust way to distinguish explicitly installed packages from those pulled in as dependencies?

When exploring the commands from this answer to my previous question, I found that the ist of packages includes a lot that were automatically installed due to dependencies. Obviously I'm interested...

1 answer  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Peter Taylor‭

71%
+3 −0
Why does the file command fail to recognize non-text files as such?

POSIX defines Text file as A file that contains characters organized into zero or more lines. The lines do not contain NUL characters and none can exceed {LINE_MAX} bytes in length, inclu...

2 answers  ·  posted 3y ago by Quasímodo‭  ·  last activity 3y ago by LawrenceC‭

71%
+3 −0
What does `emerge --update --newuse --deep @world` have to do with package removal?

In Debian-based distributions, one can update the system with apt upgrade and cleanup unused dependencies with apt autoremove. Period. On Gentoo that is apparently not as straightforward. From G...

0 answers  ·  posted 2y ago by Quasímodo‭  ·  last activity 9mo ago by Mithical‭

71%
+3 −0
How to use a detected USB RNDIS gadget as network adapter

I have a RaspberyPi module, with USB connected to another module computer (as USB host) running Linux. The RasPi is configured as USB ethernet gadget. Once I boot the RasPi, and enter dmesg on th...

1 answer  ·  posted 3y ago by sktpin‭  ·  last activity 3y ago by sktpin‭

71%
+3 −0
Get current server of pacman

How do I get the URL of the remote repository that pacman uses to download packages? I know that I can tell pacman which server to use by editing /etc/pacman.d/mirrorlist. But in my case, all of t...

1 answer  ·  posted 3y ago by Matthias Braun‭  ·  edited 3y ago by Matthias Braun‭

71%
+3 −0
How to persist keyboard repeat rate and delay for external devices

Problem I want to set a global keyboard rate for both the X session and the console that persists for external keyboards, across plug-ins and removals. To my understanding, Xorg and console sett...

0 answers  ·  posted 1y ago by mcp‭  ·  edited 1y ago by Quasímodo‭

71%
+3 −0
Storage usage by media type

Question How can I view storage usage breakdown by media type? MWE Notes Commandline would be great, but open to anything.

0 answers  ·  posted 1y ago by mcp‭  ·  last activity 11mo ago by matthewsnyder‭

71%
+3 −0
How do you troubleshoot bwrap/wine sandboxes for Windows games?

I use Wine to play Windows games. As is well known: Wine is not a sandbox Windows games are proprietary blobs and can contain malware Windows malware can potentially harm Linux through Wine ...

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

71%
+3 −0
Why do many Windows games fail when the network is sandboxed?

I run Windows games with Wine, and use bwrap to sandbox them. I've noticed that passing --unshare-net to disable the network breaks many, many games (they fail to start with no obvious error messag...

0 answers  ·  posted 11mo ago by matthewsnyder‭  ·  last activity 9mo ago by Mithical‭

71%
+3 −0
How to debug NetworkManager issue after suspend/resume in Ubuntu 22.04

****Since upgrading to Ubuntu 22.04 recently, immediately after a reboot I have WiFi to an internet hotspot as I did prior to upgrading. After suspend then resume, the network is no longer working...

2 answers  ·  posted 11mo ago by happyborg‭  ·  edited 9mo ago by happyborg‭

71%
+3 −0
Increase incorrect login attempts before locking account

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

2 answers  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 9mo ago by r~~‭

71%
+3 −0
How can I show hidden files and folders (with leading dot in name) on the desktop (actual desktop, not a window)?

I am using Linux Mint 20.3, with Cinnamon as a window manager. I have a folder named .pytest_cache on my Desktop: $ ls -1A | grep '^\.' .pytest_cache I know that if I open a Nemo window, navi...

0 answers  ·  posted 9mo ago by Karl Knechtel‭  ·  last activity 9mo ago by Mithical‭

71%
+3 −0
Internet connection and touchpad not working on Ubuntu 22.04 after a force shut down

After a force shutdown on Ubuntu 22.04, installed on a Lenovo Legion 5, the OS seems to have lost its ability to recognize the built-in touchpad or to connect to the internet. For the backstory......

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

71%
+3 −0
How to get a new IP address from DHCP?

How do I make my computer request a new IP from DHCP? I am using Arch with NetworkManager.

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

71%
+3 −0
How to overwrite each line of STDOUT with the next one?

I wrote a filter program to overwrite each line with the next one. $ cat /usr/local/bin/ovr #!/bin/sh sed '2,$s/^/\x1B[1A\x1B[K/'; Here's the behavior: $ echo | ovr $ echo 'foo' | ovr ...

3 answers  ·  posted 7mo ago by alx‭  ·  last activity 7mo ago by Kamil Maciorowski‭

71%
+3 −0
How to invert command exit code?

How to apply a logical not to a shell command, e.g. in a Bash script? So if the command exited with 0 (success) I would like it to be changed to a non-zero value, and if it exited with a non-zero ...

2 answers  ·  posted 6mo ago by Iizuki‭  ·  last activity 3d ago by trueframe‭

71%
+3 −0
How to find your public IP address from command-line?

ip a command will conveniently show the addresses assigned to your network interfaces, but oftentimes this is not what the internet sees your machine as. So how to find your public IP address from...

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

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 3mo ago by matthewsnyder‭  ·  last activity 1mo ago by Michael‭

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 22d ago by Michael‭

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‭

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
What are non-POSIX shells and what's the point of them?

I've been learning some Linux and I finally feel like I can find my way around the command line. But now I hear people say there are other, "non-POSIX" kinds of shell, with different semantics. Wha...

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

71%
+3 −0
Can a malicious party add false recipients (who are listed but can't really decrypt) to an encrypted GPG message?

In gpg(1), one normally adds recipients of an encrypted message with --recipient. Those recipients will be able to decrypt the message, and their key ID will appear unencrypted, so anyone will kno...

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

GPG
71%
+3 −0
Why/how can distro support lifetimes exceed the lifetime of their dependencies (such as Python)?

Motivating example: my Mint 20.3 distribution offers long-term support until April 2025, which matches the "standard support" offered for the upstream Ubuntu (20.04 "Jammy Jellyfish"). However, the...

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

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 25d ago by matthewsnyder‭  ·  last activity 23d ago by matthewsnyder‭

71%
+3 −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 22d ago by Iizuki‭  ·  last activity 4d ago by Iizuki‭

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 15d ago by matthewsnyder‭  ·  last activity 11d ago by Iizuki‭

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

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

66%
+2 −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 2d ago by Matthias Braun‭  ·  edited 1d ago by Matthias Braun‭

66%
+2 −0
Quickly increase virtual console ("TTY") font size on the fly

I just want to "zoom in/out" in the text console, is there a straightforward command to do that? I have found various sources (1, 2, 3) that either suggest permanent changes (e.g. modifying config...

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

66%
+2 −0
How to decrease image size from commandline

Problem I'd like to be able to decrease images, particularly jpg and png's, either to a percentage of the original file, or a specified size in bytes. MWE decrease --size=900KB -o image_small....

1 answer  ·  posted 1y ago by mcp‭  ·  edited 1y ago by mcp‭

66%
+2 −0
Scalable fonts are not loaded into the X server database

I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed grep -r 8859-2 /usr/share/fonts/ and, to my surprise, found many matches, for example ==> /us...

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

66%
+2 −0
Bind brightness/volume and other special Fn keys in a tty

I am running Debian stretch on a Lenovo laptop with only a window manager (i.e. no desktop). Out of the box, this configuration of Debian ignores the keys with special Fn functions, such as volum...

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

66%
+2 −0
grub loader can't detect Bliss OS | Shell

While this is about grub loader, this is likely to be a question of OS related. If it doesn't belong to this site than I will remove it. I had installed Bliss in sda2. Device Boot Start...

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

66%
+2 −0
I deselected a package and changed my mind. How to select it without re-emerging?

I executed emerge --deselect xournalpp , which means "I don't need the xournalpp package anymore", so it can be removed by a future --depclean action in case Portage figures xournalpp is not a ...

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

66%
+2 −0
How to append commands to startx from console

MWE startx && xrandr-invert-colors Problem It seems that anything after startx does not get issued in the resulting X session. I'd like to make a bash function that sets up my monito...

2 answers  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by celtschk‭

66%
+2 −0
Your Ruby version is 2.7.0, but your Gemfile specified 2.6.6.

In my Ruby project, when I try bundle install, I got: Your Ruby version is 2.7.0, but your Gemfile specified 2.6.6 I don't know how to solve it. I am using Windows Subsystem for Linux (WSL) U...

2 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by deleted user

66%
+2 −0
How to make vi-mode bindings in terminal copy to clipboard

If I want to yank my last command I can UP yy, but this does not copy to the system clipboard. How do I configure my terminal to copy to the system clipboard so I can paste into other programs? ...

1 answer  ·  posted 2y ago by mcp‭  ·  last activity 2y ago by deleted user

66%
+2 −0
Access host device which bridges a connected device through same eth interface

I got 2 small computers running Linux. One acts as ethernet gadget, connected via USB to the other, the host. I set up a bridge, like so: ip link add name br0 type bridge ip link set dev br0 up...

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

66%
+2 −0
Docking station block playing of audio on laptop

How can I manually set default audio device? I connected docking station and Lubuntu is somehow convinced that it can play audio. I want to continue using laptop speakers. Detaching docking stati...

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

66%
+2 −0
How to install printer driver for Canon PIXMA TR4522 printer in Arch Linux

I have used printers before in Arch Linux, but I can't figure out how to print with a Canon PIXMA TR4522 printer. More specifically, I am having trouble finding the correct driver. I have installe...

1 answer  ·  posted 2y ago by Trevor‭  ·  edited 1y ago by Trilarion‭

66%
+2 −0
Set compose key to Shift + AltGr

I have upgraded Xubuntu from 20.04 to 22.04 and my compose key, which defaulted to Shift + AltGr, was disabled. It is no longer available in the keyboard settings GUI either. How can I set the com...

1 answer  ·  posted 1y ago by Quasímodo‭  ·  last activity 1y ago by Quasímodo‭

66%
+2 −0
"A server is already running" error in rails

..$ rails s => Booting Puma => Rails 5.2.6 application starting in development => Run `rails server -h` for more startup options A server is already running. Check /home/istiak/ruby/q...

2 answers  ·  posted 3y ago by deleted user  ·  edited 1y ago by Trilarion‭

66%
+2 −0
<!nocheck> meaning in Build-Depends

Trying to understand what exactly <!nocheck> does next to a package in build-depends (for example, Perl). Debian Wiki says: Terms can be negated by using an exclamation mark as a prefix ...

0 answers  ·  posted 1y ago by nteodosio‭

66%
+2 −0
How do I use Proton without Steam?

I can easily run Windows games with wine by running: wine game.exe However, if I want to use Proton I have to run Steam, add the game as a non-Steam game, and run it that way. Since Proton is ...

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

66%
+2 −0
How to install mysql-server on Debian?

With Debian 12, it seems that mysql-server is not available in the "default" package distribution and thus, cannot be installed with sudo apt install mysql-server or sudo apt-get... (I know that ma...

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