34
votes
0answers
912 views

Completing avfs fake directories in zsh

How can I tweak zsh's completion system to complete “fake” files in some circumstances? More precisely, the AVFS filesystem exposes archives as directories by creating a “fake directory” next to ...
8
votes
0answers
102 views

What is the IPsec bottleneck in Linux?

I am trying to compare the performance of several network security protocols between two hosts connected in Gigabit Ethernet. My goal here is to see if I can saturate my bandwidth, and if not, what ...
7
votes
0answers
33 views

Do CUPS clients need to have PPDs installed locally?

Should CUPS clients need to have PPDs added locally, i.e., should I pass them to lpadmin -P? These clients print via a local print server to a remote print server (ipp://) which I assume is set up ...
7
votes
0answers
103 views

Middle-click scrolling with ThinkPad/avoid pasting

I have a ThinkPad USB keyboard, and I want to be able to use the middle click both for pasting and scrolling. This works on my ThinkPad laptop. On the laptop, if the middle click button is held for a ...
7
votes
0answers
1k views

Debian systems seems to recognize speakers but not the headphones for Lenovo laptops

First of All, I know there are lot of questions out there on same topic but still I could not figure out the solution. Being a average system level programmer (beginner in kernel programming) I would ...
6
votes
0answers
378 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 ...
6
votes
0answers
136 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 ...
6
votes
0answers
233 views

Why does mutt keep asking for imap username and password?

Unsetting mutt's configuration variables imap_user, imap_pass (and perhaps preconnect, imap_authenticators as well) via an account-hook . "unset ... " call, seems to be common practice, if not a ...
6
votes
0answers
57 views

Can I limit total cputime used by a cgroup?

Although cgroups seemingly allow to control the CFS bandwidth of a cgroup, I don't see a way of enforcing a cpu time limit on a cgroup. The use case is that I would like to catch student programs that ...
6
votes
0answers
473 views

Cleanup of temporary file ~/.cache/duplicity/temp failed

Often when I run Duplicity I see an error message like this at the end of the run: Cleanup of temporary file ...
6
votes
0answers
276 views

Mint 15 High temps on e-450, fan seemingly not reacting

I'm running a 64-bit Mint 15 on a Lenovo x121e with AMD E-450 and Radeon HD graphics. I'm worried about the high temperatures (I had Ubuntu before and never even noticed anything, so I never checked ...
6
votes
0answers
649 views

How do I let an SDL app (not running as root) use the console

I want to use an SDL-based program to display graphics on the console, without having to log on from the console, and without running the program as root. For example, I want to be able to run it via ...
6
votes
0answers
2k 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' ...
5
votes
0answers
65 views

NTPD Nanokernel

I had a couple of questions about the NTP Nanokernel as explained here: http://www.eecis.udel.edu/~mills/database/brief/nano/nano.pdf The big question is how does this Nanokernel manage to deliver an ...
5
votes
0answers
101 views

How to create a fake inotify event on debian?

I have a dedicated box running minidlna on Debian sourcing media files from a shared cifs drive. When I add a new file to the share not using the midia box, minidlna does not recognize the new files ...
5
votes
0answers
1k views

mount.cifs error(2): No such file or directory when using a prefixpath

I tried this command: mount -t cifs //server/share/directory /mnt/directory -o credentials=/path/to/cifs.credentials --verbose Response is: mount.cifs kernel mount options: ip=<IP of ...
5
votes
0answers
85 views

Setting up whonix with gateway and workstation on two separate hosts

I’ve had success in setting up and using whonix gateway and workstation on one machine. But I would like to set them up on different hosts, to spread out the memory and CPU requirements. I’ve not ...
5
votes
0answers
94 views

How do I temporarily extract a flash drive or HDD in Linux?

Suppose I mounted a disk in this way: mount /dev/sdb /mnt/tmp I have some files opened on this filesystem and don't want to unmount it. However I want to temporarily extract the device, then ...
5
votes
0answers
170 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
5
votes
0answers
299 views

Why does hdparm see two different values for the size of a drive?

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 ...
5
votes
0answers
508 views

Monitor connected via displayport to DVI adapter won't sleep properly

I have a monitor connected to my machine that displays odd behavior when entering power saving sleep mode. When entering sleep, the monitor will alternate between blanking and displaying a default ...
5
votes
0answers
99 views

Tracking my shell path in Emacs

Not a long time ago, I found the following precious snippet that allows Emacs to track my current directory on any ansi-term buffer. More specifically, if I cd <some/path> from within a ...
5
votes
0answers
664 views

How to set a background image for urxvt?

How do I set a tiled background image in urxvt? I have tried the following alternatives in my .Xresources file: URxvt*backgroundPixmap: /home/jgg/Pictures/tiles/escheresque_ste.png;style=tiled ...
5
votes
0answers
350 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 ...
5
votes
0answers
130 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. ...
5
votes
0answers
802 views

What do I need to add a virtual IPsec adapter?

I'm trying to set up an IPsec connection manually from the console with iproute2. What I need is a virtual interface (at best, a virtual IP address could also be sufficient) that IPsec-transforms ...
5
votes
0answers
2k 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 ...
5
votes
0answers
694 views

Gnome-terminal and Zsh: keep current directory on new tab/window

I'm running gnome 3.10.1 on Arch with Zsh. I'm facing that problem that when I create a new tab or window from a terminal window, it resets the current dir to my home dir. I've already tried this: ...
5
votes
0answers
228 views

How to manage multiple panel layouts for different display setups in KDE?

I use my laptop in 3 display setups: laptop only laptop + monitor laptop + projector For each one I use different screen setup and panel layout. It's quite boring to modify layout after each ...
5
votes
0answers
464 views

How to modify the default setting adopted by xrandr when connecting an external monitor?

I am confronted with a problem of conflict of resolutions (this is a separate question), which makes the display image distorted on both monitors. But this bothers me the most when connecting the ...
5
votes
0answers
305 views

Aufs Whiteout removal

I'm using AUFS for merging 100+ branches for a project. At runtime, I frequently add or remove few branches. Now, If I have a branch named "firefox-21.0" and If I update/modify one of it's file then ...
5
votes
0answers
191 views

cabal dies on NixOS in KVM

I set up a NixOS system on KVM and installed the haskelPlatform package. Everything works fine, ghci works fine, but cabal dies without any helpful error message: [michas@nix:~]$ type -a cabal cabal ...
5
votes
0answers
2k views

Linux Mint 15 WiFi hotspot options

I'm trying to configure a hotspot in my Linux Mint 15. There are no specific manuals for 15, but I found this video which describes hot to make a hotspot in Mint 14. Creating it in Mint 15 not much ...
5
votes
0answers
236 views

How do I use the TPM to seal away data on an UEFI booted system?

I would like to seal away files on my system using keys stored in the TPM. Since my system uses UEFI to boot, I can no longer use TrustedGrub as a boot loader to maintain my trust chain. Are there any ...
5
votes
0answers
173 views

using GPG key in Gajim without passphrase

I would like to use gpg key with Gajim (jabber client) without a passphrase. I have generated my gpg key without a passphrase (or with an empty passphrase, I don't know which - I just just pressed ...
5
votes
0answers
866 views

A real non-“better touch tools” solution for select-to-copy on Mac OS X

I recently moved to Mac. I am missing my X11 copy-paste style. I can't find a way to exactly emulate X11 behavior "select-to-copy", "middle-click-to-paste" globally on Mac OS X. I am aware that this ...
5
votes
0answers
1k views

Mouse scroll wheel speed far too sensitive

In my crunchbang installation with X11, openbox, my wireless usb mouse is listed at both /dev/psaux and /dev/input/mouse0. It's working fine apart from the scroll wheel, which although active, is far ...
5
votes
0answers
473 views

'OS X-like' momentum scrolling in linux?

Is there a way to make the scrolling on a linux machine (running X11) more like OS X's natural scrolling? With 'natural scrolling' I mean the fact that you can flick trough the pages, there is ...
5
votes
0answers
384 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 ...
4
votes
0answers
19 views

Search history from multiple bash session only when Ctrl + R is used, not when arrow keys are used

I usually have multiple bash sessions open. I want the history from multiple session to appear when doing a search (with Ctrl + R). When arrow keys are used only the current bash session's history ...
4
votes
0answers
21 views

Enabling completion with tab on an old ksh on SystemV

Is it possible to make completion with Tab like in bash? Currently I use Esc twice, can this be changed to a tab?
4
votes
0answers
52 views

Disable networking only inside of a single terminal

I want to run a command in the terminal to disable networking, just in that terminal. How can that be accomplished? I'm running OSX. Note: I only want to disable the networking in that terminal. ...
4
votes
0answers
28 views

Does managing cgroups require root access?

I am trying to work with control groups on two different operating systems (Ubuntu and Centos). There are few concerns that I would like to ask. I am trying to create a control group using the ...
4
votes
0answers
38 views

Is it possible to set interface name permanently in Raspbian?

I'm using 2 wifi dongles. First one is used to monitor and second one is used to access internet. Even if I changed /etc/udev/rules.d/70-persistent-net.rules as below, at startup sometimes wlan0 ...
4
votes
0answers
25 views

ltracing shared libraries, how?

I would like to trace the function calls to a particular library, call it libfoo. Unfortunately the documentation I have found on it is sparse, so I have a lot of questions. In the documentation of ...
4
votes
0answers
44 views

How to make zsh correct remember my decision

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 ...
4
votes
0answers
72 views

How do I boot the linux kernel over PXE with dnsmasq and syslinux?

Are these dnsmasq.conf options fine: port=0 interface=enp0s20u2u1 bind-interfaces dhcp-range=192.168.2.50,192.168.2.220,12h dhcp-boot=boot/syslinux/lpxelinux.0 ...
4
votes
0answers
50 views

Can I use my SIM card slot to telephone?

My laptop (a Thinkpad T440) has a SIM card slot which is meant to be used for internet, though I haven't tested that yet since I don't have any SIM cards with internet contracts. However, is it ...
4
votes
0answers
46 views

tor works when its in /usr/bin but not in /usr/sbin/

I have this very strange behaviour, I have two servers both running Ubuntu 14.04. I've installed tor on both. on machine A tor was installed (by default) in /usr/bin/ and works without any issues. on ...
4
votes
0answers
55 views

How to add a Thunderbird addon globally?

I have downloaded a Thunderbird extension as a.xpi file. I know, I can install it in Thunderbird by going to Tools -> Addons -> Install Add-on from file However, I am using several ...

15 30 50 per page