patrikr Is there any way to set which tty to switch to after resume?
This is a long-stading NetBSD bug. Can you try adding this to /etc/powerd/scripts/sleep_button
as a work-around?
test -S /tmp/.X11-unix/X0 && /usr/sbin/wsconscfg -s 5
Add it to the released)
case first; then if it doesn't work, add it after the fi
in the pressed)
case.
patrikr [...] and that mouse 4/5 act like scroll up/down respectively while I'd prefer to have them be backward/forward navigation.
These actions (gestures, for example) are program-specific (ie. nothing to do with the OS, as long as the OS generates the appropriate mouse-button events).
See, for example, browser.gesture.*
in Firefox's about:config
.