Beispiel lircrc
# Tasten-Bezeichnungen, die ich bei irrecord /etc/lirc.conf vergeben habe ==
# mute
# power
# vt-off
# vt-on
# vcr
# p1-p0
# -/--
# i+
# aspect-ratio
# menu
# menu-up
# menu-down
# menu-
# menu+
# vol+
# vol-
# prog+
# prog-
# Systemlautstärke mit setmixer (auskommentiert, da ich irmix benutze) ==
# setmixer paket required
#begin
# prog = irexec
# button = vol+
# repeat = 2
# config = setmixer vol +2
#end
#begin
# prog = irexec
# button = vol-
# repeat = 2
# config = setmixer vol -2
#end
# Beenden von mplayer bei start von xmms und umgekehrt ================
# (beide Programme gleichzeitig zu nutzen macht keinen Sinn) ==========
begin
prog = mplayer
button = p1
config = QUIT
flags = mode
end
begin
prog = xmms
button = p2
config = QUIT
flags = mode
end
# Mixer irmix ==========================================================
begin
prog = irmix
button = vol+
repeat = 2
config = inc 2
end
begin
prog = irmix
button = vol-
repeat = 2
config = dec 2
end
begin
prog = irmix
button = mute
config = togglemute
end
# XMMS =======================================================================
begin
prog = irexec
button = p1
config = xmms -p&
mode = xmms
flags = once
end
begin xmms
begin
prog = xmms
button = vcr
config = PAUSE
end
begin
prog = xmms
button = menu-down
config = NEXT
repeat = 5
end
begin
prog = xmms
button = menu-up
config = PREV
repeat = 5
end
begin
prog = xmms
button = menu-
config = BWD 3
repeat = 2
end
begin
prog = xmms
button = menu+
config = FWD 10
repeat = 2
end
begin
prog = xmms
button = p1
config = ONE
end
begin
prog = xmms
button = p2
config = TWO
end
begin
prog = xmms
button = p3
config = THREE
end
begin
prog = xmms
button = menu
config = SETPOS
end
begin
prog = xmms
button = power
config = QUIT
flags = mode
end
end xmms
# Mplayer ====================================================
# xset -dpms& unterdrĂĽckt das Abschalten des Bildschirms (Energiesparmodus)
# xset s off& schaltet den Screensaver aus
# xset +dpms& xset s on& schaltet beim Beenden von Mplayer beides wieder an
# hinter gmplay_highlander steckt ein Skript in /usr/bin/ , welches bewirkt, dass
# gmplayer nur einmal startet (es kann nur einen geben)
begin
prog = irexec
button = p2
config = xset -dpms& xset s off& gmplay_highlander&
mode = mplayer
flags = once
end
begin mplayer
begin
prog = mplayer
button = vcr
config = pause
end
begin
prog = mplayer
button = vt-off
config = vo_fullscreen
end
begin
prog = mplayer
button = menu+
config = seek 4 type=0
repeat = 5
end
begin
prog = mplayer
button = menu-
config = seek -4 type=0
repeat = 5
end
begin
prog = mplayer
button = menu-down
config = seek 60 type=0
repeat = 5
end
begin
prog = mplayer
button = menu-up
config = seek -60 type=0
repeat = 5
end
begin
prog = irexec
button = power
config = xset +dpms& xset s on&
end
begin
prog = mplayer
button = p1
config = QUIT
flags = mode
end
begin
prog = mplayer
button = power
config = QUIT
flags = mode
end
end mplayer
# Maus-Mode ====================================
begin
prog = irexec
button = aspect-ratio
mode = mousemode
flags = once
end