[Goodies-dev] libxfce4kbd-private global shortcut questions

Mike Massonnet mmassonnet at gmail.com
Tue Dec 8 15:13:40 CET 2009


Not sure about it, but you should just use gtkhotkey it has many pros,
it is maintained, the api doc is available, it is desktop neutral,
etc.

https://launchpad.net/gtkhotkey
http://bazaar.launchpad.net/~kamstrup/gtkhotkey/trunk/files

Regards
Mike

2009/12/8 Hakan Erduman <hakan at erduman.de>:
> Hey too,
>
> I just thought so, naming was indeed hinting, thanks.
>
> On a side note, it would be cool if third parties that need
> global shortcuts could simply hook into an xfce-provided infrastructure
> that helps to avoid duplicate assignments with its standardized dialogs.
> I especially liked the idea of a reusable component like
> XfceShortcutGrabber.
>
> wkr,
>
> Hakan Erduman
>
> Am Tue, 8 Dec 2009 08:58:46 +0100
> schrieb Jannis Pohlmann <jannis at xfce.org>:
>
>> Hey,
>>
>> On Mon, 7 Dec 2009 23:14:44 +0100
>> Hakan Erduman <hakan at erduman.de> wrote:
>>
>> > Hi,
>> >
>> > a) Is it OK for a panel-plugin to use the XfceShortCut[ Provider |
>> >   Grabber | . ] classes or are they reserved for xfwm4 use only?
>>
>> no, it's not really ok to do this. The library is called -private for
>> a reason. If you want your panel plugin to monitor key events, you
>> can use your own event filter like XfceShortcutGrabber does.
>>
>> > b) How would one install a set of default shortcuts into
>> >   /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml,
>> >   so that the shortcut provider list will be updated?
>>
>> This is not possible. xfce4-keyboard-shortcuts.xml is reserved for
>> core Xfce shortcuts.
>>
>>   - Jannis
>
> _______________________________________________
> Goodies-dev mailing list
> Goodies-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/goodies-dev
>
>



More information about the Goodies-dev mailing list