You are not logged in.

#1 2009-09-11 10:20:34

pivonroll
Member
Registered: 2009-04-24
Posts: 30

Cairo-dock and KDE 4 Lancelot launcher

Ok, i have searched on the internet for a guide to put KDE4 lancelot launcher in cairo-dock panel. Since i haven't found one i decidet to go and figure it out myself. And SUCCESS, i'v got it.
First of all, for those who don't know KDE now use dbus instead of dcop, which they used in KDE3.
Now, this is how i have done it:
1. i made a little application launcher, that runs command lancelot.
Source code for this application launcher:

[Desktop Entry]
Comment[en_US]=
Comment=
Exec=lancelot
GenericName[en_US]=
GenericName=
Icon=exec
MimeType=
Name[en_US]=Lancelot
Name=Lancelot
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

I named it lancelot, and i putted it in my Autostart folder, eg. ~/.kdemod4/Autostart
I also set up execution permissions for this application launcher.

2.
Now i added new manual launcher in cairo-dock, and in command to launch on click field i typed:
qdbus org.kde.lancelot /MainApplication org.kde.lancelot.App.show 10 150
The numbers 10 150 are x and y coordinates where launcher should appear on the desktop.

Enjoy smile

All rights are NOT reserved smile

Offline

Board footer

Powered by FluxBB