Showing posts with label synchronise. Show all posts
Showing posts with label synchronise. Show all posts

Friday, August 25, 2017

Ubuntu Tip How To Synchronise Gnote Between PCs

Ubuntu Tip How To Synchronise Gnote Between PCs


In the great Tomboy vs Gnote debate one of the trump cards Tomboy has is its ability to synchronise its database of notes with other PCs. Not that it was ever a feature that worked brilliantly. However none the less it was a feature I used and the only reason I continued using Tomboy over Gnote.

How stupid I was?

Ubuntu as many Ubuntu users will know comes with a "cloud" service called Ubuntu One. Which while isnt that great provides us with the basic inspiration for what were about to do. You see Canonical in their great wisdom decided it would be a great idea to integrate Tomboy with Ubuntu One. Fine. Excellent. If it works. It did for a time for me. Then sort of went a bit crappy. However there are more mature "cloud services" available for synchronising files between two PCs. And that incidentally is all Tomboys synchronisation feature does so far as I can see. It simply copies files that have been created or changed recently to the PC that doesnt have the new version.

You see all of the notes you create in Tomboy or Gnote are stored in individual XML formatted files. And the Linux file system has a crafty little feature called symbolic links. Combine this with a service like Ubuntu One or Dropbox and all our notes are synchronised automagically so long as we have an active web connection.

Prerequisites:
  1. Tomboy or Gnote. I recommend Gnote. Its lighter and faster than Tomboy.
  2. Ubuntu One, Dropbox or similar service. I would recommend Dropbox.
Setup:
  1. Creat a new folder for yout notes in your Ubuntu One or Dropbox folder.
  2. Copy your existing notes to the folder you just created in your Ubuntu One or Dropbox folder. Tomboy notes can be found in /home/your-user-name/.local/share/tomboy. Gnote notes can be found in /home/your-user-name/.gnote.
  3. Replace the Tomboy or Gnote folder with a symbolic link. Open a terminal window and enter the following command adjust for your own PC;
    ln -vsf Dropbox/gnote /home/your-user-name/.gnote
  4. Repeat steps 1 and 3 on the second, third, fourth, etc PC.
NOTES:
  1. Its best to have Tomboy or Gnote already setup and working before you attempt this.
  2. Its also better to avoid using hidden directories with Dropbox. They dont work very well in my experience.
  3. If youre using Tomboy but would like to switch to Gnote thats not a problem. Gnote is a native Linux implementation of Tomboy that is free of all Mono dependencies. Both applications use exactly the same data file formats and both offer almost exactly the same feature set. So all you need to do is copy the Tomboy files to your Gnote folder.

download file now

Read more »

Saturday, August 12, 2017

Ubuntu synchronise Google calendar and contacts and view edit google drive files with GNOME applications

Ubuntu synchronise Google calendar and contacts and view edit google drive files with GNOME applications


If you are using Ubuntu 16.04 then you can easily integrate Google apps experiences into your Ubuntu Desktop by using GNOME desktop applications. Which means you can easily view and edit your Google account calendars and contacts books right from your Ubuntu desktop without needing to open-up a web browser and sign-in to google account every-time you have to amend something.

Now fire up a terminal and put the following command into to install GNOME control center, Calendar, and Contact applications and GNOME online accounts package:


sudo apt-get install gnome-control-center gnome-contacts gnome-calendar gnome-online-accounts


If everything is installed properly, you should be able to find corresponding applications icons into Dash applications tab. Now, in the Dash search for Settings icon and click to launch All Settings window like shown below:





Now goto Online Accounts and click on the plus sign which will open Add Account dialog. Select Google and sign into your google account. Finally, click Allow button to give GNOME applications access to your Google services. Now you should see which Google services will be synchronised with the GNOME applications like shown below:





From here you can easily toggle the services you do not like to be synchronised with the Desktop applications. Turn on Calender, Contacts and Files which will in turn let you access Google Calender, Contacts and Drive from GNOME Calender, Contacts and File applications.


Accessing Google Calendar:


Search for Calendar icon in the Dash and open it. Click on the Manage your Calendar icon and select Calendar Settings from the popup menu. Now in the Calendar Settings dialog window click add button and select from web if your Google account calendars are not showing in the Calendars list like shown below:









Every time you change calendars you have to click Synchronize from the GNOME Calender application.


Accessing Google Contacts


Search for Contacts icon in the Dash and open it. From Change Address Book dialog window select your Google account, like shown below:





The application will automatically synchronise your contacts upon change.


Accessing Google Drive files:


When you open Nautilus file manager (GNOME Files), you should be able to see your Google account email with other storage drives like shown below:





With GNOME Files, you will be able to access Google Drive files just like any other local disk partitions. To reflect any changes to the Google Drive do not forget to Unmount from the GNOME Files application.

download file now

Read more »