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)
80%
+6 −0
Does /proc/config.gz always contain all supported options of a kernel?

Assuming I have a running Linux system that has the /proc/config.gz file: Does the (unpacked) file always contain all of the options the particular kernel supports, including commented out like: ...

1 answer  ·  posted 3y ago by sktpin‭  ·  edited 2y ago by Quasímodo‭

configuration kernel
84%
+9 −0
What are phased updates, and why does Ubuntu use them?

So I ran into that weird "packages being held back" problem while updating my system using apt. After some research, it appears to be the result of "phased updates". What are phased updates, any...

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

apt updates
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 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

ubuntu keyboard compose-key
60%
+1 −0
xrandr rotate not filling external monitor

Problem I can rotate output, but it does not fill screen. Instead it rotates in place so that the right side of the screen goes off the monitor. xrandr --output HDMI-2 --auto --mode 1920x1080 --...

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

xrandr rotate external-display
60%
+1 −0
Who creates subdirs under `/run`?

A system daemon needs to create several files under /run/program-name/ (and possibly other subdirs of that). They are the PID file, and at least one Unix socket file (but maybe more). The FHS spe...

1 answer  ·  posted 2y ago by alx‭  ·  edited 2y ago by alx‭

unix /run
40%
+2 −4
How to give password in shell script?

That's my Bash script: #!bin/sh cd qpixel sudo systemctl enable mysql mysql -u root -p rails s When it executes the line mysql -u root -p it will ask for password. To do so, I have tried...

1 answer  ·  posted 3y ago by deleted user  ·  edited 2y ago by fedorqui‭

shell bash password
60%
+1 −0
Running `bashcompinit` in zsh to enable use of bash completion specifications gives "command not found"

I'd like to use the answers in this post while using zsh: compgen -c # will list all the commands you could run. compgen -a # will list all the aliases you could run. compgen -b # will list a...

0 answers  ·  posted 2y ago by mcp‭  ·  edited 2y ago by Canina‭

zsh
62%
+3 −1
How to edit file from less

MWE touch d less d # jump to editing d without leaving less Question Is there a way to edit a file from viewing it in less? Jumping straight into Vim would be preferred, but an answer for e...

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

less edit vim editor emacs
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

bash zsh vi-mode
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 3y ago by Quasímodo‭  ·  last activity 3y ago by Quasímodo‭

keyboard-event tty acpi
81%
+7 −0
What does a minimal /etc/hosts need to contain?

I run an environment that, until recently, did all local name resolution by putting names in /etc/hosts. I'm in the process of replacing that with local DNS. The DNS part works fine, and now I'm tr...

1 answer  ·  posted 3y ago by ajv‭  ·  last activity 3y ago by dsr‭

linux hosts
77%
+5 −0
Installing Ruby on MacOS 12.2 (or 11.6) produces compilation errors in the downloaded source; how do I fix?

A project I want to work on requires Ruby. I was directed to RVM or rbenv. I tried rbenv first because it has Mac instructions, ran into failures, uninstalled it and installed RVM, and still ran ...

1 answer  ·  posted 3y ago by Monica Cellio‭  ·  edited 3y ago by Monica Cellio‭

ruby macos-11 macos-12
77%
+5 −0
Capture separate _and_ combined stdout/stderr

Using BASH, how can I redirect stdout and stderr each, to two separate files, simultaneously? That's a mouthful, let me clarify a little: I have a hypothetical script that may/will generate outpu...

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

shell bash
50%
+0 −0
Automated wifi 'scavenging', daemon recommendation?

I have a RPi in the car that I need to act as a mobile AP. I need it to provide a consistent, unchanging ESSID (in AP mode) using the onboard wlan0 for all devices that stay in my car. Dashcams, t...

0 answers  ·  posted 3y ago by re89j‭

wifi networking
80%
+6 −0
A shell script that can run under different shells

