All Questions

54,196 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
45 votes
2 answers
4k views

How to combine zsh autocomplete for wrapper function arguments and existing command

I work mostly in gvim and many terminals. Originally, I preferred to open all my files in a single vim instance. To that end I used an alias to open files from my terminals in the current 'vim ...
user avatar
  • 755
21 votes
0 answers
2k views

Why does ZFS scrub not complete?

First off let's start with what I'm running. This is a home media server running Ubuntu 16.10. I have one pool of mirrored 6 terabyte drives that are about half full. I built the system about a month ...
user avatar
  • 311
20 votes
1 answer
2k views

Zsh tab completions not working as desired for partial paths

I want case-insensitive fuzzy completion for files and directories in zsh. After reading the manual for a few hours, this is what I came up with: zstyle ':completion:*:*:*:*:globbed-files' matcher 'r:...
user avatar
16 votes
1 answer
2k views

zsh can't input to terminal when piping stdin and stdout with variable command that has tty output

System info: macOS Sierra 10.12.6 zsh 5.4.2 (x86_64-apple-darwin16.7.0) GNU bash, version 4.4.12(1)-release (x86_64-apple-darwin16.3.0) Scroll to the EXAMPLES at the bottom if you just want to dig ...
user avatar
16 votes
1 answer
8k views

Random "deauthenticating by local choice (Reason: 3=DEAUTH_LEAVING)"

I'm running uname -r 4.10.6-1-ARCH on my dell XPS 13 developer edition (2014). I'm currently having strange problems with my wifi (I use Networkamanger with nm-applet for KDE): 1) at the most ...
user avatar
  • 289
16 votes
1 answer
3k views

Is it necessary to explicitly flush the HDD on-disk write caches?

Abstract Sometimes, the Linux kernel is not aware of on-drive write caches of external USB storage devices. Is it necessary in such situations to explicitly flush those caches prior detaching these ...
user avatar
  • 592
15 votes
1 answer
2k views

Fractional scaling in GNOME + Wayland above 200%

I've successfully enabled fractional scaling on my GNOME 3.38 + Wayland in Arch as stated here: https://wiki.archlinux.org/index.php/HiDPI#Wayland However, in gnome control center it now only shows ...
user avatar
  • 3,349
15 votes
0 answers
2k views

wpa_supplicant end process if wrong password detected

Normally when I run wpa_supplicant I'll get some output like this: Successfully initialized wpa_supplicant ioctl[SIOCSIWAP]: Operation not permitted ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[...
user avatar
15 votes
2 answers
4k views

How can I calibrate Zathura's zoom levels to my monitors?

I'm using Zathura (using the MuPDF plugin) to review various layouts for printing. It's important to me that I'm looking at things approximately the same size as they will come out on paper. I realize ...
user avatar
  • 65.9k
14 votes
3 answers
6k views

Microphone volume on USB soundcard very low, snd_usb_audio options?

I have a C-Media USB soundcard installed on my Raspberry Pi: Bus 001 Device 004: ID 0d8c:0008 C-Media Electronics, Inc.. It is a USB cable with an XLR end on the other side, to which I have an XLR ...
user avatar
  • 391
14 votes
2 answers
1k views

Sharing unix sockets across unprivileged lxcontainers

I have two unprivileged containers and I'd like to share a unix socket between them. Each container has its own user on the host, complete with separate subuid and subguid mappings. I've tried ...
user avatar
  • 141
13 votes
0 answers
470 views

How to increase sound volume on eMac P69 running FreeBSD 10.3?

I've got FreeBSD 10.3 (PowerPC) installed on eMac P69. I'm using MPlayer to test loudness. I already use -af volume=10:1-like options but they tend to distort sound pretty quickly + it is not really ...
user avatar
13 votes
3 answers
884 views

Emacs slow loading time with AUCTeX on TeX files

I installed the auctex and emacs packages on two Xubuntu 14.04 computers, both of which have been working fine. Emacs itself works fine on both, but now with the auctex package installed, when I load ...
user avatar
13 votes
2 answers
5k views

Problem Installing UBUNTU 14.04 (AND Mint 16, which is based on UBUNTU 13.10) as dual boot on RAID 0 with Windows 8.1

Ok, I know that there is https://askubuntu.com/questions/455511/dual-boot-ubuntu-14-04-and-windows-7-on-fakeraid-installation-error-question-m#new-answer?newreg=f2b8bde40c8947f8ac8e3cedec0d1964 and ...
user avatar
13 votes
0 answers
7k views

Graph is too large for cairo-renderer bitmaps Error

Im trying to use pyreverse to generate images of UML diagrams for a project source code. When I run the pyreverse command and specify to generate .png images, it runs and then after a while, it shows: ...
user avatar
  • 4,737
12 votes
1 answer
2k views

How can I make a device available inside a systemd-nspawn container with user namespacing?

