[Pkg-xfce-devel] Bug#370482: multiple locations for keyboard shortcuts

Rodrigo Coacci rcoacci at gmail.com
Tue Jun 6 02:59:16 CEST 2006


Yes but that's what Stephan said: the way things are done know this approach
would lead to very unmaintable code

On 6/5/06, Simon Huggins <huggie at earth.li> wrote:
>
> On Mon, Jun 05, 2006 at 03:14:16PM -0700, Brian J. Tarricone wrote:
> > On 6/5/2006 3:05 PM, Rodrigo Coacci wrote:
> > > Hum, I understand the problem, but that leads me to another
> > > question: why do we need 2 apps with/managing keyboard shortcuts?
> > > OTOH, couldn't you just disable one in favor of the other?
> > No.  The WM shortcuts are for things like minimising or maximising
> > windows, moving between workspaces, moving windows around, etc.  This
> > stuff happens inside the WM, so at present they need to be there.
> > (Though theoretically another app could probably do most of it using
> > libwnck/libnetk, but it would take a bit of work to write.)
>
> > The shortcut editor in the keyboard settings is just a generic "press
> > this key and we'll run this command" type thing.  It doesn't know how to
> > manipulate the WM, or do pretty much anything else.  This stuff used to
> > be a part of the WM, but was moved out since it didn't make sense there.
>
> I think a good solution could be to have one settings plugin which
> manges the configuration for both.  After all they are both just config
> files.
>
> That way to the user one "app" (i.e. settings plugin) can "manage the
> keys" (i.e. write the config files) but to the developers the keys are
> dealt with by two different programs the xfwm4 and xfce-mcs-manager via
> the shortcut plugin (right?).  The advantage of having one settings
> plugin for both avoiding clashes at least seems obvious to me.
>
> You need some "hey, look at your config files" signal but you already
> have that for xfwm4.
>
> Does this not make sense to anyone else then?
>
> --
> Simon Huggins  \ Zelfs een blinde kip vindt wel eens een korrel
>                 \
> http://www.earth.li/~huggie/                                htag.pl 0.0.22
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFEhLSMMQdl+99c4rQRAhE3AJ91kaLbvu5J5uJizhOsFSFxhVHncgCfdW9L
> MxhH4zXia3F2fH6ugjqNg6I=
> =4+hL
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>
>


-- 
Abraços,
      Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060605/8772b54a/attachment.html>


More information about the Xfce4-dev mailing list