[Digikam-devel] [Bug 113330] Remote control support (lirc)

Antonio E. aironmail at gmail.com
Thu Aug 24 19:24:10 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=113330         




------- Additional Comments From aironmail gmail com  2006-08-24 20:24 -------
Cyrill, you are totally right. I can use now digikam using irkick.

I've opened the irkick configuration dialog, pressed add and then selected to add manually an action to a running application. From there I can access to digikam. It's a pitty that digikam is not displayed in the default apps in the previous menu like amarok, kaffeine,kdetv,... but I can live with that.

After selecting the desired button from the remote controller, I open the digikam tree entry in the application list, and from there I can access to the entire dcop interface.

Then I have to play from the command line, because configuring lirc throw dcop is not so intuitive for normal users. I make an example of how I have set the forward button of the remote controller to show the next image in the Image Editor.

In the command line I type:
dcop   (to get the name of the apps, in my case digikam-25053)

Now I get the available actions for the editor:

dcop digikam-25053 "Image Editor" actions

I find the one that I want: editorwindow_forward

To test it I type:

dcop digikam-25053 "Image Editor" activateAction editorwindow_forward

It works.

So I go to the irkick and I add an action, setting the forward button, I open the digikam tree. Then I select the Image Editor. In the function list I select: activateAction. I press next, and I get a new text field asking for the action to execute, so I type: editorwindow_forward. After that I press finish, and it's done. I press apply.

I test it with the remote controller and it works nicelly.

As we see, the control of digikam with a remote controller is working perfectly using dcop. To me it's good enough (you can't believe how happy I feel setting this), but I think that it's very complex to set it for normal or new linux users, specially if they don't know a bit of dcop. It would be nice to have an easier way to set these action, like for the applications than I commented above. I repeat, I don't need it, but maybe other people...

As the kde-lirc support is done, I don't know if we should close this issue or let it opened.

I want to say thanks again for adding the dcop support.



More information about the Digikam-devel mailing list