Image 01
profile-image

simgunz

Simone Gaiarin , Italy
Plasma 4 Widgets
Redshift Control

Plasma 5 Add-Ons 49 comments

Score 86.9%
Aug 06 2017
In Plasma 4 a signal 'activated()' is emitted when the global shortcut is triggered. Probably that signal is still present in the QML implementation. - Jul 04 2016
Redshift Plasmoid

Plasma 4 Widgets 99 comments

Score 84.8%
Jul 23 2014
Ok. Now I got what's the problem. It happens also for me. A possible workaround I suggest is to add redshift to the tray from "System tray settings" if can work for you.

I'll try to have a look at the issue if I find the time. - Oct 09 2015
But the settings menu entry for redshift seems to be there. So the problem is that if you click it nothing happen? Or what? - Oct 09 2015
Does the settings menu of other plasmoid works correctly? (As example, the settings menu of system tray itself).

- Oct 09 2015
That's quite weird. Are you still using KDE4? There is a new widget for KDE5.

can you tell me your exact KDE version?

Regarding the mouse wheel, changing by 100 is correct, since a change by 1 would be imperceptible. - Oct 09 2015
I've created the branch plasma5-porting. Any modification concerning the port can be added there through pull requests.

I've committed the first porting of the CMakeFiles. - Feb 04 2015
Other useful resources:
https://community.kde.org/Plasma/PortingTolibplasma2 - Feb 04 2015
Your help is welcome.

The applet is currently written in C++ not python (the legacy version was in python). The new version must be written in QML.

I think the needed steps are:
- Port the main CMake file to the KF5 formatting
- Test the dataengine in Plasma 5
- Write the interface of the applet in QML
- Make it communicate with the data engine

The two last steps should not be very difficult. Unfortunately there is still a lack of documentation about Plasma 5.

Here some useful tutorial.
https://techbase.kde.org/Development/Tutorials/Plasma5

I've started looking into the CMake file porting. - Feb 04 2015
No progress at all. I'm sorry, but I've been very busy in the last period (and I'm still so). I hope to begin working on it soon. - Nov 27 2014
Given that the developer of redshift is adding a dbus interface that will make easy to write interfaces for redshift, I'm thinking of rewriting the plasmoid in python. In this way it'll become distribution independent and doesn't require any compilation. If this is possible (i.e. if the qt python bindings allow me to implement all the current features, and if can make it work without a specific dataengine), I won't port the current plasmoid to plasma 5 but I will just release the new one. Otherwise I'll port it to plasma 5. I hope having time to work on this the next month. - Aug 25 2014
The first time redshift plasmoid is installed the PC must be restarted in order to automatically launch redshiftautostart that is a small utility that enables all the functionalities of redshift. If this program is not running redshift-plasmoid won't work.

You can execute:

ps -Al |grep redshiftautostart

to check it's running.

The desktop effects are not needed to make redshift work. - Jul 31 2014
This may be implemented in the future, but before we need to wait the redshift implement the dbus support. - Apr 05 2014
I'm glad you appreciate it! - Feb 22 2014
You need to ask the respository maintainer to build the redshift plasmoid package for ubuntu 13.10 if you want it trough repository.

Try this command to build it from source:
cmake -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) ..

What is the exact error you get? - Jan 18 2014
First of all, thanks for you intention to donate. I haven't understood the problem, the donation form should be in english, isn't it? I saw it in english through kde apps. - Mar 09 2013
You should comment or you'll never see an official ubuntu package maybe. Use keepassx to remember the password!

Stay tuned, I'm going to release a small update in few days with an OSD to display the manual color temperature.

Bye - Mar 09 2013
Hi,
unfortunately I can't pack this software for any distribution, so if you want a package for ubuntu you should open a package request on the correct ubuntu section.

Actually there is already an open package request:
https://bugs.launchpad.net/ubuntu/+bug/1008967
You should comment there to urge them!

You can also install it from source in the meanwhile, it's easy!
Just follow the instructions in the README file.

I report them here in any case:
Install these packages:
build-essential
cmake
kde-workspace-dev
redshift
checkinstall

