Bug 234679 - Add keybindings (emulate keypress) to irkick (kdelirc)
Summary: Add keybindings (emulate keypress) to irkick (kdelirc)
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelirc
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Zanetti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-18 09:47 UTC by Murz
Modified: 2010-04-19 20:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murz 2010-04-18 09:47:37 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

I need to emulate keyboard keys (Up, Down, Left, Right) via IR remote dongle. 
I use IRKick application, it works normally, I can control Amarok, Volu me, etc.
But, for example, in Amarok I can show "Open file" dialog, but can't select anything via remote, because can't assign buttons to keyboard press or shortcuts. 
I can't find any way to set an action "key press" or "execute keyboard shortcut" for IR Transmitter button.

Will be good to set this in a future versions, assigning buttons to keypress or shortcut (for example 'ctrl+a').
Comment 1 Michael Zanetti 2010-04-19 19:55:55 UTC
I think it is not possible to implement this in a platform independent manner. However, you can konfigure kdelirc already to do this.

- install xte on your computer
- create a new action using the Program Launcher Profile
- Select function "Execute"
- insert parameter 1: xte
- insert parameter 2: keydown Control_L,key a,keyup Control_L

This should create an action executing the following command:
xte "keydown Control_L" "key a" "keyup Control_L"

which in turn triggers the Ctrl+a keypress.
Comment 2 Murz 2010-04-19 20:26:06 UTC
Many thanks for info, all work very good with xte!