Re: matchbox with no pointing device

[email protected] (Matthew Allum) Tue, 3 May 2005 08:08:38 -0500
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Hi;

on Tue, May 03, 2005 at 09:04:10AM -0400, Paul Fox wrote:
> 
>  > on Mon, May 02, 2005 at 08:40:50PM -0400, Paul Fox wrote:
>  > > hi -- my long-time interest in matchbox is moving from the
>  > > personal to the professional.
>  > >
>  > 
>  > Cool, :)
> 
> i think so too.  i love my job.  ;-)
>

 :) Please do let me know what is it if it gets to market.
 
> thanks for all the feedback.
> 
>  > >  - keyboard shortcuts seem pretty straightforward.  where do i
>  > >    look for a complete list of keynames?  (i assume these the X11
>  > >    names, as used in xmodmap, correct?  i can never find the list
>  > >    when i need it.)
>  > >    
>  > 
>  > Check /usr/include/X11/keysymdef.h
> 
> i see.  i guess i'm always looking for a list of strings.  this will
> do fine.
> 

Yeah, IIRC you may have to drop the XK_ prefixes to get the string form.

>  > 
>  > Matchbox does have a concept of a desktop ( think PDA style launcher ).
> 
> i should have said "no concept of _multiple_ desktops"  is that
> more correct?  i was thinking of all of wmctrl's "list desktops" and
> "move window to desktop N" commands.
>

I think wmctrl is maybe getting its wording mixed up - it sounds like
it should be talking about workspaces rather than desktops ?
 
>  > >    matchbox itself has the concept of "next" and "prev" windows --
>  > >    "matchbox-remote -next" for example.  is there a way to request
>  > >    these operations via wmctl?  (in the interest of using a
>  > >    single tool, rather than a combination.)
>  > > 
>  > 
>  > The 'next' and 'prev' thing is a matchbox specific thing. It would
>  > probably be quite trivial to hack support for this into wmctl, or hack
>  > extra support into matchbox-remote ( If you do, please send patches :)
> 
> but of course.  given our probably simple needs, the only things
> i'd want all in one program are "next", "prev", "select-by-name",
> and "close-by-name".  all are available in one or the other
> program -- getting them all in one would be frosting.
> 

It would be fairly trivial to hack matchbox-remote to do the select-by
and close-by additions simply by 'grepping' window titles ( i.e. not
needing startup-notifification ) and sending EWMH messages to
close/activate. wmctrl is probably overkill for what you need.

If you need any bespoke stuff doing drop me a private mail.

Many thanks;

  -- Matthew