Reply
Thread Tools
Posts: 20 | Thanked: 7 times | Joined on Jan 2010 @ Finland
#61
After the update my menu got all messed up... Did that happen to anyone else? The menu is completely ignoring my conf file, I think...
Attached Images
 
 
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#62
How does your "hildon.menu" look like?

Please post a copy
__________________
 
Posts: 20 | Thanked: 7 times | Joined on Jan 2010 @ Finland
#63
I wanted to exclude all the useless items from my menus and reorganized the rest into a more logical (to me) setup.

I checked the spec for the exclude and it should work like that. As a matter of fact, this conf did work for me before the update.

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 the default locations -->
  <AppDir>/usr/share/applications/hildon</AppDir>
  <DirectoryDir>/usr/share/applications/hildon</DirectoryDir>

  <Include>
    <!-- row 1 -->
    <Filename>browser.desktop</Filename>
    <Filename>mediaplayer.desktop</Filename>
    <Filename>image-viewer.desktop</Filename>
    <Filename>filemanager.desktop</Filename>
    <Filename>nokia-maps.desktop</Filename>
    <!-- row 2 -->
    <Filename>rtcom-call-ui.desktop</Filename>
    <Filename>osso-addressbook.desktop</Filename>
    <Filename>rtcom-messaging-ui.desktop</Filename>
    <Filename>modest.desktop</Filename>
    <Filename>calendar.desktop</Filename>
    <!-- row 3 -->
    <Filename>osso_calculator.desktop</Filename>
    <Filename>osso-xterm.desktop</Filename>
    <Filename>hildon-application-manager.desktop</Filename>
    <Filename>hildon-control-panel.desktop</Filename>
    <!-- more -->
  </Include>

  <Menu>
    <Name>Applications</Name>
    <Directory>applications.directory</Directory>
    <OnlyUnallocated/>
    <Include>
      <All/>
    </Include>
    <!-- exclude useless stuff -->
    <Exclude>  
    <!-- general stuff -->
    <Filename>ovi.desktop</Filename>
    <Filename>osso-backup.desktop</Filename>
    <Filename>tutorial-launcher.desktop</Filename>
    <Filename>dtg.desktop</Filename>
    <!-- internet apps -->
    <Filename>amazon.desktop</Filename>
    <Filename>ap.desktop</Filename>
    <Filename>facebook.desktop</Filename>
    <Filename>foreca.desktop</Filename>
    <!-- games -->
    <Filename>chess_startup.desktop</Filename>
    <Filename>mahjong_startup.desktop</Filename>
    <!--<Filename>maemoblocks.desktop</Filename>-->
    <Filename>osso_lmbarbles.desktop</Filename>   
    </Exclude>
  </Menu>

</Menu>
 
Posts: 162 | Thanked: 79 times | Joined on Jan 2010 @ Finland
#64
I seem to have the same problem as warpstalker, though I tried mymenu and catoriser before the upgrade but uninstalled them. For my eyes the hildon.menu looks pretty much standard. I took a backup of the one that I'm using and tried the few backups that were there already. No change. The problem is just with the order. So I used to have the normal order before upgrade, but after upgrade the order is messed up. Any idea?
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#65
What's changed now is that the ordering is explicitly defined in the .menu file rather than being picked up from the .desktop files. Have a look at the default hildon.menu (it should be in the same directory with an added extension as dpkg couldn't install it) for the details, but there's basically an extra <Layout> section.

Incidentally, all of this can now be done from within the user directory (see /home/user/.config/menus/hildon.menu) so there's no need to modify the system files.
 

The Following 4 Users Say Thank You to Rob1n For This Useful Post:
Posts: 20 | Thanked: 7 times | Joined on Jan 2010 @ Finland
#66
Originally Posted by Rob1n View Post
What's changed now is that the ordering is explicitly defined in the .menu file rather than being picked up from the .desktop files. Have a look at the default hildon.menu (it should be in the same directory with an added extension as dpkg couldn't install it) for the details, but there's basically an extra <Layout> section.

Incidentally, all of this can now be done from within the user directory (see /home/user/.config/menus/hildon.menu) so there's no need to modify the system files.
Ahh! Thanks. This is a nice improvement indeed. I just have to move my xml around a bit so it works again.
 
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#67
This thread needs a serious update after PR 1.1, please don't mess around unless you really know what you're doing.
__________________
 

The Following 2 Users Say Thank You to Bec For This Useful Post:
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#68
Actually, even after 1.1 update, the main tricks mentioned here works.

I have renamed the More... icon with Apps and still have a separate Games folder icon for all the games.
Folders are now sorted to the front in alphabetical order automatically it seems if it does not have any specific location value.

So I have "Apps" as my first icon and "Games" second as below. =)
(I might modify the files so that other apps are sorted alphabetically also)



All the icons inside Apps and Games are sorted alphabetically.
(This seems to be the new default ordering for PR 1.1 update)

If all these editing isn't your thing, just use Catorise or MyMenu apps.

Last edited by jakiman; 2010-01-18 at 03:05.
 

