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)

v13 2010-01-06 14:40

Re: MyMenu
 
I have two usability suggestions for MyMenu if possible:
  • Don't create empty categories
  • Don't create categories when there is only one application in it. Instead, just list the application in the main menu.

As for the update.sh:
  • The 'wget' should not be downloaded from the script. Instead put it in the Depends field in debian/control
  • If you're using the ping command to wait for some time, you can replace it with "sleep"
  • Multiple invocations of update.sh will start multiple instances of info (unless you check that in the code).

Regarding "info": If you want to have info running all the time then you may consider adding it to an init script to automatically start when system boots. However, you may be able to avoid spawning another process and instead take advantage of "dpkg file triggers". By installing a file trigger you can have the postinst script ran automatically whenever there is a file added (or removed) in /usr/share/applications:
  • Make the postinst script handle "triggered" as its first parameter. When it is called like that it should update the menu.
  • Under debian/ create a file named "triggers" and put the line "interest /usr/share/applications" (or whatever directory you'd like to monitor) in it, to cause the trigger to fire when a file is installed under that directory. You can have multiple such lines.

p.s. I haven't used MyMenu yet :)
p.s.2. Triggers work for debian. I suppose they work for maemo too. Currently I don't see any file trigger in my n900, but dpkg-trigger exists.

twoboxen 2010-01-06 14:51

Re: MyMenu
 
Quote:

Originally Posted by v13 (Post 455592)
Don't create empty categories

Agree.

Quote:

Don't create categories when there is only one application in it. Instead, just list the application in the main menu.
Disagree.

For consistency I wouldn't want something at the top level that logically sits at the same depth as any other random app. Maybe it's just me?

v13 2010-01-06 14:59

Re: MyMenu
 
Quote:

Originally Posted by twoboxen (Post 455606)
Disagree.

For consistency I wouldn't want something at the top level that logically sits at the same depth as any other random app. Maybe it's just me?

The idea was not to make that app a click/tip away when it will not save space or affect the organization of the menu.

Soap77 2010-01-06 15:06

Re: MyMenu
 
Iīd like to test this app, it would be nice if the creator of the thread/app could update the first post with the latest version of the packages.
I tried to follow the first instructions, but the files couldnīt be found.

TIA!!

manzn 2010-01-06 15:08

Re: MyMenu
 
@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

Jaffa 2010-01-06 15:11

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 455580)
at the moment it is hardcoded in mymenu - but for the future - yes send me the patch, maybe i can use it

OK, what's the latest URL for the package/source trawling through the thread for URLs is a bit boring ;-)

manzn 2010-01-06 15:11

Re: MyMenu
 
@Soap77

for install follow this steps:

1) you need rootsh -> pls install

2) dowload follow deb's:
http://maemo.3ion.at/mymenu-0.4.2.20100104_armel.deb
3) start xterm
4) sudo gainroot
5) change to the directory where you download it (with cd /home/user/.....)
6) install with this command:
dpkg -i mymenu-0.4.2.20100104_armel.deb

(under "System" you find the update funktion)

for uninstall insert this command:
dpkg -r mymenu

Soap77 2010-01-06 15:17

Re: MyMenu
 
friggin' GREAT! :D

thnx alot.
good job.

TA-t3 2010-01-06 15:31

Re: MyMenu
 
Quote:

Originally Posted by v13 (Post 455592)
I have two usability suggestions for MyMenu if possible:
  • Don't create empty categories
  • Don't create categories when there is only one application in it. Instead, just list the application in the main menu.

Agree, on both. It gets tiring to always do two presses for applications alone in their category.

davall 2010-01-06 15:37

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 451281)
ps: for missing apps or wrong assigned, report please to maemo@3ion.at

Maep should belong to gps folder.
Great app. Thanks!

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:

qole 2010-01-07 00:12

Re: MyMenu
 
It doesn't seem to show up in Application Manager, (ironically) it probably doesn't have the right category. You will have to gain root and install it with:

Code:

apt-get install mymenu

rmarcus 2010-01-07 00:16

Re: MyMenu
 
Quote:

Originally Posted by qole (Post 456533)
It doesn't seem to show up in Application Manager, (ironically) it probably doesn't have the right category. You will have to gain root and install it with:

Code:

apt-get install mymenu

Thanx, but where can I find it?

:confused:

Laughing Man 2010-01-07 04:16

Re: MyMenu
 
Hmm may I suggest somethings?

1) GPS icon could be rounded (it's squareish right now)
2) GPodder could be in media
3) DrNokSNES, Vulture's Eye, and VGB are in Other instead of Games
4) MaemoFTP is in other instead of network
5) emelFM2 should be in System

Thanks to everyone that's made this possible. :D

HtheB 2010-01-07 14:25

Re: MyMenu
 
Quote:

Originally Posted by Laughing Man (Post 456740)
GPS icon could be rounded (it's squareish right now)

How about this one:


(all sizes) Source:
http://www.iconarchive.com/show/netw...ista-icon.html

RDJEHV 2010-01-07 15:16

Re: MyMenu
 
Hi all,

I want to install this because my list of apps is getting to long. It's not pressing problem so I can wait. Do you suggest installing it now or is it better to wait for the program to become mature? (concensus on which programs in which category, ease of installing, for selecting/making own categories, etc)
regards, Ruud

rmarcus 2010-01-07 16:53

Re: MyMenu
 
Could anyone point out where I can download it?
Thanx!

Laughing Man 2010-01-07 16:57

Re: MyMenu
 
Quote:

Originally Posted by rmarcus (Post 457577)
Could anyone point out where I can download it?
Thanx!

First go into application manager, click the menu > manage.

Add a repository

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

Then make sure you have some way of getting root access (easiest way is to install rootsh from extras)

Open up the terminal application

Type in

"sudo gainroot" without the quotation marks

Then type in

Quote:

Originally Posted by qole (Post 456533)
It doesn't seem to show up in Application Manager, (ironically) it probably doesn't have the right category. You will have to gain root and install it with:

Code:

apt-get install mymenu

When it asks you y/n say y. Let it install and it should be installed.

andrewfblack 2010-01-07 16:57

Re: MyMenu
 
I was running over this tread today after installing it. Its really nice but I would like to see better icons is that something you are going to be doing or do you need some artistic help?

Dosenblech 2010-01-07 18:44

Re: MyMenu
 
@Laughing Man
thank you! :)

manzn 2010-01-08 00:17

Re: MyMenu
 
@all

NEWS from MyMenu:

1.) the next Update for Apps will be tomorrow evening
2.) a new Package is on the way :-)

Changelog:
* Folder will just list if there is an application for it
* Translation for more languages
* no multiple invocations of update-menu
* new icon-set

I hope i can realease it on weekend :-)

yorg 2010-01-08 00:33

Re: MyMenu
 
great job manzn, thanks!

Jnolcox 2010-01-08 01:28

Re: MyMenu
 
whats the procedure for uninstalling via xterm? just for reference

aspidites 2010-01-08 01:36

Re: MyMenu
 
Quote:

Originally Posted by Jnolcox (Post 458503)
whats the procedure for uninstalling via xterm? just for reference

apt-get remove --purge mymenu

the "--purge" option will remove personal settings files. ie, stuff that normally gets placed in /home/user/.config/app_name or /home/user/.app_name

Jnolcox 2010-01-08 01:57

Re: MyMenu
 
Quote:

Originally Posted by aspidites (Post 458508)
apt-get remove --purge mymenu

the "--purge" option will remove personal settings files. ie, stuff that normally gets placed in /home/user/.config/app_name or /home/user/.app_name

thanks for the speedy reply, i got used to the "normal" layout and will probably stick with it until mymenu gets cleaned up a little.

I know there was a similar app made for the jailbroken iphones that allowed us to create our own folders and such, i forget the name but i will look into porting it somehow :confused:

ssjtoma 2010-01-08 02:04

Re: MyMenu
 
Quote:

Originally Posted by Jnolcox (Post 458518)
thanks for the speedy reply, i got used to the "normal" layout and will probably stick with it until mymenu gets cleaned up a little.

I know there was a similar app made for the jailbroken iphones that allowed us to create our own folders and such, i forget the name but i will look into porting it somehow :confused:

I'm not sure if that's feasible at all.

aspidites 2010-01-08 03:33

Re: MyMenu
 
More so, I doubt it will be necessary. It seems this script creates a few desktop files and folders, so creating user-defined ones once all the groundwork gets finalized shouldn't be too much of a problem**

** Aside from the fact that I have over-simplified how this program works, I have not contributed any code and haven't got any specific instruction on any intent to release certain features. I am simply being very optimistic here.

DaSilva 2010-01-08 07:51

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 458449)
@all

NEWS from MyMenu:

1.) the next Update for Apps will be tomorrow evening
2.) a new Package is on the way :-)

Changelog:
* Folder will just list if there is an application for it
* Translation for more languages
* no multiple invocations of update-menu
* new icon-set

I hope i can realease it on weekend :-)

Thanks!
Will it support the auto categorize feature?
Does this mean that you will release it to the official repository (extras-devel first)? Because there shouldn't be any other repositories: http://wiki.maemo.org/Task:Reducing_...l_repositories
qoles repository is already in that list.

tom_at_lp 2010-01-08 08:27

Re: MyMenu
 
you did a great job ...

best regards Tom

HtheB 2010-01-08 12:29

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 458449)
@all

NEWS from MyMenu:

1.) the next Update for Apps will be tomorrow evening
2.) a new Package is on the way :-)

Changelog:
* Folder will just list if there is an application for it
* Translation for more languages
* no multiple invocations of update-menu
* new icon-set

I hope i can realease it on weekend :-)


Nice one! :)

Can't wait to see it

manzn 2010-01-08 15:50

Re: MyMenu
 
So here is the new update for following apps:




Multimedia:
GPodder
Tuner
Mussorgsky

Games:
Vulture's Eye
VGB

Network:
MaemoFTP
irssi
Transmission


System:
password safe
emelFM2

GPS:
maep


All times are GMT. The time now is 21:58.

vBulletin® Version 3.8.8