将触摸板放在Openbox菜单
!
该内容适用于Bunsenlabs Linux,且外接鼠标后不想用笔记本触摸板功能.
use
Desktop right-click:
menu
→ Preferences
→ Openbox
→ GUI Menu Editor
And create a new entry with this in the Execute
box:
bash -c "[[ $(synclient | awk '/TouchpadOff/{print $NF}') -eq 1 ]] && synclient touchpadoff=0 || synclient touchpadoff=1"
added bonus:
no need to reconfigure openbox after editing the script.
Extended link:
BunsenLabs Linux - URL
Touchpad toggle in Openbox menu - URL
首次创建时间:2019-09-07 22:59:00
最后修改时间:2019-12-13 13:49:53
_(:3 」∠)_