Skip to main content
  1. Tags/

Linux

2020


Use Firefox on Ubuntu with touchscreen

By default Firefox had pretty bad touch support for me. E.g. no scrolling or zooming. But this was easy to change. Go to about:conifg in Firefox and set dom.w3c_touch_events.enabled=1. Then test this by running the following: env MOZ_USE_XINPUT2=1 firefox Change this as the default when starting Firefox. sudo sed -i "s|Exec=|Exec=env MOZ_USE_XINPUT2=1 |g" /usr/share/applications/firefox.desktop

2019


How I stopped my ubuntu from waking up from suspend

My Ubuntu 19.04 Laptop had the annoying property to wake up about 1 sec after being suspended (e.g the lid was closed). It took me some wasted battery charges to fix this problem. So for everyone who has similar problems (and for future me) here is how I fixed it. Open /proc/acpi/wakeup in your favorite editor. sudo vim /proc/acpi/wakeup Which looked like this: Device S-state Status Sysfs node LANC S5 *enabled pci:0000:00:19.