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)

manzn 2010-01-11 21:38

Re: MyMenu
 
@maluka

a view iconset's - hmmm.... maybe but not so a awful like that from your IPhone :-D

Dosenblech 2010-01-11 22:33

Re: MyMenu
 
Everything works fine - i first updated the "maemo"-update and then "MyMenu" in the morning. No problem - now i will also find the app at the app-manager! thanks a lot.... :-)

atunguyd 2010-01-11 23:19

Re: MyMenu
 
As I said earlier I managed to freeze up my rebooting problem and then ssh into the device and attempt to remove mymenu. This fixed my rebooting problem but made my desktop unresponsive.

The only thing I can think of that is different in my device is that I symlinked the /var/lib/dpkg to /opt/var/lib/dpkg and /var/lib/atp to /opt/var/lib/atp

I dont know if installing mymenu did it but I did notice after installing mymenu that the directory /opt/var/lib now had more entries than just apt and dpkg

The reason I am thinking that this might have caused the problem is that trying to uninstall mymenu with apt-get remove mymenu gave a whole host of errors.

I did not capture these errors but I did then try reinstall mymenu and got similar errors which I can reproduce below. My current thinking is that the installation of mymenu went badly and hence killed my hildon desktop.

Code:

Nokia-N900-42-11:~#
Nokia-N900-42-11:~# mkdir /opt/menu-update
Nokia-N900-42-11:~# apt-get install --reinstall mymenu
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/71.5kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  mymenu
Install these packages without verification [y/N]? y
(Reading database ... 23678 files and directories currently installed.)
Preparing to replace mymenu 0.4.3.20100109 (using .../mymenu_0.4.3.20100109_armel.deb) ...
rm: cannot remove '/etc/xdg/menus/hildon.menu': No such file or directory
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
rm: cannot remove '/opt/menu-update': No such file or directory
dpkg: error processing /var/cache/apt/archives/mymenu_0.4.3.20100109_armel.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
gtk-update-icon-cache: Cache file created successfully.
/var/lib/dpkg/info/mymenu.postinst: cd: line 364: can't cd to /opt/menu-update/mymenu/new
touch: /opt/menu-update/mymenu/new/hildon.menu: No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
/var/lib/dpkg/info/mymenu.postinst: line 465: cannot create /opt/menu-update/mymenu/new/hildon.menu: nonexistent directory
no Science+learn
no office
no multimedia
no Programmierung
no Spiele
no Graphics
no Netzwerk
no gps
no System
no sonstige
no tools
/var/lib/dpkg/info/mymenu.postinst: line 623: cannot create /opt/menu-update/mymenu/new/hildon.menu: nonexistent directory
hildon.menu gebaut
Stopping hildon-desktop
stop hildon-desktop
rm: cannot remove '/etc/xdg/menus/hildon.menu': No such file or directory
rm hildon.menu
cp: cannot stat '/opt/menu-update/mymenu/new/hildon.menu': No such file or directory
cp hildon.menu
start hildon-desktop
Starting hildon-desktop
cp: cannot stat '/opt/menu-update/mymenu/sudoers.d/*': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/mymenu_0.4.3.20100109_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900-42-11:~#

{edit} on the plus side I reflashed my device and lost no settings - only took about an hour to get back to where I was so I am not all that upset with mymenu anymore.

manzn 2010-01-12 07:10

Re: MyMenu
 
@atunguyd thx for this usefull post

now i can make a few checks in the script :-D

thx, thx, thx

jukey 2010-01-12 08:29

Re: MyMenu
 
Hi manzn,

I really love you application. Thanks for it! One time it brings also mine N900 into the boot-cycle-of-death but, hey, that could happen with applications making deeper changes in the desktop configuration. :) Do you have any plans to publish it to extras-devel -> extras-testing -> extras repository to make it available for a great range of users?

Ciao jukey

rmarcus 2010-01-12 09:46

Re: MyMenu
 
Hey...is it still available? I can't install using "apt-get install mymeny".
Is there any other way?

Thanx

Jaffa 2010-01-12 12:34

Re: MyMenu
 
Quote:

