Questions tagged [linux]
A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.
19,828
questions with no upvoted or accepted answers
14
votes
1
answer
1k
views
Trap on DEBUG signal for the dash shell?
With the bash shell, you can install a trap on the synthetic DEBUG signal. This is useful and will execute your function or bit of code on every shell command. For example:
$ trap 'logger -t shell "${...
13
votes
2
answers
4k
views
Why my SUnreclaim is too high (issues with having free memory)?
I have lot of memory (32Gb) on my laptop though still have issues with having amount of free memory. I am using linux (Fedora 27) and this happens after while since reboot.
If you check free output, ...
13
votes
1
answer
2k
views
Limit Disk Usage of WSL2
As the title already states, I want to limit the disk usage of the Linux subsystem. I'm trying to build huge projects on the WSL while using Windows normally...
I already limited the RAM and CPU usage ...
12
votes
1
answer
4k
views
How do I move a KDE plasma panel, from commandline/scripts?
I Have a script that change my desktop layout using xrandr,
but I also want to move my Panel.
So far I played round with kwinscripts, using
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell....
12
votes
2
answers
6k
views
Can't unlock system settings (such as network settings) to edit in xubuntu
I can't change any settings nor install anything using the xfce GUI on my xubuntu 14.04. Some setting-windows have that unlock button you usually click to enter your password to gain root privileges, ...
12
votes
1
answer
1k
views
Using diff-highlight with Git GUI
Is there a way to use diff-highlight with git gui?
The extra highlighted info is invaluable when comparing lines that only changed a bit, and while using diff-highlight from the terminal (described ...
12
votes
1
answer
6k
views
Sierra Wireless AirCard 313U (AT&T Momentum 4G) on Ubuntu Linux
I'm trying to get a Sierra Wireless AirCard 313U (more specifically, the AT&T Momentum 4G) working under Ubuntu Linux.
I've looked at a number of pages so far:
How to connect internet using AT&...
11
votes
2
answers
5k
views
Verizon USB551L 4G Stick on Linux
I have been trying to get a Verizon USB551L 4G USB Stick working on Debian Linux. I have been able to get it to connect, but it always disconnects after 10 secs to 2.5 minutes, then it cannot connect ...
11
votes
2
answers
1k
views
How can I cancel reverse search without losing text typed?
When using reverse-search (Ctrl-R) in the bash terminal , I can cancel the search using either Ctrl-C or Ctrl-G. Both these options will clear the text typed while searching.
However, the most common ...
10
votes
0
answers
5k
views
How to move/reinstall flatpak apps from user to system or viceversa?
I am using Pop!_OS 21.10. By default, the Pop!_Shop installs flatpak on user mode, which is annoying because I have multiple users on the system.
I have now added the Flathub repo system-wide, so now ...
10
votes
1
answer
10k
views
Raspberry Pi won't bring up wlanX interface - multiple wireless interfaces
Let me jump straight in.
I am using a raspberry pi 3 running latest version of raspbian (pixel) as a router/wifi hotspot
I have 3 wireless interfaces:
built in wifi interface (brcmfmac)
TP-Link ...
10
votes
0
answers
2k
views
Why systemd doesn't try to stop (some) processes on session termination?
When I try to close a logind session (by logging out), some processes remain running under the session, preventing it from properly terminating, resulting in [email protected] not terminating either. I'...
10
votes
3
answers
2k
views
Attach to the same tmux session from different nodes of a cluster
I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to re-...
10
votes
1
answer
2k
views
Problems with tmux, mutt, and terminal colors
If I start mutt in a tmux session like this:
$ tmux new-session -s mutt mutt
Mutt complains:
Error in /home/lars/.mutt/colors, line 20: 230: color not supported by term
Error in /home/lars/.mutt/...
10
votes
1
answer
5k
views
xkb set keyboard level 3 chooser to ctrl+alt
The title says it all: I'm interested to mimic the Windows behavior, where Left Ctrl + Left Alt acts as a 3rd level chooser. This is relatively important to me, because, as a programmer, on my ...
10
votes
1
answer
712
views
How to interpret state and log files written by preload program in Linux?
Preload is a program which prefetches files from the disk needed by various applications to reduce application startup time. It seems to be very popular and useful (just google preload+linux) but the ...
10
votes
0
answers
2k
views
webdav davfs2 input/output error
I've got a box.com account configured in a Linux system so a user can mount it in a certain mountpoint and access its contents. It is declared in fstab as:
https://www.box.com/dav /media/box davfs rw,...
10
votes
1
answer
1k
views
Gnome 3 move window to 2nd monitor?
I am running Mint Linux 12 with Gnome 3. My setup has 2 screen. I am wondering if there is a program to move the windows to a 2nd monitor? Something like display fusion for Linux that makes a button ...
9
votes
2
answers
6k
views
NTFS external hard drive formatted on Linux is not recognized by Windows
I fully formatted a hard drive in NTFS on Linux from a completely empty (zeroed) drive and it is not recognized by Windows 10. It is not listed in the Windows File Explorer nor with the fsutil fsinfo ...
9
votes
1
answer
2k
views
USB tethering much slower than WiFi tethering
In my area, my home Internet will often go down due to storms. At these times, I need to tether using my 4G LTE mobile phone, which gets decent speeds of around 10 Mb/s for download and similar for ...
9
votes
0
answers
6k
views
btrfs online conversion from directory to subvolume
Is there a way to create a btrfs subvolume from a directory, without interrupting processes using files in that directory.
For instance, I want to create a subvolume for /tmp (to exclude it from ...
9
votes
1
answer
1k
views
Debian server stops booting with Unknown symbol error
After a reboot my Debian Server don't want to boot anymore.
Loding the Kernel Modules nfsd and ext4 fails with the following errors (in dmesg):
nfsd: Unknown symbol setattr_prepare (err 0)
nfsd: ...
9
votes
1
answer
405
views
Echo asterisks/passphrase as it's being typed in gnupg with tty pinentry
I'm using gnupg with tty pinentry agent to encrypt a file with a symmetric passphrase. When I'm typing it, both to encrypt and decrypt the file, gnupg's tty pinentry avoid displaying the characters I'...
9
votes
0
answers
4k
views
jenkins:Broken AVD system path. Check your ANDROID_SDK_ROOT value
I have docker-image of jenkins.
Home directory of jenkins is: /var/jenkins_home wich mapped to /home/user
So, i install android-sdk wich mapped to:
/home/user/tools/android-sdk/
When i install ...
9
votes
0
answers
2k
views
How do I install Nix on a custom directory?
I have been trying to follow the Nix wiki to install Nix on a custom path /scratch/gopinath/nix. The /nix path is not accessible to me due to the restrictions on the system provided by my university. ...
9
votes
1
answer
15k
views
What is the difference between “/usr/local” and ”/usr/share?”
I am afraid this is another of FHS questions but I was not able to find more detailed explanation which I feel I need. Yeah, I know about Uni FHS and etc, but what still feels like lacking ...
9
votes
1
answer
15k
views
wifi p2p between ubuntu 14.04 and android
I attempted to make a wifi p2p connection between Ubuntu 14.04(kernel 3.13) and Android 4.4 Kitkat(Samsung Galaxy Note 2)
In Ubuntu
I use wpa_supplicant v2.1 which is built in to Ubuntu 14.04(/sbin/...
9
votes
1
answer
4k
views
Is Xfce supposed to run slowly on Virtualbox?
I'm having problems getting Xfce systems on VirtualBox to run smoothly. What I mean by slow is that moving or resizing windows looks very "laggy" (basically just windows jumping from one ...
9
votes
2
answers
4k
views
Cannot make mobile broadband Vodafone USB connection Ubuntu 13.04
I have Ubuntu 13.04 and I bought yesterday a Vodafone USB stick for internet connection. I am located in Romania.
This is what I've did:
First Thing
Network Connections, added connection.
Selected ...
9
votes
1
answer
2k
views
sshfs: cannot set file timestamp
Using sshfs with autofs on Ubuntu, I cannot set timestamps on remote files:
$ touch /sshfs/server/some/file
touch: setting times of `/sshfs/sshfs/server/some/file': Permission denied
I do have write ...
9
votes
2
answers
26k
views
How can I mount a single RAID 1 disk/partition as ext3?
I need to copy data from a single HD, which used to be part of a Linux RAID 1. I've googled around, but can't find any clue how to mount partitions from this single HD.
Background: The HD comes from ...
9
votes
1
answer
8k
views
Convert Linux symlinks to Windows symlinks
I've noticed that Linux symlinks don't work in Windows, and vice-versa. Is there any way to convert Linux symlinks to Windows symlinks? Specifically, I want to convert relative Linux symlinks to ...
9
votes
3
answers
1k
views
How to prevent gnu screen capturing the mouse?
I want to use local scrollback on my terminal, whilst using gnu screen. That's because my network connection is incredibly slow, so using screen's scrollback is very slow. Local scrollback is much ...
8
votes
0
answers
12k
views
Docker: "failed to get console mode for stdout: The handle is invalid."
When running docker-compose up in Windows PowerShell using Docker Desktop on WSL2, I get
Creating network "test_default" with the default driver
Building master
failed to get console mode ...
8
votes
1
answer
2k
views
OSX: gpg command error, dyld: Library not loaded:
After I migrating my MacBook, I found out I miss the command gpg.
And it threw this error when I wanted to install rvm
⋊> ~ gpg 15:...
8
votes
0
answers
1k
views
Key remapping using xmodmap does not work for some gtk applications
I tried to remap some keys using xmodmap. For example,
xmodmap -e "keycode 118 = Next"
maps Insert key of my laptop (XPS 13 9360) to PgDn. It works for some applications such as firefox and visual ...
8
votes
1
answer
1k
views
Moving mouse in iTerm causes characters to be to printed to prompt
I am having an issue with iTerm that happens to me intermittently. When I am using iTerm and I move the mouse up and down, or click a bunch of random characters are printed to the prompt:
I am in a ...
8
votes
0
answers
793
views
Simulate two root windows on single monitor with use of RANDR extension
This question might seen similar to Emulating extra displays but it's different in the important detail.
Suppose I'd like to test a feature for certain window manager with multi monitor support using ...
8
votes
0
answers
2k
views
Magic Trackpad 2 with Fedora 25
I'm trying to make my Magic Trackpad 2 work on Fedora with all it's features (or at least some basics). The current (default) state is moving the mouse and left-clicking works out of the box, but ...
8
votes
2
answers
1k
views
Linux UI frequently freezes for <1 second
The Linux Desktop (Xubuntu 16.04) freezes frequently (multiple times a minute) for less than 1-2 seconds and then returns operating normally.
During the freeze only the mouse cursor is movable.
The ...
8
votes
1
answer
712
views
dd always fails to write one partition on first try; succeeds on second
For a robotics project, I've assembled a make target that uses dd (actually dcfldd) to write a Raspbian Jessie image to SD card. This way, I can be assured that my environment is reproducible from ...
8
votes
1
answer
3k
views
Samba execute permission is always set
I have a Ubuntu 14.04 server that exposes a samba share to Windows machine.
When I connect to the share and create files with notepad, permissions are respected and files don't become executable. ...
8
votes
1
answer
2k
views
How to run a raw-disk Virtualbox VM when using UEFI?
I have a dual-boot setup on my computer with Windows 10 and Linux (Arch, if relevant). I'm trying to virtualize my on-disk Linux install in Windows (and plan on doing the opposite direction once I ...
8
votes
1
answer
2k
views
fail2ban ban multiply recidive hosts
We are using fail2ban on our web-facing servers to block IP addresses that repeatedly fail to authenticate properly. Our normal bantime hereby is one hour; IPs that have already been banned multiple ...
8
votes
1
answer
5k
views
ACPI interrupts causes high CPU usage from kworker
I noticed that, on my ASUS N550JV, my load average was always above 1.
I'm using Devuan Beowulf with a 4.19.0 kernel.
After some digging I found that the culprit was a kworker related to ACPI.
...
7
votes
1
answer
5k
views
How to continue using msmtp OAuth 2.0 for Gmail in mutt after oob deprecation?
background
For two years I've been happily accessing my Gmail accounts with neomutt.
I'm sync'ing between neomutt locally and my online Gmail account with mbsync and a "2-Step Verification" ...
7
votes
0
answers
1k
views
FUSE fs without root privileges (e.g. a LD_PRELOAD gateway or a proot plugin)
On a system where I don't have root access and FUSE isn't installed (or I don't have sufficient privileges to create new mounts), how can I start a fuse filesytem (like sshfs or some FUSE-based ...
7
votes
1
answer
4k
views
Stop chrome from prompting when running external URL handler?
I've configured an external handler for telnet:// links following these instructions. It works great, but every time I click on a click chrome asks me:
Open xdg-open? http://<site i am browsing&...
7
votes
0
answers
2k
views
Disable Linux Page Cache for Reads
Is there a way to turn-off page caching for reads in Linux? More specifically, I would like my processes to read directly from the disk.
The setting of my problem: I am trying out new query ...
7
votes
0
answers
14k
views
netplan configuration not active -- ubuntu 18.04
trying to set up a fixed IP address on one of two NIC. I try using netplan. Not working at all.
Not an expert on this, I am out of my wits and ready to roll back to some other way (networkd). Maybe ...