From kde-devel Sat Jun 18 09:39:26 2011 From: Francesco Nwokeka Date: Sat, 18 Jun 2011 09:39:26 +0000 To: kde-devel Subject: Re: Can't add .desktop file to KDM Message-Id: <201106181139.26279.francesco.nwokeka () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=130838986316768 On Friday 17 June 2011 22:21:35 karan pratap singh wrote: > On Sat, Jun 18, 2011 at 1:46 AM, Viranch Mehta wrote: > > On Thu, Jun 16, 2011 at 8:59 PM, Francesco Nwokeka < > > > > francesco.nwokeka@gmail.com> wrote: > >> this is what my "kde-trunk.desktop" file has inside: > >> > >> [Desktop Entry] > >> Encoding=UTF-8 > >> Type=XSession > >> Exec=/home/z3r0/KDE-Trunk/kde-trunk-install/bin/startkde > >> TryExec=/home/z3r0/KDE-Trunk/kde-trunk-install/bin/startkde > >> Name=KDE-trunk > >> Comment=KDE trunk version > >> > >> One, you need to source the bashrc before invoking startkde (perhaps, > > > > create a shell script that does this and calls startkde, and call this > > script in Exec=). But this is after you figure out why the entry is not > > showing up in KDM. Ideally, it should show up. > > The above same lines work excellently for me! I did not source the > .bashrc... > > >> I have this file in: > >> ~ /usr/share/apps/kdm/sessions > >> ~ /usr/share/xsessions/ > >> > >> Probably try putting the file ONLY in /usr/share/xsessions. KDM may be > > > > getting confused seeing identical .desktops at 2 different places. But > > not sure this would work. Also give it a shot by removing the TryExec= > > line. > > +1 Removing the line "TryExec" worked for me. I don't know why this happens. All the other desktop files have it. Anyway thanks guys. Francesco >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<