Image 01
profile-image

tanghus

Thomas Tanghus Copenhagen, Denmark
Plasma 4 Widgets
Weather Widget

Plasma 5 Weather 139 comments

Score 87.0%
Oct 06 2017
I've been having problems find a decent weather forecast for Plasma5, but this one done the job.

FWIW I had to reboot (maybe relogin is enough) after installing qml-module-qtquick-xmllistmodel and libqt5qml-graphicaleffects for it to work.

A minor issue is that it could use a default icon as it shows up blank in the widget list. - Sep 18 2015
Currency Converter

Plasma 4 Widgets 24 comments

Score 67.1%
Nov 08 2013
Are you sure you have the python plasmoid script engine installed?
On Kubuntu it's called plasma-scriptengine-python.
Also try to test from CLI by running:

plasmoidviewer currency-converter - Jun 25 2014
IANAL but the tos seems rather strict http://www.oanda.com/site/terms-of-use - Nov 09 2013
In Kubuntu 13.10 and recent updates on 13.04 there have been some changes to pykde.
I currently don't have the time to properly test the plasmoid, but applying the patch below to ~/.kde/share/apps/plasma/plasmoids/currency-converter/contents/code/CurrencyConverter.py should fix it:

https://github.com/tanghus/currency-converter-plasmoid/commit/f0203c8858ca2fa1cf1b2482a7611931fbeb2e84 - Nov 08 2013
Hi
Great to see someone's actually using this plasmoid :)
I haven't touched the code for like 2 years and am quite busy on other stuff. However the code is on github, and if you can patch it to do that, I will release an updated version https://github.com/tanghus/currency-converter-plasmoid - Apr 10 2013
Ah, glad it worked out :-) - Jul 04 2012
Quote:
1. currency-converter appears TWICE in the output of "plasmapkg -l"


I see that as well for several plasmoids actually. "plasmoidviewer --list" shows the right output.

Quote:
the error shows that stuff from python2.7 is used:

lemmy@sai:~/Downloads> plasmoidviewer currency-converter
Traceback (most recent call last):
(...)
File "/users/lemmy/.kde4/share/apps/plasma/plasmoids/currency-converter/contents/code/main.py", line 40, in <module>
import PyKDE4.pykdeconfig


It seems the import PyKDE4.pykdeconfig isn't necessary. Can you try to comment it out and see if it still works for you? - Jul 04 2012
I believe sipconfig is distributed with PyQt4 and PyKDE4. Are you sure they are properly installed? - Jul 04 2012
Thanks for the nice words and sorry for the late reply.

I have a new version of the Plasmoid which is almost ready to release. In that I have dropped the collapse/expand feature (didn't work properly) and instead it shows the latest result in a plasma tooltip on hover and the Applet on click (when it is docked in the panel).
I comment your suggestions below:

Quote:
1. just display the favorite currencies. it is more neat i think. other currencies can be added from setting menu.

This is kind of how the new one will work, but only with one currency

Quote:
2. the currencies are from 2 or more sources and the results just like that either. for example: (snipped)


It is my plan to have the most used currencies placed at the top of the drop down for easy access. This is about as far as I will go with this because I want to keep the Plasmoid as simple as possible.

Quote:
4. the source is from multiple sources, such like IMF, oanda, and others.


This is definitely on my ToDo list allthough I hadn't written it down yet. Thanks :-)

Quote:
5. can download a simple history graph just like yahoo finance but more plasmoid manner.


I'll have to think about this. I'm afraid it will be too complex especially when dealing with several web services. I could maybe provide a link to an online graph for the current currency pair.

Thanks for the comment and the good suggestions. - Dec 16 2010
Thanks for the comment.
You are right about the refreshment on active link. I'd like to use Solid but not all of the signals are available in PyKDE (well, I haven't tested it on 4.4 yet).
I'll have a look at it sometime and see what I can do, and maybe I'll have to use polling though I'm not very pleased with that.

/Thomas - Mar 12 2010
I'll have a look at it. For now I have no idea how to do this. The kde-bindings (scripting) is kinda limited, but maybe it's possible.
Please enter it as an issue at: http://code.google.com/p/currency-converter-plasmoid/issues/list - Oct 17 2009
Danish Radio Streams Service

Amarok 2.x Scripts 5 comments

