Unanswered Questions
32
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 ...
25
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
0answers
395 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. ...
16
votes
1answer
206 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 ...
15
votes
0answers
245 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 ...
14
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 ...
13
votes
1answer
532 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, ...
13
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
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 [email protected] ...
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
345 views
State of ZFS xattr support in FreeBSD
I'm trying to work out whether or not, or rather to what extend, xattrs are supported in FreeBSD using ZFS. I've read some conflicting information.
zfs get xattr lists it as on (default) for /, /usr ...
11
votes
0answers
214 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 ...
11
votes
0answers
4k views
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
I get this error in Xorg.0.log
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Googling quickly reveals that this error is caused by starting Xorg as non root user. Problem ...
11
votes
0answers
578 views
change icon sizes in Gtk+ 3 applications
Using Gtk+ 2, I could use the gtk-icon-sizes option like this:
gtk-icon-sizes = panel-menu=32,32:panel=32,32:gtk-menu=32,32:gtk-large-toolbar=64,64:gtk-small-toolbar=48,48:gtk-button=32,32
gtk-icon-...