While it is well known that I’m a huge Gnome (classic) fan, I recently dipped into KDE grounds, again.
Because Dropbox continues to ignore the Dolphin File Manager, I decided to give SparkleShare a try, and following Mairin‘s most excellent How-To, I set up sparkle.k3rnel.net for my public files. (As a note, you need to chmod +x the post-receive git hook, otherwise it won’t work.)
My favorite Dropbox usage was dropping a file onto the Public folder, and right clicking it on Nautilus to get a Public Link. Sparkleshare doesn’t have a way to do this, but since I mounted my Public Sparkle folder, I wanted needed a way to get the public link.
I ended up investigating on KDE’s Service Menus, and created this Service Menu for the purpose. You need to place it in your ~/.kde/share/kde4/services/ServiceMenus/ folder, modify ‘your.site.here’ and possibly killall dolphin if it doesn’t load at first.
Now, there are some serious flaws on my script (I’m new here, have some patience). For starters, the menu entry will show up in all folders, rather than just your Public Sparkleshare folder. The way I envisioned this is that it should detect if there’s a “.public” file in the folder, read its contents (something like http://your.site.here) and append that to the filename, otherwise, don’t show the entry.
The other flaw I have is that if you create public folders, and try to get a file from within a public folder, it’ll ignore the folder and end up with your.site.here/file.txt instead of your.site.here/folder/file.txt.
Finally, the other issue I have is that files with spaces need %20. It currently gives you the link with spaces, and it isn’t clickable in most cases. If someone could help me with the script, I’d really appreciate the help.
I created one other script, this one’s much simpler. It’s an Android ADB Push Menu. If you’ve got adb set up, it pushes any file to your phone’s /sdcard. It’ll fail if you have 2 or more devices hooked up at once, but I haven’t had time to investigate on how to display submenus for each adb device.
Anyway, I’m liking KDE so far. I love how easy it is to create the Service Menus and I thought I’d share.