Execute this from the main folder of the source you've downloaded form here:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) ..
make
sudo checkinstall install - Mar 09 2013
Those icons are provided by the gtk-redshift package. I'll update redshift plasmoid to provide those icons, so that will not be required to install gtk-redshift. - Jan 08 2013
Should work like this:
Suspend redshift of the plasmoid if running, run the loop, reenable redshift from the plasmoid.

I tried this. It's a bash script just to try out.
It needs usleep from here:
https://github.com/coolaj86/msleep-commandline

#!/bin/bash
temp=6500
redshift -x -m vidmode
while [ $temp -gt 2500 ]; do
redshift -O $temp -m vidmode
temp=$[$temp-10]
usleep 10000
done
- Jul 12 2012
You probably need to install kde-workspace-dev - Jul 12 2012
Actually I got an idea about the preview, it is possible. Any suggestion on how to embed the preview in the ui? Just a preview button or what? The F.lux animation is quite complicated.

About the tooltip: I fork this project from another one but I rewrite the whole code, the only piece remaining from the old program is part of the UI. I didn't pay attention on the tooltips and the actual tooltips are the ones from the old app, infact they still talk about F.lux (on the temperature suggestion). If you hover other the label autolaunch it talks about the gamma correction (because I cloned the label). So the tooltips need to be fixed. - Jul 12 2012
I'll fix the tooltip (actually I didn't care about the tooltips and they are all wrong). The preview is not possible untill redshift does not implement this feature. You should ask for this on the redshift page. - Jul 12 2012
I've added the option.
Try it now. - Jul 12 2012
Actually I didn't add that option intentionally because redshift should fallback to vidmode when randr doesn't work. Infact this is the behaviour on my machine.

If you just launch redshift in the shell without specifing anything which is the output?

