NAME
FvwmXMMS - control XMMS from within Fvwm
SYNOPSIS
Run this module from your StartFunction:
AddToFunc StartFunction
+ I Module FvwmXMMS
Then you can send commands to FvwmStorage, e.g.:
Key XF86AudioNext A N SendToModule FvwmXMMS next
Key XF86AudioPrev A N SendToModule FvwmXMMS prev
DESCRIPTION
FvwmXMMS is a fvwm module written in Perl. It lets you control XMMS by sending commands to this module.
INSTALLATION
Copy the file FvwmXMMS in your fvwm module directory, e.g.:
sudo cp FvwmXMMS $(fvwm-config -m)/
INITIALIZATION
During initialization, FvwmXMMS gets config info from fvwm’s module configuration database (see fvwm(1), section MODULE COMMANDS). Avail- able options are discussed below
CONFIGURATION OPTIONS
- autostart
*FvwmXMMS: autostart play next prev prefs show
List of commands that automatically start XMMS if it’s not already running. Defaults to play next prev prefs show.
- autoplay
*FvwmXMMS: autoplay next prev
List of commands that automatically start playing. Defaults to next prev
- cmd
*FvwmXMMS: cmd xmms
Command to start the XMMS program. Defaults to xmms
- start_iconic
*FvwmXMMS: start_iconic
Show XMMS as icon when starting it
- start_normal
*FvwmXMMS: start_normal`
Show normal window when starting XMMS
USAGE
Run the module, supposedly from StartFunction in .fvwm2rc:
Module FvwmXMMS
Use SendToModule to send commands to FvwmXMMS. e.g.:
SendToModule FvwmXMMS quit
Valid commands are:
- start
- Start XMMS if it is not already running.
- play
- Start playing
- stop
- Stop playing
- quit
- Quit XMMS if it is running
- next
- Skip forward to next track in the playlist.
- prev
- Skip backward to previous track in the playlist.
- prefs
- Show the preferences windows of XMMS
- hide
- Hide XMMS mainwindow
- show
- Show XMMS mainwindow
- warp
- Deiconify XMMS and warp to its window
- deiconify
- Deiconify all XMMS windows
- iconify
- Iconify all XMMS windows
- shuffle
- Turn on shuffle mode
- noshuffle
- Turn off shuffle mode
- repeat
- Turn on repeat mode
- norepeat
- Turn off repeat mode
- ff
- Go forward 1 second in current track
- rew
- Go backward 1 second in current track