[TriLUG] Multimedia Keybinding

William Sutton via TriLUG trilug at trilug.org
Fri Oct 14 16:26:35 EDT 2016


I just want to say... thank you for posting your solution.  Too many times 
my research has ended with "Try this" followed by silence.

William Sutton

On Fri, 14 Oct 2016, vikram sai balaji ulaganathan via TriLUG wrote:

> Thanks, found the code
> It was pactl set-sink-volume 0 +/- 5%.
> I saw i3 settings and tried it on unity and it worked. I had to tweak the
> command by changing the value from 0 to 1 as it assumed 0 for HDMI output
> and 1 for laptop speakers
>
> Thanks again for all your help.
> Vikram
>
> On Oct 14, 2016 3:11 PM, "Ken MacKenzie" <ken at mack-z.com> wrote:
>
>> Your audio mixer should be what captures the key press.  My example, I use
>> openbox for my WM, with tint2 and docky.  My volume adjust is handled by
>> the volumeicon program (which I think comes with XFCE).  Anyway in its
>> preferences I can set what it sees as the volume up and down keypresses.
>> Other DE/WM/Mixer combos will differ.
>>
>> Ken
>>
>> On Fri, Oct 14, 2016 at 3:07 PM, vikram sai balaji ulaganathan via TriLUG
>> <trilug at trilug.org> wrote:
>>
>>> Thanks all for the tips. But what i am looking for is the command that
>>> gets
>>> executed. For e.g. xev gets the proper key code 122 which is
>>> XF86AudioRaiseVolume. But what i am looking for is XF86AudioRaiseVolume
>>> triggers something like aumix -v 10+ etc.. I want to know what function /
>>> command gets triggered or where can i find the mapping.
>>>
>>> Thanks
>>> Vikram
>>>
>>> On Fri, Oct 14, 2016 at 1:58 PM, Robert Dale via TriLUG <
>>> trilug at trilug.org>
>>> wrote:
>>>
>>> > Here's a list of key codes
>>> > https://github.com/jackhumbert/qmk_firmware/blob/master/doc/keycode.txt
>>> >
>>> > 0x80 volume up
>>> >
>>> > On Fri, Oct 14, 2016 at 1:50 PM, Lee Fickenscher via TriLUG
>>> > <trilug at trilug.org> wrote:
>>> > > I'm not sure those events make it to the X server, but if they do, you
>>> > try
>>> > > xev.
>>> > >
>>> > > On Fri, Oct 14, 2016 at 8:52 AM, Ken MacKenzie via TriLUG <
>>> > trilug at trilug.org
>>> > >> wrote:
>>> > >
>>> > >> Perhaps installing a keylogger can help.  You need to trap the
>>> keyboard
>>> > >> event.  logkeys is one that is pretty easy to setup.
>>> > >>
>>> > >> Ken
>>> > >>
>>> > >> On Fri, Oct 14, 2016 at 11:46 AM, vikram sai balaji ulaganathan via
>>> > TriLUG
>>> > >> <
>>> > >> trilug at trilug.org> wrote:
>>> > >>
>>> > >> > How can i find the exact command that gets triggered when i press
>>> say
>>> > >> > "Volume-up" key in ubuntu? I have searched for the gsettings and
>>> dconf
>>> > >> > information and all i get is "Volume-up" and the key code. Any help
>>> > would
>>> > >> > be appreciated.
>>> > >> > Thanks
>>> > >> > Vikram
>>> > >> > --
>>> > >> > This message was sent to: Ken M. <ken at mack-z.com>
>>> > >> > To unsubscribe, send a blank message to trilug-leave at trilug.org
>>> from
>>> > >> that
>>> > >> > address.
>>> > >> > TriLUG mailing list : http://www.trilug.org/mailman/
>>> listinfo/trilug
>>> > >> > Unsubscribe or edit options on the web  :
>>> > http://www.trilug.org/mailman/
>>> > >> > options/trilug/ken%40mack-z.com
>>> > >> > Welcome to TriLUG: http://trilug.org/welcome
>>> > >> --
>>> > >> This message was sent to: elfick at gmail.com <elfick at gmail.com>
>>> > >> To unsubscribe, send a blank message to trilug-leave at trilug.org from
>>> > that
>>> > >> address.
>>> > >> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>>> > >> Unsubscribe or edit options on the web  :
>>> > http://www.trilug.org/mailman/
>>> > >> options/trilug/elfick%40gmail.com
>>> > >> Welcome to TriLUG: http://trilug.org/welcome
>>> > >>
>>> > > --
>>> > > This message was sent to: Robert Dale <robdale at gmail.com>
>>> > > To unsubscribe, send a blank message to trilug-leave at trilug.org from
>>> > that address.
>>> > > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>>> > > Unsubscribe or edit options on the web  :
>>> http://www.trilug.org/mailman/
>>> > options/trilug/robdale%40gmail.com
>>> > > Welcome to TriLUG: http://trilug.org/welcome
>>> >
>>> >
>>> >
>>> > --
>>> > Robert Dale
>>> > --
>>> > This message was sent to: Vikram <tayirvadai.vikram at gmail.com>
>>> > To unsubscribe, send a blank message to trilug-leave at trilug.org from
>>> that
>>> > address.
>>> > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>>> > Unsubscribe or edit options on the web  :
>>> http://www.trilug.org/mailman/
>>> > options/trilug/tayirvadai.vikram%40gmail.com
>>> > Welcome to TriLUG: http://trilug.org/welcome
>>> >
>>> --
>>> This message was sent to: Ken M. <ken at mack-z.com>
>>> To unsubscribe, send a blank message to trilug-leave at trilug.org from
>>> that address.
>>> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>>> Unsubscribe or edit options on the web  : http://www.trilug.org/mailman/
>>> options/trilug/ken%40mack-z.com
>>> Welcome to TriLUG: http://trilug.org/welcome
>>>
>>
>>
> -- 
> This message was sent to: William <william at trilug.org>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web	: http://www.trilug.org/mailman/options/trilug/william%40trilug.org
> Welcome to TriLUG: http://trilug.org/welcome


More information about the TriLUG mailing list