Query regarding GDMSESSION and DESKTOP_SESSION
Thiago Macieira
thiago at kde.org
Thu Jun 9 17:41:49 BST 2005
Yash Kumar Gupta wrote:
>I wanted to know regarding two environment variables GDMSESSION and
> DESKTOP_SESSION. According to documentation, GDMSESSION should contain
> value as basename of .desktop (without extension). DESKTOP_SESSION is
> also set to this value. I had following questions on it:
First of all, I think you've got the wrong list. Try the kde-linux mailing
list, or general Linux discussion one.
>1) Do these variables are set for all flavours of linux like red-hat,
> suse etc. ?
No, most surely not. They will only be set if the user logged in via gdm.
If he logged in via console, or xdm or kdm, it won't be set.
>2) I am using these variables to find out which is the current active
> desktop. Based on that , I need to take decision whether to launch
> nautilus or konqueror. Is there any other better way of finding out the
> current active desktop which is valid for all flavours of linux ?
Not that I know of.
--
Thiago Macieira - thiago (AT) macieira (DOT) info
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
4. And æfter se scieppend ingelogode, he wrát "cenn", ac eala! se
rihtendgesamnung andswarode "cenn: ne wát hú cennan 'eall'. Ástynt."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050609/ef2f9265/attachment.sig>
More information about the kfm-devel
mailing list