All Questions
59,171
questions with no upvoted or accepted answers
24
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 ...
23
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:...
21
votes
2
answers
4k
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 ...
18
votes
1
answer
3k
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 ...
17
votes
0
answers
12k
views
Chrome crashing with open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
When I open Chrome, with a Python module named subprocess, it crashes and gives me these errors:
[1103/163807.480539:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/...
17
votes
1
answer
2k
views
Is it wrong to think of "memfd"s as accounted "to the process that owns the file"?
https://dvdhrm.wordpress.com/2014/06/10/memfd_create2/
Theoretically, you could achieve [memfd_create()] behavior without introducing new syscalls, like this:
int fd = open("/tmp", O_RDWR | ...
17
votes
4
answers
7k
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 ...
17
votes
2
answers
5k
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 ...
16
votes
1
answer
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[...
14
votes
1
answer
3k
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
...
14
votes
1
answer
3k
views
How to exit from videotest in the grub?
I am checking different video resolutions in the grub menu by using videotest and vbetest programs and can't go back to the grub command line, after using this programs. System doesn't respond - like ...
14
votes
1
answer
682
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 ...
14
votes
2
answers
3k
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 ...
13
votes
1
answer
6k
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/...
13
votes
0
answers
589
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 ...
13
votes
1
answer
3k
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 ...
13
votes
1
answer
4k
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
+-----------------------------------...
13
votes
1
answer
7k
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., ...
13
votes
3
answers
953
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 ...
13
votes
1
answer
8k
views
Graph is too large for cairo-renderer bitmaps Error
I'm 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 ...
12
votes
1
answer
2k
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 ...
12
votes
0
answers
9k
views
show running config of samba
Is there a way to unambiguously get the running config of a samba daemon?
I can't find any reference to it in the manual. Of course you run testparm, but that would only show the validity of the ...
12
votes
0
answers
4k
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 ...
12
votes
1
answer
3k
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 ...
12
votes
0
answers
32k
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....
12
votes
2
answers
4k
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 ...
12
votes
1
answer
11k
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....
12
votes
1
answer
6k
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://...
11
votes
2
answers
5k
views
How to write systemd user service that runs only as part of a graphical session?
There are programs that I want to automatically start after a successful graphical desktop login (e.g. to Gnome or Xmonad) and stop when I logout. How can I change the ~/.config/systemd/user/synergys....
11
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 ...
11
votes
0
answers
3k
views
Is it possible to change systemd private tmp directory?
I am running some programs on both Debian and Fedora. When I ls the /tmp directory, I see many directories with extremely long name like
systemd-private-d85027...-bluetooth.service-qxzMGm
systemd-...
11
votes
3
answers
9k
views
USB ports keep resetting on Linux
Problem
USB Ports (2.0) keep resetting causing connected peripherals to stop working after some time.
Hardware
Motherboard: ASUS J1800I-C
CPU: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz
RAM: 4GB
...
11
votes
0
answers
1k
views
Devilspie on Wayland
I have just upgraded to Ubuntu 17.10 and I'm now using Gnome 3 native over Wayland. My problem is that I have been using devilspie to place windows on the screen in the desired position. I also use ...
11
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 ...
11
votes
2
answers
3k
views
How to access the Evolution calendar data from the command line?
I want to be able to access the Evolution calendar from the command line. Specifically, I'd like to be able to:
List calendar events (the one-line summary, date and time is enough)
Upcoming events ...
11
votes
1
answer
7k
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' ...
11
votes
5
answers
421
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=...
10
votes
1
answer
630
views
Why does ZFS rollback destroy intermediate snapshots?
Having used btrfs before, I was surprised to find out that rolling back a snapshot in ZFS not only changes the “working set” of files, but also requires that any snapshots which are newer than the ...
10
votes
1
answer
9k
views
Accounting for /proc/net/dev reported traffic
I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
10
votes
0
answers
1k
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 ...
10
votes
1
answer
340
views
Diacritics do not work in GTK+ applications running on Mac OS X Snow Leopard
I am using some GTK+ applications in Mac OS X Snow Leopard. My MacBook is configured for using the Brazilian layout, which allows it to enter diacritics as dead keys (so I can write á typing ' and ...
10
votes
3
answers
2k
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" > /...
10
votes
2
answers
2k
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 ...
10
votes
2
answers
2k
views
How to convert a pdf to 4-up in landscape mode (ideally using ghostscript)?
I have pdf slides in landscape mode and would like to create a new pdf file containing the slides 4-up (in landscape mode again) like this:
-----------------
| 1 | 2 |
-----------------
| 3 ...
9
votes
0
answers
246
views
Bash script containing sudo - unreliable background resume (bg)
I have the following simple bash script (called test.sh), that shows disk usage in the root dir. sudo is needed to list all directories (and I'm not asked for sudo password).
#!/bin/bash
sudo du -h --...
9
votes
1
answer
6k
views
How to run linux perf without root
I want to benchmark an application of mine. Up to now I used gnu time, but perf yields much better stats.
As a matter of principle I would like to go the route of a decicated perf user instead of ...
9
votes
1
answer
3k
views
How can I make my ExFAT partition unmount cleanly?
I've got Raspbian running on a Raspberry Pi 4 B. I have a USB hard disk that I'm using with it. The hard disk is a 1TB drive formatted with a single partition using ExFAT. I've got exfat-fuse and ...
9
votes
2
answers
2k
views
Improving NFS performance on FreeBSD system
I have a FreeBSD storage Server exporting ZFS Datasets via NFS, but the performance for small file transfers is below the acceptable limit.
Some background info:
The exports are handeled via /etc/...
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 ...
9
votes
1
answer
2k
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 ...