Ctrl-esc and start menu
Alexander Toresson
alexander.toresson at gmail.com
Sun May 21 14:39:47 CEST 2006
On 5/21/06, Olivier Fourdan <fourdan at xfce.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alexander Toresson wrote:
>
> > Yes, it would be really cool with a small program that used dbus to
> > send events to the panel and its plugins. Which could be used for this
> > purpose.
>
> Wow! Don't you think it's a bit overkill? I mean, writing a program,
> that will use DBUS to tell a panel plugin to open a menu? Imagine all
> the operations involved when using such a solution, load the binary into
> memory, open several ports, etc.
>
> Grab the key directly from the panel plugin (like it's done in the
> shortcut plugin) and it's done,
>
> Cheers,
> Olivier.
>
Umh, I think you can tell that I'm not familiar with X and gtk programming ;)
What I was thinking about while typing that was how Jannis implemented
a way of giving focus to the verve plugin when pressing a key (bind
the key to a program which then sends a dbus command to the plugin).
And I hadn't thought of the problems that would arise if/when there
are more than one instance of the same plugin in the panel.
Anyway, the one problem I see with the solution of making the panel
plugin bind itself to the key would be that you would probably have to
set the key that it's bound to in the plugin settings instead of in
the settings manager, potentially scattering the shortcut settings all
over. One solution to that would be if the panel plugin could tell the
mcs manager to add settings for its shortcuts somewhere in the
settings manager, maybe at a new tab in the shortcuts settings dialog.
Disclaimer: These are just ideas, and as I said I'm neither familiar
with X and gtk programming nor how things are implemented.
Regards, Alexander Toresson
More information about the Xfce
mailing list