The Following 2 Users Say Thank You to jakiman For This Useful Post:
viegas's Avatar
Posts: 78 | Thanked: 10 times | Joined on Dec 2009 @ Funchal, Portugal
#69
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>

  <Include>
    <Filename>browser.desktop</Filename>
    <Filename>mediaplayer.desktop</Filename>
    <Filename>calendar.desktop</Filename>
    <Filename>image-viewer.desktop</Filename>
    <Filename>osso-addressbook.desktop</Filename>
    <Filename>rtcom-call-ui.desktop</Filename>
    <!-- Filename>nokia-maps.desktop</Filename -->
    <!-- Filename>camera-ui.desktop</Filename -->
    <Filename>modest.desktop</Filename>
    <Filename>rtcom-messaging-ui.desktop</Filename>
    <Filename>worldclock.desktop</Filename>
    <Filename>osso_calculator.desktop</Filename>
    <!-- Filename>ovi.desktop</Filename -->
    <Filename>hildon-control-panel.desktop</Filename>
    <Filename>hildon-application-manager.desktop</Filename>
    <Filename>osso-xterm.desktop</Filename>
  </Include>
  <Menu>
   <Name>Jogos</Name>
   <Directory>jogosg.directory</Directory>
   <Include>
    <Filename>wormux.desktop</Filename>
    <Filename>vgba.desktop</Filename>
    <Filename>vgb.desktop</Filename>
    <Filename>supertux.desktop</Filename>
    <Filename>crazyparking.desktop</Filename>
    <Filename>tennix.desktop</Filename>
    <Filename>prboom.desktop</Filename>
    <Filename>angrybirds.desktop</Filename>
    <Filename>bounce.desktop</Filename>
    <Filename>chess_startup.desktop</Filename>
    <Filename>hex-a-hop.desktop</Filename>
    <Filename>ines.desktop</Filename>
    <Filename>offscr-solitaire.desktop</Filename>
    <Filename>offscr-discs.desktop</Filename>
    <Filename>burgerspace.desktop</Filename>
    <Filename>osso_lmarbles.desktop</Filename>
    <Filename>maemosec_certman_mimehandler.desktop</Filename>
    <Filename>maemoblocks.desktop</Filename>
</Include>
</Menu>
  <Layout>
    <Filename>browser.desktop</Filename>
    <Filename>mediaplayer.desktop</Filename>
    <Filename>calendar.desktop</Filename>
    <Filename>image-viewer.desktop</Filename>
    <Filename>osso-addressbook.desktop</Filename>
    <Filename>rtcom-call-ui.desktop</Filename>
    <Filename>nokia-maps.desktop</Filename>
    <Filename>camera-ui.desktop</Filename>
    <Filename>modest.desktop</Filename>
    <Filename>rtcom-messaging-ui.desktop</Filename>
    <Filename>worldclock.desktop</Filename>
    <Filename>osso_calculator.desktop</Filename>
    <Filename>ovi.desktop</Filename>
    <Filename>hildon-control-panel.desktop</Filename>
    <Menuname>Applications</Menuname>
    <Merge type="all"/>
  </Layout>

  <MergeDir>hildon/</MergeDir>

</Menu>
How do I add one more folder? I already have tried but without sucess...

any hint? i'm kinda noob at this...
__________________
Maemo Community - Everything you need, one click away.
Use the Wiki!
 
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#70
Here is my current hildon.menu as per my screenshot above.

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 the default locations -->
  <AppDir>/usr/share/applications/hildon</AppDir>
  <DirectoryDir>/usr/share/applications/hildon</DirectoryDir>

  <Include>
    <Filename>osso-xterm.desktop</Filename>
    <Filename>browser.desktop</Filename>
    <Filename>mediaplayer.desktop</Filename>
    <Filename>filemanager.desktop</Filename>
    <Filename>calendar.desktop</Filename>
    <Filename>image-viewer.desktop</Filename>
    <Filename>osso-addressbook.desktop</Filename>
    <Filename>osso_sketch.desktop</Filename>
    <Filename>nokia-maps.desktop</Filename>
    <Filename>modest.desktop</Filename>
    <Filename>rtcom-messaging-ui.desktop</Filename>
    <Filename>hildon-control-panel.desktop</Filename>
    <Filename>hildon-application-manager.desktop</Filename>
  </Include>

  <Menu>
    <Name>Games</Name>
    <Directory>games.directory</Directory>
    <Include>
	<Filename>bounce.desktop</Filename>
	<Filename>drnoksnes.desktop</Filename>
	<Filename>flobopuyo.desktop</Filename>
	<Filename>osso_lmarbles.desktop</Filename>
	<Filename>angrybirds.desktop</Filename>
	<Filename>vgba.desktop</Filename>
	<Filename>givemefive.desktop</Filename>
	<Filename>mahjong_startup.desktop</Filename>
	<Filename>chess_startup.desktop</Filename>
	<Filename>maemoblocks.desktop</Filename>
	<Filename>duke3dsw.desktop</Filename>
	<Filename>offscr-airport.desktop</Filename>
	<Filename>offscr-xploder.desktop</Filename>
	<Filename>offscr-labyrinth-lite.desktop</Filename>
	<Filename>stratagus.desktop</Filename>
    </Include>
  </Menu>

  <Menu>
    <Name>Applications</Name>
    <Directory>applications.directory</Directory>
    <OnlyUnallocated/>
    <Include>
      <All/>
    </Include>
  </Menu>
</Menu>
This is my games.directory file contents:
Code:
[Desktop Entry]
Type=Directory
Name=Games
Icon=general_folder
X-Osso-User-Position=14
X-Maemo-Category=Main
X-Text-Domain=maemo-af-desktop
This is my applications.directory file contents:
Code:
[Desktop Entry]
Type=Directory
Name=Apps
Icon=general_folder
X-Osso-User-Position=01
X-Maemo-Category=Main
X-Text-Domain=maemo-af-desktop
 

The Following 3 Users Say Thank You to jakiman For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:47.