Unanswered Questions

33
votes
1answer
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 +...
18
votes
0answers
458 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. ...
17
votes
0answers
298 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 ...
15
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
621 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
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] ...
13
votes
2answers
6k 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
629 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-...
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 ...
11
votes
0answers
397 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
242 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
5k 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 ...
10
votes
0answers
561 views

Why are slab objects not reclaimed automatically

Everyday after a full system backup, various programs are failing with read errors until I run echo 2 > /proc/sys/vm/drop_caches to free reclaimable slab objects. For example, here's the output of ...
10
votes
0answers
963 views

Use desktop as bluetooth headset

My desktop's speaker is much better than my phones, so I want to use my desktop speakers in place of my cellphone's. It is inconvenient for me to use USB or the audio jack, so I am left with Bluetooth....

15 30 50 per page