Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望我的 GTK 应用程序处理音量(XF86AudioRaiseVolume、XF86AudioLowerVolume)和静音(XF86AudioMute)键,但看起来统一正在抓取静音键(但不是音量)。
有没有办法可以禁用它捕获静音?
您需要转到SystemSettings -> Keyboard -> Shortcuts -> Sound and Media 并重新配置音量静音。
或从命令行
gsettings set org.gnome.settings-daemon.plugins.media-keys volume-mute AudioMute