Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. ~/.config/redshift.conf
  2.  
  3. No adjustment method 'randr'
  4.  
  5. redshift -m list
  6.  
  7. autotools, gettext
  8. intltool, libtool
  9. libdrm (Optional, for DRM support)
  10. libxcb, libxcb-randr (Optional, for RandR support)
  11. libX11, libXxf86vm (Optional, for VidMode support)
  12. geoclue (Optional, for geoclue support)
  13. python3, pygobject, pyxdg (Optional, for GUI support)
  14. appindicator (Optional, for Ubuntu-style GUI status icon)
  15.  
  16. sudo apt-get install build-essential libxcb-randr0-dev
  17. ./bootstrap
  18. ./configure --enable-randr --prefix=$HOME/redshift/root
  19. --with-systemduserunitdir=$HOME/.config/systemd/user
  20. make
  21. make install
  22.  
  23. $HOME/redshift/root/bin/redshift-gtk
  24.  
  25. ; Global settings for redshift
  26. [redshift]
  27. ; Set the day and night screen temperatures
  28. temp-day=6500
  29. temp-night=4500
  30.  
  31. ; Enable/Disable a smooth transition between day and night
  32. ; 0 will cause a direct change from day to night screen temperature.
  33. ; 1 will gradually increase or decrease the screen temperature
  34. transition=1
  35.  
  36. ; Set the screen brightness. Default is 1.0
  37. ;brightness=1.0
  38. ; It is also possible to use different settings for day and night since version 1.8.
  39. brightness-day=1.0
  40. brightness-night=1.0
  41. ; Set the screen gamma (for all colors, or each color channel individually)
  42. gamma=0.8
  43. ;gamma=0.8:0.7:0.8
  44.  
  45. ; Set the location-provider: 'geoclue', 'gnome-clock', 'manual'
  46. ; type 'redshift -l list' to see possible values
  47. ; The location provider settings are in a different section.
  48. ;location-provider=geoclue
  49.  
  50. ; Set the adjustment-method: 'randr', 'vidmode'
  51. ; type 'redshift -m list' to see all possible values
  52. ; 'randr' is the preferred method, 'vidmode' is an older API
  53. ; but works in some cases when 'randr' does not.
  54. ; The adjustment method settings are in a different section.
  55. adjustment-method=randr
  56.  
  57. ; Configuration of the location-provider:
  58. ; type 'redshift -l PROVIDER:help' to see the settings
  59. ; ex: 'redshift -l manual:help'
  60. [manual]
  61. lat=4.610078
  62. lon=-74.082336
  63.  
  64. ; Configuration of the adjustment-method
  65. ; type 'redshift -m METHOD:help' to see the settings
  66. ; ex: 'redshift -m randr:help'
  67. ; In this example, randr is configured to adjust screen 1.
  68. ; Note that the numbering starts from 0, so this is actually the second screen.
  69. [randr]
  70. screen=0
  71.  
  72. xrandr --current --output LVDS-0 --gamma 0.1:1.0:1.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement