View Single Post
Posts: 42 | Thanked: 132 times | Joined on Feb 2010
#9
Thanks fatalsaint.
I think i will need some help, i did try every think i tought. Here is a summary :

So the sdl application (script to launch the binary) is not launching from application menu. I added (i think) correct .desktop, the exec path is right, and the application launch correctly from terminal under the "user" account. i did replace my wesnoth launching script with a script that echo to a file, and nothing is echo"ed" so i guess the script isn't executed at all when launching my application from the application menu.

Here is a copy of my desktop file :

Code:
Nokia-N900-51-1:/home/opt# cat  /usr/share/applications/hildon/wesnoth.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Battle For Wesnoth
Comment=A fantasy turn-based strategy game
Exec=/opt/wesnoth/bin/wesnoth_n900
Icon=wesnoth
X-Icon-path=/usr/share/icons
X-Window-Icon=wesnoth
Type=Application
X-Osso-Service=com.nokia.wesnoth
X-Osso-Type=application/x-executable
Categories=Games
MimeType=application/game
Terminal=false
Code:
Nokia-N900-51-1:/home/opt# ls -laih /opt/wesnoth/bin/
  98317 drwxrwxrwx    2 root     root         4.0k Feb  7 19:11 .
  98316 drwxr-xr-x    4 root     root         4.0k Feb  7 12:00 ..
  98318 -rwxrwxrwx    1 root     root        16.8M Feb  7 12:00 wesnoth
  98327 -rwxrwxrwx    1 root     root          213 Feb  7 12:07 wesnoth_n900
  98325 -rwxrwxrwx    1 root     root         2.2M Feb  7 12:00 wesnothd
  98330 -rwxrwxrwx    1 root     root          214 Feb  7 12:20 wesnothd_n900
Code:
Nokia-N900-51-1:/home/opt# cat /opt/wesnoth/bin/wesnoth_n900 
LD_PRELOAD="/opt/wesnoth/lib/libSDL_mixer-1.2.so.0.10.1" LD_LIBRARY_PATH="/opt/wesnoth/lib/" /opt/wesnoth/bin/wesnoth --smallgui -f --bpp 16 -r 800x480 /home/user/MyDocs/games/wesnoth_data/ &>/opt/wesnoth/bin/log
I really don't understand :'(