I keep going back to this laptop. There is a company making an updated version of this thing, I'm seriously considering buying one. I just ordered a second battery for this, the first replacement did not last as long as the original.
I run Debian on it now, I just moved it from Ubuntu 18. The latter was actually more seamless, but my understanding is newer versions are suffering the same as Debian
This is not just a Linux issue, although it seems like things are one step up, two steps back. The script below should reset the touchpad to sanity, but not according to the plasma settings. You can go into the touchpad plasma settings and toggle a checkbox for full restore. You will want to have xinput installed.
#!/bin/sh # # # Last Modified: 2023-05-25 06:55:35 # echo "Ruunning" #---------------------------------------------------------------------- # INSTALL_WAKEUP_SCRIPT #---------------------------------------------------------------------- install_wakeup_script() { cat - > /usr/local/bin/wakeup.sh <<EOF_WAKEUP_SH #!/bin/sh # # Script: wakeup.sh # # Last Modified: 2023-05-25 06:33:42 # # Log something to prove we ran [ -f /usr/local/bin/openlog ] && . /usr/local/bin/openlog MOD_LIST="i2c_hid" echo "\`date +%H:%M:%S\` Reloading modules: $MOD_LIST" >&2 for mod in \$MOD_LIST do rmmod \$mod done for mod in \$MOD_LIST do modprobe \$mod done EOF_WAKEUP_SH chmod 0755 /usr/local/bin/wakeup.sh } #---------------------------------------------------------------------- # INSTALL_WAKEUP_SERVICE #---------------------------------------------------------------------- install_wakeup_service() { systemctl disable wakeup.service cat - > /lib/systemd/system/wakeup.service <<EOF_WAKEUP_SERVICE [Unit] Description=Things to do after we wake up After=suspend.target After=hibernate.target #After=hybrid-sleep.target [Service] Type=oneshot ExecStart=/usr/local/bin/wakeup.sh [Install] WantedBy=suspend.target WantedBy=hibernate.target #WantedBy=hybrid-sleep.target EOF_WAKEUP_SERVICE systemctl daemon-reload systemctl enable wakeup.service } #---------------------------------------------------------------------- # MAIN #---------------------------------------------------------------------- install_wakeup_script install_wakeup_service
This will turn on tap to click, but where oh where should it live to be automagic?
#!/bin/sh id=`xinput list | awk -F '=' ' /Touchpad/ { split($2,a," ") print a[1] exit 0 } '` prop=`xinput list-props $id | awk ' /Tapping Enabled \(/ { prop = substr($4,2) + 0 print prop } '` xinput list-props $id | grep 'Tapping Enabled (' xinput set-prop $id $prop 1 xinput list-props $id | grep 'Tapping Enabled ('