[Portland-bugs] [Bug 63157] New: Improvement of detecting KDE session
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 5 03:31:31 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=63157
Priority: medium
Bug ID: 63157
Assignee: portland-bugs at lists.freedesktop.org
Summary: Improvement of detecting KDE session
Severity: normal
Classification: Unclassified
OS: All
Reporter: qcxhome at gmail.com
Hardware: Other
Status: NEW
Version: unspecified
Component: xdg-utils
Product: Portland
I see that xdg-utils detects whether a KDE session is running by checking the
equivlent between KDE_FULL_SESSION and true in every xdg-* utility. According
to what a document in KDE's techbase describes, it'd better check whether
KDE_FULL_SESSION is an empty string instead of a true value.
So, in each detectDE function in every xdg-* utility, following modification is
better and stable for KDE's future possible change to variable
KDE_FULL_SESSION.
if [ x"$KDE_FULL_SESSION" != x"" ]; then DE=kde;
Ref:
http://techbase.kde.org/KDE_System_Administration/Environment_Variables#KDE_FULL_SESSION
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20130405/21aeddbe/attachment.html>
More information about the Portland-bugs
mailing list