Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xbindkeys]

The tag has no usage guidance.

1
vote
0answers
212 views

Ubuntu xBindKeys not working for mouse buttons

I've configured back and forward button a while ago with xBindKeys and I am sure that everything was fine. Yesterday I've noticed that those two functionalities somehow swapped. Back button functions ...
1
vote
1answer
50 views

How to use “Alt Gr” in xbindkeys?

I cant figure out the code to use Alt Gr in xbindkeys. I tried ISO_Level3_Shift, but that doesn't work.
0
votes
1answer
53 views

How to break a bash script initiated with xbindkeys?

I initiated a bash script by xbindkeys as "sleep 1;bash /home/scripts/loop.sh" KP_Add How can I bind another key, which can break this bash script? For example, if loop.sh is 1,000 clicks by ...
0
votes
1answer
197 views

xbindkeys does not bind xdotool key command for a key

I add the xdotool commands to .xbindkeysrc. The commands for mouse work, such as "xdotool mousemove 200 200" q but I keys do not work, such as "xdotool key x" q What can be the reason that the ...
0
votes
1answer
108 views

xbindkeys not working when native Gnome 3.30.1 windows are focused

this is archlinux speaking, fresh install with Gnome 3.30.1. After having installed xbindkeys and setup a ~/.xbindkeysrc file with: # corresponds to ctrl+Y on my machine, according to `xbindkeys -k` ...
1
vote
1answer
330 views

mute media key doesn't toggle [closed]

Logitech K270 has media keys: play/pause mute/unmute volume down volume up home mail power calculator I don't know what "home" is supposed to do, whereas "mail" and "calculator" don't do anything ...
0
votes
1answer
42 views

Execute a command if F+J keys are pressed

What would I need to do if I wanted to execute: chromium & by pressing F+J ? Preferred requirements: Globally accessible across Desktop Environment Independent of terminal focus or not Without ...
7
votes
1answer
173 views

Using CapsLock as left mouse button; mostly works but fails with a few things

Linux System Info: OS: GNU/Linux x86_64 Kernel: 3.13.0-24-generic Distro: Linux Mint 17 Qiana, Cinnamon 64-bit 2.2.16 [Based On: Ubuntu 14.04.5 LTS, Trusty Tahr] Due to a ...
0
votes
1answer
147 views

How do I get xbindkeys to separate its modifiers from xte's?

When I do such as this in .xbindkeysrc "xte 'keydown Control_L' 'key W' 'keyup Control_L'" Shift + b:9 it performs the action of ctrl+shift+w instead of just the ctrl+w I expected. Any idea how ...
0
votes
1answer
2k views

How to configure a mouse in linux?

I just freshly installed an archlinux and just received my new mouse Mx anywhere 2. As the mouse have more than two buttons and i' wondering how to configure these buttons ? I already checked a bit ...
1
vote
0answers
426 views

XBindkeys and Mouse key's giving keyboard numbers (0-9)

XINPUT ➜ xinput --list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ ...
3
votes
0answers
647 views

Is it possible to bind a key shortcut to another key shortcut using Xbindkeys?

What I'm trying to do is to pre-configure a Logitech G602 assigning a specific key combination to each configurable button (G6, G7, G7 etc...) The only way to do that is on Windows (to save the key ...
1
vote
0answers
43 views

How can I remap Ctrl_Left + button to one action, and Ctrl_Right + button to another?

In my particular example, I want to be able to remap Control_left + n to output LeftArrow, but also to Control_right + n to output Return. How can I do that? I red through xmodmap man, so as xbinkeys, ...
1
vote
1answer
2k views

Mapping mouse events to key presses using xbindkeys

I want to map various mouse actions to key presses using xbindkeys. All my attempts to do this in my .xbindkeysrc file have failed. Attempts have been made using xte and xdotool. Below is a summary of ...
2
votes
1answer
511 views

detecting held keys with xbindkeys

I am using xbindkeys to bind Alt+left and Alt+right to chvt in order to cycle through virtual terminals, as described here. I modified the arithmetic to be modular with respect to the number of ...
1
vote
1answer
127 views

