rewriting local apps menu code
Vagrant Cascadian <[email protected]>
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
so, finishing what gadi started, i've got a bzr branch which handles
LOCAL_APPS_MENU stuff a little differently...
bzr get http://llama.freegeek.org/~vagrant/bzr/ltsp/ltsp-genmenu
the main difference is, rather than using ~/.local/ directories and tweaking
files in the user's home directory, it generates a temporary directory and sets
XDG_DATA_DIRS, which is a list of directories to search for menu and icon
related entries:
http://standards.freedesktop.org/basedir-spec/basedir-spec-0.5.html
as i read it, it shouldn't interfere with customizations made in the user's
home directory, though if programs (or distros) are relying on setting
XDG_DATA_DIRS with custom paths, we might run into trouble with that.
the code is actually a good deal simpler by doing it this way, since we don't
have to back up and restore user customizations. and it only affects the given
login session, so if a user has an unexpected logout, it won't break future
sessions by leaving cruft in the home dir.
should i merge it? :)
live well,
vagrant
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net