我通过在 .xsession 中运行以下脚本来设置触摸板滚动
$ cat ~/bin/enablescrolling
# enable two finger scroll
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient EmulateTwoFingerMinW=5
synclient EmulateTwoFingerMinZ=48
.xsession
$ cat ~/.xsession
....
enablescrolling
....
gnome-session --session cinnamon
当我切换到 /dev/tty6 并返回到 /dev/tty8 时,我失去了滚动功能。我捕获了一些日志。有人可以指出为什么会发生这种情况吗?
/var/log/系统日志
Mar 10 19:15:00 rag-tos-laptop acpid: client 1411[0:0] has disconnected
Mar 10 19:15:00 rag-tos-laptop acpid: client connected from 1411[0:0]
Mar 10 19:15:00 rag-tos-laptop acpid: 1 client rule loaded
/var/log/ConsoleKit/历史记录
1362942899.557 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1362942900.367 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session1'
/var/log/Xorg.0.log
18561.016] (II) XKB: reuse xkmfile /var/lib/xkb/server-20D7C92BD55EB53CEBBE18F981CB2A77F469F038.xkm
[ 18812.499] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 18814.442] (II) Open ACPI successful (/var/run/acpid.socket)
[ 18814.442] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 18814.953] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 18819.746] (II) XKB: reuse xkmfile /var/lib/xkb/server-20D7C92BD55EB53CEBBE18F981CB2A77F469F038.x