You are not logged in.
Is there any way to make, say, control send a command like "escape" when pressed a single time IN ADDITION to all of its other functions? I cannot figure out how to make single pressed modifiers in linux send unique actions. Any advice?
Offline
What context are you trying to bind in? WM shortcuts? Xlib? XCB?
Offline
Just glancing over the xmodmap manual, it appears you can use the keysym option to map the same key to multiple actions.
EXAMPLE: xmodmap -e "keysym Alt_L = Meta_L Alt_L"
Offline
The idea is to take a key, say Control, and make it BOTH at the same time:
1. A modifier Key
2. An action key
For example: if I press control a single time, it acts as an escape key by sending the "escape" action. If I press control + C, it might copy text while not sending an escape command.
You can certainly do this in windows, but I can't find ANY way to do this in linux!
Offline