Instalando plugin lirc-xmms

Erro durante a execução do ./configure, nao encontrou xmms-config!
Solução: apt-get install xmms-dev

make
make install

O http://www.debian.org/distrib/packages salva nossas vidas!

Conteúdo dos arquivos de configuração:

lircd.conf:

#
# this config file was automatically generated
# using WinLIRC 0.6.4 (LIRC 0.6.1pre3) on Fri Apr 18 00:20:52 2003
#
# contributed by Jonas Albrektsson
#
# brand: Sun
# model: RMC-D10
# supported devices:
#
# This remote is from an old Sun monitor.
#

begin remote

name sun
bits 11
flags SPACE_ENC
eps 25
aeps 100

header 2349 596
one 1159 596
zero 567 596
ptrail 567
post_data_bits 8
post_data 0xC8
gap 14022
toggle_bit 0

begin codes
PLAY 0x00000000000007C5
STOP 0x00000000000003C5
PAUSE 0x00000000000004C5
POWER 0x00000000000000C5
1 0x0000000000000785
2 0x0000000000000385
3 0x0000000000000585
VOL_UP 0x0000000000000185
4 0x00000000000004A5
5 0x00000000000000A5
6 0x0000000000000725
VOL_DOWN 0x0000000000000325
7 0x00000000000005A5
8 0x00000000000001A5
9 0x00000000000006A5
CH_UP 0x00000000000002A5
MUTING 0x0000000000000445
0 0x0000000000000045
EXIT 0x00000000000000E5
CH_DOWN 0x0000000000000765
end codes

end remote

lircrc:
### XMMS
begin
prog = irexec
button = POWER
config = xmms&
flags = startup_mode
mode = xmms
end

begin xmms
begin
prog = xmms
button = PLAY
config = PLAY
end

begin
prog = xmms
button = PAUSE
config = PAUSE
end

begin
prog = xmms
button = RESET
config = QUIT
end

begin
prog = xmms
button = STOP
config = STOP
end

begin
prog = xmms
button = CH_UP
config = NEXT
end

begin
prog = xmms
button = CH_DOWN
config = PREV
end

begin
prog = xmms
button = VOL_UP
config = VOL_UP
end

begin
prog = xmms
button = VOL_DOWN
config = VOL_DOWN
end

begin
prog = xmms
button = MUTING
config = MUTE
end

begin
prog = xmms
button = 1
config = ONE
end

begin
prog = xmms
button = 2
config = TWO
end

begin
prog = xmms
button = 3
config = THREE
end

begin
prog = xmms
button = 4
config = FOUR
end

begin
prog = xmms
button = 5
config = FIVE
end

begin
prog = xmms
button = 6
config = SIX
end

begin
prog = xmms
button = 7
config = SEVEN
end

begin
prog = xmms
button = 8
config = EIGHT
end

begin
prog = xmms
button = 9
config = NINE
end

begin
prog = xmms
button = 0
config = ZERO
end

begin
prog = xmms
button = TV_VIDEO
config = SETPOS
end

begin
prog = xmms
button = PRESET_PIC
config = REPEAT
end

begin
prog = xmms
button = DISPLAY
config = SHUFFLE
end

begin
prog = xmms
button = JUMP
config = LIST
end

end xmms

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s