Comments (10)
Thanks a lot for your feedback and feature suggestions. I'll try to do both. As for the second I'll look into geoclue2 but I can also leverage Mozilla Location Service available in Plasma (like I do on demand in the widget settings).
from plasma-applet-redshift-control.
Done in version 1.0.11. Please report bugs :).
I agree using "redshift -v" is more elegant and simpler solution but for now I've used the other one otherwise I'd have to create C++ extension to track stdout and therefore some users of .plasmoid only version of applet would be out of luck. I'll probably do the C++ extension eventually but for now "redshift -p" was used.
from plasma-applet-redshift-control.
Hey
Thanks, it seems to be working fine. I test if for couple days and give feedback here in case of any problems.
Can C++ extension be made optional? So if it exists it will be used, otherwise it fallback to redshift -p
. I can imagine some corner cases when current approach can give invalid results.
Best Regards
Piotr
from plasma-applet-redshift-control.
Thanks! Yes, it can be made optional, I've already done that in my Weather Widget. But here it would entirely change the way redshift process is called and I don't like having 2 different codes for one thing in one plasmoid (unnecessary overhead). So I probably fork / split the project and continue the development with C++ ext. in the new one and backport fixes to the old one for users of .plasmoid version.
from plasma-applet-redshift-control.
Hello,
Unfortunately value seems to not updating during sunset.
I think preview process isn't even spawned.
Can you check this?
I don't have any experience with debugging plasmoids, so I don't know how to check this.
Best Regards
Piotr
from plasma-applet-redshift-control.
Hi! For me it is updating fine day->night and night->day. I can always see the tray icon become active and changing temperature value (every 10 seconds) in tooltip during the transition.
What do you mean by preview process?
from plasma-applet-redshift-control.
Hello,
In tooltip I always have "Turned on, 6500K" with is my day temperature.
By preview process i mean executing redshift with -p parameter.
But if interval is 10s, I could miss it in noise in strace messages.
Edit: I recorded issue: https://youtu.be/9BscHojgIoY
Best Regards
Piotr
from plasma-applet-redshift-control.
Sorry, I've been quite busy lately. Thanks for the video. I can see the temp. is not updating in the widget. However I still cannot replicate the issue. Is there only one redshift process / widget active? How did you monitor the temperature in terminal on the video?
from plasma-applet-redshift-control.
Hello
In terminal it is running watch of redshift command contains -p.
Rest of arguments I got from ps aux|grep redshift, so they are identical as in process running by the widget.
And there aren't any other running redshift processes.
Best Regards
Piotr
from plasma-applet-redshift-control.
Thanks. I believe I used the same procedure as you while testing. Since I couldn't replicate the issue I also recorded a video of my actions so it is more clear which arguments are called and when. Hopefully it will narrow the search for the cause of this problem.
The only thing coming to my mind right now is: do you have your location set the same way in widget and in watch command?
So, here is my screencast (sorry about the flickering...):
http://sojcaci.cz/temp/github/vokoscreen-2016-03-12_15-32-00.mkv
from plasma-applet-redshift-control.
Related Issues (20)
- Error running Redshift command HOT 2
- Autostart not working with Kubuntu 16.04 HOT 1
- very high plasmashell/kwin cpu load when using geoclue HOT 1
- fr translation mistake HOT 4
- Widget no longer appears as entry in System Tray HOT 1
- Does not get as red as it should HOT 2
- System Tray no logner works in Plasma 5.12+ HOT 2
- Add a checkbox to disable the temperature modification with mouse scroll
- Preserve color doesn't work as it should
- Temperature and brightness only reducing when using scroll wheel HOT 2
- Was 1.0.18 retagged? HOT 1
- Does not work with KDE in Fedora 28 HOT 1
- Scrollwheel kills plasma HOT 2
- Close this repo
- Show popup
- borked with recent updates to neon HOT 1
- Is it possible to determine current screen color temperature via command line? HOT 1
- Breaks desktop notifications on Kubuntu 16.04 with KDE Plasma 5.8.9. HOT 1
- New Project location in readme is outdated
- Two clashing redshift processes if systemd's startup of redshift isn't masked HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plasma-applet-redshift-control.