The Following User Says Thank You to Venemo For This Useful Post: | ||
![]() |
2010-05-26
, 08:18
|
|
Posts: 115 |
Thanked: 43 times |
Joined on May 2010
@ UK, London
|
#12
|
|
2010-05-26
, 23:55
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#13
|
![]() |
2010-05-27
, 02:11
|
Posts: 17 |
Thanked: 3 times |
Joined on Dec 2009
@ Canada
|
#14
|
![]() |
2010-05-27
, 06:43
|
Posts: 66 |
Thanked: 9 times |
Joined on Mar 2010
@ Netherlands
|
#15
|
right, being mr.impatient and curious i started messing about myself.
this gets all installed apps;
then, in the 'layout' section i add the folders i want using "<menuname>" and the name of the menu i want;
then, it dumps all shortcuts beneath it.
hildon.menu
then, for the added menu i made a new file in the /etc/xdg/menus/hildon directory called 'Grimm.menu'Code:<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"> <Menu> <Name>Main</Name> <!-- Search only in the hildon directory. --> <AppDir>/usr/share/applications/hildon</AppDir> <DirectoryDir>/usr/share/applications/hildon</DirectoryDir> <MergeDir>hildon/</MergeDir> <OnlyUnallocated/> <Include> <All/> </Include> <Layout> <Menuname>Grimm</Menuname> <Merge type="all"/> </Layout> </Menu>
with the following code:
"<name>" must match the "<menuname>" from the 'hildon.menu' file.Code:<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"> <Menu> <Name>Main</Name> <Menu> <Name>Grimm</Name> <Directory>Grimm.directory</Directory> <Include> <Filename>mc.desktop</Filename> </Include> </Menu> </Menu>
in the "<Include>" section you add the names of the '.desktop' files you want that that specific menu.
"<directory>" is the link to the directory file in /usr/share/applications/hildon with the code:
where "Name" is the name of the folder shown in the 'main' menu.Code:[Desktop Entry] Type=Directory Name=Grimm Icon=general_applications X-Osso-User-Position=14 X-Maemo-Category=Main X-Text-Domain=maemo-af-desktop
using "X-Osso-User-Position=" you can possition the folder where you want it, know that everything without a number gets added underneath all the things with a number.
this currently being my only one with a number, eventhough its 14, its still at the top.
if you want to add another folder just make another '.menu' and '.directory' and add the name to the 'include' list in 'hildon.menu'
does this help anyone? anything i could/should change to make it better?
The Following 2 Users Say Thank You to GrimmReaperNL For This Useful Post: | ||
|
2010-05-27
, 08:32
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#16
|
![]() |
2010-05-27
, 08:33
|
Posts: 272 |
Thanked: 52 times |
Joined on Jan 2010
|
#17
|
The Following User Says Thank You to kevinm2k For This Useful Post: | ||
![]() |
2010-05-27
, 10:17
|
|
Posts: 115 |
Thanked: 43 times |
Joined on May 2010
@ UK, London
|
#18
|
You should follow me on Twitter!
Apps: Puzzle Master, IRC Chatter for Harmattan, IRC for Sailfish