invoking password-less sudo via xbindkeys

I tried to set up key bindings for changing the virtual terminal (VT) in X, as described in this post. Typing sudo chvt $(($XDG_VTNR-1)) into a terminal emulator appropriately changes the VT. However, ...
3
votes
1answer
692 views

xbindkeys (xvkbd): stuck CTRL with Debian Stretch

I am using xbindkeys with xvkbd to add some magic to additional buttons on my mouse which I can press with my thumb. For this, I have xbindkeys in my ~/.xsessionrc and the following lines in ~/....
1
vote
1answer
268 views

xbindkeys on one keyboard?

I have the current setup: One PS2 Keyboard One USB Keyboard Then I use this: xinput --create-master SecondKeyboard xinput --reattach "Keyboard Id" "Master Id" to separate them. I thought I could ...
4
votes
1answer
1k views

Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

My .xbindkeysrc file includes: "amixer sset -q 'Master' 10%+" control + shift + b:4 "amixer sset -q 'Master' 10%-" control + shift + b:5 Which allows me to control sound volume with Ctrl + ...
1
vote
1answer
426 views

BadAccess on X_GrabKeys when using xbindkeys

I wrote two custom scripts to brighten/dim my screen and want to bind them to my F9 and F10 keys. I put them into /opt/bin and used sudo chown root:root script and sudo chmod 755 script on both and ...
3
votes
2answers
8k views

Execute script from i3 config

Question: I'm using i3-wm and I have Mod3 working as a hotkey. I have the following in ./config/i3/config: #This command works bindsym Mod3+f exec "firefox" #This doesn't work nor do my other ...
1
vote
1answer
183 views

Keycode for volume buttons

I'm configuring buttons on my mouse I want to set volume buttons but I don't know the keycode fo volume buttons. I used xbindkeys but didn't work.
1
vote
1answer
1k views

xbindkeys map Left + Right mouse button to Middle mouse click

I have managed to install xbindkeys on my lubuntu 16.04 box, which I think is the correct tool for me to use to map a simultaneous left and right mouse button click to emulate a middle mouse click. I ...
0
votes
1answer
583 views

Binding keys in xbindkeysrc to type a command

I am trying to bind Alt+Up to type cd .. command using Xbindkeys. Here is what I've tried, among other things: "sleep 1 && xdotool type cd .. --delay 15 && xdotool key Return" Alt+Up ...
1
vote
0answers
282 views

xbindkeys/xkb map ctrl shortcut

I have installed colemakwide(xkb) and would like to keep shortcut like ctrl+s etc. The goal is that all ctrl shortcut behave like QWERTY which I did in windows/klc by have the original vk for the keys....
1
vote
0answers
127 views

Using xkeybinds on headless node for HUID USB Device I/O

I run Raspberry pi's (rpi) in headless mode running Raspbian - a form of Debian. I would like to use the xev with xkeybinds approach (see Detect if mouse button is pressed, then invoke a script or ...
1
vote
2answers
265 views

Force a specific button release

I've looked at this post, but it's not quite what I was looking for. Command for forcing a pointer ungrab (captured mouse release) I want to fake the "Easy-Shift" functionality of my "Roccat XTD" on ...
4
votes
1answer
195 views

xbindkeys Paste Script is Failing to Work

I'm trying to bind control + i to load the contents of file.txt to the clipboard (so that I can use ctrl + v to paste the contents of file.txt into windows like my browser). The following command ...
2
votes
4answers
2k views

Adjust volume using mouse multimedia buttons

I know that there are many questions on the internet about setting keyboard/mouse multimedia keys/buttons in Linux, nevertheless my question is more specific. My wireless input devices: Logitech ...
0
votes
1answer
111 views

Bind C-j to backward-kill-word, says command not found

bind -x '"\C-j": backward-kill-word' says, backward-kill-word: command not found As mikeserv quoted here, i am able to do backward-kill-word using Ctrl-w. However this is the same key i use in ...
0
votes
1answer
170 views

Ctrl-y, yanking x-clipboard contents to terminal adds shell prompt string

