Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # lirc_wb667 replace start #
- ########################################################
- # LC : NOTICE !!
- # EDIT THIS FILE in linux environment to avoid bug of lirc_client.c (lirc_readconfig_internal)
- # => make sure line ending is '\n' instead of '\r''\n'
- ########################################################
- #######################
- ### for MPlayer ####
- #######################
- # This is the config file for lirc to support mplayer.
- # Copy this file as ~/lircrc or /etc/lirc/lircic
- begin
- button = VolUp
- prog = mplayer
- config = volume 1
- repeat = 1
- end
- begin
- button = VolDown
- prog = mplayer
- config = volume -1
- repeat = 1
- end
- begin
- button = ChanUp
- prog = mplayer
- config = tv_step_channel 1
- repeat = 1
- end
- begin
- button = ChanDown
- prog = mplayer
- config = tv_step_channel -1
- repeat = 1
- end
- begin
- button = OK
- prog = mplayer
- config = pause
- end
- begin
- button = Play
- prog = mplayer
- config = pause
- end
- begin
- button = Pause
- prog = mplayer
- config = pause
- end
- begin
- button = Stop
- prog = mplayer
- config = seek 0 1\npause
- end
- begin
- button = Mute
- prog = mplayer
- config = mute
- end
- begin
- button = Right
- prog = mplayer
- config = seek +10
- repeat = 1
- end
- begin
- button = Left
- prog = mplayer
- config = seek -10
- repeat = 1
- end
- begin
- button = Down
- prog = mplayer
- config = seek -60
- repeat = 1
- end
- begin
- button = Up
- prog = mplayer
- config = seek +60
- repeat = 1
- end
- begin
- button = Back
- prog = mplayer
- config = seek -600
- repeat = 1
- end
- begin
- button = Rewind
- prog = mplayer
- config = seek -600
- repeat = 1
- end
- begin
- button = Forward
- prog = mplayer
- config = seek +600
- repeat = 1
- end
- #######################
- ### for Rhythmbox ####
- #######################
- # to see debug info of Rhythmbox : exec "rhythmbox -d 2>&1 | grep lirc"
- #
- # the following section are copied from rb-lirc-plugin.c found on web.
- #
- #define RB_IR_COMMAND_PLAY "play"
- #define RB_IR_COMMAND_PAUSE "pause"
- #define RB_IR_COMMAND_PLAYPAUSE "playpause"
- #define RB_IR_COMMAND_STOP "stop"
- #define RB_IR_COMMAND_SHUFFLE "shuffle"
- #define RB_IR_COMMAND_REPEAT "repeat"
- #define RB_IR_COMMAND_NEXT "next"
- #define RB_IR_COMMAND_PREVIOUS "previous"
- #define RB_IR_COMMAND_SEEK_FORWARD "seek_forward"
- #define RB_IR_COMMAND_SEEK_BACKWARD "seek_backward"
- #define RB_IR_COMMAND_VOLUME_UP "volume_up" => LC : nothing happens ??
- #define RB_IR_COMMAND_VOLUME_DOWN "volume_down" => LC : nothing happens ??
- #define RB_IR_COMMAND_MUTE "mute"
- begin
- prog = Rhythmbox
- button = Play
- config = play
- end
- begin
- prog = Rhythmbox
- button = Pause
- config = pause
- end
- begin
- prog = Rhythmbox
- button = Stop
- config = stop
- end
- begin
- prog = Rhythmbox
- button = Forward
- config = seek_forward
- end
- begin
- prog = Rhythmbox
- button = Rewind
- config = seek_backward
- end
- begin
- prog = Rhythmbox
- button = Skip
- config = next
- end
- begin
- prog = Rhythmbox
- button = Replay
- config = previous
- end
- begin
- prog = Rhythmbox
- button = VolUp
- config = volume_up
- end
- begin
- prog = Rhythmbox
- button = VolDown
- config = volume-down
- end
- #######################
- ### for Totem ####
- #######################
- # the following section are copied from totem-lirc.c found on web.
- #
- #define TOTEM_IR_COMMAND_PLAY "play"
- #define TOTEM_IR_COMMAND_PAUSE "pause"
- #define TOTEM_IR_COMMAND_NEXT "next"
- #define TOTEM_IR_COMMAND_PREVIOUS "previous"
- #define TOTEM_IR_COMMAND_SEEK_FORWARD "seek_forward"
- #define TOTEM_IR_COMMAND_SEEK_BACKWARD "seek_backward"
- #define TOTEM_IR_COMMAND_VOLUME_UP "volume_up"
- #define TOTEM_IR_COMMAND_VOLUME_DOWN "volume_down"
- #define TOTEM_IR_COMMAND_FULLSCREEN "fullscreen"
- #define TOTEM_IR_COMMAND_QUIT "quit"
- #define TOTEM_IR_COMMAND_UP "up"
- #define TOTEM_IR_COMMAND_DOWN "down"
- #define TOTEM_IR_COMMAND_LEFT "left"
- #define TOTEM_IR_COMMAND_RIGHT "right"
- #define TOTEM_IR_COMMAND_SELECT "select"
- #define TOTEM_IR_COMMAND_MENU "menu"
- #define TOTEM_IR_COMMAND_PLAYPAUSE "play_pause"
- #define TOTEM_IR_COMMAND_ZOOM_UP "zoom_up"
- #define TOTEM_IR_COMMAND_ZOOM_DOWN "zoom_down"
- #define TOTEM_IR_COMMAND_SHOW_PLAYING "show_playing"
- #define TOTEM_IR_COMMAND_SHOW_VOLUME "show_volume"
- #define TOTEM_IR_COMMAND_EJECT "eject"
- #define TOTEM_IR_COMMAND_PLAY_DVD "play_dvd"
- #define TOTEM_IR_COMMAND_MUTE "mute"
- begin
- prog = Totem
- button = Play
- config = play
- end
- begin
- prog = Totem
- button = Pause
- config = pause
- end
- begin
- prog = Totem
- button = Stop
- config = stop
- end
- begin
- prog = Totem
- button = Forward
- config = seek_forward
- end
- begin
- prog = Totem
- button = Rewind
- config = seek_backward
- end
- begin
- prog = Totem
- button = Skip
- config = next
- end
- begin
- prog = Totem
- button = Replay
- config = previous
- end
- begin
- prog = Totem
- button = VolUp
- config = volume_up
- end
- begin
- prog = Totem
- button = VolDown
- config = volume-down
- end
- # lirc_wb667 replace end #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement