[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:       karan pratap singh <wizard.karan () gmail ! com>
Date:       2011-06-17 20:33:35
Message-ID: BANLkTiko5MAobdZ3Xz7F-pXAyQ4LFD09jw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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



-- 
regards,
Karan Pratap Singh
IRC nick: kps_foo

[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">On Sat, Jun 18, 2011 at 1:46 AM, Viranch Mehta <span \
dir="ltr">&lt;<a href="mailto:viranch.mehta@gmail.com">viranch.mehta@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;"> <div dir="ltr"><br><br><div class="gmail_quote"><div \
class="im">On Thu, Jun 16, 2011 at 8:59 PM, Francesco Nwokeka <span dir="ltr">&lt;<a \
href="mailto:francesco.nwokeka@gmail.com" \
target="_blank">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><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><div><br>The \
above same lines work excellently for me! I did not source the .bashrc...<br> \
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: \
1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div dir="ltr"><div \
class="gmail_quote"><div class="im"> <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><div>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></div></blockquote><div><br>+1<br><br><br><br></div></div>-- \
<br>regards,<br>Karan Pratap Singh<br>IRC nick: kps_foo<br>



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