32
votes
0answers
881 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 ...
7
votes
0answers
38 views

D-Bus authentication and authorization

I'm trying to set up remote access to D-Bus, and I don't understand how authentication and authorization are (not) working. I have a D-Bus server listening on an abstract socket. $ echo ...
6
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
161 views

Tracing executable without read permissions

I found some surprising behavior on Ubuntu 14.04 when using strace on an executable, which I do not have read permission on. I wonder if this is a bug, or if some standard mandates this obscure ...
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
34 views

correct xargs parallel usage

I am using xargs to call a python script to process about 30 million small files. I hope to use xargs to parallelize the process. The command I am using is: find ./data -name "*.json" -print0 | ...
5
votes
0answers
64 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 ...
5
votes
0answers
78 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 ...
5
votes
0answers
82 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
116 views

Systemd user unit that depends on system unit (sleep.target)

I was reading doc and it is still unclear for me, whether the following is possible to accomplish: service defined in ~/.config/systemd/user/task.service that depends on system sleep.target ...
5
votes
0answers
479 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
370 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 ...
5
votes
0answers
96 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
216 views

Why mutt keeps 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 ...
5
votes
0answers
455 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 ...
5
votes
0answers
227 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
269 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 ...
5
votes
0answers
846 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
623 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 ...
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
465 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
383 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
20 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 ...
4
votes
0answers
21 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
41 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
51 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
44 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
52 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 ...
4
votes
0answers
173 views

Install Linux on Chromebook with failed TPM module?

I have a Samsung XE303C12 Chromebook which apparently has a failed TPM module. It won't boot into ChromeOS, and when I try to recover the OS, I'm told that an error has occurred. I hit Tab and the ...
4
votes
0answers
140 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...
4
votes
0answers
60 views

What happens with unix stream ancillary data on partial reads

So I've read lots of information on unix-stream ancillary data, but one thing missing from all the documentation is what is supposed to happen when there is a partial read? Suppose I'm receiving the ...
4
votes
0answers
197 views

dmesg: pci BAR 7: can't assign io

I have VMware virtual machine running Debian Wheezy. I have compiled my own kernel 3.14. I have noticed dmesg is flooded with messages pci BAR 7: can't assign io (size 0x1000). I have no idea what ...
4
votes
0answers
61 views

Multiseat with one card and two Xorg instance

Is it possible to set up a multiseat environment with one graphic card and two Xorg instances? That is, one machine with a monitor/keyboard/mouse for the first Xorg instance and a second ...
4
votes
0answers
56 views

Fixing terrible performance when watching/reading video and writing video files to disk

I have had this issue for quite some time and tried many times to fix it on my own and it always fails. IP schedulers, ionice and things like that always yield no result. I even went and bought an ...
4
votes
0answers
86 views

reinit NFS client without restart

I have been working on my server, from which I export one directory using NFS. Of course over the week or so of server reboots, I multiple times forgot to umount the export filesystem in my ...
4
votes
0answers
222 views

chromeos - failed to read partition table

I am trying to install archlinux natively on my chromebook. I am following the instructions here, however when I try to create a new disk label for GPT localhost ~ # parted /dev/mmcblk1 mklabel gpt ...
4
votes
0answers
125 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 ...
4
votes
0answers
84 views

Edit a binary value in hexadecimal in chntpw?

I'm trying to edit a Windows registry entry to change the key to my Bluetooth device to be able to dual-boot with my Bluetooth keyboard. I know which registry entry to use and I can extract Windows' ...
4
votes
0answers
56 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 ...
4
votes
0answers
55 views

How to debug what blocks a key sequence in urxvt?

According to this port, i made these configuration in my .Xresources for urxvt: URxvt*keysym.Control-1: \033[27;5;49~ URxvt*keysym.Control-2: \033[27;5;50~ ...
4
votes
0answers
34 views

Compare PDF documents with embedded links?

diffpdf shows the visual differences in two PDF documents. Since some PDF documents include hyperlinks is there a diff that handles those also?
4
votes
0answers
87 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 ...
4
votes
0answers
69 views

Make one VNC server appear as two displays in RHEL

I have a VNC server running in virtual mode in RHEL and I am viewing it on a PC which has two screens. I can make the server use both of my screens by setting the resolution large enough: xrandr -s ...
4
votes
0answers
67 views

MySQL has over 95,000 connections but processlist is empty?

I have a server that is running mysql and it's using a lot of memory. I run: mysql > show status like '%onn%'; +--------------------------+-------+ | Variable_name | Value | ...
4
votes
0answers
398 views

Chromium: “This version of Chrome is no longer supported” - linux mint

I'm using Chromium Version 34.0.1847.116 Built on Ubuntu 13.10, running on LinuxMint 16 (260972) When ever I log into a Google app, I get the error "This version of Chrome is no longer supported. ...
4
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 ...
4
votes
0answers
178 views

virtual block device

I'm not sure what I should be googling or if FUSE does this (I suspect not). I'd like to create a virtual block device which all access (such as reads/writes) go to my app. I know I can have a file ...
4
votes
0answers
337 views

Understanding Broadcom setup and kernel files

I often install Linux distros form live usb/CDs. For that I would like to be able to setup my wireless without any internet connexion. I have a Broadcom chipset : $ lspci -k 04:00.0 Network ...
4
votes
0answers
144 views

How to change background color of a pane in tmux?

I would like to change the background color of the inactive panes in tmux to better distinguish between the active pane and inactive panes. Something just a few shades different than the default. How ...
4
votes
0answers
914 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. ...

15 30 50 per page