I am configuring a new remote for my MythTV box (running Ubuntu Edgy, Myth 0.20) and one of the buttons locks the screen! I have successfully attributed "Escape" button to it through xmodmap, and its keycode does not seem to be mapped to anything else!
I tried to change the key that locks the screen - in /etc/acpi/lockbtn.sh it says:
acpi_fakekey $KEY_COFFEE
and I commented it out without results
I then attempted to change the /usr/share/acpi-support/key-constants and put the keycode for the button I want to lock the screen instead of $KEY_COFFEE but that also failed to fix the issue
I am pulling out my hair!!!
The stupid button on the remote still locks the screen and the one I want for that function does nothing!
If I can't find the answer soon - I might just uninstall xscreensaver (I think that has the program to lock the screen - if not - please tell me

). I would rather not be able to lock the screen than to be unable to get this button to stop locking it.
Thanks for any reply and attempt for help.