On 17 May 2006, 21:56:40, rich swan wrote:
> I was wondering whether it would be possible or even acceptable ;) to.
> Automatically take the .desktop files that are stored somewhere such as
> /usr/share/applications, and incorporate them into the same directory
> that all the ROX applications are stored.
> And then if possible place them into folders for each subtype such as
> networking, graphics, etc.
> I just think it would make the whole ROX system more user friendly :-D
> Rich Swan
I wrote a wee python script to do some of this. It makes a directory called
'Apps' in the current directory (or updates it), filling it with rox appdir
wrappers of the contents of /usr/share/applications/* etc. The categories
field of the .desktop files are used to organise stuff into subdirectories.
It borrows standard gnome icons for these subdirectories, if they exist.
Here is the python script:
A logical development would be for rappize to keep your ~/Apps dir updated.
But this annoyed me with some extra complexity -- as it stands it would
update the directory but re-add all the crap you yourself had deleted and
thus trash your customisation. Of course I could just make it build
~/Apps/Internet/.firefox.done files indicating that that application had
been wrapped, and even if the appdir has been subsequently deleted do not
add it again.
Tom Morton (http://www.soul-less.pwp.blueyonder.co.uk)