This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Lancelot plux xmodmap

Tags: None
(comma "," separated)
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

Lancelot plux xmodmap

Sun Oct 11, 2009 10:50 pm
I must be missing something...

I've been trying to setup the windows-menu key to bring up Lancelot (not the ordinary windows-logo one - AKA as meta, I mean the one with the picture of a menu+pointer).

I have

keycode 117 = F14

in my .xmodmap file, and am launching xmodmap using a bash-script in ~/.kde4/Autostart.

Lancelot recognizes the key when using the "Configure shortcuts" menu, but it doesn't bring up the interface when hitting that key. If I configure it in "Global keyboard shortcuts" I can make the key bring up the interface but only screen-centered. I would like the interface to show up under they icon (I have in a panel on the top), just as if I had clicked the icon.

Is that possible? If so, how? It does work using kickoff, but I very much prefer Lancelot.

Any ideas?


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: Lancelot plux xmodmap  Topic is solved

Mon Oct 12, 2009 8:19 am
It is the default behaviour to show L centered when invoked by a shortcut.

You can achieve the thing you want by a small work-around:
1. Open System Settings
2. Computer Administration -> Input actions
3. Create a new action named Lancelot (or something)
4. Set the key, and set the action command to:
qdbus org.kde.lancelot /Lancelot show 1440 900

(replace the 1440 900 with the coordinates of your corner)

Cheerio!


Image
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

Re: Lancelot plux xmodmap

Mon Oct 12, 2009 1:57 pm
Ah, yes. That worked! Only question is...why didn't I think of that myself...?


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: Lancelot plux xmodmap

Mon Oct 12, 2009 3:46 pm
Glad to help :)
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: Lancelot plux xmodmap

Sat Jan 16, 2010 10:30 am
Just an addition for the "open lancelot where icon in panel is" - now, if you want to do this, you just need to right-click the lancelot's icon in the panel -> choose Lancelot Launcher Settings -> Keyboard Shortcut -> and choose the key you want to use to invoke L.


Image


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft