j.s
|
2010-01-02
, 02:27
|
Posts: 486 |
Thanked: 251 times |
Joined on Oct 2009
|
#41
|
|
2010-01-04
, 14:46
|
Posts: 18 |
Thanked: 14 times |
Joined on Jan 2010
|
#42
|
The Following 3 Users Say Thank You to bbhl For This Useful Post: | ||
|
2010-01-06
, 12:30
|
|
Posts: 129 |
Thanked: 81 times |
Joined on Dec 2007
@ Austin, TX
|
#43
|
Be careful!
I managed to muck up the menu config and the n900 went into a continuous reboot loop.
I was only able to fix it by getting a suitable remote-shell command through the 1-second window before it rebooted again.
|
2010-01-06
, 13:47
|
Posts: 18 |
Thanked: 14 times |
Joined on Jan 2010
|
#44
|
Yeah, I did the same thing. I still haven't figured out exactly what went wrong, though. Could someone who edited their menu successfully please post their "hildon.menu" file so I can see how it differs from the standard file? Maybe then I can figure out where I went wrong.
Nokia-N900-42-11:~# cat /etc/xdg/menus/hildon.menu
<Menu>
<Name>Main</Name>
<!-- Search the default locations -->
<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>osso-xterm.desktop</Filename>
<Filename>hildon-application-manager.desktop</Filename>
</Include>
<Menu>
<Name>BBApplications</Name>
<Directory>bb_apps.directory</Directory>
<Include>
<Filename>bb_x11vnc_start.desktop</Filename>
<Filename>bb_x11vnc_stop.desktop</Filename>
<Filename>mc.desktop</Filename>
<Filename>filemanager.desktop</Filename>
<Filename>osso-backup.desktop</Filename>
<Filename>bb_ssh_start.desktop</Filename>
<Filename>bb_ssh_stop.desktop</Filename>
</Include>
</Menu>
<Menu>
<Name>Applications</Name>
<Directory>applications.directory</Directory>
<OnlyUnallocated/>
<Include>
<All/>
</Include>
</Menu>
</Menu>
Nokia-N900-42-11:~#
The Following 2 Users Say Thank You to bbhl For This Useful Post: | ||
|
2010-01-07
, 01:11
|
|
Posts: 129 |
Thanked: 81 times |
Joined on Dec 2007
@ Austin, TX
|
#45
|
The strange thing happened after I did move my specific *.directory and *.desktop files to symbolic links. I haven't got a continuously rebooting n900, but it was never showing the menu again... GUI hangs if I did click any shortcuts or menu button instead. The good thing is that Ctrl+Shift+x works for me to start the terminal and sshd. It may be a reason for such a behaviour that I did execute cache update for icons along with menu/symlink modification.
The other strange thing is that now it is working with all changes I did right before I had get the "menu hang"...
|
2010-01-07
, 02:03
|
Posts: 18 |
Thanked: 14 times |
Joined on Jan 2010
|
#46
|
Awesome! I think I see what I did wrong. I'm still having trouble getting my "applications.directory" type files correct, though. Any chance of publishing your "bb_apps.directory" file?
~/.bb/directory $ cat bb_apps.directory
[Desktop Entry]
Type=Directory
Name=Apps
Icon=bb_apps
X-Osso-User-Position=14
X-Maemo-Category=Main
X-Text-Domain=maemo-af-desktop
~/.bb/directory $
The Following User Says Thank You to bbhl For This Useful Post: | ||
|
2010-01-08
, 01:08
|
|
Posts: 876 |
Thanked: 396 times |
Joined on Dec 2009
|
#47
|
<!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>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>
</Include>
<Menu>
<Name>Applications</Name>
<Directory>applications.directory</Directory>
<OnlyUnallocated/>
<Include>
<All/>
</Include>
</Menu>
</Menu>
<Menu>
<Name>new</Name>
<Directory>new.directory</Directory>
<OnlyUnallocated/>
<Include>
<Filename>your-shortcut-here1.desktop</Filename>
<Filename>your-shortcut-here2.desktop</Filename>
<Filename>your-shortcut-here3.desktop</Filename>
<Filename>your-shortcut-here4.desktop</Filename>
</Include>
</Menu>
</Menu>
[Desktop Entry]
Type=Directory
Name=new
Icon=general_applications
X-Osso-User-Position=16
X-Maemo-Category=Main
X-Text-Domain=maemo-af-desktop
|
2010-01-08
, 12:38
|
Posts: 18 |
Thanked: 14 times |
Joined on Jan 2010
|
#48
|
The Following User Says Thank You to bbhl For This Useful Post: | ||
|
2010-01-08
, 13:44
|
|
Posts: 876 |
Thanked: 396 times |
Joined on Dec 2009
|
#49
|
<Menu>
<Name>Applications</Name>
<Directory>applications.directory</Directory>
<OnlyUnallocated/>
<Include>
<All/>
</Include>
</Menu>
</Menu>
|
2010-01-08
, 22:46
|
Posts: 18 |
Thanked: 14 times |
Joined on Jan 2010
|
#50
|
So would it be necessary to change it to <NotOnlyUnallocated/> for a new folder, because
the default "more..: contains unallocated apps and could generate some kind of conflict because on a new installation we'd have two folders for unallocated apps?
Or would more, as a default system folder, always have priority in storing the new shortcuts?PHP Code:
<Menu>
<Name>Applications</Name>
<Directory>applications.directory</Directory>
<OnlyUnallocated/>
<Include>
<All/>
</Include>
</Menu>
</Menu>