lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.28k stars 161 forks source link

Hotkey to pass through bound-keys to other applications? #112

Open pik opened 9 years ago

pik commented 9 years ago

I don't know if its odd, but I still use a lot of terminal programs rather than their GUI equivalents many of which have non-mappable functionality for example on the F keys. Tilda I use far more often than alsamixer f2 or the like, so it makes sense for Tilda to take up the primary keybinding space. While it's possible to script a modifier key to pass through keybinds using Xlib Xtest I found the result to be very inconsistent (XTestFakeKeyEvent also doesn't appear to support modifier masks), Tilda will still grab the default keys, so for example to pass through a key through Tilda to the application with Ctrl + Hotkey but have Hotkey be grabbed by Tilda as usual: I remapped Tilda F1-F3 to Ctrl-Alt-F1-F3, run a script to grab F1-F3 and send it as Ctrl-Alt-F1-F3, grab Ctrl-F1-F3 and send it as F1-F3 etc.

I was wondering whether a reasonable feature would be a Tilda Hotkey to pass through keys normally captured by Tilda to other applications?

logenkain commented 9 years ago

On Sat, Dec 27, 2014 at 10:38:15AM -0800, pik wrote:

I don't know if its odd, but I still use a lot of terminal programs rather than their GUI equivalents. If it's odd, then I'm odd with you. I run mostly terminal applications myself.

I remapped Tilda F1-F3 to Ctrl-Alt-F1-F3 If I understand correctly you are refering to the hotkeys for changeing tabs.

I just use " + /" to move tabs as nothing else I use seems to need that combo, and simply map all the other shortcuts to something meaningless. Alternatively using screen or tmux may be a solution if you have a lot of tabs.

Tilda Hotkey to pass through keys normally captured by Tilda to other applications? So basically a hotkey to turn all other tilda hotkeys on/off? That would actually be a really cool feature and I second this request.

pik commented 9 years ago

@logenkain I can think of three ways of doing it (in terms of different workflows):

pik commented 9 years ago

@lanoxx Do you have any thoughts on this?