On Mon, 30 Jan 2006, Matthew D. Fuller wrote:

On Mon, Jan 30, 2006 at 03:54:43PM +0100 I heard the voice of
J.O. Aho, and lo! it spake thus:

Why make the meny that big in the first place?
I like to have submenus so that I don't have any big ones.

I have a menu with all the xlock modes on it (for no particularly good
reason, other than that the idea stuck me once).  I ended up writing a
perl script to parse the xlock mode list output and generate a set of
"more"'d submenus with 25 modes on each.  It comes out to 5 of 'em,
each of which is a bit less than half the height of my screen.

(Actually, it doesn't generate ctwm menus as output, it generates perl
definitions of ctwm menus, since I build them with a perl script on
the fly, but who wants to get THAT nutty?  ;)

So how does this work really, as it do sound a bit interesting for me.

Have myself been thinking of making menus of all those *.desktop that are used by many desktop environments for their menu entries, didn't think of making this on fly, as I guess that can be pritty slow to use the menus, but generate statick menu files. Maybe someone has already made a such script that makes menus of the *.desktop files.

--
     //Aho

 ------------------------------------------------------------------------
  E-Mail: [EMAIL PROTECTED]            URL: http://www.kotiaho.net/~trizt/
     ICQ: 13696780
  System: Linux System                        (PPC7447/1000 AMD K7A/2000)
 ------------------------------------------------------------------------
            EU forbids you to send spam without my permission
 ------------------------------------------------------------------------

Reply via email to