Originally Posted by Jaffa (Post 464040)
Is anyone actually working on the "show the categories and apps within them based off the category information in the package"?

Scratch that, I am:

http://farm3.static.flickr.com/2739/...45faf68bd8.jpg

http://www.flickr.com/photos/30863507@N02/4268177643/

Quote:

Hardcoding apps to categories is so godawfully ugly from an architectural point of view, and can hardly scale once Ovi goes online.
Indeed.

I'll fully credit manzn as the inspiration and hope to get a package in extras-devel today.

zehjotkah 2010-01-12 12:43

Re: MyMenu
 
Quote:

Originally Posted by Jaffa (Post 466163)
Scratch that, I am:

http://farm3.static.flickr.com/2739/...45faf68bd8.jpg

http://www.flickr.com/photos/30863507@N02/4268177643/



Indeed.

I'll fully credit manzn as the inspiration and hope to get a package in extras-devel today.

is this only for the n-series theme (blue) or also for digital nature (orange)

Jaffa 2010-01-12 13:25

Re: MyMenu
 
Quote:

Originally Posted by zehjotkah (Post 466173)
is this only for the n-series theme (blue) or also for digital nature (orange)

On the flickr page I outline it further:
  • It will use the icons from the user's current theme
  • If there is an icon missing, or the current theme cannot be determined, it will use the default theme (shown above).

HTH.

b666m 2010-01-12 21:39

Re: MyMenu
 
Quote:

Originally Posted by Jaffa (Post 466163)
... hope to get a package in extras-devel today.

can't wait to have it :D
please leave a comment here when it's available, thx! ;)

manzn 2010-01-12 22:58

Re: MyMenu
 
hey folks,

the first message: a new update is still in testing and comming soon (maybe tomorrow)

the second message: after the good response for this (beginning simple) project we decided to rewrite this tool in a "real" programming language.
At the moment we read day&night in the manuals for the SDK.

Our featuremap will depend on your input given and we build a roadmap for the new major release soon.
We hope your ideas for a menu-designing-application will not stop at this time where the "first shoot" is build.

At the moment we decied following features:
* create your own category and menupositions
* create stackable submenus
* order your apps in your own category
* use of own icons
* use of build in categories from .directory (if reasonable)
* reorder the icons in the menues (if possible)

our greatest problem: find the right and future stable programming environment
in the last days we checkt C & GTK+
depending on the choice from NOKIA to support QT in the future development
we are not sure if it is better to build (new) applications in C++ & QT

WHATS YOUR STATMENT?

(And yes: we read the development talk)

Time to help? Time to share your expirience?
Please contacta me under my garage account or a PN on maemo.org

Jaffa 2010-01-12 23:06

Re: MyMenu
 
Quote:

Originally Posted by b666m (Post 467202)
can't wait to have it :D
please leave a comment here when it's available, thx! ;)

Catorise v0.0.1 is now in Extras-devel:

http://maemo.org/packages/view/catorise/

More info available in its release announcement:

http://www.maemopeople.org/index.php...0_applications

EDIT: it can be discussed in this separate thread

qole 2010-01-12 23:17

Re: MyMenu
 
Oh, the IRONY!

Quote:

Originally Posted by Jaffa (Post 466163)
Quote:

Originally Posted by Jaffa (Post 464040)
Is anyone actually working on the "show the categories and apps within them based off the category information in the package"?

Scratch that, I am:
Quote:

Hardcoding apps to categories is so godawfully ugly from an architectural point of view, and can hardly scale once Ovi goes online.
Indeed.

I'll fully credit manzn as the inspiration and hope to get a package in extras-devel today.

Quote:

Originally Posted by Catorise Web Page
Applications installed from Ovi will go into the "Other" section, due to the way Ovi on Maemo has been designed. I've some thoughts on how to work around this, though.

I wonder what your solution to the "godawfully ugly" problem of Ovi apps being uncategorised? And how will it scale?

Well, now that there's two of you doing the same thing in two projects, it should be interesting to see what happens.

I guess competition isn't always a bad thing.... Although I much prefer collaboration.

zehjotkah 2010-01-12 23:19

Re: MyMenu
 
