Skip to content

Instantly share code, notes, and snippets.

@repinel
Created February 20, 2016 20:39
Show Gist options
  • Save repinel/fe58ca5216af90eaebf8 to your computer and use it in GitHub Desktop.
Save repinel/fe58ca5216af90eaebf8 to your computer and use it in GitHub Desktop.
My Linux Infrared Remote Control (LIRC) configuration file
# LIRC Configuration 1.0
# Roque Pinel
begin
prog = irexec
button = MENU
config = xte 'key XF86AudioMedia'
# config = xte 'key XF86Tools'
end
begin
prog = irexec
button = PLAY
config = xte 'key XF86AudioPlay'
end
begin
prog = irexec
button = FORWARD
config = xte 'key XF86AudioNext'
end
begin
prog = irexec
button = BACKWARD
config = xte 'key XF86AudioPrev'
end
begin
prog = irexec
button = VOLUP
config = xte 'key XF86AudioRaiseVolume'
end
begin
prog = irexec
button = VOLDOWN
config = xte 'key XF86AudioLowerVolume'
end
begin
prog = irxevent
button = MENU
config = Key Escape CurrentWindow
repeat = 0
end
begin
prog = irxevent
button = PLAY
config = Key F5 CurrentWindow
repeat = 0
end
begin
prog = irxevent
button = FORWARD
config = Key Next CurrentWindow
repeat = 0
end
begin
prog = irxevent
button = BACKWARD
config = Key Prior CurrentWindow
repeat = 0
end
begin
prog = irxevent
button = VOLUP
config = Key alt-Page_Down CurrentWindow
repeat = 0
end
begin
prog = irxevent
button = VOLDOWN
config = Key alt-Page_Up CurrentWindow
repeat = 0
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment