Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm on Ubuntu 11.10 with Unity 3D and use a remote control via lirc. Everything works fine in applications like Firefox, Banshee, but when I focus Nautilus or Gedit any key which refers to "CurrentWindow" doesn't work, i. e. (from ~/.lircrc):

begin
    prog = irxevent
    button = KEY_OK
    config = Key Return CurrentWindow
end

I know that it worked on an older system, like 11.04. Any ideas?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

As I workaround I installed xautomationInstall xautomation and modified ~/.lircrc to use xte instead of irxevent wherever it referred to CurrentWindow. The mentioned passage now looks like this:

begin
    prog = irexec
    button = KEY_OK
    config = xte 'key Return'
end

Now everything's working fine again.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.