Welcome to the most active Linux Forum on the web.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Controlling VLC via openbox key bindings... and wget(!)

Posted 01-28-2013 at 10:21 AM by the dsc
Updated 01-28-2013 at 06:10 PM by the dsc (fixing some stuff, redirection didn't work that way)

On openbox' rc.xml, in the corresponding section:

    <keybind key="W-z">
      <action name="Execute">
<execute>wget -O /dev/null</execute> 
    <keybind key="W-x">
      <action name="Execute">
	<execute>wget -O /dev/null</execute> 
With "web" interface enabled

By far the weirdest workaround I've seen on this sort of thing. If that's really a workaround and not the "proper" way to do it.

Command line has options such as:

vlc --global-key-prev p <playlist-name-I-guess.m3u>

which sort of works, except that in this case it won't be really the previous, but just a random element. I guess the playlist is being re-loaded, but it won't work if you don't give such mysterious "string", which is supposed to be a file, according to the error console. VLC's instrunctions are as follow:

--global-key-prev=<string> Previous
Select the hotkey to use to skip to the previous item in the playlist.
--key-prev=<string> Previous
Select the hotkey to use to skip to the previous item in the playlist.
Which to be honest I can't really tell if that's a command line to navigate through the playlist, or just to set the hotkeys. It sounds more like the latter, but that's a rather odd command to have on command line begin with. Furthermore I didn't succeed in trying to re-set the hotkeys that way either, so I guess it's really a navigation control, as it's something more expected to have on command line, I guess.
Posted in Uncategorized
Views 1354 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration