17
votes
0answers
437 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 ...
11
votes
0answers
1k 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 ...
10
votes
0answers
605 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 ...
9
votes
0answers
542 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 ...
8
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. ...
7
votes
0answers
43 views

Why does 8250 UART driver not wake up TTY if more than 256 characters are pending?

What is the motivation of this if-condition in void serial8250_tx_chars(struct uart_8250_port *up)? if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) uart_write_wakeup(port); It has been ...
7
votes
0answers
712 views

understanding the output of --info=progress2 from rsync

if I run rsync with --info=progress2, I get an output like 105.45M 13% 602.83kB/s 0:02:50 (xfr#495, ir-chk=1020/3825) But what do the single numbers mean? I haven't found a matching entry ...
7
votes
0answers
314 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 ...
7
votes
0answers
719 views

Linux From Scratch 7.2: Error while making binutils-2.22 in chapter 6

I get the following error while executing make tooldir=/usr ../../binutils-2.22/libiberty/regex.c:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] ...
7
votes
0answers
3k views

Alternatives to xmove, xpra

A bit of background information: I'm dealing with a piece of software that is part of a larger system. Most pieces of the system have a background process that runs continually, and a GUI that can be ...
6
votes
0answers
56 views

Linux setup for intellectually impaired

This is not a request for which distro (I intend to use arch + openbox as that's the setup I'm familiar with), but rather which tools can help me accomplish the following: I want to set up my ...
6
votes
0answers
104 views

Perfectly pixelmapped fonts in Emacs

In Ubuntu, in IntelliJ, the font PragmataPro Mono looks like this: Note the perfectly mapped pixels. The IntelliJ setting Appearance & Behavior > Appearance > Antialiasing > Editor is ...
6
votes
0answers
108 views

Why is `du --apparent-size` sometimes off by more than 90%?

I'm working on a software that builds Pacman packages (which basically are tarballs with some special metadata files). The test suite builds some packages, then compares the resulting package to a ...
6
votes
0answers
216 views

mutt: how to display emoji characters correctly?

I'd like to be able to see emoji characters properly in mutt, but e.g. đź’— shows up as ^J in mutt's pager. Running :set pager=view and re-opening the message displays the character correctly with ...
6
votes
0answers
8k views

HDMI connection not recognized on Laptop with Ubuntu 14.04

On a Lenovo Laptop with Ubuntu 14.04 I am not able to display the current screen's stuff on a Monitor connected with HDMI. The HDMI cables are both plugged in to the laptop and the monitor, and the ...
6
votes
0answers
446 views

Enabling support for AddressSanitizer in FreeBSD

The question essentially is how to compile a program that uses AddressSanitizer in FreeBSD. I use FreeBSD 10.0 (64-bit). I am trying to compile the following code with -fsanitize=address flag: int ...
6
votes
0answers
36 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 ...
6
votes
0answers
332 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 ...
6
votes
0answers
1k views

WebGL support on VirtualBox guest

I've managed to install a Debian 7.3 as guest on virtualbox 4.3.6 VM with guest additions, and I'm not able to make work webGL. While I'm able to see openGL working (tried with glxinfo and glxgears ...
6
votes
0answers
220 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. ...
6
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 ...
6
votes
0answers
762 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 ...
6
votes
0answers
229 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
33 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
33 views

How to find out which (not installed) package a file belongs to on NixOS?

I am using a Nix package manager on NixOS. Suppose I want to install a package that provides a file libgtk-x11-2.0.so.0. How do I find a package that provides this file, similar to other GNU/Linux ...
5
votes
0answers
84 views

Linux iptables ssh port forwarding (martian rejection)

I have a Linux gateway performing NAT for my home network. I have another network which I'd like to transparently forward packets to, but only to/from specific IP/ports (ie. not a VPN). Here's some ...
5
votes
0answers
39 views

enable external display on FreeBSD console

tl;dr, I'd like to use the external display with FreeBSD 10.0 on an HP Pavilion g7-2270us. Don't care if it's mirrored or I have to select one or the other. Here's the symptoms: When a display is ...
5
votes
0answers
76 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 ...
5
votes
0answers
91 views

Prevent monitors from going to sleep in lock screen on GNOME

I have two monitors running on my Fedora 22 machine, however due to this bug sometimes the second monitor will not wake up after the computer goes to sleep, requiring me to unplug the DisplayPort ...
5
votes
0answers
57 views

Why does OS X `install` errors on redirected input when the same version of `install` on linux works fine?

I would like to use install command in order to create a new executable file with pre-populated content (e.g. with single pwd command in it). So I've extended this example which creates a new empty ...
5
votes
0answers
31 views

Autostart under random WM?

I'm a long-time DE user, however there are some circumstances under which I prefer to use different tiling-based WMs instead of GNOME or KDE (I use GNOME mostly for last year or so). I have a ...
5
votes
0answers
44 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 ...
5
votes
0answers
39 views

How do cgroups interact with non-cgrouped processes?

I have 3 processes on a single core machine. Each process is exactly the same and burns CPU as fast as it can (tight loop). Two of them (A and B) are launched with cgexec in separate groups with ...
5
votes
0answers
76 views

Display only relevant hunks of a diff/patch based on a regexp

git log -G<regex> -p is a wonderful tool to search a codebase's history for changes that match the specified pattern. However, it can be overwhelming to locate the relevant hunk in the ...
5
votes
0answers
85 views

How do I vmtouch a directory (not the files it contains)?

The vmtouch(8) tool allows locking a file or files in memory. It has recursive mode, but the directories are used just for discovering files and are not locked themselves. How do I lock a directory ...
5
votes
0answers
631 views

how to transfer files from canon cameras over wifi?

Canon cameras like powershot s120 and sx600hs have wifi capability. How could that be used with linux to transfer images and videos without involving Windows in any way?
5
votes
0answers
62 views

Why does gnome-keyring-daemon need the public key to cache the passphrase?

I have two Arch Linux machines with virtually identical setup, both running /usr/bin/gnome-keyring-daemon --daemonize --login. They both have the same SSH secret key, but only one of them has the ...
5
votes
0answers
465 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 ...
5
votes
0answers
148 views

Limit the inode cache used by a command

I want to run a task with limits on the kernel objects that they will indirectly trigger. Note that this is not about the memory, threads, etc. used by the application, but about memory used by the ...
5
votes
0answers
152 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 ...
5
votes
0answers
437 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 ...
5
votes
0answers
90 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 ...
5
votes
0answers
119 views

Problem using Ctrl+Arrow keys in Vim when using Byobu with tmux

In Vim, I had set the Ctrl+Arrow keys to skip words. This works just fine when running Vim inside the gnome-terminal. However, when using byobu (tmux), it shows weird behavior : it deletes ...
5
votes
0answers
734 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 ...
5
votes
0answers
2k 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. ...
5
votes
0answers
561 views

Set new default file manager in firefox on Archlinux

I'm trying to use Dolphin as file chooser for Firefox in Archlinux instead of Nautilus. I've read this but it did not solve my problem. The config seems related to firefox as xdg-mime query default ...
5
votes
0answers
138 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 ...
5
votes
0answers
717 views

sshfs breaks symlinks from SFTP server

Does anyone know how to mount a remote SFTP path via SSHFS so that you can work with symlinks? When I do this, all the symlinks I create point to the wrong files (not the ones I linked to.) All the ...
5
votes
0answers
1k 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
579 views

No access to symlink folder on NTFS partition

I am using an NTFS parition for storing data I like to access both from Ubuntu and Windows 7. On my Ubuntu HOME partition, I like to link the folder Assets in order to access it from an application ...

15 30 50 per page