1. -Edit your .lircrc
begin
prog = vlc
button = play
config = key-play
end
begin
prog = vlc
button = pause
config = key-pause
end
# Use this target if you have a combined play/pause button
begin
prog = vlc
button = ok
config = key-play-pause
repeat = 0
end
begin
prog = vlc
button = stop
config = key-stop
end
begin
prog = vlc
button = power
config = key-quit
end
begin
prog = vlc
button = >>
config = key-next
repeat = 0
end
begin
prog = vlc
button = <<
config = key-prev
repeat = 0
end
begin
prog = vlc
button = mce
config = key-fullscreen
end
begin
prog = vlc
button = red
config = key-slower
end
begin
prog = vlc
button = green
config = key-faster
end
begin
prog = vlc
button = left
config = key-jump-3sec
repeat = 1
end
begin
prog = vlc
button = right
config = key-jump+3sec
repeat = 1
end
begin
prog = vlc
button = |<
config = key-jump-1min
end
begin
prog = vlc
button = >|
config = key-jump+1min
end
#Audio controls
begin
prog = vlc
button = vol-down
config = key-vol-down
repeat = 1
end
begin
prog = vlc
button = vol-up
config = key-vol-up
repeat = 1
end
begin
prog = vlc
button = my-music
config = key-audio-track
end
begin
prog = vlc
button = mute
config = key-vol-mute
end
2 Make sure you have this line in
.vlc/vlcrc
control=lirc
MOre information at
http://wiki.videolan.org/How_to_Use_Lirc