Hi
Just earlier a user encountered an issue with xdg-settings, which
would complain about an unknown desktop environment. Looked in the
code and sure enough, it hard-checks for $XDG_CURRENT_DESKTOP and
actually only implements kde, gnome and xfce. All other DEs are
implemented
On 06/01/2015 04:21 AM, Jerome Leclanche wrote:
Hi
Just earlier a user encountered an issue with xdg-settings, which
would complain about an unknown desktop environment. Looked in the
code and sure enough, it hard-checks for $XDG_CURRENT_DESKTOP and
actually only implements kde, gnome
On 07/14/2011 11:36 AM, Michael Terry wrote:
Hello! I've seen the idea of a XDG_CURRENT_DESKTOP environment
variable tossed around a few times on this mailing list, but I don't
see it in any spec.
So XFCE and LXDE are already using it, xdg-utils wants to use it, and
Unity provides a use
On Thu, 2011-07-14 at 11:36 -0400, Michael Terry wrote:
Hello! I've seen the idea of a XDG_CURRENT_DESKTOP environment variable
tossed around a few times on this mailing list, but I don't see it in
any spec.
Historically, most desktop file parsing libraries were tightly tied
On 07/19/2011 09:08 AM, Michael Terry wrote:
On 07/14/2011 11:36 AM, Michael Terry wrote:
Hello! I've seen the idea of a XDG_CURRENT_DESKTOP environment variable
tossed around a few times on this mailing list, but I don't see it in any
spec.
So XFCE and LXDE are already using it, xdg
On 07/19/2011 09:38 AM, Marty Jack wrote:
Without loss of generality the Exec key can point to a script that sets any
environment variable one might want. There is no chance of convincing all DMs
to upgrade to do this based on a new key in the XSession file, nor is this
special purpose
PCMan wrote:
Another user of this is xdg-utils. With this environment variable, all
dirty code for desktop detection can be removed from xdg-utils.
Yay, I'll be happy to incorporate this into xdg-utils, provided someone
tells me the values to check for each DE.
respond here, file a bug, mail
Hello! I've seen the idea of a XDG_CURRENT_DESKTOP environment variable
tossed around a few times on this mailing list, but I don't see it in
any spec.
Historically, most desktop file parsing libraries were tightly tied to a
desktop and were able to assume which XDG desktop they were in (e.g
On Thu, 2011-07-14 at 11:36 -0400, Michael Terry wrote:
Hello! I've seen the idea of a XDG_CURRENT_DESKTOP environment variable
tossed around a few times on this mailing list, but I don't see it in
any spec.
Historically, most desktop file parsing libraries were tightly tied
On 07/14/2011 11:42 AM, Bastien Nocera wrote:
What's the use for this when you could add a set_desktop_name()
function in the front-end that uses that library? Is it of any use
apart from libgnome-menus?
Well, say there's an app FooBar that uses libgnome-menus. How does
FooBar know which
On Thu, 2011-07-14 at 11:46 -0400, Michael Terry wrote:
On 07/14/2011 11:42 AM, Bastien Nocera wrote:
What's the use for this when you could add a set_desktop_name()
function in the front-end that uses that library? Is it of any use
apart from libgnome-menus?
Well, say there's an app
On 07/14/2011 11:53 AM, Bastien Nocera wrote:
Application FooBar being?
Off the top of my head, gnome-session-properties, gnome-control-center,
and alacarte are all cross-desktop apps that would have an interest in
knowing the desktop name to control desktop file parsing.
And those are
In Xfce XDG_CURRENT_DESKTOP is already used in a number of places as
an override for the default XFCE for {Only,Not}ShowIn. An example can
be found here [1]. The main purpose in our cases are mostly to make
the various parts of Xfce easier to use in other environments.
I think no library should
DE.
Since desktop entry spec is used extensively nowadays, even in other
specs such as menu and autostart specs, it's important to have a
common, easy, and reliable way to check current DE.
We already implemented support for this environment variable in our LXDE.
When XDG_CURRENT_DESKTOP=GNOME, we
'
behaviour changes, but that's more of a complaint against
XDG_CURRENT_DESKTOP than against OnlyShowIn=Unity
I'm unsure why you object. It seem to be something that's generally
useful for applications to know. For instance if they wanted to have a
configuration check box for Show on Plasma
of a complaint against
XDG_CURRENT_DESKTOP than against OnlyShowIn=Unity
I'm unsure why you object. It seem to be something that's generally
useful for applications to know. For instance if they wanted to have a
configuration check box for Show on Plasma Desktop or Show in
Messaging Tray or something like
16 matches
Mail list logo