Posts

Showing posts from March, 2021

Find and execute a command on found files

Very useful command: find -name *.xml -exec cp -f {} /home \; {} is replaced by found file paths.

Lenovo G405 Ubuntu touchpad not working after resume

What worked for me: create /lib/systemd/system-sleep/touchpad : #!/bin/sh case $1 in post) /sbin/rmmod psmouse && /sbin/modprobe psmouse ;; esac make file executable chmod +x /lib/systemd/system-sleep/touchpad and test (suspend computer and wake-up again) Solution from: https://unix.stackexchange.com/questions/309247/linux-mouse-freezes-after-suspend