[Pkg-ltsp-devel] Bug#575031: Bug#575031: ltspfs: issue KDE popups

Vagrant Cascadian vagrant at freegeek.org
Fri Jun 25 17:34:42 UTC 2010


On Thu, Jun 24, 2010 at 11:15:20AM +0200, Petter Reinholdtsen wrote:
> [Vagrant Cascadian]
> > this is definitely worth including the the examples section... though it might
> > just be seen as noise for a gnome install, so i'm not sure it should be
> > installed by default.
> 
> I tested it on KDE, and it work there too.  I believe it should be
> enabled by default to improve the ltspfs user experience a lot.

sure.
 
> What about dynamically detect a Gnome session, and not send any
> notifications there?

all you have to do is detect a gnome session... :)
 
> I looked at a Gnome session on Ubuntu/Lucid to try to figure out how
> to detect a Gnome session, and some of these environment variables can
> probably be used:
> 
> root at gnome-desktop:~# cat /proc/4408/environ |tr "\0" "\n"|sort|grep -i gnome|grep -vi keyring
> DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
> DESKTOP_SESSION=gnome
> GDMSESSION=gnome
> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
> XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
> XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
> root at susanoo:~#
... 
> Perhaps the DESKTOP_SESSION variable is a good choice?

DESKTOP_SESSION isn't set from an LDM session, and given that's the primary
use-case for LTSPFS, and that LDM would only be able to set that if the user
manually selected the session, either from the LDM user interface or from
~/.dmrc, i don't think this is a viable option...

from an LTSP thin client on Debian Squeeze:

  env | grep -i gnome
  GTK_RC_FILES=/etc/gtk/gtkrc:/home/ltsp/.gtkrc-1.2-gnome2                                                                                          
  GNOME_KEYRING_CONTROL=/tmp/keyring-qbnkKI                                                                                                         
  GNOME_DESKTOP_SESSION_ID=this-is-deprecated                                                                                                       
  XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/           

much less to go on.

i also suspect that many of the other variables tend to change a lot between
GNOME releases, so i'd want to know that the environment variables would remain
consistant for a while, and preferrably work across distros...

live well,
  vagrant





More information about the Pkg-ltsp-devel mailing list