Active Topics

 



Notices


Reply
Thread Tools
Bundyo's Avatar
Posts: 4,506 | Thanked: 3,870 times | Joined on Oct 2007 @ Bulgaria
#1
Decided this needs its own thread, so here it goes:

Quick (or not so) compiled (and refreshed, so the previous users please redownload it) Unison 2.27.57 for Maemo - works, program menu item added. Requires ssh or rsh to run via network, the remote computer should also have the same version of Unison installed (most distrbutions have this one (the latest stable) on some repo). Also has local synchronization.

First check the site here:
http://www.cis.upenn.edu/~bcpierce/unison/

Configuration goes like this: Start unison, it will ask you for local directory to sync, after that for remote directory and method to sync to. You will also need an user name and you can configure passwordless connection the usual way (just remember that you start Unison as user on the tablet, so you need to generate the key for the maemo user and add it on your linux machine authorized_keys for the user you connect with). You can also configure directly the Unison profiles for more advanced options. The Unison documentation can be found here:
http://www.cis.upenn.edu/~bcpierce/u...on-manual.html

Screenshot of a configured two way sync between N800 and my Eee. Tested, works quite fast.


GTK version /can work like console version too/:
http://www.bundyo.org/maemo/unison/u...57-2_armel.deb
1.6mb/4.5mb

You can also install it from qole's repository, see this post:
http://internettablettalk.com/forums...946#post270946

Have fun

I want to clarify that I won't try to hildonize it. It is written in OCaml/LablGTK and if some OCaml god steps forward, ports the hildon libs and hildonizes it - please be welcome.

Console version, if someone wants just that, but it isn't very small too:
http://www.bundyo.org/maemo/unison/u...57-2_armel.deb
1.3mb/?
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2009-03-11 at 23:54.
 

The Following 11 Users Say Thank You to Bundyo For This Useful Post:
Posts: 4,556 | Thanked: 1,622 times | Joined on Dec 2007
#2
Hmm, when you click on the shortcut for it, it won't launch. But it launches fine in terminal. Now getting it to work on the other hand. >.<Seems it won't recognize the ssh connection even though it's already been setup for using keys.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 

The Following User Says Thank You to Laughing Man For This Useful Post:
Bundyo's Avatar
Posts: 4,506 | Thanked: 3,870 times | Joined on Oct 2007 @ Bulgaria
#3
How do you launch it? What you get if you run start-unison from terminal? What do you mean by an already setup ssh connection?
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 81 | Thanked: 8 times | Joined on Nov 2007
#4
If you run /usr/bin/unison-latest-stable-gtk it will launch. It starts on my N810 after I have created a symbolic link in /usr/bin:
Code:
cd /usr/bin
ln -s unison-latest-stable-gtk unison
 
Bundyo's Avatar
Posts: 4,506 | Thanked: 3,870 times | Joined on Oct 2007 @ Bulgaria
#5
Will fix later today.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,809 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#6
This is definitely something to go into Extras when it is stable. Thanks, Bundyo!
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 4,556 | Thanked: 1,622 times | Joined on Dec 2007
#7
Originally Posted by Bundyo View Post
How do you launch it? What you get if you run start-unison from terminal? What do you mean by an already setup ssh connection?
If I run start-unison from the terminal it says that /usr/bin/unison is not found. But I can link it myself. What I mean by SSH is that my laptop is an SSH client, I have OpenSSH server running on my tablet and I say up key authentication (so I don't have to type a password to connect). But if I use unison on my laptop and set it up to ssh to my tablet it doesn't seem to connect (says can't find server or disconnected). But I can access it through regular SSH, or mounting it, etc..etc..
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 

The Following User Says Thank You to Laughing Man For This Useful Post:
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,210 times | Joined on Jul 2008 @ Netherlands
#8
Cool port. Great alternative for rsync or lower layer solutions like ZFS/ODS!

You can also run Unison on the other computer instead. It runs on Linux, MacOSX, Windows, and Solaris. Be careful on OSX; there is also a Usenet reader called Unison for OSX. It is interesting what gives a better performance; running Unison local or running Unison remote?

Compliment it with SSHFS/SMBFS to access files you only want to access over network connection instead of copying. You can even use it to synchronize settings of applications or make sure N8x0-related files on your desktop or server get copied to the NIT. For example you place new backgrounds in ~/n8x0/backgrounds and they get auto available on your NIT.

However because there is no master/slave this can be difficult. What happens when there are changes in the same file on both computers? It has to merge them; this can create trouble, and often requires manual intervention.

Last, I wonder about the impact on performance. Using SSH for this on a embedded device is probably a resource hog.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 

The Following User Says Thank You to allnameswereout For This Useful Post:
Bundyo's Avatar
Posts: 4,506 | Thanked: 3,870 times | Joined on Oct 2007 @ Bulgaria
#9
You can specify in the profile either a program to merge specific files with it or a direction for unconditional copy. There are more complicated rules to do the syncing, too bad they can't be controlled from the GUI. Then again you will seldom need to change them more than once if you plan carefully.

The impact on performance is serious since it employs several processes to do the copying. However many changes are seldom if you sync often and it is fast with the default settings.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Bundyo's Avatar
Posts: 4,506 | Thanked: 3,870 times | Joined on Oct 2007 @ Bulgaria
#10
Fixed the symlinks and reuploaded the package.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:30.