Compare commits
2 commits
7807204a07
...
d308fd50f8
Author | SHA1 | Date | |
---|---|---|---|
d308fd50f8 | |||
155cb46dc0 |
1 changed files with 32 additions and 0 deletions
32
README.md
32
README.md
|
@ -75,3 +75,35 @@ LC_PAPER=fr_FR.UTF-8
|
|||
LC_TIME=fr_FR.UTF-8
|
||||
EOF
|
||||
```
|
||||
|
||||
|
||||
## rtkit-daemon
|
||||
|
||||
Par défaut, [rtkit-daemon][rtkit] a tendance à inonder les journaux systèmes de notifications peu intéressantes :
|
||||
|
||||
```
|
||||
déc. 31 14:16:56 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
|
||||
déc. 31 14:16:56 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
|
||||
déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
|
||||
déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
|
||||
```
|
||||
|
||||
La solution est de lui fixer un niveau de journalisation plus adapté :
|
||||
|
||||
```
|
||||
sudo mkdir "/etc/systemd/system/rtkit-daemon.service.d"
|
||||
echo "[Service]\nLogLevelMax=4" | sudo tee /etc/systemd/system/rtkit-daemon.service.d/log.conf >/dev/null
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart rtkit-daemon.service
|
||||
```
|
||||
|
||||
Ainsi, `journalctl -f` n'est plus surchargé.
|
||||
|
||||
[rtkit]: https://archlinux.org/packages/extra/x86_64/rtkit/
|
||||
|
||||
|
||||
## NetworkManager
|
||||
|
||||
Pour désactiver le WiFi lorsqu'une liaison filaire est disponible, regarder l'exemple 15 du `man 7 nmcli-examples`.
|
||||
|
||||
TL; DR: copier/coller un script dans `/etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive.sh` et rendre ce fichier exécutable.
|
||||
|
|
Loading…
Add table
Reference in a new issue