-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (16) . 

ksuperkey

   0.3  

KDE Improvement

Score 81%
ksuperkey
zoom


Version Control:  Link
Blog:  http://blog.hanschen.org
Downloads:  3638
Submitted:  Oct 8 2012
Updated:  Jan 26 2013

Description:

ksuperkey allows you to open the application launcher in KDE Plasma Desktop using the Super key (also known as the 'Windows key'). Unlike other solutions, it will not affect your current keyboard shortcuts, as the Super key will still act as a modifier when held down.

ksuperkey is a fork of xcape (https://github.com/alols/xcape), most of the work was done by the original author Albin Olsson.

Installation

Packages for distributions are provided by third party, I take no responsibility for their contents.

1. Install dependencies. On Ubuntu:

sudo apt-get install gcc make libx11-dev libxtst-dev pkg-config

On some system you'll also have to install the build-essential package.

2. Download Source and extract the tar.gz file (using e.g. Ark).

3. Go to the newly extracted directory called ksuperkey, open a terminal (press F4 in Dolphin), and run:

make


3. Launch ksuperkey:

./ksuperkey

or by clicking on its icon. ksuperkey will run in the background.

4. Try to press the left Super key. If the application launcher does not show up, make sure that its shortcut is set to Alt+F1:
right click on the application launcher icon -> Application Launcher Settings -> Keyboard Shortcut.

5. (optionally) Make ksuperkey autostart in System Settings -> Startup and Shutdown -> Autostart -> Add Program... -> Browse button -> select the ksuperkey application.

Change mapping

If you do not like the default mapping (Super_L to Alt+F1), you can tell ksuperkey to use another mapping. The syntax is as follows:

ksuperkey -e 'ModKey=Key[|OtherKey][;NextExpression]'

Looks complicated? Do not worry, it really is not. Let us look at some examples:

Make Super key open KRunner (Alt+F2)

ksuperkey -e 'Super_L=Alt_L|F2'

We have more modifier keys on our keyboard, why not use them?

ksuperkey -e 'Control_L=Alt_L|F1;Super_L=Alt_L|F2;Shift_L=Control_L|S'

This makes the left Ctrl key generate Alt+F1 (application launcher), left Super generate Alt+F2 (KRunner), and left Shift generate Ctrl+S (save the current document) when pressed and released on their own.

Autostart

If you want to add your custom mapping to Autostart:

1. Follow the instructions in 4. under Installation.
2. When you see the dialog with the tabs (General, Permissions, Application, etc.), click on the Application tab.
3. Add the -e option to the Command field. It could look something like this:

/home/myname/ksuperkey/ksuperkey -e 'Super_L=Alt_L|F2'

Troubleshooting

1. ksuperkey does not work.

Make sure that ksuperkey is running (use e.g. the system monitor, Ctrl+Escape) and that it is running only once.

Also check that the keyboard shortcut for the application launcher is set to Alt+F1, see 4. under Installation.

Finally, make sure you do not remap the Super (Win) key, for example in System Settings -> Input Devices -> Keyboard -> Advanced or by using xmodmap.

2. When I try to change the mapping, I get 'command not found: ksuperkey'

When following the installation instructions above, kusperkey will not be installed to $PATH. This means that your shell does not know where to find ksuperkey. Therefore you have to specify the full path to the executable, e.g.

~/ksuperkey/ksuperkey -e 'Super_L=Alt_L|F2'

3. I remap my keys (e.g. using xmodmap) and ksuperkey does not behave as I want it to.

Try to restart ksuperkey every time after doing the remapping. Also make sure that the key you send has a defined keycode.

4. When I type 'make' I get "xcape.c:22:20: fatal error: stdlib.h: No such file or directory"

You need to install the build-essential package, e.g.

sudo apt-get install build-essential

Tips

You no longer have to bind Alt+F1 to the thing you want ksuperkey to trigger, since you can easily change the mapping! (See "Change mapping" section above.)

For more options, see included README.md or the Github page: https://github.com/hanschen/ksuperkey

Contact

Please post issues to Github:
https://github.com/hanschen/ksuperkey/issues

I will try to answer questions here.




Changelog:

0.3
- XKeycodeToKeysym has been deprecated, use XkbKeycodeToKeysym instead. [upstream]

0.2
- It is now possible to define your own mappings (e.g. Super_L to Alt+F2) without editing the source code. [upstream]

0.1
- Initial release




LicenseGPL
Source(ksuperkey-0.3)
Arch(AUR)
Send to a friend
Subscribe
Other  Artwork  from Mogger
Report inappropriate content



goto page:  1  2  3  4  5 

-
.

 Outstanding

 
 by Contrast on: Oct 8 2012
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Sep 22 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

I really like this. I had seen a how-to for making the Super key open the launcher, but it had the caveat of making it no longer work as a modifier key. This is much better, great job!


Reply to this

-
.

 Re: Outstanding

 
 by Mogger on: Oct 8 2012
 
Score 50%

Thanks, nice to hear that it's working well!


Reply to this

-

 Greate little applet..

 
 by lnxusr on: Oct 8 2012
 
Score 50%

I like this. It's definitely something I'll be using from now on and have it set to start on login. Is there any way to make it hide the menu and return focus to where it was before pressing the Super key on a secondary pressing? This will make it easier to return to where you were in case of accidental pressing.


Reply to this

-

 Re: Greate little applet..

 
 by Mogger on: Oct 8 2012
 
Score 50%

> Is there any way to make it hide the menu and return focus to where it was before pressing the Super key on a secondary pressing?

What happens if you press Super the second time? For me it hides the menu and returns focus, as expected. I guess it could depend on your KDE Workspace version (I'm running 4.9.2).

ksuperkey itself only binds pressing Super to Alt+F1, how the secondary press is handled is up to the application launcher. :)


Reply to this

-

 Re: Re: Greate little applet..

 
 by lnxusr on: Oct 9 2012
 
Score 50%

> What happens if you press Super the second time? For me it hides the menu and returns focus, as expected.

Nothing happens. The menu stays visible with focus. The only way I can hide it is to click the mouse in the window I want to have focus.

> I guess it could depend on your KDE Workspace version (I'm running 4.9.2).

I too am on 4.9.2. OpenSuse 12.2, but the base OS shouldn't have any effect. Is there a KDE setting somewhere for this that may be defaulted differently between OpenSuse and the other dists?


Reply to this

-

 Re: Re: Re: Greate little applet..

 
 by Mogger on: Oct 9 2012
 
Score 50%

Hm, that sounds strange. Which application launcher do you use - Kickoff, the traditional one, or something else? I don't think there's an option that controls this.

Does pressing Alt+F1 again close the menu?


Reply to this

-

 Re: Re: Re: Re: Greate little applet..

 
 by lnxusr on: Oct 9 2012
 
Score 50%

Ahh.. That's it. I do use the default menu, but in "Classic Menu Stile". If I switch back to "Application Launcher Style", it hides on the second press.


Reply to this

-

 Re: Re: Re: Re: Re: Greate little applet..

 
 by Mogger on: Oct 9 2012
 
Score 50%

In that case I recommend that you file a bug report for the traditional menu at http://bugs.kde.org. I believe that you can also mark it as an extra mile bug: http://community.kde.org/Getinvolved/Extra_Mile


Reply to this

-

 Re: Re: Re: Re: Re: Re: Greate little applet..

 
 by lnxusr on: Oct 9 2012
 
Score 50%

Done, I think. I really hate KDE's bug traking system. It's confusing as hell, and I'm never sure where to report things or if I'm reporting on the right app/module or whatever. That and very little ever seems to be done with them.



-

 Re: Re: Greate little applet..

 
 by lnxusr on: Oct 9 2012
 
Score 50%

Oops. Forget to mention the escape key will hide it and return focus to where it was. I guess I can use that method if nothing else.


Reply to this

-

 KSuperKey

 
 by grajesh on: Oct 9 2012
 
Score 50%

Excellent. Can you make it as a simple plasmoid? Using win/super key as in gnome-shell is my dream. The best thing I like in gnome-shell (I'm a KDE user) is the best use of super key. KDE can think something like that for KDE5 - No key is wasted in keyboard then :)


Reply to this

-

 Re: KSuperKey

 
 by Mogger on: Oct 9 2012
 
Score 50%

I think this approach is better since it's more general - you can use it for any plasmoid, or, in fact, any action. Also I'm not really interested in putting more work in it since I don't use it myself.


Reply to this

-

 Uploaded to CCR

 
 by FraMari on: Oct 9 2012
 
Score 50%

Hi!
I uploaded this package to the CCR (Chakra Community Repository).
Thanks a lot!


Reply to this

-

 Uploaded to CCR

 
 by FraMari on: Oct 9 2012
 
Score 50%

Hi!
I uploaded this package to the CCR (Chakra Community Repository).http://chakra-linux.org/ccr/packages.php?ID=4464
Thanks a lot!


Reply to this

-

 Re: Uploaded to CCR

 
 by Mogger on: Oct 9 2012
 
Score 50%

Nice, thanks for adding it to CCR! I've updated the page with a link to your package.


Reply to this

-
.

 Arch package

 
 by Mogger on: Oct 10 2012
 
Score 50%

Added link to AUR for Arch Linux users.


Reply to this

-

 Re: Arch package

 
 by svah4cky0 on: Oct 10 2012
 
Score 50%
svah4cky0svah4cky0
Valley Force Corp's
Home
-
Agus Winata 0

Valley Force Corp's
Indonesia, Surabaya
Last visit Jan 4 2013
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Thanks man


Am I not good enough for you?
Reply to this

goto page:  1  2  3  4  5 

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.