Snapper GUI is a great program and one you absolutely need if you are using Snapper on a desktop. Snapper is a program that helps manage snapshots on the btrfs filesystem. This quick guide will go over how to install it on Ubuntu.

Run the following in a terminal.
First install the packages you will need to run:
sudo apt-get install python3 libgtksourceview-3.0-1 python3 python3-dbus python3-setuptools git
Then clone the snapper-gui GIT repo somewhere:
git clone --depth=1 https://github.com/ricardomv/snapper-gui.git
cd into the snapper-gui folder GIT created and run:
sudo python3 setup.py install
Now run the program:
snapper-gui
If you haven’t made a config with snapper first run:
snapper create-config /
Advertisements
Thanks for the manual, on Kubuntu 14.10 it successfully installs, but won’t run, here is command line output:
——————-
$ snapper-gui
(snappergui:26544): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:59:16: Theming engine ‘adwaita’ not found
(snappergui:26544): Gtk-WARNING **: Child name ‘root’ not found in GtkStack
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/snappergui-0.1-py3.4.egg/snappergui/application.py”, line 58, in do_activate
File “/usr/local/lib/python3.4/dist-packages/snappergui-0.1-py3.4.egg/snappergui/mainWindow.py”, line 59, in __init__
KeyError: ‘root’
——————-
After this nothing shows on GUI screen. What can I do for fix this problem?
Looks like it wants the adwaita gui theme.
This might be a bit late but you need to create the root config with snapper create-config /
same issue on Xubuntu 15.10. Also, had to install gir1.2-gtksource-3.0, though that wasn’t listed as a requirement.
Thank you Lana, it worked!
(snappergui:7058): Gtk-WARNING **: Child name ‘root’ not found in GtkStack
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/snappergui-0.1-py3.4.egg/snappergui/application.py”, line 58, in do_activate
File “/usr/local/lib/python3.4/dist-packages/snappergui-0.1-py3.4.egg/snappergui/mainWindow.py”, line 59, in __init__
KeyError: ‘root’
Oh, I see:
# TODO do not hardcode to root configuration
self.statusbar.push(5,”%d snapshots”% self.configView[“root”].count)