installed catorise, works perfctly, but its not everything where it should be.
games from ovi store under more...
garnetVM is only under all.
installed by apt-get install catorise. because it didn't showed up in program manager but i thought that it could be online yet...
and it does not use the icons from digital nature...

Matan 2010-01-12 23:22

Re: MyMenu
 
I suggest that all such programs have an option to limit pages to 15 icons (creating sub-folders if needed, so that scrolling becomes unnecessary.

zehjotkah 2010-01-12 23:27

Re: MyMenu
 
sorry, did not read your site..

Jaffa 2010-01-12 23:28

Re: MyMenu
 
Quote:

Originally Posted by qole (Post 467376)
I wonder what your solution to the "godawfully ugly" problem of Ovi apps being uncategorised? And how will it scale?

Well, you'll have to wait and see, unless you want to be bored with technical details. However, I'm suspecting you weren't looking for the technical details, rather the opportunity to make a jibe.

I stand by the assertion that an architecture of hardcoding a mapping of all possible applications to sections doesn't scale. Since we could only get a proper look at how Ovi is using dpkg, apt and repositories in the last day or so, it requires a more ingenious technical solution. Of which about 3 are immediately obvious; it just depends which is the most efficient to develop & deploy.

Quote:

Well, now that there's two of you doing the same thing in two projects, it should be interesting to see what happens.
Manfred seems to be concentrating on letting you structure the menu however you want using whatever icons you want. That's not what I wanted. YMMV.

Quote:

I guess competition isn't always a bad thing.... Although I much prefer collaboration.
Who doesn't? However, manzn wants to go in a different direction and that's fine. Since I'd written the code earlier in the thread to assist MyMenu it seemed a shame not to use it.

zehjotkah 2010-01-12 23:32

Re: MyMenu
 
deleting a program does not update the icons to the digital nature theme...

NvyUs 2010-01-12 23:45

Re: MyMenu
 
should we make a new thread for catorise ?
people will get confused discussing 2 app in one thread reporting problems etc for the wrong app.

Jaffa 2010-01-12 23:49

Re: MyMenu
 
Quote:

Originally Posted by NvyUs (Post 467419)
should we make a new thread for catorise ?
people will get confused discussing 2 app in one thread reporting problems etc for the wrong app.

Agreed, here you go: http://talk.maemo.org/showthread.php?t=40265

qole 2010-01-13 00:19

Re: MyMenu
 
Quote:

Originally Posted by Jaffa (Post 467391)
However, I'm suspecting you weren't looking for the technical details, rather the opportunity to make a jibe.

Yes, that certainly sounds like me! :D

msa 2010-01-13 14:29

Re: MyMenu
 
i'm not trying this as long as the rebooting-of-death exists :P

please tell us when this is fixed^^

noobmonkey 2010-01-13 14:31

Re: MyMenu
 
Quote:

Originally Posted by msa (Post 468396)
i'm not trying this as long as the rebooting-of-death exists :P

please tell us when this is fixed^^

Me too! :)

rmarcus 2010-01-13 14:41

Re: MyMenu
 
So, what is the status? Is it available anywhere?
:)

noobmonkey 2010-01-13 19:29

Re: MyMenu
 
Quote:

Originally Posted by rmarcus (Post 468417)
So, what is the status? Is it available anywhere?
:)

it's in extras development - but still has issues :(

rmarcus 2010-01-14 01:06

Re: MyMenu
 
Quote:

Originally Posted by noobmonkey (Post 468961)
it's in extras development - but still has issues :(

OK...although it was working perfectly for me I uninstalled because of the firmware update...just in case...but I can't find it there.
Is there a command through x-term to install it?

:confused:

Meelis 2010-01-14 21:11

Re: MyMenu
 
The new Firmware mixed the order up.

Now the folders are alphabeticaly first and then the apps.

Ou well will tweak it a bit

zehjotkah 2010-01-14 21:14

Re: MyMenu
 
@manzn can I help you in any way?

rmarcus 2010-01-14 21:22

Re: MyMenu
 
So...what is the command to install it through X-term?
thanx

zehjotkah 2010-01-14 21:50

Re: MyMenu
 
install rootsh through program manager
then

root
dpkg -i packagename.deb