I have a shell script with a syntax compatible to both bash and zsh, except for a section that has zsh specific syntax that throws syntax errors if sourced from bash. Is there an easy way to escap...

2 answers  ·  posted 3y ago by 4015.alt‭  ·  last activity 3y ago by mjy‭

shell bash shell-scripting zsh
75%
+4 −0
Desktop Multiplexer for Linux? (GNU Screen for GUI apps)

GNU Screen and Tmux allow you to run command-line programs on a server, and 'disconnect' from them but let them keep running remotely. This is great if your primary computer is a laptop and it has...

1 answer  ·  posted 3y ago by re89j‭  ·  edited 3y ago by re89j‭

server gui desktop
42%
+1 −2
sensors to histogram

I would want to... ... turn my sensors output into a live histogram. How to? Any available script already written? (✿◠‿◠)

1 answer  ·  posted 3y ago by .                                                .‭  ·  edited 3y ago by .                                                .‭

sensors ncurses curses tui temperature
60%
+1 −0
Reducing Noise from yum-cron when repos are out of date

I have a few CentOS servers that I want to stay automatically up to date with yum-cron, and I want to get emails when there are problems but I do not want to get so many emails about repos being ou...

0 answers  ·  posted 3y ago by re89j‭  ·  edited 3y ago by Canina‭

yum-cron yum repo noise
80%
+6 −0
Why is Pause/Break key is immediately released? Can that be fixed?

Since the Pause key is useless, I tried to map it to a modifier key. What is straightforward for other keys turned out not to work fine for Pause. By inspecting the output of xev -event keyboard |...

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

keyboard-event
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 3y ago by Quasímodo‭  ·  last activity 3y ago by Quasímodo‭

x11 fonts
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 3y ago by re89j‭  ·  last activity 3y ago by Quasímodo‭

linux coreutils ls
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 3y ago by Darth_Muldoon‭  ·  last activity 3y ago by Canina‭

apt lubuntu ubuntu updates
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 3y ago by Quasímodo‭  ·  last activity 3y ago by Quasímodo‭

gentoo emerge
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 3y ago by Quasímodo‭  ·  last activity 3y ago by Quasímodo‭

console
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 3y ago by Runaway_from_you_know_what‭  ·  last activity 3y ago by Runaway_from_you_know_what‭

ubuntu archives
60%
+1 −0
How can you create a separate home partition using LVM?

I'm currently using Fedora 34 and want to install Fedora 35 while keeping around just my home folder. Currently I don't have a separate home partition, but I read online that it's easy to make one ...

1 answer  ·  posted 3y ago by true_blue‭  ·  edited 3y ago by true_blue‭

Fedora LVM partitioning /home OS-installation
75%
+4 −0
Make Less use a normal view instead of hexdump view

Less does not display data files normally, but if it were some sort of Xxd. $ bash --norc $ export LESS= $ file -i /var/log/lastlog /var/log/lastlog: application/octet-stream; charset=binary $...

1 answer  ·  posted 3y ago by Quasímodo‭  ·  edited 3y ago by Quasímodo‭

less
86%
+11 −0
In a bash shell script, how to filter the command line argument list to unique entries only, for processing each?

I have a handful of shell scripts that accept any number of command line arguments, then do some relatively expensive processing based on each command line argument in turn. The general format for ...

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

bash shell-scripting
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 3y ago by Runaway_from_you_know_what‭  ·  last activity 3y ago by Runaway_from_you_know_what‭

configuration lubuntu dell sound
33%
+1 −4
Substituting text in a sed like manner but with a richer format

I have the following problems working with sed: It doesn't allow multiline operations (thus, no indentations, no nesting) It is generally obligatory to wrap entire commands in quote marks (sed ...

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

sed text-processing
77%
+5 −0
How to figure out the licenses of files installed from packages?

On a Linux system, a lot of files are installed from packages, many of which have different licenses (and sometimes different licenses for different files in the package). If I want to figure out ...

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

