On Thursday 03 of November 2005 23:03, Andreas Pakulat wrote:
> Hi,
>
> I created a shell script in my $HOME/bin to start kdevelop for
> Qt4-development and then I created a .desktop-file from the
> kdevelop-desktop file to launch this script. The .desktop file is as
> follows:
>
> [Desktop Entry]
> Encoding=UTF-8
> Type=Application
> Exec=kdevelop-qt4
> MimeType=application/x-kdevelop;
> Icon=kdevelop
> DocPath=kdevelop/index.html
> Terminal=false
> Name=KDevelop: Multilanguage
> GenericName=IDE
> X-DCOP-ServiceType=Multi


Just a guess, but I think this ^^^^^^ is the problem.

> Categories=Qt;KDE;Development;IDE;X-KDE-KDevelopIDE;
>
> Then using the khotkeys kcontrol-module I created a hotkey and told it
> to use the desktop-file to start my kdevelop-qt4 script. However when I
> use the hotkey and later close kdevelop I get a message box saying
>
> "kdeinit could not start "kdevelop-qt4""
>
> The script kdevelop-qt4 looks like this:
>
> andreas@morpheus:~>cat bin/kdevelop-qt4
> export QTDIR=/usr/share/qt4
> export PATH=/usr/share/qt4/bin:$PATH
> kdevelop
>
> Running the script from a shell is ok, running the script directly
> instead of with the desktop-file. The hotkey using the original
> kdevelop-desktop-file works with no message-box upon closing..
>
> Anybody got a hint why this happens?
>
> Andreas


--
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<