tms6161
Member
नमस्ते, मैं भारत में रहता हूं
Posts: 3
Likes: 3
|
Post by tms6161 on Mar 11, 2021 3:41:21 GMT
i want to know if Bodhi has a built in night light feature.If it doesn't then is is possible to download it?
|
|
|
Post by thewaiter on Mar 11, 2021 7:03:30 GMT
Hello
Yes, it is possible. The app name is redshift. If you are OK with command line app then it is enough. If you need the GUI and tray icon, install redshift-gtk. For app autostart, add redshift to Startup application list.
Stefan
|
|
tms6161
Member
नमस्ते, मैं भारत में रहता हूं
Posts: 3
Likes: 3
|
Post by tms6161 on Mar 28, 2021 10:36:36 GMT
ok,thank you and sorry for the late reply!
|
|
jafet
Member
Posts: 23
Likes: 14
|
Post by jafet on May 12, 2021 4:02:22 GMT
What is the command to install redshift and the GUI? I am new to Linux. thanks!
|
|
|
Post by thewaiter on May 12, 2021 4:15:38 GMT
|
|
jafet
Member
Posts: 23
Likes: 14
|
Post by jafet on May 22, 2021 15:39:07 GMT
Thanks. It works great. It is synchronized with the dusk and dawn times in my city
|
|
jvkloc
Member
Posts: 30
Likes: 8
|
Post by jvkloc on Jul 22, 2023 8:02:17 GMT
Redshift does not work anymore (hasn't done so for a while). What are the best alternatives? I'm sure that appcenter availability of a working alternative would be appreciated by the Bodhi users.
./gummyd: error while loading shared libraries: libddcutil.so.4: cannot open shared object file: No such file or directory
and can't find a way of installing libddcutil. Could someone help me with this?
EDIT2: there's also gummy executable which gives
terminate called after throwing an instance of 'std::runtime_error' what(): execl(/usr/libexec/gummyd) fail
This is probably the executable that I should run? And it looks like something to do with the libddcutil library which is about C++ if I'm not completely lost.
|
|
|
Post by thewaiter on Jul 22, 2023 10:28:38 GMT
I use redshift. My problem in BL7 is not connectiong to Geoclue2. It is a service to identify your latitude and longtitude. My workaround is to manually set lat and lon in ~/.config/redshift.conf config file:
; Global settings for redshift [redshift] ; Set the day and night screen temperatures temp-day=5700 temp-night=3500
; Enable/Disable a smooth transition between day and night ; 0 will cause a direct change from day to night screen temperature. ; 1 will gradually increase or decrease the screen temperature. transition=1
; Set the screen brightness. Default is 1.0. ;brightness=0.9 ; It is also possible to use different settings for day and night ; since version 1.8. ;brightness-day=0.7 ;brightness-night=0.4 ; Set the screen gamma (for all colors, or each color channel ; individually) gamma=0.8 ;gamma=0.8:0.7:0.8 ; This can also be set individually for day and night since ; version 1.10. ;gamma-day=0.8:0.7:0.8 ;gamma-night=0.6
; Set the location-provider: 'geoclue', 'geoclue2', 'manual' ; type 'redshift -l list' to see possible values. ; The location provider settings are in a different section. location-provider=manual
; Set the adjustment-method: 'randr', 'vidmode' ; type 'redshift -m list' to see all possible values. ; 'randr' is the preferred method, 'vidmode' is an older API. ; but works in some cases when 'randr' does not. ; The adjustment method settings are in a different section. adjustment-method=randr
; Configuration of the location-provider: ; type 'redshift -l PROVIDER:help' to see the settings. ; ex: 'redshift -l manual:help' ; Keep in mind that longitudes west of Greenwich (e.g. the Americas) ; are negative numbers. [manual] lat=48.73 lon=19.14
; Configuration of the adjustment-method ; type 'redshift -m METHOD:help' to see the settings. ; ex: 'redshift -m randr:help' ; In this example, randr is configured to adjust screen 1. ; Note that the numbering starts from 0, so this is actually the ; second screen. If this option is not specified, Redshift will try ; to adjust _all_ screens. [randr] screen=0
Stefan
|
|
jvkloc
Member
Posts: 30
Likes: 8
|
Post by jvkloc on Jul 22, 2023 14:21:53 GMT
After creating a config file redshift-gtk gives
gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
and redshift gives
Trying location provider `geoclue2'... Using provider `geoclue2'. Could not connect to wayland display, exiting. Failed to start adjustment method wayland. Trying next method... Using method `randr'. Waiting for initial location to become available... Unable to start GeoClue client: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 'redshift' disallowed, no agent for UID 1000. Access to the current location was denied by GeoClue! Make sure that location services are enabled and that Redshift is permitted to use location services. See https://github.com/jonls/redshift#faq for more information. Unable to get location from provider.
I don't know what to do.
|
|
|
Post by thewaiter on Jul 22, 2023 16:48:05 GMT
I gave you a method how to solve your problem. Have you read a post above?
Copy and paste the content to ~/.config/redshift.conf file. Just change your GPS coordinates
S
|
|
jvkloc
Member
Posts: 30
Likes: 8
|
Post by jvkloc on Jul 22, 2023 19:25:06 GMT
I gave you a method how to solve your problem. Have you read a post above? Copy and paste the content to ~/.config/redshift.conf file. Just change your GPS coordinates S How do you interpret the first words of my prevoius post: "After creating a config file"? I repeat, after creating a config file, I get the errors mentioned in my previous post.
|
|
|
Post by thewaiter on Jul 22, 2023 21:01:20 GMT
Can you open that config file in leafpad and make a screenshot for me?
|
|
jvkloc
Member
Posts: 30
Likes: 8
|
Post by jvkloc on Jul 23, 2023 6:12:58 GMT
This morning redshift command works, I suppose it's ok now. Thank you for the config file.
However, redshift-gtk still gives the same error:
gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
|
|
|
Post by thewaiter on Jul 23, 2023 6:42:07 GMT
Yea, I can see that in my PC as well. It is apparently related to GTK widget toolkit. Looking at redshift github shows me the project is not maintained anymore. Last commit from 2020. Ignore the error for now Stefan
|
|