Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

  1. #1
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    hi,

    1>i'm trying to make my laptop's[Acer ASPIRE 5672WLMi] media keys work with vlc player...

    the media keys work with rhythm box[all except the previous key , which works only randomly, i dont know y?] and Totem...

    the hot key settings in vlc player are set as in pic>
    i'm not sure how ELSE to set it up!!!

    the xev output is as below:
    volume up>
    Code:
    FocusOut event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyGrab, detail NotifyAncestor
    
    FocusIn event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyUngrab, detail NotifyAncestor
    
    KeymapNotify event, serial 31, synthetic NO, window 0x0,
        keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
    volume down>
    Code:
    FocusOut event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyGrab, detail NotifyAncestor
    
    FocusIn event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyUngrab, detail NotifyAncestor
    
    KeymapNotify event, serial 31, synthetic NO, window 0x0,
        keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
    play/pause>
    Code:
    FocusOut event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyGrab, detail NotifyAncestor
    
    FocusIn event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyUngrab, detail NotifyAncestor
    
    KeymapNotify event, serial 31, synthetic NO, window 0x0,
        keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
    stop>
    Code:
    FocusOut event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyGrab, detail NotifyAncestor
    
    FocusIn event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyUngrab, detail NotifyAncestor
    
    KeymapNotify event, serial 31, synthetic NO, window 0x0,
        keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
    next>
    Code:
    FocusOut event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyGrab, detail NotifyAncestor
    
    FocusIn event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyUngrab, detail NotifyAncestor
    
    KeymapNotify event, serial 31, synthetic NO, window 0x0,
        keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   1   0   0   0   0   0   0   0   0   0   0   0   0   0
    previous>[this is the key which works randomly with rhythomBox]
    Code:
    FocusOut event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyGrab, detail NotifyAncestor
    
    FocusIn event, serial 31, synthetic NO, window 0x2a00001,
        mode NotifyUngrab, detail NotifyAncestor
    
    KeymapNotify event, serial 31, synthetic NO, window 0x0,
        keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
               0   0   1   0   0   0   0   0   0   0   0   0   0   0   0   0   
    
    KeyRelease event, serial 31, synthetic NO, window 0x2a00001,
        root 0x87, subw 0x2a00002, time 201106835, (34,58), root:(717,92),
        state 0x0, keycode 144 (keysym 0x0, NoSymbol), same_screen YES,
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False
    2> can we get vlc 0.9.2 for ubuntu[the version which is available for windows it has a nice interface]

    3> i would also like to know how to make the previous key work for rhythm box
    Attached Images Attached Images
    Last edited by macvr; September 22nd, 2008 at 07:31 AM.

  2. #2
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    bump

  3. #3
    Join Date
    Oct 2007
    Beans
    16

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    Am afraid that I am not here to help, but to join in the fun of trying to work out why the multimedia buttons don't have keycodes!

    I have the apple slim keyboard and the buttons work fine for rhythmbox etc, but I only get the same KeymapNotify events like you do when I use xev to try and find the keycodes. I need the keycodes to map the multimedia keys to other scripts I want to run.

    I suspect if you could assign keycodes to your multimedia keys rather than the weird situation of having keys with no keycodes your problem would be solvable...


    Edit-- I just looked at your screenshot, I suspect that the button vlc calls "media stop" is probably the button with KeySym "XF86AudioStop" or something similar. However, if that symbol is not mapped to a keycode it will need to be. Of course, since you can't get at the keycodes of your multimedia keys you can't do that.
    e-dard
    Last edited by e-dard; September 24th, 2008 at 12:15 PM.

  4. #4
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    Quote Originally Posted by e-dard View Post
    Of course, since you can't get at the keycodes of your multimedia keys you can't do that.
    e-dard
    so it is not possible to use media keys with vlc player

    if so ... atleast how do i make my previous media key to work constantly?

  5. #5
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    bump?

  6. #6
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    bump

  7. #7
    Join Date
    Nov 2005
    Location
    Burntwood, UK
    Beans
    50
    Distro
    Ubuntu

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    Quote Originally Posted by e-dard View Post
    Am afraid that I am not here to help, but to join in the fun of trying to work out why the multimedia buttons don't have keycodes!
    Me too, but this looks interesting... am going to try it when I get home.
    Even the people that never frown eventually break down...

  8. #8
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    i tried >
    sudo modprobe acerhk force_series=6000

    i now dont have functionning of any of the hotkeys...[only the volume hkeys work]

    it was either the command or the upgrade to 8.10 that killed the keys!

    how do i reverse the command?

  9. #9
    Join Date
    Jun 2009
    Beans
    6

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    1. Unset the keys you want to use in System > Preferences > Keyboard Shortcuts
    2. Open VLC, and set keys to "Global" field in VLC menu Tools > Preferences > Hotkeys
    3. Restart VLC.

    That worked for me.

  10. #10
    Join Date
    Oct 2006
    Location
    Eagan, MN
    Beans
    111

    Re: media keys to work with vlc player?[Acer ASPIRE 5672WLMi]

    Quote Originally Posted by Bln View Post
    1. Unset the keys you want to use in System > Preferences > Keyboard Shortcuts
    2. Open VLC, and set keys to "Global" field in VLC menu Tools > Preferences > Hotkeys
    3. Restart VLC.

    That worked for me.
    worked for me too (10.10, Dell E6420)

    thanks

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •