Disabling Secure Boot

To boot into Debian netinst on a USB stick I had to disable Secure Boot in the BIOS.

Installation via WLAN

I didn't have an adapter for the micro Ethernet connector (against my expectations it wasn't included), nor any other way to get a wired connection. So I used the wireless network for initial installation.

The wireless network needs a proprietary firmware blob, which is not on the standard free version of Debian netinst. Unfortunately netinst didn't find the firmware binary when I put it on a second USB stick, so I went back and used the non-free version of netinst which includes these firmware files. That worked.

Touchpad

I wanted tap-to-click for my touchpad. A quick search found this Unix & Linux StackExchange answer, which basically worked. I put

Section  "InputClass"
    Identifier  "touchpad overrides"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
    Option "TappingButtonMap" "lmr"
    Option "ClickPad" "off"
EndSection
into the file /etc/X11/xorg.conf.d/99-touchpad-overrides.conf (the touchpad in the Yoga 370 is from Elantech, not Synaptics), now tapping works for a single finger (left click), two fingers (middle click) and three fingers (right click). In addition I disabled ClickPad behavior, as I find it confusing and noisy.

Screen Brightness

To make screen brightness adjustable (or more precisely the brightness of the backlight), I added the file /etc/X11/xorg.conf.d/20-intel.conf:

Section "Device"
    Identifier "card0"
    Driver "intel"
    Option "Backlight" "intel_backlight"
    BusID "PCI:0:2:0"
EndSection
    
Thanks to It's FOSS for the tip, but note that you shouldn't mess with files under /usr/share, better do your configuration under /etc.

Screen Resolution

Screen resolution is higher than on my previous machine. After fiddling with font sizes for a while, I found the Firefox setting layout.css.devPixelsPerPx and set it to 1.8, which seems to be a good compromise for most web sites (layouts and font sizes on the web are an utter mess).

Firefox still seems to be somewhat confused w.r.t. screen vs window width, it even draws its user interface too wide when it comes up maximized. Unmaximizing and maximizing the window fixes it.

Disabling Touch Input

Touch input on the display tends to get in the way when writing on the display with the pen. There typically is a small dot artifact each time the hand first touches the screen, or even a line between pen and hand, and sometimes writing with the pen is blocked, like a ball-pen almost out of ink. Of course this is not acceptable, especially for giving presentations.

Since I don't think I need touch I decided to disable it. I installed the xinput package and added the line

xinput disable 'Wacom Pen and multitouch sensor Finger touch'
to ${HOME}/.xsessionrc, which does the job.