Linux

Installing Snapper-GUI on Ubuntu: A GUI for BTRFS Snapshots

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.

Snapper-GUI on Ubuntu
Snapper-GUI 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 /

Now that you have it installed you can use apt-btrfs-snapper to take a snapper snapshot every time you do an apt-get transaction.

Advertisements

7 thoughts on “Installing Snapper-GUI on Ubuntu: A GUI for BTRFS Snapshots

  1. 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?

  2. (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’

  3. Oh, I see:
    # TODO do not hardcode to root configuration
    self.statusbar.push(5,”%d snapshots”% self.configView[“root”].count)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s