Linux command
gammastep 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start with automatic location
gammastep
Set manual location
gammastep -l [37.7749:-122.4194]
Set color temperatures
gammastep -t [6500:3500]
One-shot mode (apply once)
gammastep -O [3500]
Reset screen
gammastep -x
Use Wayland backend
gammastep -m wayland
说明
gammastep adjusts screen color temperature based on time of day to reduce eye strain and improve sleep. It makes screens warmer (redder) at night and cooler (bluer) during day. Gammastep is a fork of Redshift with Wayland support. It's commonly used with tiling window managers and supports automatic location detection or manual coordinates.
参数
- -l _lat:lon_
- Manual location (latitude:longitude).
- -t _day:night_
- Color temperature (day:night Kelvin).
- -b _day:night_
- Brightness (day:night, 0.1-1.0).
- -O _temp_
- One-shot mode with temperature.
- -x
- Reset and exit.
- -g _R:G:B_
- Additional gamma correction to apply.
- -m _method_
- Adjustment method: randr, wayland, drm (use -m list to see options).
- -c _file_
- Load settings from specified configuration file.
- -o
- One-shot mode (apply once based on current time, do not continuously adjust).
- -p
- Print mode (only print parameters and exit).
- -P
- Reset existing gamma ramps before applying.
- -v
- Verbose output.
- -V
- Show program version.
- -r
- Disable fading between color temperatures.
FAQ
What is the gammastep command used for?
gammastep adjusts screen color temperature based on time of day to reduce eye strain and improve sleep. It makes screens warmer (redder) at night and cooler (bluer) during day. Gammastep is a fork of Redshift with Wayland support. It's commonly used with tiling window managers and supports automatic location detection or manual coordinates.
How do I run a basic gammastep example?
Run `gammastep` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -l _lat:lon_ do in gammastep?
Manual location (latitude:longitude).