====== wuala.com and PLD ======
[[ http://www.wuala.com | Wuala.com ]] is free, 'social' internet disk. For free you can get 1GB * for start and a JAVA client. If your PC has a decent enough connection and is on-line for at least 4h a day, you can earn storage by sharing your local HDD with wuala. If you are interested check the official website.
===== Installation =====
"Installation" is extremely easy (but JAVA is required) and consists of visiting the main website [[ http://www.wuala.com | wuala.com ]] and clicking 'start'. If your browser does not support Java or you have it disabled, then you can [[ http://www.wuala.com/files/wuala.tar.gz |download the archive ]] and untar it yourself.
After registration, you can already configure and/or use wuala! We however will start with setting up the system integration, which will make using you new on-line storage ever better and easier!
On 19.08.09 wuala had a 1-year anniversary major update, which added very interesting and powerful features (available to PRO users, more on that later). First would be backup with periodic synchronization, the second is file versioning!
=== Notice ===
* You can use referral [[ http://www.wuala.com/referral/47MM66JKMPKGN55AFFFK |link (like this one)]] and get 2GB storage instead of 1GB! Then you can invite your friends and get even more free space.
=== System integration ===
Wuala can start a local NFS server which you can use to integrate it with your Linux system. Now we need the help of our trusty companion - poldek:
# poldek - i portmap nfs-utils-common nfs-utils-clients
Next you need to modify /etc/fstab:
localhost:/wuala /home/users//wuala/direct nfs
defaults,users,noauto,rsize=8192,wsize=8192,timeo=14,
intr,nolock,soft,nfsvers=3,mountvers=3,port=26184,mountport=26183,tcp
(of course everything should be in one line, after 'defaults' till ',tcp' there is no space!)
You have to provide your and path to wuala
Now you can mount your new storage:
# mount.nfs /home/users//wuala/direct
The NFS is started locally, so no worries about stranger snooping on your hard drive.
=== Configuration ===
Now enter Tools menu -> Options -> General
Start the system integration, restart the client, open options window and check if system integration is working. Everything should be fine, but if not you must have done something wrong. Double check everything you have done so far.
Now your new storage is mounted in a folder you specified in /etc/fstab.
Next thing you can do, if you want to, is to share your local space. If you have a decent connection and your PC is on for at least 4h a day you can enable this option, which will make more space available for you on-line as well as will make you a PRO user.
PRO users can use backup feature, file versioning and get 500MB of space (instead of 250MB) when recommending wuala to a friend.
If you are interested, choose amount of space you wish to share and enable sharing.
Space can of course be bought, which will also make you a PRO user.
=== Wuala script and KDE4 Service Menu===
To make wuala even more useful you can add your own service menu.
As I am a KDE 4 user I will show you how to do that in that system, but doing it in GNOME (or any other fr that matter) should also be easy.
If you would like to alter it for any other environment or add any new functionality, please free to do so (and share with everyone at pld-users.org !)
We will start with a very simple script, which will copy selected file/folder to wuala NFS folder, generate link to it and paste it to Klipper, so you can instantly send it via email or kopete or whatever.
$ vim servicemenu_wuala.sh
#!/bin/bash
wfile="$1"
wfolder="$2"
#your username
user="simh"
www="http://www.wuala.com/$user/"
#copy
echo $wfile
echo $wfolder
cp -vR $wfile ~/wuala/direct/myfiles/${wfolder}/
#link
address="${www}${wfolder}/${wfile##*/}"
echo $address
#send link to klipper
dbus-send --type=method_call --dest=org.kde.klipper \
/klipper org.kde.klipper.klipper.setClipboardContents \
string:"$address"
exit
You should of course change the user and path, if necessary.
The script as first argument will take the source (provided by KDE) and the second is target (will be specified in service menu)
***Note***
Wuala now can use FUSE istead of NFS, so if you are using it the path to 'myfiles' is different:
~/wuala/WualaDrive/myfiles
If you want to use FUSE you have to have proper module loaded
#modprobe fuse
The best solution is to add it to /etc/modprobe.d/ so it will be loaded each time
Also, your user must be in fuse group, so add it in /etc/group
After that you can start wuala with switch -useFuse - should work just fine! There are some known problems with 64bit systems as of v297, but they should be resolved in next release.
***So now we will make this service menu. First however we have to check where it should be stored.***
$ kde4-config --path services
/home/users/simh/.kde/share/kde4/services/:/usr/share/kde4/services/
The first location is private for simh user, the second is global. The choice is up to you where you want to put it.
So now we edit the first menu entry, which will copy selected file to on-line /pub folder.
$ vim ~/.kde/share/kde4/services/ServiceMenus/wuala_pub.desktop
# Wuala.com service menu
# copy to pub folder
# License: GPL
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all
Actions=Copy2Wuala_pub
Encoding=UTF-8
X-KDE-Priority=TopLevel
X-KDE-Submenu=wuala
[Desktop Action Copy2Wuala_pub]
Name=Copy2Wuala pub
Icon=edit-copy
Exec="/usr/bin/servicemenu_wuala.sh" %F pub
If you want it to copy to other folder, change 'pub' to something different. If you want to have multiple targets make multiple service menus, each for different target folder.
Remember also to change action name.
That's it!