Questions tagged [xbindkeys]

Questions about xbindkeys, a program that allows user to launch shell commands with keyboard or mouse under X Window.

xbindkeys uses a configuration file. xbindkeys is independant of the window manager and can capture all keyboard keys.

More information:

  • xbindkeys on Ubuntu Manpages
  • xbindkeys homepage on Savannah (from manpage)
  • KeyboardShortcuts on Ubuntu Community Help Wiki (see "Text Entry Shortcuts" for example use of xbindkeys with xvkbd to enter email address in forms)
90 questions
162
votes
14 answers

How can I change what keys on my keyboard do? (How can I create custom keyboard commands/shortcuts?)

I want to change the key bindings on some of the keys on my keyboard. I want some to run commands and others to activate different keys. What applications can I use to do this? Index: Xbindkeys Default keyboard and shortcut settings (from…
Seth
  • 59,332
47
votes
5 answers

How do I automatically remap buttons on my mouse at startup?

I struggled with this over the weekend, and need to remap my mouse buttons.
31
votes
11 answers

Logitech MX Master Thumb Button with Ubuntu

Goal I would like to get the Thumb Button on my Logitech MX Master mouse to work under Ubuntu 17.10. Specifically, I want it to serve as a "Meta" key, by which I mean pressing it will show me all the open programs at that moment (this is called…
Yasha
  • 411
20
votes
6 answers

Why do these xte commands work in terminal, but not when bound with xbindkeys?

This xte command, when I run it in a terminal, triggers Expo mode: xte 'keydown Super_L' 'key S' 'keyup Super_L' However, when I put this in my .xbindkeysrc file: "xte 'keydown Super_L' 'key S' 'keyup Super_L'" b:11 Nothing happens when I click…
Hubro
  • 1,293
17
votes
5 answers

How to map modifiers (e.g. CTRL) to mouse thumb buttons using xbindkeys

This question has already been asked but was never answered properly. After clearance with @Seth I am now asking it again. This will allow me to respond and possibly modify the question a lot easier. The original question can be found here: Map Ctrl…
14
votes
6 answers

Xbindkeys won't work properly

I have bit of a problem. I wanted to remap some hotkeys I am used to from my previous system but I can't get it to work properly with xbindkeys. xbindkeys recognizes the combination but somehow the command does not trigger. If I use the…
Ello
  • 281
14
votes
2 answers

Map Ctrl and Alt to mouse thumb buttons

I'm running Ubuntu 12.04 and have a multi-button Microsoft mouse. I would like to map the Ctrl and Alt modifier keys to the left and right thumb buttons of my mouse, respectively, so I can Ctrl + click and Alt-click without touching the keyboard. My…
rcorre
  • 241
11
votes
1 answer

Some keys are not detected in my keyboard (multimedia keys?) by either xev or xbindkeys or keytouch: how to detect them?

It is one more attempt to get Fn keys to volume up/down, brightness, etc. working. Those controls are simply not working in my non-branded ultrabook. I want to detect them to modify /home/username/.config/openbox/lubuntu-rc.xml, as the following…
chelder
  • 479
9
votes
1 answer

How to access extra mouse buttons on Wayland?

Since unfortunately Gnome does not offer any option to configure additional mouse buttons I used to achieve this simple goal by writing a tedious configuration file for xbindkeys. What I wanted was far from super fancy stuff – as launching a rocket…
user5950
  • 6,406
9
votes
2 answers

How do you reload XBindkeys in Ubuntu

I have tried a number of options to reload xbindkeys after changing the configuration file (my configuration file is located at ~/.xbindkeysrc). Nothing seems to work. The configuration file should be reloading automatically after a change…
Snap Shot
  • 571
8
votes
1 answer

xte called from xbindkeys is not working

I am trying to setup xbindkeys in Kubuntu, since I got a new mouse with some useless buttons. I was trying to bind the F5 key to the windows-logo button on my mouse, which I identified as c:134. Unfortunately it does not seem to work. Here is what I…
Palantir
  • 2,052
7
votes
1 answer

'xte mousedown' / '-up' via xbindkeys not working

I would like to bind my (Logitech mouse, thumb button) b:2 to the middle mouse button button 2. I tried "xte 'mouseclick 2'" b:8 which does work in the terminal, but not with xbindkeys. Neither does the following trigger any action, which is…
phil294
  • 639
7
votes
2 answers

xbindkeys_show: exec: wish not found

I installed xbindkeys via sudo apt-get install xbindkeys Now when I run xbindkeys_show I get: $ xbindkeys_show /usr/bin/xbindkeys_show: 3: exec: wish: not found The question is: How can I run this program? What dependencies are missing?
Alfred
  • 203
6
votes
3 answers

Can I use complex mouse button combinations with xbindkeys?

I am running Ubuntu 16.04 and have connected Logitech M705 mouse. This mouse has a total of 10 buttons, button 1 being left click, button 2 right click, button 10 "thumb button". I have set up xbindkeys # History Back & Forward "xte 'keydown Alt_L'…
michnovka
  • 312
6
votes
2 answers

Bind Alt+Tab to a Logitech mouse button on Kubuntu

Note: this is not a duplicate of either this or this, as I will make clear. I have a Logitech Proteus Core mouse. Under Windows 10, I have set one of its buttons (the small one labeled "G9" on top of the mouse) to show a task list, which can be…
IVlad
  • 125
1
2 3 4 5 6