我想要GNOME shell 3.24的夜灯小程序

我是一名Web开发人员,正在研究我的Ubuntu 16.04,我想更新到Ubuntu 17.04,以便安装新的gnome-shell版本3.24,因为我真的想要新function,例如夜灯applet,我尝试过使用通量应用程序但它不起作用。 我找了一个可行的替代方案,但我没有运气。

您可以从以下命令安装redshift

 sudo apt install redshift 

如果redshift提取自己的默认设置,那么你可以在启动时添加redshift 。 或者,您可以像我在下面列出的那样手动配置它。


您可以从https://mynasadata.larc.nasa.gov/latitudelongitude-finder/获取经度和纬度

然后,您可以创建一个配置文件, redshift将在~/.config/redshift.conf中的主文件夹中使用该配置文件。 添加以下行,我为Portland,OR添加了latlon 。 但您可以为您的位置添加一些。 确保将location-provider=设置为manual然后如果要使用LAT和LONG。 但是,应用程序geoclue2应该能够找到您的位置。 将temp-day temp-night改为你的喜好。

〜/的.config / redshift.conf

 ; Global settings [redshift] temp-day=6500K temp-night=3500 transition=1 gamma=1.000:1.000:1.000 location-provider=geoclue2 adjustment-method=randr ; The location provider and adjustment method settings ; are in their own sections. ; These are the location for Portland, OR. [manual] lat=45.523062 lon=-122.676482 

然后,您只需将redshift -c ~/.config/redshift.conf的应用程序添加到启动应用程序中,默认情况下它将在启动时使用您的配置文件。

您可以通过运行redshift -pvredshift -p来检查redshift参数:

 terrance@terrance-ubuntu:~$ redshift -pv Location: 45.55 N, 122.68 W Temperatures: 6500K at day, 3500K at night Solar elevations: day above 3.0, night below -6.0 Brightness: 1.00:1.00 Gamma (Daytime): 1.000, 1.000, 1.000 Gamma (Night): 1.000, 1.000, 1.000 Solar elevation: -22.482371 Period: Night Color temperature: 3500K Brightness: 1.00 terrance@terrance-ubuntu:~$ redshift -p Period: Night Color temperature: 3500K Brightness: 1.00 

希望这可以帮助!

一个新的简单和免费的软件是Iris mini ,你所要做的就是打开它(因为它是appimage格式)