Um das Tool Google Photos Backup auch unter Ubuntu 16.04 (Xenial) nutzen zu können, waren die Hinweise bezüglich der Authentifizierung sehr hilfreich. Außerdem habe ich die mit dem Betriebssystem gelieferte Wine Version gegen eine neuere Version nach dieser Anleitung ausgetauscht. Für den Fall, dass die Links ungültig werden, hier eine Zusammenfassung der Schritte:
Installing WineHQ packages
If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts.
If your system is 64 bit, enable 32 bit architecture (if you haven't already):
sudo dpkg --add-architecture i386
Add the repository:
sudo add-apt-repository ppa:wine/wine-builds
Update packages:
sudo apt-get update
Then install (example for the development branch):
sudo apt-get install --install-recommends winehq-devel
If you prefer to use the Staging branch, replace `winehq-devel` with `winehq-staging` in the line above.
If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).
If you have previously used the distro packages, you will notice some differences in the WineHQ ones:
- Files are installed to /opt/wine-devel.
- Menu items are not created for Wine's builtin programs (winecfg, etc.), and if you are upgrading from a distro package that had added them, they will be removed. You can recreate them yourself using your menu editor
Installation von Google Photos Backup
Installation des Tools in Wine über die
gpautobackup_setup.exe
Nach der Installation dann die erwähnten Registryänderungen:
Registry Export und Import
Von meiner vorhandenen Windowsinstallation habe ich die Windows-Registry-Einträge aus dem Knoten
HKEY_CURRENT_USER\Software\Google\Picasa\Picasa2\Preferences
exportiert:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Google\Picasa\Picasa2\Preferences] "GoogleOAuth"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,\ xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx "GoogleOAuthEmail"="
Beim Exportieren des Knotens fehlte auf meiner Windows Installation der RegDWord-Wert
GoogleOAuthVersion
Nach dem Aufruf von regedit auf dem Linuxsystem, habe ich nach dem Importieren der Keys diesen von Hand ergänzt.
Anschließend konnte ich das Tool wie gewohnt starten und die zu synchronisierenden Ordner konfigurieren.