| Prev |   1   2   3     4   12 | 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)

amorek13 2010-01-04 00:03

Re: MyMenu
 
good job awsome works great
update does not work just sits there

Dosenblech 2010-01-04 00:07

Re: MyMenu
 
Hello Manzn...me again. :)
I just updated to Version 0.4. of mymenu.
I got also a error:

Preparing to replace mymenu 0.2.20100101 (using mymenu-0.4.20100103_armel.deb) ...
update.desktop cleaned
Stopping hildon-desktop
Starting hilden-desktop
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
rm: cannot remove '/var/lib/dpkg/info/mymenu*': No such file or directory
dpkg: error processing mymenu-0.4.20100103_armel.deb (--install):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
mymenu-0.4.20100103_armel.deb

I hope I could help you.
Good luck.

Dosenblech

Dosenblech 2010-01-04 00:14

Re: MyMenu
 
Ähmm....sorry me again.... -
after a restart a have the old settings with "Mehr..." ?!

benny1967 2010-01-04 00:14

Re: MyMenu
 
Let me ask again which mechanisms are used to determine the folder an application goes to? Is it hard-wired? Does it try to read Category-information from the desktop-file? ...?

manzn 2010-01-04 00:16

Re: MyMenu
 
@dosenblech - thx for your info - v0.4 upgraded for your error - this problem is fixed - not the update :-(

manzn 2010-01-04 00:19

Re: MyMenu
 
@benny1967

at the moment it is hardcoded in the hilden.menu under /etc/xdg/menus - there are no Category-Infos in the .desktop files at this moment - mayby in the future

@dosenblech pls download v.04 again and install it - this was the uninstallscript

benny1967 2010-01-04 00:26

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 451870)
@benny1967

at the moment it is hardcoded in the hilden.menu under /etc/xdg/menus - there are no Category-Infos in the .desktop files at this moment - mayby in the future

:D
This is certainly a chicken-egg problem. No developer will ever put Categories in his .desktop-files if they go unused on the N900.

But if only one applications/launcher such as yours starts using them... You could start a revolution. ;)

Anyway, once you allow users to move around applications, you need a place to store the current location of the app. The .desktop file is a good place for this... So why not write to the .desktop file in case it doesn't already include a category (or in case the category needs to be changed) and then always read from the .desktop file when you have to determine where to put an application?

Dosenblech 2010-01-04 00:27

Re: MyMenu
 
@manzn
okay - it's back again!
The show can go on..... ;)

thp 2010-01-04 07:53

Re: MyMenu
 
Quote:

Originally Posted by benny1967 (Post 451882)
This is certainly a chicken-egg problem. No developer will ever put Categories in his .desktop-files if they go unused on the N900.

But if only one applications/launcher such as yours starts using them... You could start a revolution. ;)

Adding proper category support is in line with Maemo's goal of better Mainstream Linux Alignment.

For the list of proper categories (Appendix A of the Menu Spec) and the format of .desktop files, see Desktop Entry Spec and the Desktop Menu Spec. It's better to use this proven (and widely-supported) category system than to invent a new one, and applications ported from the Linux Desktop most likely already have a proper category entry.

Oh, and as some other people have already pointed out, please gettextize your program and publish the source and ideally link the source repo to Transifex, so community members from all over the world can start submitting translations for your application :) Publishing the source is really more helpful than you might think.

d-iivil 2010-01-04 09:29

Re: MyMenu
 
Just two words: GREAT APP!

DaSilva 2010-01-04 09:52

Re: MyMenu
 
Quote:

Originally Posted by benny1967 (Post 451882)
:D
This is certainly a chicken-egg problem. No developer will ever put Categories in his .desktop-files if they go unused on the N900.

But if only one applications/launcher such as yours starts using them... You could start a revolution. ;)

Anyway, once you allow users to move around applications, you need a place to store the current location of the app. The .desktop file is a good place for this... So why not write to the .desktop file in case it doesn't already include a category (or in case the category needs to be changed) and then always read from the .desktop file when you have to determine where to put an application?

That would be awesome!

fpp 2010-01-04 12:12

Re: MyMenu
 
Quote:

Originally Posted by manzn (Post 451798)
Hello fpp,
pls can you enter follow command:
ls -r /opt/*
and post oder mail me the output

Sorry manz -- I'm at work and I forgot my N900 at home this morning, probably not enough awake on this first day of the year :-)

I'll do it this evening if no one beats me to it...

stobbsc 2010-01-04 12:42

Re: MyMenu
 
This looks like an awesome app. I can't wait for it to hit testing, the I'll be installing this asap :-)

Jaffa 2010-01-04 14:55

Re: MyMenu
 
Quote:

Originally Posted by benny1967 (Post 451882)
This is certainly a chicken-egg problem. No developer will ever put Categories in his .desktop-files if they go unused on the N900.

You could use the sections which a user has found to get the app:

Code:

for i in *.desktop; do
  PKG=`dpkg -S "${i}"`
  SECTION=`apt-cache show "${PKG}" | grep ^Section: | cut -d' ' -f 2
}

This is useful for the user and also aligns with #3822.

Quote:

So why not write to the .desktop file in case it doesn't already include a category (or in case the category needs to be changed) and then always read from the .desktop file when you have to determine where to put an application?
Changing a third party package's files to shuffle things around isn't very polite.

manzn 2010-01-04 16:37

Re: MyMenu
 
@jaffa thx nice input

@all i have a new version online - testet bei Tom

http://maemo.3ion.at/mymenu-0.4.1.20100104_armel.deb

nice testing - Tom means the update version is ok - plese give me a response :-D

soleil 2010-01-04 16:49

Re: MyMenu
 
How can I know which version I have ? I can't find MyMenu in AppManager

manzn 2010-01-04 16:55

Re: MyMenu
 
@soleil

in xterm enter following command: dpkg -s mymenu | grep Version

geneven 2010-01-04 17:02

Re: MyMenu
 
Wow, groovy! I guess the main menu is supposed to be the system of shortcuts you can put on the desktop, but this is very helpful.

soleil 2010-01-04 17:27

Re: MyMenu
 
My version is 0.4.20100103 and I can't update to 20100104 which the script update-menu of MyMenu

manzn 2010-01-04 17:45

Re: MyMenu
 
@soleil - the update-menu is only for the apps not for a update function for the debian package - you musst download the newest version and install it per xterm with dpkg -i mymenu-0.4.1.20100104_armel.deb

zehjotkah 2010-01-04 17:54

Re: MyMenu
 
for me the update does not work.
latest version, WLAN and 3G

edit: same output as yesterday:
Code:

~ $ sudo /opt/menu-update/update.sh
sudo: unable to execute /opt/menu-update/update.sh: No such file or directory
~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900-42-11:~# sudo /opt/menu-update/update.sh
Nokia-N900-42-11:~#


manzn 2010-01-04 18:24

Re: MyMenu
 
@zehjotkah thx for your info

pls log in xterm as root and start it so: /opt/menu-update/update.sh
(without sudo)

zehjotkah 2010-01-04 18:38

Re: MyMenu
 
Code:

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900-42-11:~# /opt/menu-update/update.sh
-sh: /opt/menu-update/update.sh: not found


manzn 2010-01-04 19:08

Re: MyMenu
 
@all can anyone of you give me a ssh login to your n900 to look what the problem is? tom's and my device work fine - i can't duplicate the error on my device :-(

sorry it' s a very bad cry for help :-D

zehjotkah 2010-01-04 19:13

Re: MyMenu
 
how can i do that?
write me on msn...

Bundyo 2010-01-04 19:16

Re: MyMenu
 
You're using bash which is not available on all devices.

manzn 2010-01-04 19:19

Re: MyMenu
 
@zehjotkah

no msn :-( i write you a pn over maemo.org

manzn 2010-01-04 19:22

Re: MyMenu
 
@Bundyo

damn it - yes it juse bash - but why is bash not an every device?

hstende 2010-01-04 19:24

Re: MyMenu
 
I also have this problem.
if I run:
/opt/menu-update/update.sh
I get "/bin/sh: /opt/menu-update/update.sh: not found"
if I run:
sh /opt/menu-update/update.sh
it works ok.
ls -la /opt/menu-update/update.sh
-rwxr-xr-x 1 1000 1000 1469 Jan 3 22:00 /opt/menu-update/update.sh

change heading in file update.sh
from #!/bin/bash to #!/bin/sh and then it works

Bundyo 2010-01-04 19:24

Re: MyMenu
 
Bash is big, Nokia uses busybox.

manzn 2010-01-04 19:28

Re: MyMenu
 
@Bundyo thx - what a misstake from me

here is the new version with /bin/sh

http://maemo.3ion.at/mymenu-0.4.2.20100104_armel.deb

Bundyo 2010-01-04 19:31

Re: MyMenu
 
Now the menu item works.

manzn 2010-01-04 19:33

Re: MyMenu
 
wow hard work :-D

big thx to you - sorry is my first package

zehjotkah 2010-01-04 19:33

Re: MyMenu
 
now update is working...

reycat 2010-01-04 19:36

Re: MyMenu
 
Installation of the last version worked flawlessly (no errors, Hildon desktop restarted without a glitch) and update-menu also works. Thanks!

manzn 2010-01-04 19:41

Re: MyMenu
 
@all no i have to thx all of you - you helped me to build this package

next barrier -> build the package for extra-devel :-D

dread123 2010-01-04 19:44

Re: MyMenu
 
works brilliant..thanks

casper27 2010-01-04 20:05

Re: MyMenu
 
Works flaweless installation. Worthy of going into Repos. Great application.

Dosenblech 2010-01-04 21:49

Re: MyMenu
 
GREAT! :)
I just updated to Version 0.4.2.20100104
Thanks....

fpp 2010-01-04 22:48

Re: MyMenu
 
Well I came in too late to be of any help, but I can confirm this last version works just fine... thanks for a great improvement to our N900 !


| Prev |   1   2   3     4   12 | Next | Last
All times are GMT. The time now is 07:44.

vBulletin® Version 3.8.8