Questions regarding xte - and fake input using the XTest extension

learn more… | top users | synonyms

1
vote
0answers
18 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
0answers
24 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 ...
4
votes
2answers
288 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. ...
1
vote
1answer
173 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. ...
6
votes
4answers
2k 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' ...
8
votes
2answers
7k 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.
1
vote
1answer
137 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 ...
3
votes
1answer
636 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. ...
4
votes
3answers
1k 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
127 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 ...
6
votes
2answers
6k 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 ...
2
votes
1answer
2k 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' ...