I edited the file using a text editor and then using the admin console pasted it in the default value of the device template. For you're remote I believe one of the included conf files will work. I you use the hauppauge manufacturer and then select LIRC remoteControls<Remote Controls< peripherals and use the lircd.conf.hauppauge for the device template that should work. If you want to verify the codes you can run mode2(sudo mode2 -d /dev/lirc0) or whatever your lirc is. Then press buttons to see the codes, these should match the codes in your lircd.conf for example on mine for up in mode 2 it shows 0x1266 and in my lircd.conf I have 'Up 0x0000000000001266'. Once your lircd.conf is set up correctly you can run irw and you will see console output if the keycodes are mapped correctly. Hope this helps.