LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2068|回复: 13

Archlinux下装Dropbox

[复制链接]
发表于 2009-7-1 00:41:12 | 显示全部楼层 |阅读模式
折腾了几个小时终于把Dropbox装上了,在这分享下安装心得。在Window和OSX下安装dropbox都是非常容易的,装好就可以用不需要设置,但是在linux下要稍微麻烦点,官方只提供了Ubuntu和Fedora的安装包和源代码包,而没提供Archlinux的安装包,好在国外的Archer已经做好了放在AUR上,我们只需要用yaoart这个软件就能轻松搞定:

# yaoart nautilus-dropbox

然后根据提示进行安装就OK了.装完后输入:

# dropbox start

系统会提示:

Starting Dropbox...
The dropbox daemon is not installed!
Run with -i to install the daemon

继续输入 dropbox start -i来安装daemon

如果在X环境下会出现一个图形化的安装工具,如果在命令行就只是基本下载进度。

装完后如果在X下直接运行dropbox会出现一个很长的错误信息..记不到了就不列了。
我的解决办法是在X运行前先执行dropboxd:

编辑~/.xinitrc文件:
在exec xfce4-session(PS:我用的xfce4)前加入

exec ~/.dropbox-dist/dropboxd&

保存!

在命令行执行startx后会首先出现dropbox的登录界面,你只需要输入账号和密码登录即可,到这里基本上dropbox就算安装成功了。



发表于 2009-7-1 01:25:16 | 显示全部楼层
原来是分享阿,支持,写的还不错
回复 支持 反对

使用道具 举报

发表于 2009-7-1 01:44:50 | 显示全部楼层
我支持安装dropbox
但是一台电脑上能正常运行 ,另一台这运行出错
  1. $ -> /opt/dropbox/dropbox
  2. The program 'dropbox' received an X Window System error.
  3. This probably reflects a bug in the program.
  4. The error was 'BadIDChoice (invalid resource ID chosen for this connection)'.
  5.   (Details: serial 508 error_code 14 request_code 53 minor_code 0)
  6.   (Note to programmers: normally, X errors are reported asynchronously;
  7.    that is, you will receive the error a while after causing it.
  8.    To debug your program, run it with the --sync command line
  9.    option to change this behavior. You can then get a meaningful
  10.    backtrace from your debugger if you break on the gdk_x_error() function.)
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-7-1 09:08:26 | 显示全部楼层
期待基于pcmanfm的插件
回复 支持 反对

使用道具 举报

发表于 2009-7-1 10:31:54 | 显示全部楼层
希望有关部门不要发现
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-1 11:34:39 | 显示全部楼层
Post by 沙漠之子;2002536
我支持安装dropbox
但是一台电脑上能正常运行 ,另一台这运行出错
  1. $ -> /opt/dropbox/dropbox
  2. The program 'dropbox' received an X Window System error.
  3. This probably reflects a bug in the program.
  4. The error was 'BadIDChoice (invalid resource ID chosen for this connection)'.
  5.   (Details: serial 508 error_code 14 request_code 53 minor_code 0)
  6.   (Note to programmers: normally, X errors are reported asynchronously;
  7.    that is, you will receive the error a while after causing it.
  8.    To debug your program, run it with the --sync command line
  9.    option to change this behavior. You can then get a meaningful
  10.    backtrace from your debugger if you break on the gdk_x_error() function.)
复制代码



呵呵,就是这个错误,你需要在X启动前启动dropboxd
回复 支持 反对

使用道具 举报

发表于 2009-7-1 11:51:20 | 显示全部楼层
Post by jiangpeng;2002577
希望有关部门不要发现


Paranoia?
回复 支持 反对

使用道具 举报

发表于 2009-7-1 14:05:39 | 显示全部楼层
实际上我安装成功也就几分钟的事情?不知道你几个小时都干了什么?
1.$tar -xzvf dropbox-lnx.x86-0.6.510.tar.gz #解压到你的主目录
2.$cd .dropbox-dist
3.$./dropboxd &
4.# Start the dropbox daemon
~/.dropbox-dist/dropboxd &
#我的是openbox,需要开机启动将以上添加到~/.config/openbox/autostart.sh就行了,其他的进X自动启动方式也很简单

下载地址:http://www.getdropbox.com/download?plat=lnx.x86
回复 支持 反对

使用道具 举报

发表于 2009-7-1 15:53:10 | 显示全部楼层
不错,万分感谢!
回复 支持 反对

使用道具 举报

发表于 2009-7-1 17:37:44 | 显示全部楼层
这东西好,感谢分享
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表