User Tools

Site Tools


linux:laptop

This is an old revision of the document!


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

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.1599644859.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki