maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   MyMenu (https://talk.maemo.org/showthread.php?t=39141)

Flandry 2010-01-06 16:00

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 455626)
@Flandry & v13 this are good inputs - but it's my first package and script

give me time to implement your suggestions - i have much to learn for this

at the moment mymenu is so how it is - this package is only 2 weeks old :-D

That's understandable. All i'm saying is don't waste anymore time doing things by hand that can and should be automated, like sorting additional apps by hand, because it'll all be pointless once it's automated. It's wasted effort for you. :)

If you continue to accept help from others you'll find that that kind of stuff gets added very quickly, as this "app" is a great option to have for people.

HtheB 2010-01-06 16:08

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 455541)
@HtheB nice idea

what do you mean like: "mymenu to use" and "mymenu for developer"
:-D

For "default" users, you can change the Development into Tools
(because there would be no app in it ever)

And for users that are actually develop things on it, you can leave the Development as it is now.

Quote:

Originally Posted by manzn (Post 455541)
thx for translation to dutch - pls can you also translate "Development" for me

manzn

Well,

Translating Development directly into Dutch, sounds very strange... It's not suited.
But you can call it: Programmeren (as maybe you can guess what that means... exactly: Programming (aka: Coding)!

Hope to see the update soon :D

(I keep pressing the update button, hehehe)

manzn 2010-01-06 19:35

Re: MyMenu
 
@all

i have write a script which sort the apps on the basis of the category from the pakage (deb)

my agreement: there are too much categories - and wrong assigned

here is the list:

Category: Accessories
eggtimer

Category: applications
osso-xterm osso-xterm

Category: comm
rtcom-messaging-ui
rtcom-call-ui
osso-addressbook
vncviewer vncviewer

Category: development
pygtkeditor

Category: games
osso-mahjong osso-mahjong
mg mg
vor
nspeed
toppler
osso-chess-ui osso-chess-ui
gweled
flobopuyo
corsixth
colem colem
drnoksnes
impuzzle
ines ines
gboggle
whoami
maemoblocks maemoblocks

Category: graphics
vlc-player

Category: internet
fennec fennec

Category: libs
as-daemon-0
nokiamaps-navigation-provider nokia-maps-core
maemosec-certman-applet
osso-filemanager-ui osso-filemanager-ui

Category: mail
claws-mail claws-mail
modest

Category: misc
osso-backup
osso-lmarbles osso-lmarbles
osso-sketch osso-sketch
hildon-desktop-application-shortcuts-mr0
rdesktop
osso-notes osso-notes
camera-ui camera-ui
nokiamessaging
osso-pdf-viewer osso-pdf-viewer
mediaplayer mediaplayer
hildon-application-manager
clock-ui
osso-calculator-ui osso-calculator-ui

Category: multimedia
panucci
mod-support
cinaest
fmrdsnotify
fmradio
ogg-support
canola2
bluemaemo
recorder
decoders-support

Category: navigation
emerillon
nokiamaps-navigation-provider nokia-maps-core
maep
belltower

Category: network
claws-mail claws-mail
gftp-gtk
feedingit
pidgin
gtranslate
vncviewer vncviewer
penguinreader

Category: office
dtg dtg
zsync
pygtkeditor
osso-abook-import-many
dtg dtg dtg dtg
dtg dtg
xournal
nolazy
qstardict
calendar

Category: other
amazon-installer
fmrdsnotify
digiaatscene
ap-installer
dtg-installer
foreca-installer
nokiamaps-navigation-provider nokia-maps-core
facebook-installer
emelfm2

Category: support
tutorial-home-applet
mod-support
ogg-support
decoders-support

Category: system
petrovich
osso-xterm osso-xterm
nokiamaps-navigation-provider nokia-maps-core
bluemaemo
appinstaller

Category: tools
mc
easychem
gconf-editor
packageview
lybniz
kandis
dicejinni

Category: utilities
timerjinni
htop
flipclock flipclock
nsschedule
packageview
fuelpad fuelpad
mgutenberg
kandis
dicejinni
flipclock
fahrplan
x11vnc

Category: web
osso-rss-feed-reader-applet osso-rss-feed-reader osso-rss-feed-reader
tablet-browser-ui

Category: x11
imageviewer
qstardict
hildon-control-panel
x11vnc

manzn 2010-01-06 19:55

Re: MyMenu
 
@all
i have uploaded the script for everyone:

http://maemo.3ion.at/apps-listet-by-category.txt

you can download it - change the ending from *.txt to sh, change the permission to 755

the output you will find unter: /home/user/MyDocs/apps.txt

Jaffa 2010-01-06 21:17

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 456041)
i have write a script which sort the apps on the basis of the category from the pakage (deb)

Mmm, how I love duplicated effort :-/

Anyway, as requested, my attempt is here: jaffa-menu.pl (formatted). The output, on my N900 is here:

http://bleb.org/software/maemo/jaffa-menu.output.txt

Quote:

my agreement: there are too much categories - and wrong assigned
Yes, the built-in apps have largely rubbish sections. My script handles these with specific overrides, and anything you have installed which isn't in one of the pre-defined sections ends up in "other".

This means there are a maximum of 13 folders. HAM will have translations for them all, and there are also community translations from when the list was first decided.

With PR1.1, the Application Manager's category view is getting even better and so having the App Manager and the application menu consistent will be a big boon:


You can get the same effect as HAM, and allow the user to see icons that haven't yet been sorted, by having the "Other..." menu use the same <OnlyUnallocated/> trick that /etc/xdg/menus/hildon/applications.menu uses.

Finally, I had a thought on automatically rerunning the sorter when applications are installed: replace the now-defunct gtk-update-icon-cache with a wrapper which also invokes the resorting, since most packages still have this in their postinst.

Jaffa 2010-01-06 21:19

Re: MyMenu
 
PS. if you want to run mine, it has no external dependencies (there's a Perl interpreter out-of-the-box):
  1. Download the script
  2. Run, in X Terminal, perl MyDocs/jaffa-menu.pl

mivoligo 2010-01-06 21:55

Re: MyMenu
 
Quote:

Originally Posted by Jaffa (Post 456259)
PS. if you want to run mine, it has no external dependencies (there's a Perl interpreter out-of-the-box):
  1. Download the script
  2. Run, in X Terminal, perl MyDocs/jaffa-menu.pl

Thanks, but what should I do with the output?

v13 2010-01-06 22:04

Re: MyMenu
 
Quote:

Originally Posted by Jaffa (Post 456252)
Finally, I had a thought on automatically rerunning the sorter when applications are installed: replace the now-defunct gtk-update-icon-cache with a wrapper which also invokes the resorting, since most packages still have this in their postinst.

There is no need to do something like that. Have a look at the trigger method I described in post #122.

Jaffa 2010-01-06 22:05

Re: MyMenu
 
At the moment, it's debug output. But there's a hashmap of section to desktop files. These should then be used to create the correct items in /etc/xdg/menus

I didn't implement that bit as a) it's already done above and b) it's only a 45 minute train journey home :-)

However, I'm happy to take it further if requested, since I'd been thinking of doing this since first playing with /etc/xdg/menus.

rmarcus 2010-01-06 23:58

Re: MyMenu
 
Quote:

Originally Posted by qole (Post 453564)
Make sure you have the Fremantle repository enabled, not the Diablo one:

Catalogue Name: Qole
Web address: http://qole.org/repository
Distribution: maemo
Components: fremantle

what is it named in catalog? I can't find by the name MyMenu...:confused:


All times are GMT. The time now is 13:33.

vBulletin® Version 3.8.8