.deb licensing
25%
+0 −4
Is there possible way to change bit if my system is using 64 bit kernel?

Is it possible to change bit of a system? My system is using 64 bit kernel. I was trying to install chrome in my system. But, I couldn't since chrome doesn't support 32 bit. Since my system is usin...

1 answer  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Anonymous‭

bit
28%
+0 −3
Why I can't update my system? (Kali Linux)

I had installed Kali Linux recently. I can't update or upgrade my system. Even, I can't install anything. Here's the error log apt update Get:1 http://kali.cs.nctu.edu.tw/kali kali-rolling InRele...

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

kali-linux
28%
+0 −3
Why can't I install google-chrome?

apt install google-chrome-stable_current_amd64.deb E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/...

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

kali-linux google-chrome
60%
+1 −0
With a V4L2-compatible webcam, how to see its video feed for the purpose of adjusting aiming?

I have ordered (but am still waiting for it to arrive) a USB-connected webcam that is supposed to be V4L2 compatible. Once it arrives, I'm obviously going to want to mount it such that it provides...

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

webcam v4l-video4linux
60%
+1 −0
Trying to print with CUPS from Chromebook through Debian box to USB printer

Hi everyone, First post! I'm trying to be able to print from a client machine over my lan to an older HP Laserjet 1012 connected via USB to a Debian box. It prints fine directly. I've gone thro...

0 answers  ·  posted 3y ago by kserwick‭  ·  edited 3y ago by kserwick‭

debian configuration hp-laserjet
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 3y ago by nnlei‭  ·  last activity 3y ago by Canina‭

raspbian security
37%
+1 −3
Running several commands without && or ; or ()

I copy-paste several commands at once from a markdown editor (Typora) to Bash in a Putty window terminal; the file I work with reads as follows (empty lines included): $ non sed command 1 $ non s...

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

bash syntax
60%
+1 −0
What are IUSE flags?

Every Gentoo user knows USE flags. Occasionally I stumble upon IUSE flags, for example, man emerge mention them in the description of an option: --newuse, -N ... USE flags may be toggled by yo...

1 answer  ·  posted 3y ago by Quasímodo‭  ·  edited 3y ago by Quasímodo‭

gentoo
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 4y ago by deleted user  ·  last activity 3y ago by Grove‭

debian manjaro arch-linux .deb
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 3y ago by sktpin‭  ·  last activity 3y ago by sktpin‭

networking
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 4y ago by deleted user  ·  last activity 3y ago by Anonymous‭

manjaro ruby
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‭

networking USB gadget
75%
+4 −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‭

arch-linux
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‭

USB gadget buildroot
40%
+0 −1
Why I can't use dark theme in Manjaro?

I was using Chrome for a moment in Manjaro. My theme was Adwaita dark which I chose from Tweaks. Suddenly, I noticed my theme was changed for no reason. I had updated my system 4-5 hours ago. When ...

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

manjaro theme dark-theme
22%
+0 −5
Is it possible to write more than 1 equation in LO Math? [closed]

I was using Libre Office Math. I thought I can write multiple equations in LO Math. But, I noticed I can't write more than one equation. I was trying to write multi-line. Unfortunately, I couldn't....

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

libreoffice-math equations
60%
+1 −0
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

I have installed mysql-server on Ubuntu 20.04 then I tried to sign into mysql-server using sudo mysql -u root but I have got Error: Can't connect to local MySQL server through socket '/var/run/mys...

2 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by Kevin M. Mansour‭

ubuntu mysql-server
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

ruby ubuntu
50%
+0 −0
How can I access Manjaro without any error? (I had installed two grub-loader)

I was using Manjaro. And, I had Windows alongside Manjaro. I have installed Debian without "removing" any OS (I had removed Prime OS). And, I was using grub-loader of Manjaro earlier (Manjaro's gru...

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

debian manjaro grub-loader