22
votes
0answers
566 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 ...
14
votes
0answers
496 views

How to fix tab completion so it doesn't hide entries?

I'm using oh-my-zsh on Mac OS X with homebrew'ed zsh 4.3.12. I stumbled recently on a weird problem. In scripts/not-used I have several .R files: breakdowns.R eventloop.R ...
11
votes
0answers
178 views

vim/gvim failing to put X11 clipboard in registers “+ or ”*?

Due to the lack of security with standard vino server, I switched to use x11vnc on my linux (with Xubuntu 14.04) box and SSVNC on the windows side. With vino, cut and paste from windows to Linux ...
7
votes
0answers
135 views

regarding portable sed -e… d b or ! b?

In this edit Stéphane Chazelas POSIXifies (again) my sed formatting by inserting an -expression break and another -expression statement. Now, I might just ask him why in the comments, I suppose, but ...
5
votes
0answers
52 views

Is there an ICMP echo request service?

Often, in applications that I develop, I like to include a network status indicator for various devices on the network. The easiest way to monitor these devices is by pinging them. But ICMP echoes are ...
5
votes
0answers
109 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 ...
5
votes
0answers
70 views

How can I get this proprietary low-vision camera working in Linux?

I am a visually impaired Computer Science student, and use a special USB camera to zoom in on the board/projector during lectures. The camera only officially supports Windows, and I've been using it ...
5
votes
0answers
327 views

How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?

Based on various sources I have cobbled together ~/.config/systemd/user/screenlock.service: [Unit] Description=Lock X session Before=sleep.target [Service] Environment=DISPLAY=:0 ...
5
votes
0answers
414 views

“usb 3-2: can't set config #1, error -110” - USB keyboard works in Windows 8 laptop but on PC only until Linux boots

I tried 2 new USB keyboards that work until Linux starts booting. When booting I saw: [ 8.365211] usb 3-2: New USB device found, idVendor=1a2c, idProduct=0b23 [ 8.404863] usb 3-2: New USB ...
5
votes
0answers
2k views

Switchable graphics drivers installation on Linux Mint

Firstly, sorry if there is something unclear in my question but English is not my native language and I will correct the question if needed. Here is my problem: I have a notebook with ATI RADEON ...
5
votes
0answers
84 views

How to Pass High Resolution from GRUB2 to FreeBSD?

I boot FreeBSD-10-RELEASE from GRUB2. I have set up the GRUB2 boot menu to display very nicely at my laptop's max resolution of 1024x768x32. I know it's possible to pass this resolution to the boot ...
5
votes
0answers
312 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
303 views

Rsnapshot destination full - how to safely rerun?

I ran my Rsnapshot backup today but my external drive became full half-way through the incremental backup (I have about 20 incremental backups now). rsync: write failed on "<path>": No space ...
5
votes
0answers
210 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
2k views

Installing pfSense firewall on an SSD

I was looking at creating a home firewall running pfSense (as I could not get IPCop to boot properly on my hardware). Doing a little research, however, I have some concerns with installing it onto an ...
5
votes
0answers
1k 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
355 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
28 views

Migrate an unprivileged LXC container between users