manzn 2010-01-14 22:22

Re: MyMenu
 
hello @ all

sorry for my absence - i read much documentation for "How to build a debian package" because i have no plan of this :-D

yeah i know - it seam like nokia build a layout part in the hildon-desktop
at the moment i work on a workaround for this

the main bug for "loop of death" is fixed

qole 2010-01-14 22:24

Re: MyMenu
 
manzn: Did jeremiah help you?

manzn 2010-01-14 22:26

Re: MyMenu
 
@qole i wrote him a mail today again :-(

rmarcus 2010-01-14 23:15

Re: MyMenu
 
Quote:

Originally Posted by zehjotkah (Post 472294)
install rootsh through program manager
then

root
dpkg -i packagename.deb

It says it cannot find the file...where do I download it from?:confused:

zehjotkah 2010-01-14 23:20

Re: MyMenu
 
from site six of this thread..

Meelis 2010-01-14 23:24

Re: MyMenu
 
Same here, try to read some of the previous posts.

Tho manzn could also put some of the basics to the first page ;)

other possibility is apt-get, checked it is up there

Code:

apt-get install mymenu

geneven 2010-01-14 23:26

Re: MyMenu
 
The two apps confused the heck out of me. I prefer the mymenu approach.

marcoil 2010-01-15 10:29

Re: MyMenu
 
Quote:

Originally Posted by Meelis (Post 472153)
The new Firmware mixed the order up.

Now the folders are alphabeticaly first and then the apps.

Ou well will tweak it a bit

Hi, everyone,

The PR1.1 update changed a little how menus are read, now it uses the freedesktop.org spec as much as possible.

Now hildon-desktop looks for a hildon.menu file not only in the system directory (/etc/xdg/menus), but also in the user's configuration directory (/home/user/.config/menu). The menu in the latter overrides the system, so it's a lot better to make personal changes there instead of modifying the one in /etc. The override is done using a <MergeFile> directive, so it's important to keep that one in or h-d won't be able to find the desktop files.

H-d also follows the spec regarding the order of applications. Everything that's not set in a <Layout> section will be put at the end in alphabetical order. You can look at the new system hildon.menu to see how ordering is done now.

The default user hildon.menu also tells h-d to look first in the user's local data directory for desktop files. That makes any desktop file put in /home/user/.local/share/applications/hildon override the system's desktop file for that app. This could be used, for example, to add Categories to desktop files that don't have it or to change an application's icon.

I hope these changes make it a lot easier to customize the launcher as much as you want. Don't hesitate to contact me for more info, or to ask in maemo-devs; and sorry for the delay in communicating all this.

Rob1n 2010-01-15 10:53

Re: MyMenu
 
Quote:

Originally Posted by marcoil (Post 473671)
Now hildon-desktop looks for a hildon.menu file not only in the system directory (/etc/xdg/menus), but also in the user's configuration directory (/home/user/.config/menu). The menu in the latter overrides the system, so it's a lot better to make personal changes there instead of modifying the one in /etc. The override is done using a <MergeFile> directive, so it's important to keep that one in or h-d won't be able to find the desktop files.

Just a note to say that this is also a lovely new way to brick your phone :mad:. Issues with the menu system can cause a reboot loop, requiring a reflash of both firmware and eMMC (as the local menu changes are on the eMMC).

marcoil 2010-01-15 11:34

Re: MyMenu
 
Quote:

Originally Posted by Rob1n (Post 473697)
Just a note to say that this is also a lovely new way to brick your phone :mad:. Issues with the menu system can cause a reboot loop, requiring a reflash of both firmware and eMMC (as the local menu changes are on the eMMC).

Oh, yes, thanks for pointing that out. Although we've tried to minimize the effect errors in the menu files have on h-d, you should be careful when editing them.

Simple editing errors (I've made more than a few myself) will just get you an empty menu, which can be solved by deleting the /home/user/.config/menus directory. To get an xterm from the desktop without the launcher, use the convinient Ctrl+Shift+X. If you restart h-d and that dir isn't present, h-d will re-create it with the default hildon.menu file.


All times are GMT. The time now is 15:26.

vBulletin® Version 3.8.8