How to disable volume up/down key bindings?
Tofloor
poster avatar
dancaer69
deepin
2016-08-17 01:31
Author
Edited by dancaer69 at 2016-8-16 21:51

Hello,
I'm trying to disable the keyboard shortcuts for volume down/up which are binded to media keys, because I have a remote which I used it to volume up/down in kodi and it conflicts with this global binding. I tried to set it to none via gsettings command:
  1. gsettings set com.deepin.wrap.gnome.settings-daemon.plugins.media-keys volume-up none
Copy the Code
  1. gsettings set com.deepin.wrap.gnome.settings-daemon.plugins.media-keys volume-down none
Copy the Code


but even the key change those shortcuts still used.
Is the above commands wrong or is there another way to do it?
EDIT:
I have the same problem with other media keys as play, stop, next previous, which I want to disable them too
Reply Favorite View the author
All Replies
com_bvv
deepin
2016-08-17 04:08
#1
Edited by com_bvv at 2016-8-16 20:09

amixer set Master 10%+
amixer set Master 10%-  
amixer set Master toggle
Reply View the author
dancaer69
deepin
2016-08-17 05:27
#2
What is this?
I'm not asking how to set the volume.
Reply View the author
com_bvv
deepin
2016-08-17 05:37
#3
https://bbs.deepin.org/post/31374
What is this?
I'm not asking how to set the volume.

difficulties of translation, sorry)
Reply View the author
dancaer69
deepin
2016-08-17 11:30
#4
No one knows a way to do it?
I searched a lot and I couldn't find any information. I found this:
https://github.com/martyr-deepin/arch-deepin/issues/91
and I tried to comment out the entries for play,pause,stop,next,prev, vol+,vol-,mute, in "com.deepin.dde.keybinding.mediakey.schema.xml" and "com.deepin.wrap.gnome.settings-daemon.plugins.media-keys.gschema.xml"
but nothing changed.
Reply View the author
dancaer69
deepin
2016-08-18 00:31
#5
Edited by dancaer69 at 2016-8-17 16:52

Ok, seems that there is some bug with deepin, because I've managed to activate these keys in Kodi by editing the keyboard.xml file.
After that they worked in Kodi, but not in deepin volume which is fine. The problem is that if I use the deepin's sound indicator to change the volume, after that all media keys(not just these for volume, but also these for play/pause, stop) stop working until I logout and relogin. EDIT:
After reboot, seems that vol up/down working on Kodi(not jeneral but is fine), but no the play/stop buttons. These don't work and on keyboard and on remote control. Using xev I get this output :
  1. FocusIn event, serial 38, synthetic NO, window 0x6400001,
  2.     mode NotifyUngrab, detail NotifyAncestor

  3. KeymapNotify event, serial 38, synthetic NO, window 0x0,
  4.     keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
  5.            0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
Copy the Code
and after some google search I found that this means that there is a bount to nothing on them. So seems that deepin has reserved these keys nothing.
I haven't any problem with all these keys and if I login to Kodi standalone or to XFCE, KDE.

Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG