maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   How to add new folder in menu Maemo 5 PR1.2? (https://talk.maemo.org/showthread.php?t=53640)

Venemo 2010-05-26 08:12

Re: How to add new folder in menu Maemo 5 PR1.2?
 
I think there is an app called MyMenu which can do this.

kevinp93 2010-05-26 08:18

Re: How to add new folder in menu Maemo 5 PR1.2?
 
Quote:

Originally Posted by Venemo (Post 678406)
I think there is an app called MyMenu which can do this.

Yes. It is more or less the same as catorise. But it's not good enough to leave this simple basic feature out of the UI.

Jkill 2010-05-26 23:55

Re: How to add new folder in menu Maemo 5 PR1.2?
 
I know where you're coming from, only organising icons is just not good enough, even my first symbian could do that !

have a look at this thred, it may help you, although a bit confusing :)
http://talk.maemo.org/showthread.php?p=578110

nomadicalien 2010-05-27 02:11

Re: How to add new folder in menu Maemo 5 PR1.2?
 
The long menu press after pressing done just reverts back to previous arrangement, changes won't stick for me...

Edit: Fixed by adding <All/> under <include>

GrimmReaperNL 2010-05-27 06:43

Re: How to add new folder in menu Maemo 5 PR1.2?
 
you can make your own menu like this:
Quote:

Originally Posted by GrimmReaperNL (Post 578110)
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
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>

then, for the added menu i made a new file in the /etc/xdg/menus/hildon directory called 'Grimm.menu'
with the following code:

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>

"<name>" must match the "<menuname>" from the 'hildon.menu' file.
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:
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

where "Name" is the name of the folder shown in the 'main' menu.
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?

threadL http://talk.maemo.org/showthread.php...on.menu&page=9

Jkill 2010-05-27 08:32

Re: How to add new folder in menu Maemo 5 PR1.2?
 
as I said, it is quick confusing :)
any chance to get an UI to facilitate the organisation/creation of folders?

kevinm2k 2010-05-27 08:33

Re: How to add new folder in menu Maemo 5 PR1.2?
 
I agree, would be nice to be able to fully customise our menu like symbian can... I would like control over what apps go in what folders and sub folders if required.

kevinp93 2010-05-27 10:17

Re: How to add new folder in menu Maemo 5 PR1.2?
 
Agreed kevinm2k.

So is it confirmed that this feature isn't available? I just created this thread because I thought that this feature was integerated but I just couldn't find....

Well, this is Linux, so yeah. What more is there to be expected apart from hacks and codes??? :)


All times are GMT. The time now is 00:51.

vBulletin® Version 3.8.8