Re: Script for creating Application Menu



Am Sonntag, den 16.08.2009, 20:18 +0200 schrieb Christopher Roy
Bratusek:
> Am Sonntag, den 16.08.2009, 20:09 +0200 schrieb Christopher Roy
> Bratusek:
> > Am Sonntag, den 16.08.2009, 10:18 -0600 schrieb matthew:
> > > Hi.
> > > I made a librep menu generator for .desktop files in a
> > > /usr/share/applications directory, it is attached. 
> > > Let me know if it works for any of you.
> > > 
> > > Put it in a load path and add the following into your .sawfishrc:
> > > 
> > > (require 'mk-saw-menu)
> > > (write-saw-menu)
> > > (require 'saw-menu)
> > > (setq apps-menu saw-apps-menu)
> > > 
> > > You can make it an executable script by uncommenting the last line in the
> > > mk-saw-menu.jl, i.e. (write-saw-menu) and adding the following to the
> > > begining and chmoding the file to +x:
> > > 
> > > #! /bin/sh
> > > exec rep --batch "$0" "$@"
> > > !#
> > > 
> > > Cheers
> > > 
> > 
> > Hi Matthew,
> > 
> > you're script is great and works like a charm.
> > 
> > I also did a few small changes:
> > 
> > - Added Settings Category (Otherwise System contains too many entries
> > and becomes too huge to be usefull (at least on my box))
> > - Re-orderd the Categories (System + Settings at the end for example)
> > - Bumped version to 0.5.2 (just for fun)
> > 
> > Two thoughts:
> > 
> > Also I personally don't see the point for having both Network and
> > Internet Submenus. And there should be an option for ignoring NoDisplay
> > Setting if Categories=GNOME* , as GNOME hides several stuff by default
> > from the menu (say: nautilus, bug-buddy, evince, eog, file-roller and
> > more -- Ugly, I know)
> > 
> > If there are no complaints about it, I would integrate this into sawfish
> > (as sawfish.wm.ext.fdo-menu) and then let the user choose wether to use
> > the apps-menu (the updated version I've posted to the ML yesterday) or
> > this new menu. But I guess It's o.k.
> > 
> > Updated script + Praising Screenshot (with mk-saw-menu + revamped
> > rootmenu (see my yesterdays post)) attached.
> > 
> > Thanks a lot for your efforts,
> > Chris
> > ________________________________________________________________________
> > Sawfish rules!
> 
> ... it does not check for duplicated entries, eg Synaptic twice in the
> menu, but this is just a minor glitch, not a show-stopper :)
> 
> Thanks,
> Chris
> 

Ah and it should sort entries alphabetically (I promise this was the
last one :p)

Thanks,
Chris

_______________________________________________________________________
Sawfish rules!

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]