[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Can't add .desktop file to KDM
From:       Francesco Nwokeka <francesco.nwokeka () gmail ! com>
Date:       2011-06-18 9:39:26
Message-ID: 201106181139.26279.francesco.nwokeka () gmail ! com
[Download RAW message or body]

On Friday 17 June 2011 22:21:35 karan pratap singh wrote:
> On Sat, Jun 18, 2011 at 1:46 AM, Viranch Mehta <viranch.mehta@gmail.com>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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic