From: JFMart@overthere.com   
      
   On Mon, 14 Nov 2022 03:44:25 -0000 (UTC), John Forkosh wrote:   
      
   > Jean F. Martinelle wrote:   
   >> I am running XFCE under Slackware 15.0. My keyboard has two   
   >> keys   
   >> that are obviously meant to mute and unmute the sound in my system.   
   >> However, when I press them nothing happens.   
   >>   
   >> While this is hardly unexpected, I am sure there must be a way   
   >> to   
   >> redefine those keys from XFCE so that when they are pressed they will   
   >> do what they are supposed to do.   
   >>   
   >> Can anybody supply pointers on how to pull this off?   
   >   
   > Not sure, but maybe try xmodmap -pk | grep Mute to find the   
   > appropriate keycode, which seems to be 121 for my keyboard (but I'm not   
   > seeing anything that looks like "Unmute"; maybe you're just supposed to   
   > press Mute a second time?). Anyway,   
   > now use xev and press the key you think should be Mute,   
   > and see if its displayed keycode actually is your Mute keycode. Suppose   
   > it's not... suppose it's, say, 66, and from xmodmap you know Mute should   
   > be 121. Then xmodmap -e "keycode 66 = Mute" should re-assign the key   
   > you want to be Mute so that it actually is.   
   > Same idea for Unmute, I suppose, but like I said, I'm not seeing any   
   > Unmute key for my keyboard.   
      
    Thanks. Actually, I was wrong: they are not mute and unmute keys,   
   but audio volume up and down keys:   
      
   $ xmodmap -pk | grep -i volume   
    122 0x1008ff11 (XF86AudioLowerVolume) 0x0000   
   (NoSymbol) 0x1008ff11 (XF86AudioLowerVolume)    
    123 0x1008ff13 (XF86AudioRaiseVolume) 0x0000   
   (NoSymbol) 0x1008ff13 (XF86AudioRaiseVolume)    
      
   And, in fact, they already do what they are supposed to do: I never   
   noticed this before because I keep my audio framework on mute by default.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|