HowTo: Install drop in Xubuntu (unedited)

[IN PROGRESS….I haven’t been able to get this to work yet with Xubuntu Karmic x64]

This is written for Slackware with Xfce, so I still need to edit it for Xubuntu:

This guide will show you how to install Droxbox on a system that doesn’t have Nautilus installed. This is especially useful to people who use Slackware, because GNOME is not installed by default. You still need a file manager though, so in this example, we’ll use Thunar.
In order to get Dropbox to work, we have to trick Dropbox into thinking that Nautilus is already installed. The easiest way to accomplish this, is by creating a script in /usr/bin called nautilus, which basically is a link to thunar. To get started, download a precompiled binary from getdropbox.com. I used a binary compiled for Fedora 10 called nautilus-dropbox-0.6.1-1.fc10.i386.rpm.
wget http://linux.getdropbox.com/packages/nautilus-dropbox-0.6.1-1.fc10.i386.rpm
What we now are going to do is to run rpm2tgz on this package so that we can explode the package using explodepkg. We do so because we want to create a slackware-package, where we also include our little workaround. First, log in as root.
su –
mkdir /tmp/dropbox
mv nautilus-dropbox-0.6.1-1.fc10.i386.rpm /tmp/dropbox
rpm2tgz nautilus-dropbox-0.6.1-1.fc10.i386.rpm
explodepkg nautilus-dropbox-0.6.1-1.fc10.i386.tgz
Now, go to /tmp/dropbox/usr/bin, fire up your favorite text-editor and write the following:
#!/bin/bash
thunar $@
exit 0
When you’re done, save the file as “nautilus”. Now, go back to /tmp/dropbox, create a folder called install, touch a file called “slack-desc” and run makepkg to create a slackware-package.
mkdir install
touch install/slack-desc
makepkg dropbox-0.6.1-i386-1vh.tgz
The only thing that has to be done now, is to install the package.
installpkg dropbox-0.6.1-i386-1vh.tgz

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: