| Prev | 3   11     12   13   14     15   23 | Next | Last
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!


| Prev | 3   11     12   13   14     15   23 | Next | Last
All times are GMT. The time now is 07:44.

vBulletin® Version 3.8.8