Questions tagged [xbindkeys]

26 questions
16
votes
5 answers

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 Super) and dragging a window with the left mouse…
Hubro
  • 6,016
6
votes
2 answers

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-data '\$1~/set-sink-volume/{system ("pacmd "\$1"…
5
votes
2 answers

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-window -h But, when I run tmux I have the…
GlinesMome
  • 165
  • 2
  • 6
4
votes
1 answer

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 as easy solution as all I found was this. I just…
joelostblom
  • 2,699
  • 4
  • 24
  • 28
4
votes
2 answers

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 does not work at all. I still have to manually start…
4
votes
0 answers

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't want that. Is it possible to disable…
4
votes
0 answers

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 Control_L' 'key F8' 'keyup Control_L'" b:6 If I type…
3
votes
1 answer

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 exploit to auto-start this process - editing…
sherrellbc
  • 839
  • 5
  • 17
  • 31
3
votes
1 answer

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 modifier key looks very useful. Also i hope to use…
tx2
  • 31
2
votes
1 answer

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 xbindkeys and xbindkeys-config but couldn't figured…
2
votes
2 answers

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 keyboard. I tried the following variations in my…
user1028270
  • 1,075
  • 4
  • 22
  • 33
1
vote
0 answers

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. After some minutes or sometimes hours, I have…
Ravachol
  • 1,320
1
vote
0 answers

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 pressing. I am thinking of assigning this function to…
Monu
  • 111
  • 4
1
vote
0 answers

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"':"\"cd ..\C-m\"" But it's impossible for me to bind…
Mayday
  • 141
1
vote
1 answer

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/next occurance of any of a list of characters. For…
Stilez
  • 1,825
1
2