I usually get this:
Failed to start adjustment method randr.
Trying next method...
Using method `vidmode'.

In any case I can add that option in the plasmoid. - Jul 12 2012
I expected this kind of problem actually. I'll try to find a workaround. Here you can find an explanation.

https://github.com/simgunz/redshift-plasmoid/issues/1 - Jun 05 2012
I have the problem,too. I've done some testing, but I can't understand where the problem come from. Programming for plasma is like doing reverse engineering!
Here are some considerations, maybe someone can give me some ideas.

PLASMOIDVIEWER

Plasmoidviewer mechanism:
When you start plasmoidviewer it copies the config values from plasmoidviewerrc to plasmoidviewer-appletsrc (all these values are overwritten).
While plasmoidviewer is running it stores the config values to plasmoidviewer-appletsrc.
When you close plasmoidviewer, it copies the config values from plasmoidviewer-appletsrc to plasmoidviewerrc.

When you load the applet with plasmoidviewer:
init() is called
configChanged() is called from init() but no config values are present
Plasmoidviewer copies the config values from plasmoidviewer-appletsrc to plasmoidviewerrc.
configChanged() is called and the config values are available

Because of this mechanism the autostart feature of redshift-plasmoid can't be tested with plasmoidviewer, but needs to be tested in plasma. Moreover the applet sets the default value of latitude and longitude everytime it is launched.

Problem (plasmoidviewer): Lost of some config values
The first time I call plasmoidviewer:
main.py set the value of latitude and longitude using writeEntry() and they are written to plasmoidviewer-appletsrc.
I edit the value of dayTemp through the configuration interface and this value is written to plasmoidviewer-appletsrc.
When I close the plasmoidviewer, only the values written with writeEntry from inside main.py are copied to plasmoidviewerrc.

Second time I run plasmoidviewer:
The config values are copied from plasmoidviewerrc to plasmoidviewer-appletsrc, so the value of dayTemp is lost.


PLASMA

When you load the applet with plasma the first time:
init() is called
configChanged() is called from init() but no config values are present
Default values of latitude and longitude are setted

Next times the applet is loaded:
init() is called
configChanged() is called from init() and get the config values

Problem (plasma):
main.py and the config dialog write their values to the same group of plasma-desktop-appletsrc, but only the values written with writEntry() from inside main.py can be read by main.py (instead the config thialog can see all the values). The other values are invisible to main.py.


Problem (for plasmoidviewer and plasma): Default values override real values
In configChanged I read the values stored:
print cfgGeneral.readEntry('latitude',5).toFloat()[0] > Result = 5
print cfgGeneral.readEntry('latitude').toFloat() > Result = (41.900001525878906, True)

But if a pair key/value is not present in the config fail the second line of code fails. - Feb 21 2012
I have the problem,too. I've done some testing, but I can't understand where the problem come from. Programming for plasma is like doing reverse engineering!
Here are some considerations, maybe someone can give me some ideas.

PLASMOIDVIEWER

Plasmoidviewer mechanism:
When you start plasmoidviewer it copies the config values from plasmoidviewerrc to plasmoidviewer-appletsrc (all these values are overwritten).
While plasmoidviewer is running it stores the config values to plasmoidviewer-appletsrc.
When you close plasmoidviewer, it copies the config values from plasmoidviewer-appletsrc to plasmoidviewerrc.

When you load the applet with plasmoidviewer:
init() is called
configChanged() is called from init() but no config values are present
Plasmoidviewer copies the config values from plasmoidviewer-appletsrc to plasmoidviewerrc.
configChanged() is called and the config values are available

Because of this mechanism the autostart feature of redshift-plasmoid can't be tested with plasmoidviewer, but needs to be tested in plasma. Moreover the applet sets the default value of latitude and longitude everytime it is launched.

Problem (plasmoidviewer): Lost of some config values
The first time I call plasmoidviewer:
main.py set the value of latitude and longitude using writeEntry() and they are written to plasmoidviewer-appletsrc.
I edit the value of dayTemp through the configuration interface and this value is written to plasmoidviewer-appletsrc.
When I close the plasmoidviewer, only the values written with writeEntry from inside main.py are copied to plasmoidviewerrc.

Second time I run plasmoidviewer:
The config values are copied from plasmoidviewerrc to plasmoidviewer-appletsrc, so the value of dayTemp is lost.


PLASMA

When you load the applet with plasma the first time:
init() is called
configChanged() is called from init() but no config values are present
Default values of latitude and longitude are setted

Next times the applet is loaded:
init() is called
configChanged() is called from init() and get the config values

Problem (plasma):
main.py and the config dialog write their values to the same group of plasma-desktop-appletsrc, but only the values written with writEntry() from inside main.py can be read by main.py (instead the config thialog can see all the values). The other values are invisible to main.py.


Problem (for plasmoidviewer and plasma): Default values override real values
In configChanged I read the values stored:
print cfgGeneral.readEntry('latitude',5).toFloat()[0] > Result = 5
print cfgGeneral.readEntry('latitude').toFloat() > Result = (41.900001525878906, True)

But if a pair key/value is not present in the config fail the second line of code fails. - Feb 21 2012
Actually I find the way to adjust the tooltip. - Feb 13 2012
The tooltip cannot be changed as you suggest because python plasmoid does not support this feature. The function toolTipAboutToShow is not called, because this is not implemented in KPythonPluginFactory. - Feb 12 2012
I tried to install the plasmoid on kubuntu. It shows the icon correctly if the plasmoid is placed on the desktop, but the problem come when the plasmoid is placed on the panel. Even the network widget's icon is missing. This seems to be a kubuntu problem, because on other distro everything work. I really can't undersand where the problem comes from.
Try:
rm -r /var/tmp/kdecache-YOURUSER
kbuildsycoca4

After this I can see the icon when redshift is on, but no when is off.
- Feb 12 2012
I can't figure out what is the problem. I'll install Kubuntu in a VM to test this, but I don't have much time in these days. So you need to be patient. - Feb 11 2012
Probably you need to install also gtk-redshift package, if this work let me know. In that case I'll include the icons in the plasmoid so that the gtk-redshift will not be necessary. - Feb 09 2012
It seems that the plasmoid is already installed.
Do this:

plasmapkg -r redshift

After that plasmapkg -i . from inside the folder contained in the zip.

(Actually you can do in one command with plasmapkg -u . but it does not work sometimes)

I'll upload a new version of the plasmoid soon with the right folders structure. - Feb 09 2012
KRunner Translator

Krunner Plugins 104 comments

Score 83.7%
Jan 20 2018
Fantastic! - Aug 20 2015
It would be nice if clicking on one of the translation on the list (or hitting enter) this is copied to the clipboard.

A similar behaviour is present in the calculator runner. Hitting enter set KRunner text equal to the result.

I think that for the translator it makes more sense to copy the word to the clipboard, tough. - Aug 16 2015
Fantastic! I can then switch to KDE5 finally. I can't do it without KRunner translator.
Thanks for your work. - Aug 16 2015
Thanks. Looking forward for it. - May 14 2015
Any plan to port this to plasma 5? - May 11 2015
Timer and Alarm for KRunner

Krunner Plugins 5 comments

Score 79.3%
Feb 20 2015
Even tough is pretty straightforward I suggest you to write two lines on how to use it in this page and on the README.md file.

Very nice runner! - Jan 09 2015
USU Notifications

Plasma 4 Widgets 12 comments

Score 80.0%
Jan 20 2014
I can't understand what the position options means: detached and attached to what? Can you explain it to me. You should add tooltips that pop up when the mouse hovers over these options. - Jun 25 2014
Bitcoin rate widget / plasmoid (BTC)

Plasma 4 Widgets 5 comments

Score 63.3%
Nov 18 2013
Ok now it works.

A suggest: If you use IconWidget instead of toolbuttons the icon will be displayed correctly (aligned and auto rescaled). - Nov 25 2013
Hi,
I've installed this plasmoid but it has some problems:

-it says it can't parse a json string on line 81 of main.js

-it only display the bitcoin value from mt. gox (the other is missing)

-the icons are not vertically aligned with the text

Here's a screenshot:
http://picpaste.com/snapshot1-yiTrpNiB.png

Thanks for your work - Nov 20 2013
Activity Manager Plasmoid Wheeled

Plasma 4 Widgets 16 comments

Score 79.0%
Jun 22 2012
Ok. I'll think about adding this functionality. - Sep 07 2013
Just for curiosity, how many activities do you have? I guess that the average user doesn't have more than 5-6 activities so that a filter function is not required. - Aug 31 2013
For who are interest in a more sophisticated way to manage activity, take a look at this plasmoid: WorkFlow Plasmoid

http://kde-apps.org/content/show.php/WorkFlow+Plasmoid+(It's+Here!!!)?content=147428 - Aug 29 2012
I'm pretty busy in this period so I don't have time to improve the plasmoid. When I'll have time I'll try to add this feature. - Aug 29 2012
It could be. - Jun 28 2012
I just added the mouse wheel support to this plasmoid and I don't think I'll update it anymore. I try to merge this feature upstream but it was rejected because it seems that a new way to manage activities will come with kde 4.9 or 4.10. A way much more integrated with kwin, like an effect or something similar. - Jun 28 2012
Actually this is a fork of this plasmoid http://kde-apps.org/content/show.php/?content=136278.

I just added the mouse wheel support. So I didn't even read the rest of the code. In any case I'll take a look at the code to see if I can give you some hint on that bug. - Jun 12 2012
Androbit

Plasma Themes 86 comments

Score 77.8%
Aug 04 2013
To be really package-friendly you should rename also the package, i.e., androbit_plasma_theme_4.8.3 - Jun 07 2012
Score 79.3%
Jan 09 2015
PublicTransport

Plasma 4 Widgets
by fpuelz

Score 85.2%
Sep 29 2014
MovieThumbs

Various KDE 1.-4. Improvements
by montfras

Score 81.6%
Mar 23 2013
Androbit

Plasma Themes
by nameless89

Score 77.8%
Jan 30 2012
Flux / Redshift Plasmoid

Plasma 4 Widgets
by diegc

Score 82.4%
Jun 27 2011