Unanswered Questions
30
votes
0answers
1k 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 ...
24
votes
1answer
1k views
Remapping keys that generate multiple scan codes
I have a ThinkPad W540. On its keyboard there are four multimedia keys above the numpad. Two of those keys generate keycodes (and, apparently, scancodes) that correspond to combination of keys, Win_L +...
17
votes
3answers
3k views
Is it possible to find the physical address range of a DIMM?
I note that SMBios Type 20 would help here, but it's optional as of version 2.5 (2006-09-05) pp. 25, L796, and pp. 131, whereas types 16, 17 and 19 are mandatory, but don't quite help.
Physical ...
16
votes
1answer
183 views
agrep with directionally biased penalties
I am using tre-agrep (manpage), an implementation of agrep (manpage), to perform approximate pattern matching. This utility searches for matches based on Levenshtein distance, and the user can ...
16
votes
0answers
1k views
git completion with zsh: filenames with spaces aren't being escaped properly
Git completion:
I'm having difficulty with git's filename autocompletions on my system. I'm using zsh (5.0.5) with git (1.9.3) on OS X (10.9.3). Both zsh and git have been installed via homebrew. (...
14
votes
1answer
338 views
wait bash-builtin burns a CPU at 100 percent
Occurs at least on GNU bash version 4.3.42 x86_64 && GNU bash version 4.3.11 x86_64
I use sleep & wait $! instead of a simple sleep for getting an interruptible sleep by a signal (as ...
14
votes
0answers
313 views
Auto-switching PulseAudio profiles based on input(s) channel count
I'm running audio over HDMI to my receiver, which has a full 7.1 setup connected to it. However, most of the stuff that I listen to has far fewer channels—some is mono, most is stereo, a bit is 5.1. ...
13
votes
0answers
180 views
Completion for the first argument of cd OLD NEW
In zsh, the cd command has a two-argument form: cd OLD NEW changes to ${PWD/OLD/NEW}. With the new-style completion system, zsh is capable of completing NEW: the second argument is completed based on ...
12
votes
0answers
419 views
allow regular users to use network namespaces
I have an architecture using network namespaces (netns). I would like to allow regular users to do some operations in these netns.
I could write a script netns-exec.sh, inspired by this post, ...
12
votes
1answer
1k views
Why are there two different values for the size of a drive and how to reconcile them with device-mapper and LVM?
I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
12
votes
0answers
3k views
git-upload-pack hangs indefinitely
I have the following call structure:
Jenkins runs fab -Huser@host set_repository_commit_hash:123abc.
set_repository_commit_hash runs git fetch with pty = False.
The child process ssh git@github.com ...
12
votes
2answers
5k views
clipboard not working when connecting via rdesktop to xrdp-sesman
I have a Debian machine with xrdp-sesman setup following way
Xvnc 127.0.0.1:5910
xrdp-sesman 127.0.0.1:3350
xrdp 0.0.0.0:3389
I am connecting to this machine with rdesktop ...
12
votes
1answer
3k views
Sharing your desktop with Google Hangouts, dual monitor and GNOME Shell
I have a laptop with a built-in screen and an attached monitor.
When I start a Google's video Hangout and share my desktop, I would like to be able to share only the attached screen, but I don't know ...
12
votes
4answers
4k views
Open signed PDFs in Linux
We have some PDF files which are secured by a .pfx certificate.
On Windows we can use Adobe Reader to read these PDF files (with previously imported certificate).
I've googled for a long time but I ...
11
votes
0answers
164 views
How to make the zsh “correct” functionality, remember my spell-correction decisions
I have enabled correction (I wouldn't call it autocorrection specifically because of this issue) in zsh by enabling setopt correct in my .zshrc.
Now, when I type dtae in a terminal, I get:
dtae ...

