use*_*836 11 sound keyboard shortcut-keys lubuntu
我在我的联想 Z510 中安装了 Lubuntu(14.04.2 LTS)。
我的笔记本电脑中的多媒体热键是独立的。指使用多媒体键我不必Fn按键。亮度热键工作正常,但只有音量按钮(静音、增大音量、减小音量)不起作用。
我试过
gsettings reset org.gnome.settings-daemon.plugins.media-keys volume-up
gsettings reset org.gnome.settings-daemon.plugins.media-keys volume-down
gsettings reset org.gnome.settings-daemon.plugins.media-keys volume-mute
Run Code Online (Sandbox Code Playgroud)
但仍然没有任何反应。
在 17.04 上,默认音量命令将不起作用,因为在 ~/.config/openbox/lubuntu-rc.xml 上 amixer 命令是错误的。为了修复它,找到“XF86Audio”关键标签
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer -q sset Master 3%+ unmute</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer -q sset Master 3%- unmute</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer -q sset Master toggle</command>
</action>
</keybind>
Run Code Online (Sandbox Code Playgroud)
将 amixer -q 选项更改为“amixer -D 脉冲”。该文件必须如下所示:
<!-- Keybinding for Volume management -->
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer -D pulse sset Master 3%+ unmute</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer -D pulse sset Master 3%- unmute</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer -D pulse sset Master toggle</command>
</action>
</keybind>
Run Code Online (Sandbox Code Playgroud)
小智 3
尝试更改一些命令$HOME/.config/openbox/lubuntu-rc.xml
<!-- Keybinding for Volume management -->
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer -D pulse sset Master 3%+</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer -D pulse sset Master 3%-</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer -D pulse sset Master 0%</command>
</action>
</keybind>
Run Code Online (Sandbox Code Playgroud)
尝试keytouch,一个键盘快捷键编辑器。
在终端中输入安装
sudo apt-get install keytouch-editor
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
14733 次 |
| 最近记录: |