Another fix that I should have done a year ago... I updated my ~/.lircrc to let me use my remote control for dvd menu navigation. Before, I would pull out my keyboard to start up a dvd. Here's a list of all the codes. To find out what the buttons are called on your remote, run irw and start hitting buttons, reading the input.
Here's my new ~/.lircrc:
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the grey Hauppauge remote
#
# By Jarod Wilson, 2003/12/21
# Amalgamated from Jeff Campbell's,
# .lircrc, the mythtv.org docs, and
# a few touches of my own. :)
#
# and of my own! (Blake)
#
# Channel Up
begin
prog = mythtv
button = CH+
repeat = 3
config = Up
end
# Channel Down
begin
prog = mythtv
button = CH-
repeat = 3
config = Down
end
# OK/Select
begin
prog = mythtv
button = OK
config = Space
end
# Play
begin
prog = mythtv
button = PLAY
config = Return
end
# Stop
begin
prog = mythtv
button = STOP
config = Esc
end
# Escape/Exit/Back
begin
prog = mythtv
button = BACK/EXIT
config = Esc
end
## Power Off/Exit
#begin
#prog = mythtv
#button = OFF
#config = Esc
#end
# Power Button
begin
prog = irexec
button = Power
repeat = 4
config = /usr/local/bin/mythpowerbutton.sh
end
# Red means stop! - not no more, now it means bring up HUE/COLOR settings
begin
prog = mythtv
button = RED
config = F
end
# Pause
begin
prog = mythtv
button = PAUSE
repeat = 3
config = P
end
# Mute
begin
prog = mythtv
button = MUTE
repeat = 3
config = |
end
# Fast forward (30 sec default)
begin
prog = mythtv
button = Rewind
repeat = 3
config = Left
end
# Rewind (10 sec default)
begin
prog = mythtv
button = Forward
repeat = 3
config = Right
end
# Skip forward (10 min default)
begin
prog = mythtv
button = SKIP
repeat = 3
config = PgDown
end
# Skip backward (10 min default)
begin
prog = mythtv
button = REPLAY
repeat = 3
config = PgUp
end
# Record
begin
prog = mythtv
button = RECORD
repeat = 3
config = R
end
# Delete
begin
prog = mythtv
button = BLANK
repeat = 3
config = D
end
# OSD browse
begin
prog = mythtv
button = GREEN
repeat = 3
config = O
end
# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = MENU
repeat = 3
config = M
end
# Scroll up
begin
prog = mythtv
button = VOL+
repeat = 3
config = Right
end
# Scroll down
begin
prog = mythtv
button = VOL-
repeat = 3
config = Left
end
# Bring up OSD info
begin
prog = mythtv
button = GO
repeat = 3
config = I
end
# Change display aspect ratio
begin
prog = mythtv
button = FULL
repeat = 3
config = W
end
# Seek to previous commercial cut point
begin
prog = mythtv
button = YELLOW
repeat = 3
config = Q
end
# Seek to next commercial cut point
begin
prog = mythtv
button = BLUE
repeat = 3
config = Z
end
# Numbers 0-9
begin
prog = mythtv
button = 0
repeat = 3
config = 0
end
begin
prog = mythtv
button = 1
repeat = 3
config = 1
end
begin
prog = mythtv
button = 2
repeat = 3
config = 2
end
begin
prog = mythtv
button = 3
repeat = 3
config = 3
end
begin
prog = mythtv
button = 4
repeat = 3
config = 4
end
begin
prog = mythtv
button = 5
repeat = 3
config = 5
end
begin
prog = mythtv
button = 6
repeat = 3
config = 6
end
begin
prog = mythtv
button = 7
repeat = 3
config = 7
end
begin
prog = mythtv
button = 8
repeat = 3
config = 8
end
begin
prog = mythtv
button = 9
repeat = 3
config = 9
end
### MPlayer lirc setup
# Show OSD
begin
prog = mplayer
button = MENU
repeat = 3
config = osd
end
# Pause playback
begin
prog = mplayer
button = PAUSE
repeat = 3
config = pause
end
# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = PLAY
repeat = 3
config = seek +1
end
# Stop playback and exit
begin
prog = mplayer
button = STOP
repeat = 3
config = quit
end
# Mute
begin
prog = mplayer
button = MUTE
repeat = 3
config = mute
end
# Seek back 10 seconds
begin
prog = mplayer
button = Rewind
repeat = 3
config = seek -10
end
# Seek forward 30 seconds
begin
prog = mplayer
button = Forward
repeat = 3
config = seek +30
end
# Quit
begin
prog = mplayer
button = BACK/EXIT
repeat = 3
config = quit
end
# Seek forward 10 minutes
begin
prog = mplayer
button = SKIP
repeat = 3
config = seek +600
end
# Seek backward 10 minutes
begin
prog = mplayer
button = REPLAY
repeat = 3
config = seek -600
end
# Toggle full-screen
begin
prog = mplayer
button = FULL
repeat = 3
config = vo_fullscreen
end
### Xine lirc setup
begin
prog = xine
button = PLAY
repeat = 3
config = Play
end
begin
prog = xine
button = STOP
repeat = 3
config = Stop
end
begin
prog = xine
button = OFF
repeat = 3
config = Quit
end
begin
prog = xine
button = PAUSE
repeat = 3
config = Pause
end
begin
prog = xine
button = CH+
repeat = 3
config = EventUp
end
begin
prog = xine
button = CH-
repeat = 3
config = EventDown
end
begin
prog = xine
button = VOL-
repeat = 3
config = EventLeft
end
begin
prog = xine
button = VOL+
repeat = 3
config = EventRight
end
begin
prog = xine
button = OK
repeat = 3
config = EventSelect
end
begin
prog = xine
button = BACK/EXIT
repeat = 3
config = Menu
end
begin
prog = xine
button = FFW
repeat = 3
#config = SpeedFaster
config = SeekRelative+60
end
begin
prog = xine
button = REW
repeat = 3
#config = SpeedSlower
config = SeekRelative-60
end
begin
prog = xine
button = FULL
repeat = 3
config = Volume+
end
begin
prog = xine
button = BLANK
repeat = 3
config = Volume-
end
begin
prog = xine
button = MUTE
repeat = 3
config = Mute
end
begin
prog = xine
button = MENU
repeat = 3
config = RootMenu
end
begin
prog = xine
button = SKIP
repeat = 3
config = EventNext
end
begin
prog = xine
button = REPLAY
repeat = 3
config = EventPrior
end
begin
prog = xine
button = GO
repeat = 3
config = OSDStreamInfos
end
begin
prog = xine
button = RED
repeat = 3
config = Quit
end
begin
prog = xine
button = RED
repeat = 3
config = Quit
end
### VLC config
# Show OSD
#begin
#prog = vlc
#button = MENU
#repeat = 3
#config = osd
#end
# Pause playback
begin
prog = vlc
button = PAUSE
repeat = 3
config = key-play-pause
end
# Play
begin
prog = vlc
button = PLAY
repeat = 3
config = key-play
end
# Stop playback and exit
begin
prog = vlc
button = STOP
repeat = 3
config = key-quit
end
# Volume Down
begin
prog = vlc
button = Vol-
repeat = 3
config = key-vol-down
end
# Volume Up
begin
prog = vlc
button = Vol+
repeat = 3
config = key-vol-up
end
# Faster
begin
prog = vlc
button = Ch+
repeat = 3
config = key-faster
end
# Slower
begin
prog = vlc
button = Ch-
repeat = 3
config = key-slower
end
# Mute
begin
prog = vlc
button = MUTE
repeat = 3
config = key-vol-mute
end
# Seek back 10 seconds
begin
prog = vlc
button = Rewind
repeat = 3
config = key-jump-10sec
end
# Seek forward 10 seconds
begin
prog = vlc
button = Forward
repeat = 3
config = key-jump+10sec
end
# Quit
begin
prog = vlc
button = BACK/EXIT
repeat = 3
config = key-quit
end
# Seek forward 1 minute
begin
prog = vlc
button = SKIP
repeat = 3
config = key-jump+1min
end
# Seek backward 1 minute
begin
prog = vlc
button = REPLAY
repeat = 3
config = key-jump-1min
end
# Seek forward 5 minutes
begin
prog = vlc
button = Blue
repeat = 3
config = key-jump+5min
end
# Seek backward 5 minutes
begin
prog = vlc
button = Yellow
repeat = 3
config = key-jump-5min
end
# Toggle full-screen
begin
prog = vlc
button = FULL
repeat = 3
config = key-fullscreen
end
# Position - shows where you are in the video
begin
prog = vlc
button = Go
repeat = 3
config = key-position
end
# Subtitles
begin
prog = vlc
button = Blank
repeat = 3
config = key-subtitle-track
end
# Snapshots
begin
prog = vlc
button = Record
repeat = 3
config = key-snapshot
end
# Audio Sync'ing
# Audio Delay UP
begin
prog = vlc
button = Green
repeat = 3
config = key-audiodelay-up
end
# Audio Delay DOWN
begin
prog = vlc
button = Red
repeat = 3
config = key-audiodelay-down
end
# Navigation Menu Up
begin
prog = vlc
button = Ch+
repeat = 3
config = key-nav-up
end
# Navigation Menu Down
begin
prog = vlc
button = Ch-
repeat = 3
config = key-nav-down
end
# Navigation Menu Right
begin
prog = vlc
button = Vol+
repeat = 3
config = key-nav-right
end
# Navigation Menu Left
begin
prog = vlc
button = Vol-
repeat = 3
config = key-nav-left
end
# Navigation Select
begin
prog = vlc
button = Ok
repeat = 3
config = key-nav-activate
end
No comments:
Post a Comment