Questions tagged [xbindkeys]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
16 votes
4 answers
16k views

How do I PROPERLY map a keyboard key to a mouse button?

Question summary: I want one of my mouse buttons to be registered as the left Windows button Super_L by X11. In my window manager, I can move windows around by holding the "left Windows button" (Left ...
Hubro's user avatar
  • 5,786
6 votes
2 answers
1k views

xbindkeys escape quotes

How can I escape quotes in .xbindkeysrc commands? Neither of those work. "pacmd dump|awk --non-decimal-data '$1~/set-sink-volume/{system ("pacmd "$1" "$2" "$3+2500)}'" "pacmd dump|awk --non-decimal-...
Danilo Bargen's user avatar
4 votes
2 answers
13k views

How to autostart xbindkeys?

I use xbindkeys for managing my hotkeys in Gnome 3 but it doesn't have a daemon so I added it to .xinitrc. ~$ cat .xinitrc ck-launch-session gnome-session nohup xbindkeys & Strangely, this ...
Konrad Höffner's user avatar
4 votes
2 answers
2k views

tmux: trying to bind utf8 key

I'm using tmux 1.6 with konsole on Fedora 17 i686. I have an azerty keyboard (with accentued chars), and I want ton bind 'ù' key. I made the following ~/.tmux.conf: setw -g utf8 on bind-key ù split-...
GlinesMome's user avatar
4 votes
1 answer
4k views

How to scroll half a page on Linux?

I'm looking for a way to be able to scroll half a page, preferably by using a key combination like shift page up/down. In Windows, this is doable via autohotkey, for OS there does not seem to be any ...
joelostblom's user avatar
  • 2,549
4 votes
0 answers
1k views

Xbindkeys not working

I'd like to map some buttons of my mouse, but it's not working. I've been trying xbindkeys unsuccessfully. Here is one of the commands : # Bind "back" mouse button to Ctrl+F8 "xte 'keydown ...
ztheoz's user avatar
  • 41
3 votes
1 answer
4k views

Trying to start process on login, but no .xinitrc file to work with

So I installed and am properly using xbindkeys. The problem is that I must manually start this process each time I start my system. I read more into the wiki and found there is a method one can ...
sherrellbc's user avatar
3 votes
0 answers
279 views

How to disable default key action (horizontal scroll wheel) in xbindkeys?

I'm currently using horizontal scroll wheel (MX Master 3) with xbindkeys (~/.xbindkeysrc) to control volume on Pop OS 20.04 (~Ubuntu) but currently it activates horizontal scroll along also, and I don'...
Elijas Dapšauskas's user avatar
3 votes
1 answer
3k views

Bind mouse button to Control_L or Super_L keys

I'm trying to make mouse button act exact as Control_L or Super_L keys. In lots of applications (firefox, konsole, etc.) Ctrl+Scroll has special actions like zooming, so assigning mouse button to ...
tx2's user avatar
  • 31
2 votes
1 answer
3k views

Configuring Xbindkeys bindings for Logitech M510 mouse

On Windows 7 my mouse buttons are configured with Logitech SetPoint software. But today I installed Ubuntu 12.04 with Wubi. Of course my extra buttons are not working now on Ubuntu. I installed ...
enenen's user avatar
  • 265
1 vote
2 answers
7k views

xbindkeys to remap extra mouse buttons

I'm following this tutorial but cant seem to get this working I used xev and confirmed the two mouse buttons I want to map are button 8 and button 9 I want to map them to the "a" and "s" keys on the ...
user1028270's user avatar
  • 1,045
1 vote
1 answer
1k views

xbindkeys works only few times or at least once

I have enabled reaction on thumb button of my MX Master under Debian 8 with xbindkeys. My configuration is: # the Alt+Left is receive as distinct event. "gnome-terminal" m:0xc + c:23 Control+...
x4k3p's user avatar
  • 162
1 vote
1 answer
346 views

ZSH key binding to search backward/forward in buffer for [hardcoded list of chars]

I have [left arrow] [right arrow] mapped to backward/forward char, and [ctrl-left-arrow] [ctrl-right-arrow] mapped to backward/forward word" Sometimes I want to move back and forward to the previous/...
Stilez's user avatar
  • 1,685
1 vote
0 answers
105 views

How to open current link/folder under cursor in a new tab using command

Currently, I am using the mouse's middle button to open links in the browser, folder in file manager to open in a new tab. But my mouse's middle button is very sensitive and gets scrolled while ...
Monu's user avatar
  • 111
1 vote
0 answers
1k views

Bash binding ctrl + alt modifiers

I am not being able to bind Ctrl+Alt+u in my bash. I have followed this link but did not work for me. I can bind it to Ctrl+u with: bind '"\C-u"':"\"cd ..\C-m\"" and to Alt+u with: bind '"\eu"':"\...
Mayday's user avatar
  • 121
1 vote
0 answers
217 views

xbindkeys loses bindings

I've mapped some of my keyboard function keys (prev/next/play) using xbindkeys. On key press, it just call a dbus command to control Spotify. Everything works fine, except it often "forgets" bindings....
Ravachol's user avatar
  • 1,280
0 votes
2 answers
2k views

Can’t write to .bashrc: permission denied

I have downloaded NDK for my Eclipse Juno. Now I have to add the NDK to path and have to add the following lines to my .bashrc: export ANDROID_NDK=/_path_to/android-ndk-linux/ export ANDROID_SDK=/...
Code_GEEK's user avatar
0 votes
2 answers
428 views

How to use xbindkeys to switch workspaces in Gnome overview?

Here is my ~/.xbindkeysrc config: "gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval 'imports.ui.main.wm._showWorkspaceSwitcher(global....
Mike's user avatar
  • 111
0 votes
1 answer
2k views

xbindkeys wont recognise keypress

I am using Fedora Gnome on a tablet hybrid. I've written a script which uses xrandr to rotate the screen and I'd like to bind it to one of laptop's useless side-panel buttons, currently the one which ...
DMCoding's user avatar
  • 223
0 votes
1 answer
2k views

Keyboard shortcut malfunction in Elementary OS

I've mapped control + space to pause my music player using xbindkeys From ~/.xbindkeysrc "mpc pause" m:0x4 + c:65 However, it doesn't work, but what DOES work is control + space + space. That ...
curios's user avatar
  • 360
0 votes
1 answer
1k views

running ranger on urvxt in i3 with bindsym

I am trying to use bindsym $mod+Mod1+b exec "urxvt -e bash -c ranger" in my i3-config. It runs but many features of ranger is not accessible, like, I can't copy the file(/folder) path using yp When ...
Galilean's user avatar
  • 101
0 votes
1 answer
129 views

How to do the shortcut `Alt + =` typing the identity char ≡?

I want to do the shortcut Alt + = which puts the identity char ≡. How to do it with Xbindkeys? Or you need a different method?
Jej's user avatar
  • 1
0 votes
0 answers
66 views

Custom shortcut: which tool to use for binding key repetition to a script

I'd like to bind key repetition of ee to correspond to input key é system wide. To be more precise I'd like that typing ee within a time window of 500ms inserts a é character. Repetition outside of ...
Momh's user avatar
  • 101
0 votes
1 answer
1k views

Bash script that automatically changes mouse and keyboard layouts based on active window

UPDATE - Fully working script located at the bottom of my answer for anyone who isn't interested in the process of getting there. I've been trying to write a bash script that makes use of xbindkeys,...
DreadPirateLynx's user avatar
0 votes
0 answers
710 views

Caps+Shift+hjkl as arrow keys

I currently map caps to CTRL-L using the following .Xmodmap: clear lock clear control keycode 66 = Control_L add control = Control_L Control_R I'd like to additionally map Caps+Shift+HJKL to be ...
Mark's user avatar
  • 101