linux:laptop
This is an old revision of the document!
Table of Contents
Linux Laptop
Lenovo w540
Touchpad
Tapping aktivieren
/etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "on"
Sondertasten Fn
Lautstärke regeln
Mit Fn + F1 lauter
/home/user/.config/openbox/rc.xml
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>/home/user/bin/vol_up.sh</command>
</action>
</keybind>
home/user/bin/vol_up.sh amixer set Master 2%+ >/dev/null VOLUME=`amixer get Master | sed -ne '/%/s/.*\[\(.*\)%\].*/\1/p'` osd_cat --colour=Green -f '-adobe-*-*-r-*-*-*-240-*-*-*-*-*-*' -p bottom -A center -o 100 -d 1 -b percentage -P $VOLUME -T "Volume $VOLUME%"
Bildschirm Helligkeit steuern
Mit Fn + F5 Bildschirm heller
/home/user/bin/brightness_up.sh act_br=`cat /sys/class/backlight/intel_backlight/actual_brightness` max_br=`cat /sys/class/backlight/intel_backlight/max_brightness` new_br=$((act_br+51)) echo $new_br | sudo tee /sys/class/backlight/intel_backlight/brightness >/dev/null br=$((act_br*100/max_br)) osd_cat --colour=Green -f '-adobe-*-*-r-*-*-*-240-*-*-*-*-*-*' -p bottom -A center -o 100 -d 1 -b percentage -P $br -T "Brightness $br%"
Mit Fn + F6 Bildschirm dunkler
/home/user/bin/brightness_down.sh act_br=`cat /sys/class/backlight/intel_backlight/actual_brightness` max_br=`cat /sys/class/backlight/intel_backlight/max_brightness` new_br=$((act_br-51)) echo $new_br | sudo tee /sys/class/backlight/intel_backlight/brightness >/dev/null br=$((act_br*100/max_br)) osd_cat --colour=Green -f '-adobe-*-*-r-*-*-*-240-*-*-*-*-*-*' -p bottom -A center -o 100 -d 1 -b percentage -P $br -T "Brightness $br%"
linux/laptop.1599645394.txt.gz · Last modified: 2023/01/11 20:30 (external edit)