Find the answer to your Linux question:
Results 1 to 3 of 3
So instead of needing to have mplayer focused in order to its own keybinding to work, we could control it from anywhere... like "xmms --play" and things like that, but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2007
    Posts
    214

    Is it possible to set keybindings to control mplayer from the window manager?


    So instead of needing to have mplayer focused in order to its own keybinding to work, we could control it from anywhere...

    like "xmms --play" and things like that, but with mplayer

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Mplayer can be controled via a FIFO, for example.

    FVWM Forums • View topic - Control mplayer via Fvwm menus

    That's an example for fvwm, but it should be easily adaptable to any arbitrary WM. You just need to figure a way to bind it correctly in your wm config.

  3. #3
    Linux Newbie SagaciousKJB's Avatar
    Join Date
    Aug 2007
    Location
    Yakima, WA
    Posts
    162
    Quote Originally Posted by i92guboj View Post
    Mplayer can be controled via a FIFO, for example.

    FVWM Forums • View topic - Control mplayer via Fvwm menus

    That's an example for fvwm, but it should be easily adaptable to any arbitrary WM. You just need to figure a way to bind it correctly in your wm config.
    Good find, I was trying something like this

    Code:
    cat pipe | mplayer -slave -
    and it definitely didn't want to work like that.

    I just set up a couple of shortcuts in KDE, under the Acessibillity settings.

  4. $spacer_open
    $spacer_close

Posting Permissions

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