[Surfraw-devel] per-user elvi and xdg config dirs
Ian Beckwith
ianb at erislabs.net
Sun Oct 25 16:21:51 UTC 2009
Hi,
I'm still horribly busy, things will hopefully calm down soon, but I
found time to apply James' per-user elvi patch and implement the XDG
basedir spec.
I wasn't 100% sure about whether to implement the XDG stuff,
but as I wanted to move the per-user config into a subdir anyway,
it seemed best to do it now rather than potentially have an
extra change in the future.
See the ChangeLog, README and
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
for more info, but briefly, if no $XDG_CONFIG_* environment variables
are set, global config is now in @sysconfdir@/xdg/surfraw/ (where
@sysconfdir@ is usually /etc/ or /usr/local/etc) and local config is in
~/.config/surfraw/, so with a typical config:
Global config files:
/etc/xdg/surfraw/conf
/etc/xdg/surfraw/bookmarks
Local config files:
~/.config/surfraw/conf
~/.config/surfraw/bookmarks
and local elvi in:
~/.config/surfraw/elvi/*
Ian.
--
Ian Beckwith - ianb at erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5 4814 40EC C154 A8BA C1EA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 237 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/surfraw-devel/attachments/20091025/579005d9/attachment.pgp>
More information about the Surfraw-devel
mailing list