Tag Archives: Gnome

Cloud Sync with SparkleShare

For a long time I’ve been looking for some piece of software that keeps important documents synchronized between my different operating systems. As those are pretty private documents (contracts, banking stuff, …) I’d like to store them encrypted in the cloud and ideally in a self chosen place.

Long time I used TeamDrive for that, but I always got a bad feeling about that. New clients could only be invited by other clients and not through the server. So if my Notebook with all the clients would die, I would have been lost the documents, though they’re still on some server.

After another search I now found SparkleShare. It’s developed by some Gnome members (as far as I know) and therefore most likely supported a bit longer than some small StartUp Software.
At the server side you only need some Git space as provided by GitHub, Bitbucket or your own server.
At the client side you get packages for all the desktop OSs. I don’t know if mobile clients are a target, but they weren’t in my scope anyway.
To synchronize you just create a git project at the server, link the SparkleShare client to it and put your data into the folder in your client. The client software of SparkleShare will then keep the project synced automatically.
You can also declare a encrypted project, where the files are encrypted by a self chosen password on the client side and also stored in git encrypted. Since the merging algorithm of git won’t work with those encrypted files, you need to merge them manually. I’ll need to see how complicated that will be.

You’ll find the installation instructions on the projects page. I won’t write it down here as it’s pretty simple.

Building Gnome with Arch Linux

So this post describes how I built the latest Gnome under ArchLinux.I pretty much followed the Guide by the gnome-love team and just write here what’s different.

The first thing you need to do is installing python2 and set it as default python library as described here. And of course you need to install other missing dependencies. jhbuild will still say that python2 is not found, so any build needs to be done with the –nodeps flag.
In addition to all the information you got from the official guide, I also added these lines to .jhbuildrc,

os.environ['PYTHON'] = '/usr/bin/python2'
addpath('PYTHONPATH', '/usr/lib/python2.7/site-packages')
addpath('PYTHONPATH', os.path.join(prefix, 'lib/python2.7/site-packages'))

but I’m not sure if these solved the errors I got before. At least they don’t seem to hurt 🙂
Several other errors could be solved with installing missing dependencies or via distclean.

In some modules I had to edit the configure.ac file and replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS, but aclocal or autoconf is telling you that. Arch seems to have a newer version than the one used by most developers.

What was left was a vala compile error in the module dconf (atm I added this to ignore in .jhbuildrc). Here is the build log: http://pastebin.com/fxMk2wAg

A last tip. If you get an error look for the first error message. Fixing it often fixes the following ones.
If you have any questions don’t hestitate to ask. But better go to #gnome-love IRC. They are probably smarter than me.

Starting Gnome Development

After finishing my studies, I hopefully have more time to do various things I already wanted to start for some time. One of those is contributing to some Open Source Software. Since I like Gnome (for the most part) and see the dynamics of the project I chose that big piece of free software.

Installing Arch Linux

The first thing we need to be able to start hacking is a linux distribution including some up-to-date development libraries. Since I didn’t have luck wih Ubuntu and it screws up anyway in anything that has something to do with Gnome lately, I decided to give Arch Linux a try. It got a good reputation lately by Gnome people and linux humans in general and being a rolling release distribution makes upgrades to the latest versions easier.

I have to admit that I was a bit afraid cause people say arch is hard to install and configure but in the end it was pretty easy and straight forward. The hardest thing was to configure Gnomes NetworkManager. Here is what I did:

  1. Follow the Beginner’s Guide to install the basic System. (Tip print it or write down the important commands).
  2. After restarting and the creation of a new user and installing X-Server (as described in the guide above and linked references) you need to install Gnome.
    I followed this guide. Make sure to also install GDM and enable it in systemd.
    After a restart you should be able to use the gnome desktop.
  3. Within Gnome you can configure you wifi connection with the appropiate commands from the beginners guide but it’s of course nicer to use Gnomes NetworkManager.
    Follow this guide. I also needed some tries cause I mixed up all the enabling and disabling of systemd services and network adapters. So better read twice.

In the end that was it. After the installation of packagekit I had a GUI to install any Software I needed. The next big thing is to understand those AUR stuff which seems pretty nice.

At the moment I try to install the latest Gnome. A next post will show its success hopefully.