Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 478  / 2 Years ago, tue, october 11, 2022, 8:18:50

In Unity I use my ThinkPad hot keys to change the volume. I need to know the command that these keys run so that I can bind it in my window manager.



I have tried using amixer but could not change the volume through command line




amixer set Master 10%- amixer: Unable to find simple control 'Master',0



amixer scontrols: Simple mixer control 'IEC958',0



amixer set 'IEC958' 50%- amixer: Invalid command!




So obviously this is not what Unity is running. I have tried changing the default sound card as well but that didn't help.


More From » sound

 Answers
3

so basically they're not simple keybinding->command process, MediaKeys give you scancode which is interpreted by X.
Some reading for you https://help.ubuntu.com/community/MultimediaKeys


[#28854] Wednesday, October 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
earxcept

Total Points: 310
Total Questions: 115
Total Answers: 111

Location: Japan
Member since Sat, Oct 2, 2021
3 Years ago
;