如何启用媒体键?

如何启用媒体键?

我在 Ubuntu 18.04.4 LTS 上,并且使用 DasKeyboard Pro 4。睡眠和静音键工作正常,音量旋钮也工作正常。播放/暂停、下一个和 Precious Track 按钮完全不起作用。我尝试从键盘设置选项中手动分配它们。请帮忙!

编辑:xev 结果 -

• 上一曲目

KeyRelease event, serial 34, synthetic NO, window 0x5a00001,
    root 0x14f, subw 0x0, time 18634421, (171,-12), root:(274,81),
    state 0x10, keycode 173 (keysym 0x1008ff16, XF86AudioPrev), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

• 下一曲目

KeyPress event, serial 34, synthetic NO, window 0x5a00001,
    root 0x14f, subw 0x0, time 18983219, (623,348), root:(726,441),
    state 0x10, keycode 171 (keysym 0x1008ff17, XF86AudioNext), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

• 播放/暂停

FocusOut event, serial 34, synthetic NO, window 0x4e00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 34, synthetic NO, window 0x4e00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  2   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

编辑2:

键盘快捷键似乎存在一般问题。例如,当重新分配 ctrl + print 以将窗口捕获到剪贴板时,它不起作用(默认的 ctrl + alt + print 可以工作)。例如,为 flameshot gui 创建自定义快捷键可以工作,但为媒体键创建自定义快捷键不能解决我的问题。我在这里感到困惑,有什么想法吗?我是 Linux 新手(2 天),实际上我开始爱上它了,但有些事情应该非常顺利和简单,却需要几个小时才能弄清楚,这有点奇怪。

相关内容