Reply
Thread Tools
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#141
Originally Posted by Nathraiben View Post
Thanks Helmuth, you're a lifesaver! Uploaded my files to extra-devel during my lunch break and am waiting for it to show up in the repository. According to the builder log, so far everything has been okay and it has been queued for uploading.
Aaah, good news.

Note: You can see your upload to the extra devel cataloge earlier at your N900 than on the website.

Originally Posted by Nathraiben View Post
Also, I didn't know about your request. Glad to see this might actually really be useful to others!
No problem and YES, definitively.

And it was no request, it was a suggestion for others... just in the case someone would contribute but has no idea or imagination what is useful enought to create.
 

The Following User Says Thank You to Helmuth For This Useful Post:
Nathraiben's Avatar
Posts: 267 | Thanked: 408 times | Joined on May 2010 @ Austria
#142
Yay, it's there! Feels like this year's first birthday present!

But of course... it doesn't work...

Most probably just a problem with the desktop file, though, for it works when started manually:

Code:
python /opt/ApMeFo/Main.py
Also, seems like one of the clean-up errors slipped past me, choosing an existing folder in "Create/Edit" doesn't work.

But I'm still rather happy, since everything else seems to work. The non-responsive icon already got moved to the System folder with ApMeFo...

[Edit]Doh! Of course it doesn't work, forgot the "python" in the .desktop file.

*runs off to read up on how to make a second build"

Last edited by Nathraiben; 2010-06-22 at 15:38.
 
albertozerox's Avatar
Posts: 19 | Thanked: 1 time | Joined on Jun 2010 @ Sevilla
#143
A manually my work for me either
 
albertozerox's Avatar
Posts: 19 | Thanked: 1 time | Joined on Jun 2010 @ Sevilla
#144
Now I was able to start although I do not create folders
 
Nathraiben's Avatar
Posts: 267 | Thanked: 408 times | Joined on May 2010 @ Austria
#145
@albertozerox: Did you already activate the system (hit the button "Activate" in the "(De-)Activate" tab)?

If so, could you try running
Code:
python /opt/ApMeFo/Main.py
again, please? If there's any output, this might help us fix your problem.

Btw, as to no longer hijack this thread, I've made a thread over at the Applications form: [Announce] ApMeFo (beta 0.9-2) - Create custom folders in your Application Menu

Thanks again to everyone who helped with the creation of both the system and the application itself, and my gratitude for bearing with me for so long!
 

The Following 2 Users Say Thank You to Nathraiben For This Useful Post:
nicorumiz's Avatar
Posts: 96 | Thanked: 16 times | Joined on Jan 2010 @ Denver, CO -> Italy
#146
I have a question:

It is possible to modify the position of one menu that is created using the <layout> inside hildon.menu?

for example something like this:

Code:

  <OnlyUnallocated/>
  <Include>
    <All/>
  </Include>
  
  <MergeDir>submenus</MergeDir>
  
   <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>
    <Menuname>Games.directory</Menuname>
    <Menuname>App.directory</Menuname>
  </Layout>

  </Menu>

the above example actually does not work, those menu are always listed alphabetically.

Thanks

Nico

Last edited by nicorumiz; 2010-06-27 at 01:17. Reason: miss spell
 
Posts: 33 | Thanked: 2 times | Joined on Jun 2010
#147
Just statrted using it, and I have to say it is a great application! I'd like to just drag and drop the icons around, what a shame Nokia didn't do it to start with. Anyway, this si the best way to organize my applications.

Now a question: how to make a backup? I have to copy all the files from...
/usr/share/applications/
/etc/xdg/menus/
 
nicorumiz's Avatar
Posts: 96 | Thanked: 16 times | Joined on Jan 2010 @ Denver, CO -> Italy
#148
Please, anyone??

Originally Posted by nicorumiz View Post
I have a question:

It is possible to modify the position of one menu that is created using the <layout> inside hildon.menu?

for example something like this:

Code:

  <OnlyUnallocated/>
  <Include>
    <All/>
  </Include>
  
  <MergeDir>submenus</MergeDir>
  
   <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>
    <Menuname>Games.directory</Menuname>
    <Menuname>App.directory</Menuname>
  </Layout>

  </Menu>

the above example actually does not work, those menu are always listed alphabetically.

Thanks

Nico
 
Posts: 122 | Thanked: 17 times | Joined on Jun 2010
#149
Originally Posted by jakiman View Post
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
for some reason my folders were all displaying at the bottom
how do i fix this
 
Posts: 30 | Thanked: 4 times | Joined on Sep 2010
#150
Originally Posted by Nathraiben View Post
(Wow... I exceeded the word limit )

Appendix 1: Help, I messed up!
(This section might be expanded when more problems and solutions are found )

I did something wrong and now nothing works! Not even my desktop icons!
The desktop is actually also a part of the Hildon framework, so if we mess around with hildon.menu we risk messing up EVERYTHING.

Luckily, there's a way to still access your X Terminal - all it takes are nimble fingers, since the (hardware) keyboard combination for that is Cntr+Shift+X... :P

Once in the terminal, you can either delete the faulty hildon.menu file
Code:
rm /home/user/.config/menus/hildon.menu
or open it with the text editor in order to replace the incorrect code (most probably a simple type - especially check for missing slashes in closing tags)
Code:
pygtkeditor /home/user/.config/menus/hildon.menu
After finishing my new folder simply doesn't show up and all it's content is still in the main folder...
In my experience, this hints on a typo in your [nameoffolder].menu file. If it is not valid XML (again, most probably simply thanks to a minor typo), Hildon will simply ignore it.

Thankfully, it seems like it's not messing up the whole system like hildon.menu does, so you should be fine simply looking for the typo and correct it. No breaking your fingers while trying to hit Ctrl-Shift-X...

My folder is there, but it's really ugly - why is it not showing the icon I assigned it???
So far I've found two possible errors that make the icon not show, both inside your [nameoffolder].directory file:
1) If it shows a simple blue block instead, it's most probably a typo in the icon=[] line.
2) If it shows the former "More..." icon (a colourful array of boxes), the .directory file is either not valid or missing (for example, when there's a typo in the reference to this file from within [nameoffolder].menu). In that case, especially check whether there are any typos in the header "[Desktop Entry]" or the line beneath - and whether the line <Directory>[nameoffile].directory</Directory> in your .menu file is okay, too.






If anything is unclear or you found any mistakes, please let me know so I can edit my posts in order to prevent others from following false instructions.

Also, feel free to do with this text as you please - modify, re-publish, print and hang it over your bed...
(Good karma to those who add a tiny little credit comment when re-publishing it )

Above all, please let me know whether this was at least moderately useful. And if not, just let me know why...
how do i add apps to the folder
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:49.