Using this link, i wrote custom function to yank text from x-clipboard to shell terminal on pressing C-y. I see two issues here, copy_line_from_x_clipboard () { xsel -o } bind -x '"\C-y": ...
1
vote
1answer
843 views

RapidFire input with xdotool and xbindkeys

I'm wondering how it be possible to configure a keybind to use RapidFire with xdotool and xbindkeys to a gamepad input? I have a Logitech F310, and I want to know how I can pass keybinds to simulate ...
6
votes
1answer
3k views

Run program on a key press without interupting the key event

Is it possible to bind a (global) key press to some command and still not disrupt the key press from completing? What I mean is, if I try the bindkey solution posted elsewhere here: # In file: ~/....
6
votes
1answer
717 views

xdotool and xbindkeys

I have an Acrobat reader that does not zoom on Control+plus but rather on Control+acute (Control-plus annoyingly rotates the document). I would like to fix this using xbindkeys and xdotool but the ...
1
vote
1answer
879 views

Call sudo from a script called by xbindkeys

I have a macbook pro and I am in the process of binding scripts to control the backlight level on my keyboard. I wrote 2 scripts and they work perfectly I just cant get them to run on a keypress. I ...
2
votes
0answers
878 views

How do I combine two keys to act as FN key with xbindkeys?

I have been hammering my head on the wall for the past two days trying to figure out a way to combine two keys to execute a function with xbindkeys. To make a long story short I have a chromebook ...
2
votes
1answer
195 views

Xbindkeys and the equals key

How does one bind a key to the "=" key using xbindkeys? I have tried "=", "equal", and "equals" but none of these seem to work.
2
votes
1answer
4k views

Using xbindkeys to bind the meta key (a.k.a. super key / Windows key) to left click and allow drag and drop

Is there any way to bind the meta key (a.k.a. super key / Windows key) to a left click using xbindkeys? I would like that hitting the meta key triggers a left click, and hold down the meta key allows ...
1
vote
1answer
710 views

xbindkeys && xdotool => spontaneous disabling mouse buttons

I have Logitech G500s mouse, and configure extra buttons via xbindkeys && xdotool. # Scroll Left = "previous Tab" in Browser "xdotool key Ctrl+Tab" b:7 # Scroll right = "next Tab" in Browser ...
1
vote
0answers
148 views

keyboard shortcut for inserting text

how to set a keyboard combination for inserting special string in current window at current position? for example, when I'm on Firefox address bar, or Chrome address bar, and press Alt+Ctrl+N it ...
4
votes
1answer
541 views

Inserting the “∃” character into a text field

I am trying to use xbindkeys to insert the "∃" character with a keyboard shortcut. The following doesn't work: "xvkbd -xsendevent -text '∃'" control + shift + 3 Instead, it sends "â".
1
vote
1answer
1k views

Associating Multiple Commands with one key in .xbindkeys

How can I run several commands in succession when a key is pressed? For example, "Command 1" "Command 2" "Command 3" Hotkey Doesn't seem to work.
2
votes
1answer
2k views

How to invoke Gnome 3 activity screen via mouse button?

What I'm trying to do I'm using a Logitech MX Revolution mouse, which has a button below the scroll wheel mapped to search, which I remapped to middle click. For doing so, I had to remap XF86Search ...
0
votes
1answer
134 views

xbindkeys and messed up outputs

I am trying to set some key bindings for the use inside my wm. so I did xbindkeys -mk and start testing with keys. The result was somehow not what I expected. Left wind key ===> m:0x50 + c:115 ...
4
votes
1answer
283 views

How to prevent xbindkeys from consuming keyboard messages?

I thought I can get xbindkeys run this command: espeak -v en "a" whenever the key a is pressed. But xbindkeys expropriates (consumes) the keyboard message a. I thought this may fix: espeak -v en "a"...
3
votes
1answer
825 views

xbindkeys: no process found

I'm not getting xbindkeys to work. I did this: sudo aptitude install xbindkeys xbindkeys --defaults > ~/.xbindkeysrc sudo aptitude install xbindkeys-config xbindkeys xbindkeys-config To begin ...