


Plasma 5 Weather by clearmartin 168 comments
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

Plasma 4 Extensions by tanghus 24 comments
On Kubuntu it's called plasma-scriptengine-python.
Also try to test from CLI by running:
plasmoidviewer currency-converter - Jun 25 2014

Amarok 2.x Scripts by cb400f 5 comments

Plasma 4 Extensions by tanghus 24 comments

Plasma 4 Extensions by tanghus 24 comments
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

Plasma 4 Extensions by tanghus 24 comments
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

Plasma 4 Extensions by tanghus 24 comments

Plasma 4 Extensions by tanghus 24 comments
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

Plasma 4 Extensions by tanghus 24 comments

Webcam & Monitoring by hipersayanx 74 comments
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

Plasma 4 Extensions by skylendar 79 comments
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

Plasma 4 Extensions by skylendar 79 comments
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

Plasma 4 Extensions by skylendar 79 comments
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

Plasma 4 Extensions by skylendar 79 comments
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

Plasma 4 Extensions by skylendar 79 comments
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

Plasma 4 Extensions by skylendar 79 comments
/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

Plasma 4 Extensions by skylendar 79 comments
# 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

Plasma 4 Extensions by skylendar 79 comments
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

Plasma 4 Extensions by skylendar 79 comments

Plasma 4 Extensions by skylendar 79 comments
BTW: I run Kubuntu ;-) - Jun 15 2011

Plasma 4 Extensions by skylendar 79 comments
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

Plasma 4 Extensions by skylendar 79 comments
Anything I can do to debug this?
/Thomas - Jun 15 2011

Plasma 4 Extensions by skylendar 79 comments
Will I have to re-run mkintfifos or anything? - Jun 14 2011

Plasma 4 Extensions by skylendar 79 comments
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

System Software by chakra-project 32 comments
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

Utilities by trueg 3 comments

Plasma 4 Extensions by tanghus 24 comments
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

Amarok 2.x Scripts by cb400f 5 comments
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

Plasma 4 Extensions by Maze12 7 comments

Amarok 2.x Scripts by nhnFreespirit 16 comments
amarok: SCRIPT "BBC" : "start bbc shows xml parsing..."
amarok: SCRIPT "BBC" : "got 0 shows!" - Jun 28 2010

Cursors by jlue 313 comments

System Software by crissi 11 comments
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

Plasma 4 Extensions by aderocha 16 comments
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

Plasma 4 Extensions by tanghus 24 comments
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

Plasma 4 Extensions by panzi 842 comments
Anyways I really enjoy Smooth Tasks. It's way better than the built in task manager. - Dec 21 2009

Plasma 4 Extensions by tanghus 24 comments
Please enter it as an issue at: http://code.google.com/p/currency-converter-plasmoid/issues/list - Oct 17 2009

Dolphin Service Menus by gericom 3 comments