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 [xte]

Questions regarding xte - and fake input using the XTest extension

0
votes
0answers
10 views

Button release does not work with xbindkeys

Following this tutorial, I'd like to map the page-forward button of the mouse (i.e. b:9) to Shift_L. However, using the tools xte and xbinkeys the button-down works, but the button-release does not. ...
0
votes
0answers
59 views

Mx Master horizontal scroll in Ubuntu 18.04 with xte

I'm trying to set my Mx Master horizontal scroll to change workspaces It works with the commands: "xte 'keydown Super_L' 'key Page_Down' 'keyup Super_L'" b:7 + Release But as the horizontal scroll ...
0
votes
0answers
38 views

How to remap mouse key long-press event to something else?

I followed this for remapping my mouse extra buttons. I am looking for adding long-press actions to the extra buttons while single-click action is also active. I use this functionality on Windows ...
0
votes
0answers
93 views

xbindkeys and xte

I want a VR remote to work as a presentation remote. The Page Down key works, but I need to map one of the controller buttons to be Page Up. My xbindkeysrc file havs this role: "xte 'key Prior'" ...
1
vote
0answers
106 views

How to bind all functions of 'Shift' button to another one?

I have a keyboard with broken Shift button, but I have some additional buttons like Mail, Home etc. I want to make my Mail button as Shift button (because I have used Windows and software for my ...
1
vote
0answers
430 views

How to mimic Menu key using xte?

My laptop is woefully missing the Menu key, but I have some extra buttons on my mouse so I hoped to map one of them to the missing Menu key - as explained in several answers on AskUbuntu, for example ...
0
votes
1answer
314 views

Xbindkeys does not trigger some keys when keyboard layout changes

I use xbindkeys to map some mouse buttons with keys. However, when I change the keyboard layout, xbindkeys does not simulate some assigned keys on the new layout. When I change to the previous layout,...
13
votes
3answers
4k views

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. ...
4
votes
1answer
914 views

'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 ...
15
votes
5answers
8k views

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' '...
29
votes
5answers
39k views

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.
2
votes
1answer
374 views

Remap menu key to delta (Δ)?

I'm using Xubuntu 14.04. My keyboard is a Belgian AZERTY. I never use my menu key, and I use the delta sign a lot. I'm not willing to switch keyboard layouts to Greek, as the delta is the only thing I ...
7
votes
1answer
2k views

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. ...
8
votes
4answers
4k views

Is there a way to send the switch windows signal without “Alt-Tab”?

I'm trying to bind a switch window button on my mouse into Ubuntu. Currently I'm trying to do it with xbindkeys and xte, but do this in .xbindkeysrc only outputs a Tab and doesn't switch windows. ...
0
votes
1answer
181 views

How do I use xte to bind next/previous to my mouse?

I know how to use xbindkeys, but I don't know what is the xte command for previous/next, when I want to bind my extra mouse buttons to navigate nautilus/web browser to go 1 step back or 1 step forward....
6
votes
3answers
17k views

Close active window from terminal

Do you know how to do it? I know how to do it from my keyboard (Alt+F4), I know how to do it with my mouse (click that X), and I also know that kill X should kill the process with the id X (and ...
3
votes
1answer
5k views

How to emulate Fn (function key) keypress in xte

xte is part of the xautomation package. After hours of man page reading and looking for documentation or working examples, I still cannot get xte to emulate a Fn-F7 keypress. xte 'keydown Meta_L' '...