Dienstag, 14. Juli 2009

GnomeDesktop in Bewegung: Einstellungen auf ein anderes System übernehmen


Gnome speichert die meisten Einstellungen in einigen versteckten Verzeichnissen und Dateien ab:


Tabelle A-1Verborgene Ordner in den persönlichen Ordnern der Benutzer
Ordner Beschreibung
.config This is the default location for the environment variable XDG_CONFIG_HOME, if it is not set. User defined menus can be created at menus/applications.menu.
.fonts Contains fonts specific to a particular user. When a user installs a font by dragging it to the fonts:/// URI in nautilus, it is copied to this location.
.esd_auth

Contains the authentication cookie for the GNOME sound daemon. The GNOME sound daemon is the Enlightened Sound Daemon (ESD).

NOTE: This is a file, not a directory.

.gconf Contains the GConf configuration source for the user. When the user sets a preference, the new preference information is added to this location.
.gconfd

Contains the following GConf daemon details:

  • Configuration information.
  • Lock information for objects that are referenced by an Interoperable Object Reference (IOR).
  • State information for objects that are referenced by an IOR.
.gnome

Contains user-specific application data that is not stored in the GConf repository.

NOTE: this directory is deprecated and is only used by GNOME 1.x applications.

.gnome2

Contains user-specific application data that is not stored in the GConf repository. For example, this directory contains the following:

  • Keyboard shortcut information.
  • Informationen zum Ort des Fensters.
  • Desktop entry files for panel launchers.

Dieser Ordner kann auch Unterordner enthalten, die anwendungsbezogene Daten speichern.

.gnome2-private Ignore this directory. This directory has no function at the time of publication of this guide.
.local/share This is the default location for the environment variable XDG_DATA_HOME, if it is not set. User defined desktop entries can be created in the subdirectory applications. User defined mime types can be created in mime/packages/Overrides.xml.
.metacity Contains session data for the Metacity window manager.
.nautilus

Contains file manager data that is specific to the user. For example, this directory can contain the following:

  • Metadaten für die Ordner, mit denen der Benutzer arbeitet.
  • Durch den Benutzer hinzugefügte Nautilus-Embleme.
  • Nautilus desktop images.
.themes Contains controls theme options, window frame theme options, and icons theme options that the user adds. The user can add themes from the Theme preference tool.
.thumbnails Contains image thumbnails for the user. The image thumbnails are used in the file manager. The file manager contains a preference that the user can select to stop generation of thumbnail images.

Quelle: http://library.gnome.org/admin/system-admin-guide/stable/appendixa-0.html.de

Mittels
~> tar cvfz Mein_Desktop.tar.gz .themes/ .thumbnails/ .nautilus/ .metacity/ .local/ .gnome2-private/ .gnome2/ .gconfd/ .gconf/ .esd_auth/ .fonts/ .config/

kann man nun bequem ein Backup anlegen und wegspeichern.

Und mittels
~> tar xvfz -C $HOME Mein_Desktop.tar.gz

Aussehen und Verhalten des alten Desktops wiederherstellen. Klappt aber nur hundertprozentig wenn man auch die gleiche Paketauswahl wie beim Quellsystem hat.

Ein kleineres Shellscript dafür kann man sich natürlich auch schreiben. ;)

Ich hoffe Sie wurden geholfen.

Keine Kommentare:

Kommentar veröffentlichen

Hinweis: Nur ein Mitglied dieses Blogs kann Kommentare posten.