-
 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:  4003
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: prev   1  2  3  4  5 

-

 Yeah, at last!

 
 by Gyges on: May 10 2013
 
Score 50%

Thank you so much for your effort! Especially for doing it without using it yourself, you're my Foss hero of the day!
Compiles and works great on Sabayon, just had to install pkg-config before.


Reply to this

-
.

 Re: Yeah, at last!

 
 by Mogger on: May 10 2013
 
Score 50%

Thanks for your kind comment!


Reply to this

-
.

 Awesome tool!

 
 by Qwerty9362 on: Jun 21 2013
 
Score 50%

This is the only way that I've found to map the meta key to the KMenu without disallowing the use of meta as a modifier, and it works great on Kubuntu 13.04. :)


Reply to this

-

 Re: Awesome tool!

 
 by Mogger on: Jul 24 2013
 
Score 50%

Glad to hear that it works well for you!


Reply to this

-
.

 ksuperkey PPA for Ubuntu and Kubuntu

 
 by Murz on: Jul 2 2013
 
Score 63%
MurzMurz
Qseo.ru
Home
-
Alexey Korepov 1

Qseo.ru
Russian Federation, Nizhniy Novgorod
Last visit Nov 7 2014
0 Friends
0 Groups

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

For quick install on Ubuntu and Kubuntu you can use this PPA: https://launchpad.net/~mehanik/+archive/ksuperkey

Install via commands:
sudo add-apt-repository ppa:mehanik/ksuperkey
sudo apt-get update
sudo apt-get install ksuperkey


Reply to this

-

 Re: ksuperkey PPA for Ubuntu and Kubuntu

 
 by Mogger on: Jul 24 2013
 
Score 50%

Cool, thanks for packaging it.


Reply to this

-

 Re: ksuperkey PPA for Ubuntu and Kubuntu

 
 by Longstreet on: Sep 6 2013
 
Score 50%

Running Mint 15 w/KDE, and this worked great. Thanks!


Reply to this

-
.

 ksuperkey not work when Meta is mapped to Win keys

 
 by Murz on: Jul 2 2013
 
Score 50%
MurzMurz
Qseo.ru
Home
-
Alexey Korepov 1

Qseo.ru
Russian Federation, Nizhniy Novgorod
Last visit Nov 7 2014
0 Friends
0 Groups

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

I have found other problem, ksuperkey may not work when in KDE on System Settings / Keyboard / Advanced in group Alt/Win behavior this item is selected:
Meta is mapped to Win keys

If I remove this checkbox, all works well.


Reply to this

-

 Re: ksuperkey not work when Meta is mapped to Win

 
 by Mogger on: Jul 24 2013
 
Score 50%

That's a good point. I've added it under "Troubleshooting" on the KDE-apps page.


Reply to this

-
.

 How get key name from code

 
 by Murz on: Jul 20 2013
 
Score 50%
MurzMurz
Qseo.ru
Home
-
Alexey Korepov 1

Qseo.ru
Russian Federation, Nizhniy Novgorod
Last visit Nov 7 2014
0 Friends
0 Groups

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

I want to setup FN key on my Lenovo notebook. When I start ksuperkey -d, it shows:
Intercepted key event 2, key code 151
Intercepted key event 3, key code 151

But in ksuperkey I must setup key name, not code.
How I can get key name from code?
If you know solution, please update FAQ for your app.


Reply to this

-

 Re: How get key name from code

 
 by Mogger on: Jul 24 2013
 
Score 50%

The README.md states:
"The list of key names is found in the header file `X11/keysymdef.h`
(remove the `XK_` prefix)."

The file is usually found in /usr/include/X11/keysymdef.h. I didn't include it on the KDE-apps page since I thought it was too complicated for most users.

You can also try the newest version on Github, which allows you to specify the keycode instead using #. Example:

ksuperkey -e '#151=Alt_L|F1'

With that said, the Fn key is a bit special (I didn't expect it to send a KeyPress event at all) and this solution seems to only work occasionally on my ThinkPad. Hope you have better luck!

I'll release a new version and update this page when I can find some time.


Reply to this

-
.

 Re: Re: How get key name from code

 
 by Murz on: Jul 26 2013
 
Score 50%
MurzMurz
Qseo.ru
Home
-
Alexey Korepov 1

Qseo.ru
Russian Federation, Nizhniy Novgorod
Last visit Nov 7 2014
0 Friends
0 Groups

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

Thanks, I have find the name for this key - in my system Ubuntu 13.04 Lenovo FN button detected as XF86WakeUp.

But it is not want to work as modifier key, I can't bind any hotkey combination with it.
For example, when I do:
xmodmap -e "keycode 151 = Meta_L"

pressing FN send the Meta_L keypress, but when I try to press FN+S, it shows only FN keypress.

How can I solve this problem? Maybe I must convert this key to "modifier key type" via some command?


Reply to this

-

 Re: Re: Re: How get key name from code

 
 by Mogger on: Jul 30 2013
 
Score 50%

Yes, I believe you have to add it as a modifier. Run "xmodmap" first to see your current modifiers. Then you want to do something like "xmodmap -e 'add mod1 = Alt_L Meta_L'".

But as mentioned the Fn key is a bit special (as far as I know, it usually works at the hardware level) so I don't know how well it'll work as a modifier.


Reply to this

-
.

 Ubuntu Download Broken

 
 by ign0tus on: Aug 29 2013
 
Score 50%
ign0tusign0tus
-
matt crib 0

United States of America, Knoxville
Last visit Aug 29 2013
0 Friends
0 Groups

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

When I click on the Ubuntu download, I'm taken to a 404 page. I was able to install via the ppa:mehanik/ksuperkey though. However, after I finally got it set up, when I press the WinKey, it shows the KMenu just briefly. It flashes on-screen and disappears. If I press Alt+F1 the menu pops up correctly. Not sure what the deal is. I'll try rebooting. Kubuntu 13.04 x64.


Reply to this

-
.

 Re: Ubuntu Download Broken

 
 by ign0tus on: Aug 29 2013
 
Score 50%
ign0tusign0tus
-
matt crib 0

United States of America, Knoxville
Last visit Aug 29 2013
0 Friends
0 Groups

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

I don't see a way to edit my previous post. Just wanted to say that rebooting fixed my issue.


Reply to this

-
.

 Re: Ubuntu Download Broken

 
 by Mogger on: Aug 29 2013
 
Score 50%

Thanks for letting me know about the broken link, I've removed it for the time being. I'll update the description with information about how to install on different distros when I upload the 0.4 version.

The issue with a flashing menu was likely caused by running two instances of ksuperkey, so it would send Alt+F1 Alt+F1 and cause the menu to open and close. Will add that to the FAQ.


Reply to this

goto page: prev   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.