20Y0S3S300

# just hdmi output $ xrandr --output HDMI-1 --auto --rotate left --output eDP-1 -off # hdmi output to the left of laptop, portrait mode $ xrandr --output HDMI-1 --auto --rotate left --left-of eDP-1
Use xtsscale(1) to calibrate.
$ xinput set-prop /dev/wsmouse3 "WS Pointer Axis Calibration" 26, 30222, -7, 18894 $ xinput set-prop /dev/wsmouse5 "WS Pointer Axis Calibration" 84, 12121, 33, 7594
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Timeout" 250 # change the last line according to how fast you click
lidaction=0 disables automatic suspension after the lid is closed. The machine can only be suspended by running zzz/apm -z.
With machdep.lidaction=0, the computer will wake up
if zzz is ran and the lid is closed afterwards.
zzz must be executed only after the lid is closed.
$ sleep 5; zzz #you have 5 seconds to close the lid after execution
With machdep.lidation=1 there is no issue. The machine
goes to sleep when the lid is closed automatically and stays asleep
until opened.
Finger (/dev/wsmouse5) cannot be disabled without also disabling other mouse devices.
$ xinput disable /dev/wsmouse5 $ xinput disable /dev/wsmouse # this will leave only the pen device functional