https://wiki.archlinux.org/title/Laptop/Lenovo#Battery_Conservation_Mode_on_IdeaPad_laptops
echo 1 >/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
This is a gist of ideas, notes etc. Some of them will be used for more detailed articles in my other blog.
https://wiki.archlinux.org/title/Laptop/Lenovo#Battery_Conservation_Mode_on_IdeaPad_laptops
echo 1 >/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
Launch options to fix sound issue:
WINEDLLOVERRIDES="xaudio2_7=n,b" %command%
https://github.com/ValveSoftware/Proton/issues/289
Set photos and db location on first start to ~/Pictures/digikam-photos
Configure digikam:
Metadata page:
Behaviour:
Write this information to the Metadata:
Image tags
Rating
Pick label
Reading and writing metadata:
Update file modification timestamp when files are modified
Rescan file when files are modified
Sidecars:
Read from sidecar files
Write to sidecar files
Write XMP sidecar only
Rotation:
Rotate by only setting a flag
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 211MB 210MB fat32 boot, esp
2 211MB 735MB 524MB ext4 legacy_boot
3 735MB 512GB 511GB
Partition 1 mount point = /boot/efi
Partition 2 mount point = /boot
Partition 3 = luks
GRUB string:
sudo
vim
/etc/default/grub
linux /vmlinuz-5.12-x86_64 root=UUID=xxx-uuid-of-root-ext4-fs-xxx rw quiet cryptdevice=UUID=luks-partition-uuid:mapped-to-name:allow-discards
root=/dev/mapper/mapped-to-name udev.log_priority=3 rd.luks.options=discard
/usr/share/sddm/scripts/Xsetup
#!/bin/sh
# Xsetup - run as root before the login dialog appears
setxkbmap us
sudo vim /usr/share/sddm/scripts/Xsetup
setxkbmap us