Gnome On Xorg 配置多功能鼠标侧键

1. 安装xbindkeys、xdotool

sudo pacman -S xbindkeys xdotool

2. 生成默认的xbindkeys配置文件:

$ xbindkeys -d > ~/.xbindkeysrc

3. 编辑~/.xbindkeysrc,定义鼠标侧键功能。增加如下定义:

"xdotool key --clearmodifiers Page_Up"
 b:9
 "xdotool key --clearmodifiers Page_Down"
 b:8

4. 设置xbindkeys自启动。编辑~/.xprofile,内容如下:

#!/bin/bash
xbindkeys &

参考:

https://wiki.archlinux.org/index.php/Xbindkeys

http://zzss.cf/?p=5290

How to Enable Fractional Scaling in Ubuntu 19.10 Eoan

This quick tutorial shows how to enable the fractional scaling in Ubuntu 19.10 for both default X and wayland sessions.

The Display settings only offer two scaling values (100% and 200%) by default. For HiDPI displays, you may want fractional scaling values, like 125% or 150%, and here’s how to do the job.

Continue reading “How to Enable Fractional Scaling in Ubuntu 19.10 Eoan”