maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   Hacking the default Chess program (https://talk.maemo.org/showthread.php?t=82639)

nicholes 2013-01-29 02:46

Re: Hacking the default Chess program
 
Help! my default Chess app is not working. when i launch app, after a few sec.. loading it sends me back on desktop. what should i do ?

Addison 2013-01-29 02:57

Re: Hacking the default Chess program
 
I have no idea.

This is the start up entry to launch it but I don't know the command line to find out what's wrong on your end.



# Chess config file

[Startup Entry]
Name=osso_chess
Version=1.4.34
Title=Chess
TitleId=game_ap_chess_name
GettextPackage=osso-games
PluginPath=/usr/lib/osso-chess-ui/chess_plugin.so
Image=/usr/share/pixmaps/osso-games-startup-chess.png
ServiceName=com.nokia.osso_chess
PathName=/com/nokia/osso_chess
InterfaceName=com.nokia.osso_chess

nicholes 2013-01-29 03:19

Re: Hacking the default Chess program
 
Quote:

Originally Posted by Addison (Post 1318625)
I have no idea.

This is the start up entry to launch it but I don't know the command line to find out what's wrong on your end.



# Chess config file

[Startup Entry]
Name=osso_chess
Version=1.4.34
Title=Chess
TitleId=game_ap_chess_name
GettextPackage=osso-games
PluginPath=/usr/lib/osso-chess-ui/chess_plugin.so
Image=/usr/share/pixmaps/osso-games-startup-chess.png
ServiceName=com.nokia.osso_chess
PathName=/com/nokia/osso_chess
InterfaceName=com.nokia.osso_chess

where this file is located??

i found .desktop file which is like...

[Desktop Entry]
Encoding=UTF-8
Version=1.4.34
Type=Application
Name=game_ap_chess_name
X-Text-Domain=osso-games
Exec=/usr/bin/chessui.launch
Icon=tasklaunch_chess
Categories=Games
Comment=game_ap_chess_name_thumb
MimeType=application/game
X-Icon-path=/usr/share/pixmaps/
X-Window-Icon=tn-bookmarks-link
X-HildonDesk-ShowInToolbars=true
X-Osso-Service=com.nokia.osso_chess.startup
X-Osso-Type=application/x-executable
StartupWMClass=chess_startup

i dont know if this helps.. this is located in /usr/share/application/hildon

file name is chess_startup.desktop

Addison 2013-01-29 03:26

Re: Hacking the default Chess program
 
I found mine in

/usr/share/osso-chess-ui/osso_chess.conf

I'm using Maemo 4 by the way.

Quote:

/usr/share/application/hildon
I don't have this.

Sorry. :(

nicholes 2013-01-29 03:48

Re: Hacking the default Chess program
 
can anyone please check his .desktop entry?
if there is any difference between .desktop entry.

Addison 2013-01-29 03:58

Re: Hacking the default Chess program
 
I do have

/usr/share/applications/hildon/chess_startup.desktop


[Desktop Entry]
Encoding=UTF-8
Version=1.4.34
Type=Application
Name=game_ap_chess_name
Exec=/usr/bin/osso_chess.sh
Icon=qgn_list_chess
Categories=Games
Comment=game_ap_chess_name_thumb
MimeType=application/game
X-Icon-path=/usr/share/pixmaps/
X-Window-Icon=tn-bookmarks-link
X-HildonDesk-ShowInToolbars=true
X-Osso-Service=com.nokia.osso_chess.startup
X-Osso-Type=application/x-execu

nicholes 2013-01-29 04:00

Re: Hacking the default Chess program
 
ya but u use maemo4 and i don hv config file also what you hv...
i think this is in maemo4 only.

Addison 2013-01-29 04:05

Re: Hacking the default Chess program
 
I think other people with a N900 got this to work as well without any problems.

All I did was change the graphic and sound files.

I'm not smart enough to do anything more than this. :(

nicholes 2013-01-29 07:21

Re: Hacking the default Chess program
 
can u give me your /usr/bin/osso_chess.sh file please..
i am trying to edit my .desktop file wil try to execute it from your file.. i know this is childish.. but who knows if it makes some magic for me...

Addison 2013-01-29 07:36

Re: Hacking the default Chess program
 
I don't have that. :(

I do have the following:

/usr/bin/chess_startup
/usr/bin/chess_startup.launch
/usr/bin/chessui
/usr/bin/chessui.launch


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

vBulletin® Version 3.8.8