How to set up Dropbox in Kubuntu 11.10?

So you want to get all the cool stuff you have in your Dropbox onto your brand new shiny Kubuntu desktop but you don’t find anything in Muon but the Gnome installer. Lucky for you, I’ve been there.

To run Dropbox on KDE you don’t need to install the nautilus-dropbox package you see in Muon, which is a gnome package. Instead, as explained read here, you can download the client from http://www.getdropbox.com/download?plat=lnx.x86 (x86_64 for 64 bit).

The compressed file you just downloaded contains a folder, ‘.dropbox-dist’, which you should move to your ‘/home/yourUserName’.

After moving the folder, run in Konsole:

~/.dropbox-dist/dropbox

The wizard will then guide you through the installation. In the end you’ll even get that icon that we all love so much in your KDE taskbar.

To autostart Dropbox on startup, you need to create a symbolic link in ~/.kde/Autostart/. Just write in Konsole:

ln -s ~/.dropbox-dist/dropbox ~/.kde/Autostart/dropbox

After completing my installation, I had a permission problem that didn’t allow Dropbox to write some files to my drive. My solution for this was to set myself as the owner of the partition. I did this by adding ‘uid=yourUserName’ to the mounting options of my partition in my /etc/fstab file. You can open /etc/fstab in kate with

sudo kate /etc/fstab

Look for the line corresponding to the drive where you have your Dropbox folder. I edited mine to look like this:

/dev/sda2    /media/volume/    ntfs    user, fmask=0111,dmask=0000,uid=myUserName    0    0

Save and exit Kate. After a reboot, your Dropbox should be able to do a full sync.

Hope it helped!

How to set a proxy on KDE?

It’s not trivial. The answer is here. At least it worked for my Kubuntu 11.10.

Write as root in the file /etc/apt.conf:

Acquire {
Retries “0”;
HTTP {
Proxy “username:password-AT-proxyserver-DOT-net:port”;
};
};

If it still doesn’t work write this (as advised here) in /etc/bash.bashrc:

export http_proxy=http://username:password-AT-proxyserver-DOT-net:port/
export ftp_proxy=http://username:password@proxyserver-DOT-netport/

And if it still doesn’t work add these two lines in /etc/profile. Good luck!