sotvm
@sotvm
Умный поймёт, а дураку и так всё равно.

Как забиндить медиакнопки клавы для регулировки громкости?

работает только вкл/выкл звука
я так понимаю надыть прописать в
.xbindkeysrc
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.6
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# 'xbindkeys --multikey' and put one of the two lines in this file.
#
# The format of a command line is:
#    "command to start"
#       associated key
#
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier:
#   Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
#   Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#

# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events

# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.

#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable

# Examples of commands:

"xbindkeys_show" 
  control+shift + q

# set directly keycode (here control + f with my keyboard)
#"xterm"
#  c:41 + m:0x4

# specify a mouse button
#"xterm"
#  control + b:2

#"xterm -geom 50x20+20+20"
#   Shift+Mod2+alt + s
#
## set directly keycode (here control+alt+mod2 + f with my keyboard)
#"xterm"
#  alt + c:0x29 + m:4 + mod2
#
## Control+Shift+a  release event starts rxvt
#"rxvt"
#  release+control+shift + a
#
## Control + mouse button 2 release event starts rxvt
#"rxvt"
#  Control + b:2 + Release

##################################
# End of xbindkeys configuration #
##################################

"(Scheme function)"
    m:0x10 + c:150
    Mod2 + XF86Sleep
"(Scheme function)"
    m:0x10 + c:166
    Mod2 + XF86Back
"(Scheme function)"
    m:0x10 + c:167
    Mod2 + XF86Forward
"(Scheme function)"
    m:0x10 + c:136
    Mod2 + Cancel
"(Scheme function)"
    m:0x10 + c:181
    Mod2 + XF86Reload
"(Scheme function)"
    m:0x10 + c:225
    Mod2 + XF86Search
"(Scheme function)"
    m:0x10 + c:164
    Mod2 + XF86AudioStop
"(Scheme function)"
    m:0x10 + c:121
    Mod2 + XF86AudioMute
"(Scheme function)"
    m:0x10 + c:234
    Mod2 + XF86Back
"(Scheme function)"
    m:0x10 + c:173
    Mod2 + XF86AudioPrev
"(Scheme function)"
    m:0x10 + c:171
    Mod2 + XF86AudioNext
"(Scheme function)"
    m:0x10 + c:172
    Mod2 + XF86AudioPlay
"(Scheme function)"
    m:0x10 + c:174
    Mod2 + XF86AudioLowerVolume
"(Scheme function)"
    m:0x10 + c:123
    Mod2 + XF86AudioRaiseVolume
"(Scheme function)"
    m:0x10 + c:122
    Mod2 + XF86AudioLowerVolume
"(Scheme function)"
    m:0x10 + c:180
    Mod2 + XF86HomePage
"(Scheme function)"
    m:0x10 + c:163
    Mod2 + XF86Mail
"(Scheme function)"
    m:0x10 + c:165
    Mod2 + XF86Sleep

коды кнопок я дописал,а вот какие команды с ними ассоциировать не знаю
  • Вопрос задан
  • 329 просмотров
Решения вопроса 1
sotvm
@sotvm Автор вопроса
Умный поймёт, а дураку и так всё равно.
ps
сам разобрался ㋛
5a240143ea818696155664.gif
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
23 апр. 2024, в 19:21
300 руб./за проект
23 апр. 2024, в 19:05
15000 руб./за проект
23 апр. 2024, в 19:01
7000 руб./за проект