I would like to mount an encrypted image file using cryptsetup inside a systemd-nspawn container. However, I get this error message: [root@container ~]# echo $key | cryptsetup -d - open luks.img luks ...
user avatar
  • 736
12 votes
0 answers
7k views

How to set the default browser in KDE?

2021 update: the unexpected behavior described below was actual in KDE Plasma v5.18.5, but isn't actual in 5.22.3 anymore. Linux has many ways of "marking" an application "as a default&...
user avatar
  • 562
12 votes
0 answers
2k views

11 GB of GPU RAM used, and no process listed by nvidia-smi

In my GPU #0, 11341MiB of GPU RAM is used, and no process is listed by nvidia-smi. How is that possible, and how can I get my memory back? Thu Aug 18 14:27:58 2016 +-----------------------------------...
user avatar
12 votes
0 answers
566 views

Disabling system modal behaviour of GNOME 3 password prompts

When GNOME Keyring, needs a password to add an SSH key to the agent, it pops up a system modal prompt to get the password from you. I use KeePass, so this means that if I forgot to copy the password ...
user avatar
  • 221
12 votes
1 answer
6k views

NVMe PCIe disk power cycling

I want to test an NVMe SSD that is connected to a PCIe slot of my motherboard. The test procedure is a specific algorithm that writes workloads to the SSD, while the SSD is exposed to radiation (e.g., ...
user avatar
  • 233
12 votes
2 answers
2k views

curl request to IPv6 localhost gets stuck

A docker container of mine exposes a HTTP interface on port 8500, which is mapped to host port 8500. It is not IPv6 enabled. This still means, I should be able to access it at localhost:8500. IPv6 ...
user avatar
  • 221
12 votes
1 answer
9k views

How to deal with freezes caused by autofs after network disconnect

I mount four servers (3 via cifs, 1 via sshfs) using autofs. auto.master /- /etc/auto.all --timeout=60 --ghost auto.all /mnt \ /server1 -fstype=cifs,rw,credentials=/etc/.smbcredentials....
user avatar
  • 328
11 votes
0 answers
4k views

How to stop jbd2 on unmounted filesystem

I need to resize2fs the root partition of an embedded device. Since it doesn't have an alternate boot option, I used an tmpfs, moved and restated everything until I finally was able to umount /dev/...
user avatar
  • 11.2k
11 votes
1 answer
2k views

NetworkManager Default Connection Settings

I'm trying to modify NetworkManager's default DNS settings so that whenever I add a new connection it uses 127.0.0.1 instead of the default DNS for that connection. I still would like to be able to ...
user avatar
11 votes
1 answer
6k views

"nl80211: 'nl80211' generic netlink not found" when starting hostapd

I have been trying to get my Ubuntu 11.10 laptop to make an access point to connect my blackberry playbook . hostapd gave error Configuration file: ./hostapd-minimal.conf nl80211: 'nl80211' ...
user avatar
11 votes
5 answers
415 views

How to disable trackpad taps in Yellow Dog Linux?

I just installed Yellow Dog Linux 6.2 on an old PowerPC laptop. By default, it's interpreting trackpad taps as clicks, which I want to disable. I followed the directions here, and put TRACKPAD_OPT=...
user avatar
  • 1,491
11 votes
2 answers
3k views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
user avatar
11 votes
1 answer
5k views

nvidia-smi hangs indefinitely: what could be the issue?

I try to run nvidia-smi from the shell on a machine, but it hangs indefinitely: what could be the issue? Update (2016-08-09): Since this question received no answer, I crossposted it: https://...
user avatar
10 votes
1 answer
339 views

Has anybody heard of (a trick to make) a local hard drive based cache of NFS? (primarily in FreeBSD)

Problem: NFS can be slow, when starting binaries (e.g. /usr/bin) over NFS, such as in a network booted system. RAM buffer cache might not be sufficient to avoid slowness. Idea: it seems we should be ...
user avatar
10 votes
3 answers
507 views

Shell dropping every other character of input

I manage software on a bunch of RHEL 6.10 VMs, typically either as a service account or root using sudo -i. Periodically, my shell starts dropping every other character. For example, if I type cd /usr/...
user avatar
10 votes
1 answer
8k views

Understanding ip route output

I am learning about Linux routing, routing tables, IP routing, etc... The following is the output from ip route followed by the output of route: default via 192.168.1.1 dev wlp0s20f3 proto dhcp ...
user avatar
  • 321
10 votes
1 answer
967 views

Are there any color filters for color vision deficiencies? (Deuteranomaly, Protanomaly)

I have red-green-weakness (a bit of both, deuteranomaly and protanomaly) and on Windows there was a very helpful feature to convert the for me difficult-to-distinguish colors to nearby ones on the ...
user avatar
10 votes
0 answers
3k views

State of LVM raid compared to mdadm

LVM and mdadm / dmraid are both offering software RAID functionality on Linux. This is pretty much a follow-up post to this question from 2014. Back then, @derobert recommends to prefer mdadm over LVM ...
user avatar
  • 292
10 votes
0 answers
2k views

Zathura's best-fit command ('a') for documents with varying page size

I'm usually using the wonderful document viewer 'zathura' for reading PDF-files. Typically, for some documents, the first page of the document is slightly larger than the rest (for example, a ...
user avatar
10 votes
0 answers
2k views

Smartcard "sharing violation" when using OpenSC and GnuPG

On my Linux machine (Arch Linux, up to date as of this post) I am having trouble using both the OpenSC PKCS11 module and GnuPG. It seems like while an app using the PKCS11 module is started (in my ...
user avatar
10 votes
4 answers
2k views

Automatically switch display on lenovo docking and linux

I have a lenovo thinkpad with nvidia optimus and a mini docking station series 3. I want that while docked, it should automatically switch to an external monitor if possible and if I undock it, it ...
user avatar
  • 16.7k
10 votes
1 answer
2k views

How do I refresh the Google calendar in Gnome?

I'm using Gnome 3.14 on Arch Linux. I'm fond of the calendar drop-down when you click on the time in the top panel. I've set up my Google calendar to show there, but if I happen to be offline when ...
user avatar
  • 1,136
10 votes
0 answers
29k views

So, what do I do with the output of yum check?

When I run yum check (or try to use yum to update my system generally), I get the following: # yum check Loaded plugins: langpacks, presto, priorities, refresh-packagekit krb5-devel-1.10.2-12.fc17....
user avatar
  • 437
10 votes
0 answers
982 views

What does hierarchy support do in cgroup?

cgroup has 2 options for memory control: memory.use_hierarchy = 1 : use hierarchy memory.use_hierarchy = 0 : use flat hierarchy, according to this answer What is the difference between the two? I ...
user avatar
  • 533
10 votes
2 answers
2k views

How can I configure Yast to switch languages completely?

I have an installation of openSUSE 11.4 which was installed in German. I started Yast2 (which displayed in German, like "Netzwerkdienste") and switched the language to English under "System" -> "...
user avatar
10 votes
3 answers
1k views

Is it possible to send data to the the shell of another pseudo-terminal?

This image shows how pseudo-terminals work: If I have two terminal emulators open, I can send the string "Hello" from the first terminal emulator to the second terminal emulator: echo "Hello" > /...
user avatar
  • 531
10 votes
2 answers
1k views

how to make less -S not take up the entire screen

suppose I have this: cat new_file.txt | less -FRSX Then suppose I press the right button in order to scroll to the right This will cause the contents of new_file.txt to move to the top of the ...
user avatar
9 votes
0 answers
2k views

What network connections are not seen by netstat/lsof/ss?

Network monitoring tools ss, lsof -i, netstat -ltupw and similar have limitations like namespace and thus they don't show the whole machine connections. (for namespace created with ip we can see other ...
user avatar
  • 12.7k
9 votes
0 answers
8k views

ASUS Zenbook UX433/UX333 --- Configure Touchpad-embedded numpad on Linux

I have an ASUS Zenbook UX433,on which ASUS decided to innovate by embedding a Numpad inside the touchpad (see picture 1). Toggling between classic touchpad mode and numpad (also turns the touchpad ...
user avatar
9 votes
0 answers
1k views

How can I find out what is making my SLAB Unreclaimable Memory Grow without bound

My SLAB unreclaimable memory (SUnreclaim) grows without bounds and this appears to be the reason why my system eventually runs out of RAM and starts trying to swap until it dies. Here's a graph of my ...
user avatar
9 votes
1 answer
558 views

rsync: compare directories with symlinks

There are various similar questions here, but I don't think any of them quite answer this. I have a local directory (www) which has to be mirrored exactly on a remote server, and I need to confirm ...
user avatar
  • 191
9 votes
0 answers
855 views

Examining which files are dirty or buffered in Linux

$ cat /proc/meminfo | grep Dirty Dirty: 2396 kB How do I view in which files (at least as a mountid:inode pairs) are those 599 dirty pages located? $ cat /proc/meminfo | grep Cached ...
user avatar
  • 5,126
9 votes
0 answers
1k views

xsel and xclip hang

My objective is to make a text on my remote machine (CentOS 7.2) available to seamlessly paste on my local machine (OS X 10.12.2) with the standard ⌘V shortcut. My setup connects to the remote ...
user avatar
  • 221
9 votes
1 answer
6k views

Wayland Scaling

Im playing around with wayland (on Fedora 24) and multi-dpi screens. With X I am settings my secondary non HDPI screen to scaled with xrandr --output eDP-1 --auto --output DP-1-8 --auto --panning ...
user avatar
9 votes
1 answer
427 views

OpenVPN nameservers ignored by NetworkManager or whatever

I'm using Elementary OS. I've followed a dozen suggestions from different websites and nothing helps. I use OpenVPN client to connect to an office network. The company I work for has provided me the ....
user avatar

15 30 50 per page
1
2 3 4 5
1084