Registered Member
|
Now, since Unity 2D (built with Qt 4.7) makes use of the meta key as a stand-alone-key as well as a modifier key, there seems to be a way to do this with Qt. So, providing both ways of using meta key, there should't be any conflicts with users' habits or workflows. |
|
a) patch Qt
b) install a native X event filter (per application and if done w/o actually knowing what one does, great source of trouble) c) map the meta key to a non modifier No idea what ubuntu did, but it's one of those as it's necessary to fire key release events for modifiers if there was no second key clicked and it's also necessary to act on the release, what shortcuts in general do not - you maybe have noticed such difference? |
Registered Member
|
Given the absolute mess that Microsoft has made of Windows 8 (and the mess with Unity and Gnomeshell) KDE has a massive opportunity here to exploit this and syphon over masses of Windows users. I know that the mantra is that "KDE is not Windows" (indeed, it is better), but we must acknowledge the reality that if KDE is to grow and have a long-term future closer to the mainstream at any time, then growth can only come dominantly from Windows users. Therefore, KDE should be going out of our way to make the transition from Windows as smooth as possible, and if that means going to a lot of hassle to implement some of Windows' better features (and I believe the Windows way to be better in this case), then so be it. (I'd also argue for aligning more keyboard shortcuts towards the Windows way in addition to this).
As for those stating that the super key needs to be a modifier, well Windows already uses the super key as a modifier for many window operations (and as others have stated, so does Gnomeshell), so I can't see how it is a problem to act both as a modifier and as an individual key at the same time. We must strike while the iron is hot! This may seem like a minor issue to some, but in terms of user experience it is quite major. This feature should be given the up-most priority ahead of the Windows 8 launch. |
Registered Member
|
I would prefer the super key would load Krunner.
markum, proud to be a member of KDE forums since 2008-Nov.
|
Registered Member
|
what about making it
Super L + Super R would that work ? what is the menu short cut any how 90% of the time my mouse does not load first time and I have to drop back to terminal Ctrl+function key and Ctrl + C and run startx again |
Registered Member
|
I fail to see why this is a problem at all.
To bind meta by itself, one binds a press and release of meta as a standalone key, but when held, and pressed in combination with another key, it should act as a modifier. Isn't that simple and easy to implement? I mean, surely qt has means by which one can address keypress and keyrelease. (I would use it to launch krunner, due to loving unity's dash, but wanting something more powerful, though.) |
Registered Member
|
When I saw this thread i create account here to share my solution
Simply add to your session: xmodmap -e 'keycode 133 = F13' This makes new F13 key redirection from meta. Then use new F13 key to create shortcut to Krunner or Takeoff for example. PS. Sorry for bad english...I'm really exhausted today. |
Registered Member
|
Sorry, but as discussed above, that disables the modifier behaviour of the meta key. What is desired is the ability to use it as *both* a standalone key, and a modifier, as is done in Unity, Unity2D and windows. |
Registered Member
|
Maybe try this:
(define (define-chord-keys key1 key2 cmd-k1 cmd-k2 cmd-k1-k2 cmd-k2-k1) "Define chording keys" (let ((k1 #f) (k2 #f)) (xbindkey-function key1 (lambda () (set! k1 #t))) (xbindkey-function key2 (lambda () (set! k2 #t))) (xbindkey-function (cons 'release key1) (lambda () (if (and k1 k2) (run-command cmd-k1-k2) (if k1 (run-command cmd-k1))) (set! k1 #f) (set! k2 #f))) (xbindkey-function (cons 'release key2) (lambda () (if (and k1 k2) (run-command cmd-k2-k1) (if k2 (run-command cmd-k2))) (set! k1 #f) (set! k2 #f))))) From: http://www.nongnu.org/xbindkeys/xbindkeysrc.scm.html I'm not sure if this works, but i think it should. |
Registered Member
|
I am waiting for this feature for years. I think it will be great helper for Windows user to use KDE. GNOME Shell and Unity ahead leading. WIN key is very useful for frequent tasks. I vote + for this.
|
KDE Developer
|
Exacty what I had in mind. I even wonder, if this is ever done, why not do it with all the modified keys? (Shift, Ctrl, etc.) |
Administrator
|
As far as I know it is possible - I believe Unity uses it like that, and KDE3 as well if I remember correctly. The problem is that this is rather "hacky" as the Super key is a modifier key, or can be remapped to a regular key, not both. According to earlier comments Qt doesn't support such keys. Since many seem to want this I can try to hack something together.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Administrator
|
Introducing ksuperkey
Since this seems like a popular request, I hacked together something that should give you what you want:
Download is available here: http://kde-apps.org/content/show.php?content=154569
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Manager
|
has any tried this?
http://kde-apps.org/content/show.php/ks ... b872c4ed80
|
Registered Member
|
ksuperkey works for me, thank you.
For lazy Kubuntu 12.04 users on x86, here's DEB package for it created by me. (It adds ksuperkey to autostart, too.) |
Registered users: Bing [Bot], Evergrowing, Google [Bot]