2021-02-27 15:01:45 +00:00
|
|
|
|
# 原创
|
|
|
|
|
: Ubuntu使用日常
|
|
|
|
|
|
|
|
|
|
# Ubuntu使用日常
|
|
|
|
|
|
2024-07-03 09:49:47 +00:00
|
|
|
|
## Ubuntu使用日常
|
2021-02-27 15:01:45 +00:00
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
记录使用`Ubuntu`过程中遇到的问题,总结一些常用工具,归纳一些小技巧。本文永久更新地址:[Ubuntu.md](https://github.com/ds-ebooks/test/blob/master/Ubuntu.md)
|
|
|
|
|
|
|
|
|
|
|
2024-07-03 09:49:47 +00:00
|
|
|
|
#### 文章目录
|
2021-02-27 15:01:45 +00:00
|
|
|
|
|
2024-07-03 09:49:47 +00:00
|
|
|
|
### 1、redshift色温调节工具
|
2021-02-27 15:01:45 +00:00
|
|
|
|
|
|
|
|
|
安装
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
# 只安装Redshift发现没有界面,所以安装了三个包
|
|
|
|
|
sudo apt install gtk-redshift redshift python-appindicator
|
|
|
|
|
# 执行
|
|
|
|
|
gtk-redshift
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
配置
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
touch ~/.config/redshift.conf
|
|
|
|
|
sudo gedit ~/.config/redshift.conf
|
|
|
|
|
# 加上以下内容
|
|
|
|
|
; Global settings for redshift
|
|
|
|
|
[redshift]
|
|
|
|
|
; Set the day and night screen temperatures
|
|
|
|
|
temp-day=4500
|
|
|
|
|
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
|
|
|
|
|
|
2024-07-03 09:49:47 +00:00
|
|
|
|
; Set the location-provider: 'geoclue', 'geoclue2',
|
2021-02-27 15:01:45 +00:00
|
|
|
|
```
|