smashgen / superswitcher

Automatically exported from code.google.com/p/superswitcher
GNU General Public License v2.0
0 stars 0 forks source link

Don't be that invasive with key handling #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It's not possible to use the super-key for anything else while
superswitcher is running. Perhaps there should be a way to enable or
disable features like the keyword-matching or have something like a trigger
to initiate it but I'd like to stay with super+b for my browser, super+i
for gaim...

Another possiblity would be to make at least the super-key changeable to
e.g. super+alt or super+ctrl or whatever...

Original issue reported on code.google.com by masterof...@gmail.com on 2 Jan 2007 at 8:15

GoogleCodeExporter commented 8 years ago
I just committed revision 15, which might provide a workaround to your problem. 
 The
new thing is that there's a --only-trigger-on-caps-lock (or -C for short) 
option that
uses *only* the CapsLock key to switch.  This is opposed to the
--also-trigger-on-caps-lock option which uses *both* CapsLock and Super.

Thus, if you run superswitcher -C, then you should be able to keep using Super 
for
your other shortcuts.  Let me know if this doesn't work.

Admittedly, this isn't perfect, but I don't know of a perfect solution.  The 
launcher
shortcuts are handled by something like metacity or gnome-settings-daemon or who
knows what else, but it's not superswitcher.  I'm not sure if it's possible to 
make
the two play nice, especially if, at the time you hit the Super key but before 
you
hit *either* b for your browser, or Tab to switch windows, it's not clear which
process should receive the "Super key was hit" event.

I would love to be proved wrong, however.  Patches accepted.  :-)

Also, Super-Alt and Super-Ctrl are already used to mean something different from
plain Super when using the left/right or F1/F2/... keys, for example.

Original comment by nigel.ta...@gmail.com on 6 Jan 2007 at 12:55

GoogleCodeExporter commented 8 years ago
CapsLock as an alternative? - There are people really using it... ;-)
I will look at it and try to find a solution as soon as I have some sparetime...

But in the meantime thanks for your wonderful program (and especially the idea 
to
write it)

Original comment by masterof...@gmail.com on 19 Jan 2007 at 8:51