如果您使用 Windows 10,并且鼠标按钮位于您的右手拇指握住鼠标的位置,那么您就知道那里有一个按钮可以调出所有打开的应用程序,这样您就不必通过最小化和最大化多个终端、Chrome 窗口或打开的文件夹等来搜索所需的应用程序。
我如何在 Ubuntu 上执行此操作?我安装了 22.04。
我的鼠标上有几个用于右手拇指的按钮(如图所示)。我想分配的按钮不是可见的按钮,而是拇指所在的按钮,我已将其圈出并画了一个箭头。
我希望此按钮显示所有应用程序。
我可以获得我想要发生的事件,即使用“超级按钮”(即键盘上的 Windows 图标)在键盘上的 Ubuntu 屏幕中间显示所有应用程序。
我xev
在终端中输入了以下内容,当我按下按钮时,我得到了以下输出......
KeyPress event, serial 38, synthetic NO, window 0x6800001,
root 0xb00, subw 0x0, time 4499173, (71,111), root:(1150,598),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x6800001,
root 0xb00, subw 0x0, time 4499179, (71,111), root:(1150,598),
state 0x14, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 38, synthetic NO, window 0x6800001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 38, synthetic NO, window 0x6800001,
mode NotifyUngrab, detail NotifyPointer
FocusIn event, serial 38, synthetic NO, window 0x6800001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 2 0 0 0 32 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 38, synthetic NO, window 0x6800001,
root 0xb00, subw 0x0, time 4499203, (71,111), root:(1150,598),
state 0x1c, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x6800001,
root 0xb00, subw 0x0, time 4499211, (71,111), root:(1150,598),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
然后,当我按下键盘上的 Windows 图标“超级按钮”时,xev
我得到以下内容...
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusIn event, serial 37, synthetic NO, window 0x6a00001,
mode NotifyGrab, detail NotifyPointer
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusOut event, serial 37, synthetic NO, window 0x6a00001,
mode NotifyUngrab, detail NotifyPointer
LeaveNotify event, serial 37, synthetic NO, window 0x6a00001,
root 0xb00, subw 0x0, time 7757428, (83,7), root:(213,121),
mode NotifyGrab, detail NotifyNonlinear, same_screen YES,
focus NO, state 16
EnterNotify event, serial 37, synthetic NO, window 0x6a00001,
root 0xb00, subw 0x0, time 7758496, (83,7), root:(213,121),
mode NotifyUngrab, detail NotifyNonlinear, same_screen YES,
focus NO, state 16
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusIn event, serial 37, synthetic NO, window 0x6a00001,
mode NotifyGrab, detail NotifyPointer
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusOut event, serial 37, synthetic NO, window 0x6a00001,
mode NotifyUngrab, detail NotifyPointer
LeaveNotify event, serial 37, synthetic NO, window 0x6a00001,
root 0xb00, subw 0x0, time 7774794, (83,7), root:(213,121),
mode NotifyGrab, detail NotifyNonlinear, same_screen YES,
focus NO, state 16
EnterNotify event, serial 37, synthetic NO, window 0x6a00001,
root 0xb00, subw 0x0, time 7775929, (83,7), root:(213,121),
mode NotifyUngrab, detail NotifyNonlinear, same_screen YES,
focus NO, state 16