I have an Ubuntu 14.04 server installation which acts as an LXC host. It has two users: user1 and user2. user1 owns an unprivileged LXC container, which uses a directory (inside ...
4
votes
0answers
32 views

Setting traffic class on return packets

I have a network topology: Server <-> router1 <-> router2 <-> router3 <-> edgeRouter <-> "internet" All routers are linux based, and support iptables. The server sets ...
4
votes
0answers
85 views

Immortal SSH Session

I've got a little TurnKey Linux Debian Squeeze VM that I use for SFTP. I had a user login and transfer a file the other day and now I can't seem to kill the session. I'm still a little shaky in ...
4
votes
0answers
108 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 ...
4
votes
0answers
58 views

How to get system to shutdown when Xorg is quit?

I installed nodm, so that Debian starts Xorg and a window manager immediately after booting, without requesting any password and without a login. How can I similarly setup Debian to shutdown the ...
4
votes
0answers
96 views

How do I execute in background / return early?

For reference, I'm using phpseclib to control a remote SSH server using the 'root' account. I have to start/stop a java process which is ran in the background. Stopping works fine with killall java ...
4
votes
0answers
24 views

Chrome loses Compose sequences whose last character uses Shift

In Chrome 35.0.1916.153 or 36.0.1985.125, sometimes, my Compose key partially doesn't work. As far as I can tell, combinations whose last character uses the Shift key that don't work. For example, ...
4
votes
0answers
73 views

How come zipping a created disk image, makes smaller files than piping?

Case 1. I use dd to create an image: dd if=/dev/rdiskx of=/path/to/image bs=1m. It's 16 GB in size. I zip it, and it's suddenly around 100 MB. Case 2. I use dd to create an image, piping it ...
4
votes
0answers
67 views

Mutt: gmail archive

I want to recreate the gmail archiving method. I sync (using offlineimap) my inbox and my all mail folders, and, by archiving, I want to keep the one in All Mail and delete the one in inbox. Also, ...
4
votes
0answers
1k views

UEFI install (14.04) boots to GRUB command prompt, no GUI

I just installed zorin 9 core (14.04) on my Hard-Disk in UEFI mode. But, when I boot, all that comes up is a GRUB2 command line. I've searched for solution and came up with this command configfile ...
4
votes
0answers
639 views

Can't figure out why ssh_exchange_identification: Connection closed by remote host appear

At home, I have setup a Raspberry Pi with the latest version of Raspbian and with ssh enabled. I also use a Mac Book Pro with OS X 10.9.3. I use ssh pi@192.168.0.22 to do some work on the Raspberry ...
4
votes
0answers
660 views

Debian won't shut down completely

My Debian wheezy (64-bit) won't fully shut down. What I mean by this is that when I select "Shut Down..." from the menu the screen goes blank but the power button remains lit and front fan keeps ...
4
votes
0answers
137 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 ...
4
votes
0answers
77 views

No elevated permissions when using GUI applications on i3 wm

I'm running Lubuntu 13.10 with the i3 window manager. Tasks that need elevated permissions, like installing applications from the lubuntu software center or using the gnome-disks, complain about not ...
4
votes
0answers
294 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 ...
4
votes
0answers
67 views

automatic disconnection of RAID array

A RAID array connected to my system (Debian 7) via USB frequently disconnects itself for no apparent reason. Upon initial connection to the system, the device is detected, and the array can be ...
4
votes
0answers
514 views

GLX extension not working properly with xvfb

I have an Ubuntu 14.04 system with the following packages installed: libegl1-mesa:amd64 libegl1-mesa-drivers:amd64 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 ...
4
votes
0answers
114 views

Set custom locales in Gnome3 (on Fedora 20)

I've created my own custom locales and placed them in /etc/locale.conf which successfully takes effect if I log in on a virtual console (Ctrl+Alt+F2). In my Gnome3 session those variables are not set, ...
4
votes
0answers
466 views

GNOME keyring manager and gnupg

I get this gpg: WARNING: The GNOME keyring manager hijacked the GnuPG agent. gpg: WARNING: GnuPG will not work proberly - please configure that tool to not interfere with the GnuPG system! when I ...
4
votes
0answers
75 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 ...
4
votes
0answers
4k views

Problem Installing UBUNTU 14.04 (AND Mint 16, which is based on UBUNTU 13.10) as dual boot on RAID 0 with Windows 8.1

Ok, I know that there is Dual-Boot Ubuntu 14.04 and Windows 7 on FakeRAID Installation error - question marks "????..." and that that post has some answers for me, but I don't know if it ...
4
votes
0answers
127 views

How to prevent the Linux kernel from waking a secondary HDD from sleep

Is there a way to instruct the (Linux) kernel not to wake up a secondary hdd after a system sleep/wake-up cycle? I'm asking because in my laptop I have an SSD as a primary drive containing the system ...
4
votes
0answers
275 views

Is there a tool(!) to list assigned subuid and subgid values for users?

The question is basically in the title. usermod -v (--add-sub-uids) and usermod -w (--add-sub-gids) can be used to manipulate the subuid and subgid ranges for a user account, but there appears to be ...
4
votes
0answers
72 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 ...
4
votes
0answers
99 views

weird output when typing letter c in shell (non english input)

I had keyboard set to Georgian language input. Forgot to switch it back to English and typed letter c in shell. c = ც english c key is mapped to georgian letter ც - if this makes any difference. ...
4
votes
0answers
148 views

Execute code on shutdown on Fedora 19

I need to catch any OS shut down and execute some actions before letting the OS be shutted down. I'm using Fedora 19 and C++. I'm able to catch a shutdown signal given by the console with the ...
4
votes
0answers
108 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 ...
4
votes
0answers
38 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 ...
4
votes
0answers
165 views

EDID Invalid on USB DisplayLink Device

I have a Sabrent USB to HDMI adapter which is a DisplayLink device. It's recognized by udl as being a DisplayLink device, yet seems to be rejected/disabled due to having an invalid EDID: ...
4
votes
0answers
83 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. ...
4
votes
0answers
184 views

Migrating from Funtoo to Gentoo on a running system

I have a Funtoo system now, but want to migrate (back) to Gentoo. If possible keeping a usable system during the installation (not rebuilding from scratch using a live CD). Both systems should be ...
4
votes
0answers
114 views

GRUB 2 scripting: convert device name in GRUB notation into a Linux device name

I'm trying to use partition labels (or UUIDs, that does not matter) to select root partition without use of an initrd/initramfs. With initramfs, this is fairly easy: root=LABEL=... or ...
4
votes
0answers
120 views

Tool to create recipe to preseed partitioning

I want to preseed an Ubuntu 12.04 installer using a custom partitioning recipe. My disk layout is reasonably complex, and so is the recipe syntax itself. Hand-crafting such a recipe seems tedious and ...

15 30 50 per page