[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:       Viranch Mehta <viranch.mehta () gmail ! com>
Date:       2011-06-17 20:28:54
Message-ID: BANLkTikHXw=2yK7ShxcjgLhP7qvwQOSCtQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.


>
> 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.

Cheers,
Viranch

[Attachment #5 (text/html)]

<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Jun 16, 2011 at 8:59 PM, \
Francesco Nwokeka <span dir="ltr">&lt;<a \
href="mailto:francesco.nwokeka@gmail.com">francesco.nwokeka@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <br>
this is what my &quot;kde-trunk.desktop&quot; file has inside:<br>
<br>
[Desktop Entry]<br>
Encoding=UTF-8<br>
Type=XSession<br>
Exec=/home/z3r0/KDE-Trunk/kde-trunk-install/bin/startkde<br>
TryExec=/home/z3r0/KDE-Trunk/kde-trunk-install/bin/startkde<br>
Name=KDE-trunk<br>
Comment=KDE trunk version<br>
<br></blockquote><div>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.</div> <div> </div><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <br>
I have this file in:<br>
~ /usr/share/apps/kdm/sessions<br>
~ /usr/share/xsessions/<br>
<br></blockquote><div><meta http-equiv="content-type" content="text/html; \
charset=utf-8">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.</div> \
<div><br></div><div>Cheers,</div><div>Viranch</div><div><br></div></div></div>



>> 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