ubuntu 下PDA同步解决(SynCE, OpenSync)

来自官方说明
由好心人翻译




How-To: Set up and use Synce

it has been requested quite a few times around the forum, i know i wish i could have found one a while ago, so here we go, the wonderful world of Synce...

*NOTE/DISCLAIMER:*
Synce is NOT my project, i do NOT promise it will work, and should your machine explode, i take no responsibility (ok, fine, i take the responsibility to laugh )
be careful with synce, it can erase your entire PocketPC.... i would suggest using the builtin backup tool and saving the backup somewhere safe!
credit to:
Synce site
Storm of UbuntuForums (i used his howto for some of the linking stuff...)


alright onward and upward....

first we need to find out where your pocketpc is in dev...thanks again to storm for this part...

with your device unpluged type

Code:
ls /dev > /tmp/before

then plugin your device and type

Code:
ls /dev > /tmp/after
diff /tmp/before /tmp/after

hopefully it shows
ttyUSB0 (just remember wat this is!)

#如果你只是想知道怎么作可以实现同步,上面的部分可以不用操作,直接执行下面的CODE内容即可

then, you need a bunch of packages that are in the repository...
you can use synaptic, but im gonna write for apt-get

Code:
sudo apt-get install synce-dccm
sudo apt-get install synce-kde
sudo apt-get install synce-serial

(note: this guide is written for Gnome, but uses the synce-kde package... it works fine for me)
you need all the librarys that come with them...
also, this is an optional step if you wanna try and synce your PIM data with evolution (i have yet to be able to do this...partially from lack of trying tho...)

Code:
sudo apt-get install multisync
sudo apt-get install synce-multisync-plugin

there is a howto on wat to do with multisync here

while installing synce-serial a config window will pop-up, check the options, default usually works fine...put in wat we found out earlier here (ttyUSB0 for me)


next you need to download and install these debs...

Code:
wget http://kuci.org/~teddy/ubuntu/synce-gnomevfs_0.9.0-2_i386.deb
wget http://kuci.org/~teddy/ubuntu/synce-software-manager_0.9.0-2_i386.deb
wget http://kuci.org/~teddy/ubuntu/synce-trayicon_0.9.0-2_i386.deb

then

Code:
sudo dpkg -i synce-gnomevfs_0.9.0-2_i386.deb
sudo dpkg -i synce-software-manager_0.9.0-2_i386.deb
sudo dpkg -i synce-trayicon_0.9.0-2_i386.deb

we need a link here just to get it all to work...

Code:
sudo ln -s /usr/lib/libgtop-2.0.so.5 /usr/lib/libgtop-2.0.so.2

#这一步是可能出问题的地方,先作个标记,后面解决

run these commands

Code:
synce-trayicon
dccm
sudo synce-serial-config ttyUSB0 (REMEMBER TO PUT IN WAT YOU NEED HERE)
sudo synce-serial-start

now in your tray icon, u should see a synce icon... right click/explorer

tada! all done!

(you can now remove the debs u got from wget...)


questions, comments, patches, etc etc etc.... lemme know!

-Trab #作者名

如果执行了上面的命令,无法实现你的同步,或者在你执行命令

synce-trayicon


时出现这样的错误:
synce-trayicon: error while loading shared libraries: libgtop-2.0.so.2: cannot open shared object file: No such file or directory

此时你可以打开目录/usr/lib,检查下里面是否存在libgtop-2.0.so.5,出现上面的问题的原因是不存在libgtop-2.0.so.5,所以libgtop-2.0.so.2与它的关联也无法建立

你可以在检查下目录下是否有其他libgtop-2.0.so.X的文件(X为其他数字),我这里是libgtop-2.0.so.7

所以你可以输入命令

sudo rm /usr/lib/libgtop-2.0.so.2
sudo ln -s /usr/lib/libgtop-2.0.so.7 /usr/lib/libgtop-2.0.so.2


再执行

synce-trayicon
dccm
sudo synce-serial-config ttyUSB0 (REMEMBER TO PUT IN WAT YOU NEED HERE)
sudo synce-serial-start


这样在桌面的右上方就可以出现可爱的PDA图标了,右击explore with filemanager可以打开PDA文件目录

也祝你好运!

原文地址:https://www.cnblogs.com/dartagnan/p/2003553.html