KStumble (StumbleUpon for Konqueror)

Dolphin Service Menus

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
Now with beta KDE4 support

KStumble is a service-menu for using StumbleUpon (http://www.stumbleupon.com/) with Konqueror. It currently allows you to:
- Stumble!
- Rate pages
- Submit new pages
- Remove ratings on pages
Last changelog:

0.2:
- added proxy support
- service menu installs to path indicated by `kde-config --prefix`
- separated install sections in Makefile, please refer to INSTALL
- added beta KDE4 support


Ratings & Comments

20 Comments

janet

Seems as if rating of new pages does not work. I answer all the questions in the pop-ups (last one is language) and then nothing. No feedback? No new entry?

nemti

It seems like StumbleUpon may have changed the protocol in some way. Unfortunately I haven't had much of a chance to look into the details of this. If somebody manages to find a fix though, I'll be more than happy to commit it to SVN.

CaptainLarryDart

Installed version 0.1 and it works 'out of the box'. Good one! I downloaded version 0.2 and can't extract it. I get an Ark error box gzip:stdin:not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors. I'm using Kubuntu 7.10, KDE 3.5.8 Not really a problem as version 0.1 works.

nemti

Sorry, that's my fault. It seems I forgot to gzip the archive. Try removing the '.gz' from the filename and see if that works.

beesee

Whenever I try to stumble I get the error: Quote:

Unknown Konqueror version ".

nemti

What version of Konqueror are you actually using? Could you post the output of "konqueror --version"? (Unless you're using a konqueror which isn't the first in your PATH, in that case replace konqueror to the location of the binary)

beesee

Quote:

$ konqueror --version Qt: 3.3.8 KDE: 3.5.7 "release 72.6" Konqueror: 3.5.7

janet

Just wanted to say I have the same problem: konqueror --version Qt: 3.3.8b KDE: 3.5.9 Konqueror: 3.5.9 /proc/$PPID/exe is a symlink to /usr/bin/kdeinit - and calling "/proc/$PPID/exe --version" leads to: "kdeinit: Shutting down running client." Using Debian.

nemti

This should now be fixed in SVN. Follow the instructions on the project homepage to checkout the code.

nemti

Strange, I don't see why that isn't working. For the moment you can change line 11 (KONQ_VER=...) in /usr/bin/kstumble to: KONQ_VER=3 At some stage I'll try to add a more robust solution to determining the Konqueror version.

beesee

First off thanks for the workaround, it works great now (though I needed to install the libwww perl module first). In regards to line 11: /proc/{konq's PID}/exe is a symlink to /opt/kde/bin/kdeinit and not konq (don't know if that's normal). Either way, the output of "/proc/{konq's PID}/exe --version" doesn't have a single line containing the string konqueror. I guess that explains why KONQ_VER is empty.

nemti

Quote:

First off thanks for the workaround, it works great now
Fantastic Quote:
(though I needed to install the libwww perl module first).
Thanks, I added this to the list of requirements. Quote:
In regards to line 11: /proc/{konq's PID}/exe is a symlink to /opt/kde/bin/kdeinit and not konq (don't know if that's normal). Either way, the output of "/proc/{konq's PID}/exe --version" doesn't have a single line containing the string konqueror. I guess that explains why KONQ_VER is empty.
Thanks for the info. It works fine on my system, but I guess other distros work differently. Hopefully the next release will remove the dependencies on /proc/*, whenever I get a chance to attend to this.

747419

Quote:

Hmm, the normal method works for me. What distribution are you using? Can you tell me the output of `kde-config --prefix`?
kalle@hoppers:~> kde-config --prefix /opt/kde3 openSUSE has different kde-paths from most other distros, that might be the reason I guess. That will be changed with KDE4, though. KStumble still works fine over here!

nemti

That issue should be fixed in the svn now - I've updated the Makefile so that it installs to the path indicated by kde-config --prefix. Good to hear everything else is working :)

gbin

It needs Digest-SHA1 perl module to run (emerge Digest-SHA1 on gentoo). But it seems to ignore my proxy settings so I can't login. It is specified by the env variables http_proxy https_proxy & no_proxy. Too bad as it seems quite standard : all KDE, firefox and wget for example seems to support it.

nemti

I've added the Digest::SHA1 requirement to the homepage, thanks for the suggestion. The svn version should now load proxy settings from the environment. Could you please checkout the code (svn co http://stumble.googlecode.com/svn/trunk/ stumble) and let me know if this works for you?

747419

Okay, thanks for the lil' tutorial - but what made me miss the functions of KStumble was this: kstumble.desktop is copied to /usr/share/apps/konqueror/servicemenus, though it has to be copied to ~/.kde/share/apps/konqueror/servicemenus, at least that's how it works for me. Stumbling, rating, logging in etc. works well. Still: are there any chances for a decent SU-Toolbar in Konqueror? Nice work!

nemti

Quote:

Okay, thanks for the lil' tutorial - but what made me miss the functions of KStumble was this: kstumble.desktop is copied to /usr/share/apps/konqueror/servicemenus, though it has to be copied to ~/.kde/share/apps/konqueror/servicemenus, at least that's how it works for me.
Hmm, the normal method works for me. What distribution are you using? Can you tell me the output of `kde-config --prefix`? Quote:
Stumbling, rating, logging in etc. works well. Still: are there any chances for a decent SU-Toolbar in Konqueror?
Most likely not. Creating a toolbar involves getting into creating libraries for konqueror etc. which unfortunately is a lot more effort than I'm prepared to exert. However, if anybody manages to create a toolbar based on the Stumble backend, I'll gladly include it in the project. Quote:
Nice work!
Thankyou :)

747419

Installs perfectly, but I don't see any changes after installing. How do we use this? KStumble defenitely needs some kind of documentation. Still a good idea, though. I'd love to use SU with Konqueror as well.

nemti

I've added a wiki page about using KStumble - http://code.google.com/p/stumble/wiki/KStumbleUsage Other documentation can be accessed at http://code.google.com/p/stumble/w/list

Pling
0 Affiliates
Details
license
version 0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Dolphin Service Menus from nemti:

kavenc (formerly kvidenc)
nemti
last update date: 18 years ago

Score 5.0

Other Dolphin Service Menus:

burnWithGrowisofs
chunkylover
last update date: 20 years ago

Score 5.0

Firefox-bookmarks service menu
storyteller
last update date: 20 years ago

Score 5.0

Text Convert Service Menu
smp-penguin
last update date: 21 years ago

Score 5.0

Pdflatex servicemenu
bobuse
last update date: 19 years ago

Score 5.0

Send through Bluetooth
dmnet
last update date: 20 years ago

Score 5.0

Add to Bloglines
spookster
last update date: 20 years ago

Score 5.0



System Tags