mirror of
https://github.com/tiyn/wiki.git
synced 2026-02-22 10:24:47 +01:00
markdown syntax: formatted all files with prettier
This commit is contained in:
@@ -9,11 +9,12 @@ This guide is done in collaboration with [rvbg.eu](https://wiki.rvbg.eu).
|
||||
|
||||
## Fan controlling
|
||||
|
||||
- ` yay -S lm_sensors thinkfan` - Install the needed utilities
|
||||
- `yay -S lm_sensors thinkfan` - Install the needed utilities
|
||||
|
||||
- `sudo modprobe thinkpad_acpi` - After that load the kernel module thinkpad_acpi
|
||||
- `sudo modprobe thinkpad_acpi` - After that load the kernel module `thinkpad_acpi`
|
||||
|
||||
- `sudo cp /usr/share/doc/thinkfan/examples/thinkfan.conf.simple /etc/thinkfan.conf` - Copy and configure the config file
|
||||
- `sudo cp /usr/share/doc/thinkfan/examples/thinkfan.conf.simple /etc/thinkfan.conf`
|
||||
Copy and configure the config file
|
||||
|
||||
- `systemctl start thinkfan` - Start the thinkfan service
|
||||
|
||||
@@ -26,9 +27,8 @@ This guide is done in collaboration with [rvbg.eu](https://wiki.rvbg.eu).
|
||||
- `sudo vim /boot/loader/entries/arch.conf` - Open the bootloader configuration
|
||||
- Go to the `options` line.
|
||||
Append the following.
|
||||
```
|
||||
acpi_osi="!Windows 2012"
|
||||
```
|
||||
`acpi_osi="!Windows 2012"`
|
||||
|
||||
- `shutdown -r now` - Reboot the system
|
||||
|
||||
## Activate battery options
|
||||
@@ -37,12 +37,14 @@ acpi_osi="!Windows 2012"
|
||||
- `yay -S acpi_call` - Enables battery charging stop at given capacity
|
||||
- `sudo vim /etc/tlp.conf` - Open the battery options
|
||||
- Change the following lines
|
||||
```
|
||||
|
||||
```txt
|
||||
START_CHARGE_THRESH_BAT0=80
|
||||
STOP_CHARGE_THRESH_BAT0=90
|
||||
```
|
||||
|
||||
The battery will start charging at 80 percent and stop charging at 90.
|
||||
|
||||
- `sudo tlp start` - Start service and save changed options
|
||||
- `sudo systemctl enable tlp.service` - Enable the service
|
||||
|
||||
@@ -52,13 +54,16 @@ The battery will start charging at 80 percent and stop charging at 90.
|
||||
- `yay -S xrandr arandr` - Instll multimonitor tools
|
||||
- Dock the system
|
||||
- `arandr` - Setup the monitor configuration
|
||||
- `dockd --config docked` - Save the changes (has to maybe be stopped by `CTRL + C`)
|
||||
- `dockd --config docked` - Save the changes (has to maybe be stopped by
|
||||
`CTRL + C`)
|
||||
- Undock the system
|
||||
- `arandr` - Setup the monitor configuration
|
||||
- `dockd --config undocked` - Save the changes (has to maybe be stopped by `CTRL + C`)
|
||||
- `dockd --config undocked` - Save the changes (has to maybe be stopped by
|
||||
`CTRL + C`)
|
||||
- `systemctl enable acpid` - Activate ACPI listener
|
||||
- `systemctl start acpid` - Start ACPI listener
|
||||
|
||||
Scripts to change configuration at docking/undocking
|
||||
|
||||
- For the docked configuration use `vim /etc/dockd/dock.hook`
|
||||
- For the undocked configuration use `vim /etc/dockd/undock.hook`
|
||||
|
||||
Reference in New Issue
Block a user