Reply
Thread Tools
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#91
Originally Posted by Matan View Post
This is not how it works. There is only one menu defined, and it is in /etc/xdg/menus/hildon/applications.menu (or in home directory for newer hildon-desktop.) The file /etc/xdg/menus/grimm/grimm.menu is ignored by the system, whether you launch the launcher with dbus or by pressing the icon in the corner.
The core menu is actually the /etc/xdg/menus/hildon.menu file - it pulls everything else in (including the applications.menu file in a normal setup, but this can easily be overridden).
 
Posts: 31 | Thanked: 12 times | Joined on Mar 2010 @ Florida
#92
Originally Posted by Matan View Post
So what you want is to open a specific folder or subfolder in the launcher. Currently there is no support for this in modified-hildon-desktop.
Correct...
 
Posts: 66 | Thanked: 9 times | Joined on Mar 2010 @ Netherlands
#93
I accually have the 'grimm.menu' in the /hildon directory. not in a /hildon/grimm directory. so it's in the same folder as the applications.menu.
(offcourse you can change 'Grimm' to whatever, i just made it that to not conflict with anything already there)

and yeah, i would also like a desktop shortcut capable of launching any custom menu. but like posted, that's not yet doable.
 
Posts: 31 | Thanked: 12 times | Joined on Mar 2010 @ Florida
#94
Grimm,

Thanks for your example! Yes I'd changed mine to Ed.menu but I didn't want to confuse things by trying to explain that as well.

Oh... your instructions for the hildon.menu still show <MergeDir>hildon/</MergeDir>

It didn't work until I changed it to <MergeDir>Grimm/</MergeDir>

I just wanted to add that in case others try to follow along.
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#95
You can try http://my.arava.co.il/~matan/770/n90...1.15_armel.deb . This adds a dbus signal for selecting an icon in the launcher:
Code:
dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.launcher_activate int32:0
The parameter is the position of the icon to activate, starting from 0. Parameter -1 is equivalent to pressing free space between icons.
If the launcher is not displaying, this call does nothing, so to use in a script, you need to send the command for activating the launcher, and sleep enough time for the launcher to actually appear. Of course, you also need to know the position of the folder you are interested in.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 
Posts: 31 | Thanked: 12 times | Joined on Mar 2010 @ Florida
#96
I'm not clear on the icon position. Is this counting pixels or icons?

If 0 is the left most icon, what number would be the right most icon in the same row?
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#97
Counting icons. The rightmost in top row is number 4.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 

The Following User Says Thank You to Matan For This Useful Post:
Posts: 31 | Thanked: 12 times | Joined on Mar 2010 @ Florida
#98
This is COOL!!!

I'll upload some screen shots when I get it working like I want.

Thanks!!!!!!!
 
Posts: 31 | Thanked: 12 times | Joined on Mar 2010 @ Florida
#99
Here it is... I have tabs!

Name:  Screenshot-20100328-200043.jpg
Views: 380
Size:  23.9 KB

Click on the widgets at the bottom, "Apps", "Extras", "Utils", "Games"... you'll bounce through the applications.menu (don't need to click anything here)...

Name:  Screenshot-20100328-200150.jpg
Views: 386
Size:  22.1 KB

and in 2 seconds, you'll be in that menu screen.

Name:  Screenshot-20100328-202156.jpg
Views: 395
Size:  16.1 KB

I realize this is very similar to Catorise but the one thing Catorise couldn't do (or at least I couldn't figure out how to do it) was get to the category from the desktop.

Now I've got a little organizing to do.

Thanks Matan! Thanks Grimm!

Last edited by uncleboarder; 2010-03-29 at 00:39.
 
Posts: 31 | Thanked: 12 times | Joined on Mar 2010 @ Florida
#100
Originally Posted by Matan View Post
You can try http://my.arava.co.il/~matan/770/n90...1.15_armel.deb . This adds a dbus signal for selecting an icon in the launcher:
Matan, will this be included into your regular modified-hildon-desktop, or do I need to run this version from now on?
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:41.