[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: access to local media on thin clients



On Fri, Feb 24, 2012 at 04:45:49PM +0100, Petter Reinholdtsen wrote:
> 
> [Wolfgang Schweer]
> > Instead of XDG_DATA_DIRS one could check DESKTOP_SESSION which is set
> > to (case sensitive) gnome, kde, LXDE respectively.
> 
> Why do you believe this is better?  

DESKTOP_SESSION is present for all three, allows to distinguish.

> What is the content of XDG_DATA_DIRS in a LXDE session?

XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
 
> > It might then be possible to bring up the default LXDE file manager
> > pcmanfm if running LXDE on thin clients. I failed to code that :(
> > Seems to be some problem concerning $2 if several cases have to be
> > checked.
> 
> It would still be possible.  We could just see which program is
> installed and use pcmanfm if it is installed.

The intention was to use the LXDE specific file manager
 
> PS: Did you make a screen cast of your favorite application yet, ref
>   <URL: http://lists.debian.org/debian-edu/2012/02/msg00214.html >? :)

scheduled ;)

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: