storing full paths in configuration
- From: Havoc Pennington <hp redhat com>
- To: desktop-devel-list gnome org
- Subject: storing full paths in configuration
- Date: Wed, 7 May 2003 18:45:06 -0400
Hi,
It's a bad idea to put the full path to the user's homedir in
configuration files, because the user may use the same homedir
with multiple machines (different nfs mountpoints etc)
A quick grep of gconftool-2 -R / reveals:
/apps/gthumb/general:
startup_location =
catalog:///home/devel/hp/.gnome2/gthumb/collections/Command Line.gqv
/apps/gnomechat/identity:
photo = /home/devel/hp/.gnome/photo
/apps/epiphany/directories:
downloading = /home/devel/hp
/apps/panel/profiles/default/objects/0t1042494582ut679501u2379p8004r1608175216k3221218252:
launcher_location = file:///home/devel/hp/.gnome2/panel2.d/default/launchers/hammer-001ea70be8.desktop
Also rumor has it that Evolution does this.
It would be better to store ~ and then expand it on demand.
This is the kind of thing that should really be in some kind of test
plan for each GNOME release.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]