Score 50.0%
Apr 08 2013
Linket er vist dødt. Jeg har lige updatet scriptet, of det Radio24syv linket virker ikke. - Mar 24 2014
i had just decided to write such a script when I found this.
It works great except that nothing shows up under 'Diverse'.
Before I start looking through the code I wanted to ask if you have any idea why.

Amarok 2.3.2
KDE SC 4.5.1

(Nå ja, jeg ku' jo ligeså godt skrive på dansk...) - Nov 13 2010
Webcamoid

Webcam & Monitoring 74 comments

Score 85.1%
Oct 01 2019
I like it's simplicity.
One thing is that the picture quality isn't that good. VLC get's much quality. Is that maybe related to opencv? - Aug 28 2011
Interceptor

Plasma 4 Widgets 79 comments

Score 73.1%
Sep 08 2011
Problem is that once rebooted I have to manually restart rsyslog again.
I'll have to fiddle around with it a bit and see if I can make it work.
Thanks for all your help and time spent :-)
I'll post some (K)Ubuntu workarounds if I find any ;-)

/Thomas - Jun 16 2011
This is getting weird. I did some editing in rsyslog.conf (which didn't work) redid what I'd edited and restarted the rsyslog daemon.
And now it seems to work!?!
And interesting entry in the log was:


Jun 16 19:25:45 tanghus rsyslogd: rsyslogd's groupid changed to 103
Jun 16 19:25:45 tanghus rsyslogd: rsyslogd's userid changed to 101

Can it be because of some faulty permissions? - Jun 16 2011
> ls | logger -p daemon.info

That came thru to /var/log/syslog

Jun 16 18:36:46 tanghus logger: Desktop
Jun 16 18:36:46 tanghus logger: Documents
Jun 16 18:36:46 tanghus logger: Downloads
Jun 16 18:36:46 tanghus logger: Dropbox

But not to the fifo. Are the settings in rsyslog.conf correct? I'll have to read some man pages ;-) - Jun 16 2011
A bit more testing.

I install Interceptor again and add the widget to the dashboard. Again as root I run:

ls > /var/run/interceptor/info

The command hangs and nothing shows in the widget. Only when I run:

cat /var/run/interceptor/info

the ls process finishes. Is the widget listening to the right pipe(s)? - Jun 16 2011
If I in one terminal run:

cat /var/run/interceptor/info

and in another - as root - run:

ls > /var/run/interceptor/info

I get the output in the first terminal and the pipe is closed (or I guess it's closed because cat stops 'listening'). - Jun 16 2011
It was just the bottom part and it does run rsyslog.

/var/log/syslog:

Jun 16 07:41:28 tanghus rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="1014" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.

ps ax|grep syslog
1014 ? Sl 0:00 rsyslogd -c4
2142 ? S<sl 33:49 /usr/bin/pulseaudio --start --log-target=syslog - Jun 16 2011
/etc/rsyslog.conf:

# Entries for interceptor

*.=debug |/var/run/interceptor/debug;RSYSLOG_TraditionalFileFormat
*.=info |/var/run/interceptor/info;RSYSLOG_TraditionalFileFormat
*.=notice |/var/run/interceptor/notice;RSYSLOG_TraditionalFileFormat
*.=warning |/var/run/interceptor/warning;RSYSLOG_TraditionalFileFormat
*.=err |/var/run/interceptor/err;RSYSLOG_TraditionalFileFormat
*.=crit |/var/run/interceptor/crit;RSYSLOG_TraditionalFileFormat
*.=alert |/var/run/interceptor/alert;RSYSLOG_TraditionalFileFormat
*.=emerg |/var/run/interceptor/emerg;RSYSLOG_TraditionalFileFormat
( - Jun 16 2011
Looks OK:


ls -l /var/run/interceptor/*
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/alert
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/crit
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/debug
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/emerg
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/err
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/info
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/notice
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/warning - Jun 16 2011
I removed Interceptor from the desktop, rm'd all the installed files, restarted kde and ran the test to no avail. I have next to no experience with fifos or (r)syslog for that matter, so I can only follow your instructions... - Jun 15 2011
Nope, nothing gets thru.

BTW: I run Kubuntu ;-) - Jun 15 2011
tol@tanghus:~/Downloads/interceptor/build$ sudo rm /usr/lib/kde4/interceptor_engine.so /usr/share/kde4/services/interceptorengine.desktop /usr/lib/kde4/interceptor.so /usr/share/kde4/services/interceptor.desktop /usr/share/kde4/apps/interceptor/interceptor.notifyrc /usr/share/kde4/apps/desktoptheme/default/widgets/interceptor.svgz /usr/share/icons/oxygen/scalable/apps/interceptor.svgz /usr/bin/mkintfifos
tol@tanghus:~/Downloads/interceptor/build$ sudo make install
[ 0%] Built target interceptor_automoc
[ 75%] Built target interceptor
[ 75%] Built target interceptor_engine_automoc
[100%] Built target interceptor_engine
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/lib/kde4/interceptor_engine.so
-- Installing: /usr/share/kde4/services/interceptorengine.desktop
-- Installing: /usr/lib/kde4/interceptor.so
-- Installing: /usr/share/kde4/services/interceptor.desktop
-- Installing: /usr/share/kde4/apps/interceptor/interceptor.notifyrc
-- Installing: /usr/share/kde4/apps/desktoptheme/default/widgets/interceptor.svgz
-- Installing: /usr/share/icons/oxygen/scalable/apps/interceptor.svgz
-- Installing: /usr/bin/mkintfifos

Still nothing. plasmaengineexplorer sees the engine but shows 0 data sources. - Jun 15 2011
I still get no log lines. Neither with 1.2.5 nor with 1.2.7.
Anything I can do to debug this?

/Thomas - Jun 15 2011
Yup - the devil is in the details ;-)

Will I have to re-run mkintfifos or anything? - Jun 14 2011
I installed the Plasmoid earlier today but I changed the cmake command to:
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
because Kubuntu doesn't set KDEDIRS (or KDEDIR) so /usr/local isn't used :-/

- For some reason the icon isn't shown in the "Add Widgets" list. It's installed in:

/usr/share/icons/oxygen/scalable/apps/interceptor.svgz
/usr/share/kde4/apps/desktoptheme/default/widgets/interceptor.svgz

which should be correct as other apps also store the icons there.

- Nothing is logged in the plasmoid. /var/run/interceptor/ contains:


prw-r--r-- 1 root root 0 2011-06-14 10:07 alert
prw-r--r-- 1 root root 0 2011-06-14 10:07 crit
prw-r--r-- 1 root root 0 2011-06-14 10:07 debug
prw-r--r-- 1 root root 0 2011-06-14 10:07 emerg
prw-r--r-- 1 root root 0 2011-06-14 10:07 err
prw-r--r-- 1 root root 0 2011-06-14 10:07 info
prw-r--r-- 1 root root 0 2011-06-14 10:07 notice
prw-r--r-- 1 root root 0 2011-06-14 10:07 warning

/etc/rsyslog.conf contains:


# Entries for interceptor

*.=debug |/var/run/interceptor/debug;RSYSLOG_TraditionalFileFormat
*.=info |/var/run/interceptor/info;RSYSLOG_TraditionalFileFormat
*.=notice |/var/run/interceptor/notice;RSYSLOG_TraditionalFileFormat
*.=warning |/var/run/interceptor/warning;RSYSLOG_TraditionalFileFormat
*.=err |/var/run/interceptor/err;RSYSLOG_TraditionalFileFormat
*.=crit |/var/run/interceptor/crit;RSYSLOG_TraditionalFileFormat
*.=alert |/var/run/interceptor/alert;RSYSLOG_TraditionalFileFormat
*.=emerg |/var/run/interceptor/emerg;RSYSLOG_TraditionalFileFormat

It has been running for 4-5 hours so shouldn't it have logged something? /var/log/syslog is full of entries for that period.

Hope you can help 'cause I could really use this tool.

/Thomas - Jun 14 2011
Quick Usb Formatter

System Software 32 comments

Score 84.8%
Oct 21 2011
I just installed it on Kubuntu 11.04 with KDE SC 4.6.4 and had to change:

X-KDE-Solid-Predicate=IS StorageAccess

to:

X-KDE-Solid-Predicate=[[[StorageVolume.usage == 'FileSystem' AND StorageVolume.ignored == 'false'] OR [IS StorageAccess AND StorageDrive.driveType == 'Floppy']] OR StorageVolume.ignored == false]

To get it to show in the Device Notifier.

I don't know why "StorageDrive.driveType == 'Floppy'" is needed, but I couldn't get to to work otherwise.
I'm not very experienced in editing device predicates so it could most likely be written smarter ;-)

/Thomas - Jun 13 2011
Nepomukcontroller

Utilities 3 comments

by trueg
Score 78.6%
May 11 2011
I was wondering where it had gone :-) - Jan 06 2011
New Device Notifier with Automount

Plasma 4 Widgets 7 comments

Score 73.1%
Jan 04 2009
This should be listed under Plasmoid Binaries. - Jul 15 2010
BBC Open Content Service

Amarok 2.x Scripts 16 comments

Score 50.0%
Apr 21 2009
started amarok with "--debug"

amarok: SCRIPT "BBC" : "start bbc shows xml parsing..."
amarok: SCRIPT "BBC" : "got 0 shows!" - Jun 28 2010
ComixCursors

Cursors 305 comments

by jlue
Score 86.3%
Aug 02 2017
They cheer me up on an otherwise bleak day ;-) - Jun 25 2010
virtual_hdd_led

System Software 11 comments

Score 58.0%
Jun 24 2010
After cmake complained about cmake_minimum_required(VERSION 2.8) missing in CMakeLists.txt I added the line and tried again.
This gave the error:

CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/tol/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:5 (find_package)

I haven't compiled a package for years so I have no idea of how cmake works. - Jun 21 2010
Facebook Widget (fixed)

Plasma 4 Widgets 16 comments

Score 78.3%
Sep 11 2010
Hi

You should look into how I fixed network detection using Solid:Networking in Google Translator. It's a bit 'prettier' than pinging a website ;-) - Jun 16 2010
Smooth Tasks

Plasma 4 Widgets 842 comments

by panzi
Score 86.9%
Nov 05 2010
I cannot find a way to delay tool tips showing when hovering the task manager. Tried the different settings but none seems to change the behaviour. I have my task manager at the top of the screen and often accidently hovers a task which leads me to clicking on the tool tip and raise a window. Is it possible now or is this just a wish from a clumsy user ;-)

Anyways I really enjoy Smooth Tasks. It's way better than the built in task manager. - Dec 21 2009
Color Label

Dolphin Service Menus 3 comments

Score 50.0%
Aug 07 2007
The same as Color Folder? - Aug 08 2007
Interceptor

Plasma 4 Widgets
by skylendar

Score 73.1%
Jun 18 2011
KDE PO Thumbnailer

Various KDE 1.-4. Improvements
by nihui

Score 82.4%
Jun 18 2011
ComixCursors

Cursors
by jlue

Score 86.3%
Jun 25 2010
plasma_pyweather

Plasma 4 Widgets
by rangalo

Score 60.9%
Jun 16 2010
Weather Widget

Plasma 5 Weather
by clearmartin

Score 87.0%
9   Sep 18 2015
Webcamoid

Webcam & Monitoring
by hipersayanx

Score 85.1%
9   Aug 28 2011
Megatokyo

Plasma Comic Sources
by Sword2

Score 63.3%
9   Jul 11 2011
Le Chat (fr)

Plasma Comic Sources
by Zivor

Score 58.0%
9   Jul 11 2011
Ice lilac

Plasma Color Schemes
by giannis12a

Score 58.6%
9   Jun 29 2011
Glacier

Plasma Color Schemes
by mwoehlke

Score 73.1%
9   Jun 29 2011
KDE4-Seasons-Colors

Plasma Color Schemes
by DDZ

Score 80.0%
9   Jun 29 2011
Interceptor

Plasma 4 Widgets
by skylendar

Score 73.1%
9   Jun 18 2011
KDE PO Thumbnailer

Various KDE 1.-4. Improvements
by nihui

Score 82.4%
9   Jun 18 2011
Oxygen Blue Air

Plasma Themes
by PS5001

Score 72.2%
9   Jun 08 2011
Score 78.6%
9   Jan 06 2011
Score 70.0%
9   Jan 05 2011
Big Blue

Plasma Themes
by MaMuS

Score 78.8%
9   Jan 04 2011
Water flame candle

Wallpapers Kubuntu
by sbaush

Score 65.6%
9   Dec 26 2010
Deep Blue (KDE)

Wallpapers KDE Plasma
by HDStephan

Score 55.0%
9   Dec 26 2010
Close Enough

Wallpaper Other
by reiterb

Score 59.2%
9   Dec 26 2010
Web Snippet

Plasma 4 Widgets
by soccerjonp

Score 80.0%
9   Dec 24 2010
Win7-bright (KDE 4.4)

Aurorae Themes
by Schiwi

Score 70.0%
9   Dec 24 2010
Score 71.3%
9   Dec 24 2010
Air-black

Aurorae Themes
by mcder

Score 83.8%
9   Dec 24 2010