25
votes
0answers
847 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 ...
21
votes
0answers
885 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 +...
14
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. (...
12
votes
0answers
110 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 ...
12
votes
0answers
650 views

How can I get Mumble's overlay working?

Mumble and Team Fortress 2 (TF2) both work fine for me individually, but I cannot get mumble-overlay working, either independently or within TF2. I've tried putting the following launch options into ...
11
votes
0answers
98 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 ...
11
votes
0answers
186 views

CUPS prints n² as many copies as I want

This has baffled me for a few weeks now. I have a Kyocera network printer set up in CUPS, and whenever I try to print to it I seem to end up with n² as many copies as I request. That is, I try to ...
9
votes
0answers
258 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. ...
8
votes
0answers
201 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 ...
8
votes
0answers
388 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 ...
8
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 ...
7
votes
0answers
125 views

Synchronising millions of files between two Linux servers

I have a server which exports a directory containing ~7 million files (mostly images) from its local disk to network clients via NFS. I need to add a second one for the sake of HA, and to keep it in ...
7
votes
0answers
123 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 ...
7
votes
0answers
3k 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. ...
7
votes
0answers
392 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-...
7
votes
0answers
620 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" -> "...
6
votes
0answers
138 views

Taking a picture with a laptop webcam after entering an incorrect password

I'd like to set up my laptop so that if a wrong password is entered when the screen is locked, a picture is taken using the laptop's webcam. I examined xlock (from xlockmore package), but there is no ...
6
votes
0answers
84 views

Get quota usage information as non-privileged user

I have non-privileged access to a Linux server (shared PHP+MySQL hosting) and there are disk space, memory, CPU usage, I/O quotas. I wonder how can I get information about max/current quota usage ...
6
votes
0answers
229 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 ...
6
votes
0answers
289 views

How to convert existing gz (gzip) files to rsyncable

I am using rsync to back up a repository that contains many gz files including many new ones each day. The rsync backup proceeds more slowly than it should because these gz files are not built with ...
6
votes
0answers
145 views

How to delete a directory with multiple btrfs subvolumes?

My root file system is on a btrfs partition. My /chroot directory has a number of btrfs subvolumes in it which prevent me from deleting it with rm -rf /chroot. In an attempt to delete all the ...
6
votes
0answers
79 views

Why kernel modesetting, instead of privilege separation?

Kernel modesetting was kind of painful to get on Linux at first, but now it's pretty awesome to have. I mean, X not need to run as root? High-res hardware accelerated consoles? Cool stuff. Problem is,...
6
votes
0answers
277 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, ...
6
votes
0answers
131 views

what is the difference between xim and uim?

I found (while facing this problem) two word related to input-method which are xim & uim. I know the name only: X Input Method and Universal Input Method. I want to know What is the difference in ...
6
votes
0answers
254 views

What are the differences between xdotool and xautomation?

xdotool and xautomation are two command line X11 automation tools. I've used the former for a while and only recently found out about the existence of the latter, and I'm curious to know what someone ...
6
votes
0answers
846 views

Why does Dropbox say “Killed” on Arch Linux?

I'm trying to install Dropbox on Arch Linux. I've installed both dropbox and dropbox-cli, at least to the point of having the binaries. When I run dropbox on its own, it just responds Killed in red ...
6
votes
0answers
931 views

How to use terminal to access iCloud Drive when Finder is not running

I would like to access iCloud drive from Terminal in order to create an emergency backup. Unfortunately, my installation of Mac OS Yosemite is not operational, so I am using recovery mode to create my ...
6
votes
0answers
582 views

Change Zsh theme in Android Studio

I've recently jumped ship to zsh and I'm using the Oh my Zsh! theme blinks. It looks very nice in the OSX Terminal, but it looks very bad in Android Studio's terminal. So my question is is there a ...
6
votes
0answers
698 views

receive signal before process is being killed by OOM killer / cgroups

In our cluster, we are restricting our processes resources, e.g. memory (memory.limit_in_bytes). I think, in the end, this is also handled via the OOM killer in the Linux kernel (looks like it by ...
6
votes
0answers
239 views

Changing the order of workspaces in Gnome Shell

In Gnome Shell, is it possible to change the sequence of workspaces by using drag-and-drop? For instance, is it possible to make Workspace 2 the uppermost one by dragging it above Workspace 1 (which ...
6
votes
0answers
898 views

Have tmux wait until I SSH in, to complete rest of Tmuxinator script

After recently discovering tmux and Tmuxinator, I've been trying to set up a development environment to use. Per protocol, we aren't allowed to store passwords/passphrases in scripts. So what I'm ...
6
votes
0answers
566 views

forgot to luksClose usb persistent partition, is this a problem?

Following the Kali Linux documentation for "Adding USB Persistence with LUKS Encryption", I created a persistent partition and encrypted the volume with: cryptsetup --verbose --verify-passphrase ...
6
votes
0answers
1k views

Dual monitors with 2 videos driver with xrandr 1.4

I'm trying to dual-screen with 2 differents video card drivers (i915 & nvidia) but as you can see xrandr is only listing nvidia provider. [x@epoch ~]$ xrandr --listproviders Providers: number : ...
6
votes
0answers
440 views

Pop-up event reminders in Korganizer, when synchronizing with Google Calendar

I have "connected" my Google Calendar with Korganizer. I create an event within my Google account. I want pop-up reminders to show up when I go home, even though the events weren't create by ...
5
votes
0answers
22 views

How does ionice work with multiple drives?

I understand how ionice can help you when you have multiple processes requesting access to the same disk resources, but how does it work when you have multiple disks? For example, you have one rsync ...
5
votes
0answers
32 views

systemd user cannot get user group's ability

I added a non-root user in docker group, and an other service run as this non-root user connect to docker daemon. but the service can not work. I do a test example for this : root@# systemctl start ...
5
votes
0answers
51 views

Piping the output of a bash script after redirecting stderr

because of the way my hoster does things I have to use a system for services. This service has a run file which it executes and pipes into a second run file. But I use a (given) python package that ...
5
votes
0answers
37 views

How to specify memory region for ramdrive

We are setting up a Linux based benchmarking cluster. Each node is going to be a headless, diskless machine, booted via tftp, the OS copied to a local ramdrive, and the same ramdrive is used as local ...
5
votes
0answers
50 views

How to migrate all the memory pages of a process from one NUMA node to another NUMA node?

In Linux, I want to migrate the memory pages of a KVM virtual machine from one NUMA node to another NUMA node on runtime. But I cannot find any interfaces to do that in the KVM hypervisor or using the ...
5
votes
0answers
55 views

group member unable to write to a group-writable file with reiserfs and extended ACLs

Users vi and rust share group rust and want to use some file in shared manner. rust$ ls -l myfile -rw-rw-r-- 1 vi rust 0 May 30 03:48 myfile rust$ stat myfile | grep Gid Access: (0664/-rw-rw-r--) ...
5
votes
0answers
31 views

Keyboard modification in Linux

I'm using Karabiner on Mac OS X to make some of my keys work as half modifiers: for ex. tapping enter is enter but holding it is meta. Is it easy to do the same in Linux? PS. I mean: I want to be ...
5
votes
0answers
32 views

How to change built-in xfce shortcuts

XFCE4 has some customizable keyboard shortcuts configurable under Settings > Keyboard and Settings > Window Manager. But there are other keyboard shortcuts that I cannot find in these menus. For ...
5
votes
0answers
148 views

How can I fix Chrome / Chromium dialog icon sizes on HiDPI?

Chrome / Chromium works fine on HiDPI for just about everything, except it isn't working on dialog boxes. The icons are all really tiny, and the theme is a little off. See screenshot: Is there a ...
5
votes
0answers
55 views

LXC: Any security difference between root and end-user owned unprivileged containers?

I intend to use LXC containers to isolate most of the network facing services. As per my understanding, I have mainly two ways to do this: Create unprivileged containers owned by root. In this case,...
5
votes
0answers
144 views

FreeBSD throttle cpu clock on high temperature

I'm using a laptop with bad cooling system, so my CPU sometimes hits very high temperature, and linux kernel is able to throttle cpu clock to cool it as I can see in dmesg: [22612.245243] CPU3: Core ...
5
votes
0answers
135 views

i3 and vmware: How to detect resolution change and set current res to the new res change?

I am using vmware to run arch linux. I have setup i3-gaps and everything is setup correctly while using lemonbar, however, my only problem is that lemonbar is set for the current resolution. When I ...
5
votes
0answers
625 views

OEL6 Slow boot && Millions of socket files in /tmp/orbit-gdm

Background on question Lately I've been having some trouble with slow booting on the servers, sometimes over 2 hours to boot stuck on "Enabling Local Filesystem Quotas:" After searching I managed to ...
5
votes
0answers
71 views

Wrong role and type on login

I'm on an Ubuntu 14.04 derivative, elementary OS Freya. I have installed and configured SELinux using the selinux-policy-default package, which contains a lot of modules. I've also added my user to ...
5
votes
0answers
44 views

Why do my xmodmap binds involving AltGr only work one some keys?

I want to remap my AltGR+Right_Windows but I can't figure out how. No matter what I try, pressing the right windows key emits the name keysym when right alt is pressed or not. These are the contents ...
5
votes
0answers
114 views

How to print from Arch Linux via Wi-Fi to Canon MG6450?

I have a Canon MG6450 with Wi-Fi enabled and an up-to-date Arch Linux installation with cnijfilter-mg4200 3.80-1 installed. I can see the printer in print dialogues (sometimes it takes a second to ...

15 30 50 per page