Firefox: Enabling pixel scrolling with touchpads.

May 07, 2021 — ~redtrumpet

There is a bug in Firefox on Ubuntu that prevents precise scrolling when using a touchpad or a trackpoint. One way to fix[1] this is to start Firefox with MOZ_USE_XINPUT2=1 firefox, or put

MOZ_USE_XINPUT2=1

in /etc/environment.

[1] In fact this may trigger other bugs when a notification appears while scrolling.

tags: computers, documentation, ubuntu

Enabling presentation mode via the command line

March 12, 2021 — ~redtrumpet

I recently added the following command to my ~/.profile

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false

It disables the xfce presentation mode on startup, because I frequently forget that I enabled it. The option -s true enables presentation mode, and -T toggles it. One can alse bind this to a key shortcut.

tags: computers, xfce, documentation