LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Controlling Konqueror with LIRC-Remote (https://www.linuxquestions.org/questions/linux-general-1/controlling-konqueror-with-lirc-remote-430112/)

lagu2653 03-30-2006 03:11 PM

Controlling Konqueror with LIRC-Remote
 
What do you enter into the .lircrc file to get the up, down and OK key on my remote to emulate pressing the up, down arrow keys and the return key on the keyboard? Like this:
Code:

begin gwenview
begin
        prog  = irexec
        remote = Hauppauge       
        button = POWER
        mode  = gwenview
        config = killproc gwenview && /opt/kde3/bin/gwenview /mnt/hdb1/Pictures &
end

In other words what do you type at the shell prompt to emulate pressing the up, down and return key on the keyboard? And what do you type to get Konqueror to move up to the parent directory? (The directory just above the one I'm currently in.)

lagu2653 03-31-2006 10:12 AM

solved
 
Code:

begin
        remote = Hauppauge       
        prog  = irexec
        button = UP
        repeat = 3
        config = xvkbd -xsendevent -text "\\[Up]"
end

begin
        remote = Hauppauge       
        prog  = irexec
        button = DOWN
        repeat = 3
        config = xvkbd -xsendevent -text "\\[Down]"
end

begin
        remote = Hauppauge       
        prog  = irexec
        button = OK
        repeat = 3
        config = xvkbd -xsendevent -text "\\[Return]"
end

begin
        remote = Hauppauge       
        prog  = irexec
        button = LEFT
        repeat = 3
        config = xvkbd -xsendevent -text "\\[Alt_L]\\[Up]"
end



All times are GMT -5. The time now is 10:38 AM.