MeeCoLay/Workarounds

(corrected app icon stuff)
(Adding apps/games to the applications menu)
 
(2 intermediate revisions not shown)
Line 38: Line 38:
== Adding apps/games to the applications menu ==
== Adding apps/games to the applications menu ==
-
After installing Harmattan packages on N900 you won't see any icon, as some directories are different on Fremantle and Harmattan
+
Use MeeCoLay GUI to convert the debs
-
as as example 
+
-
The app data is stored in optfs after installation...
+
== Meecolay FAQ ==
-
You'll have to move the desktop file and the icon to the right directories if you want to have an icon in the app menu
+
 +
#What should i do if im using custom command for running my application and i want to launch that application from my menu ?
-
the desktop file: you should move it from
+
You can just add that command to the Exec field in the desktop file of that application.
-
/usr/share/applications/
+
-
to
+
-
/usr/share/applications/hildon/
+
-
 
+
-
the icon, from:
+
-
/usr/share/icons/hicolor/80x80/apps/
+
-
or
+
-
/usr/share/icons/hicolor/64x64/apps/
+
-
to
+
-
/usr/share/icons/hicolor/scalable/apps/
+
-
 
+
-
Now you only need to modify the desktop file to make the game working with meecolay !
+
-
We'll take FruitGo as an example
+
-
on leafpad (or any other text editor you like).
+
-
leafpad /usr/share/applications/hildon/FruitGo.desktop
+
-
you will see this :
+
-
[Desktop Entry]
+
-
Encoding=UTF-8
+
-
Version=1.0
+
-
Type=Application
+
-
Terminal=false
+
-
Name=FruitGo
+
-
Exec=/usr/bin/invoker --type=d -s /opt/FruitGo/bin/FruitGo
+
-
Icon=/usr/share/icons/hicolor/80x80/apps/FruitGo80.png
+
-
X-Window-Icon=
+
-
X-HildonDesk-ShowInToolbar=true
+
-
X-Osso-Type=application/x-executable
+
-
remove the exec commands and write meecolay instead, so the desktop file should look like this one :
+
-
[Desktop Entry]
+
-
Encoding=UTF-8
+
-
Version=1.0
+
-
Type=Application
+
-
Terminal=false
+
-
Name=FruitGo
+
-
Exec=meecolay /opt/FruitGo/bin/FruitGo
+
-
Icon=FruitGo80
+
-
X-Window-Icon=
+
-
X-HildonDesk-ShowInToolbar=true
+
-
X-Osso-Type=application/x-executable
+
-
 
+
-
now the game should work!
+
-
You may need to restart the phone for the changes to make effect.
+

Latest revision as of 17:13, 22 May 2013

Contents

[edit] Workarounds

[edit] Qt Mobility

Error:

   plugin cannot be loaded for module "QtMobility.location": Cannot load library /opt/qtm12/imports/QtMobility/location/libdeclarative_location.so: (/opt/qtm12/imports/QtMobility/location/libdeclarative_location.so: undefined symbol: _ZNK10QtMobility13QGeoMapObject10metaObjectEv)

Solution:

   LD_PRELOAD=/opt/qtm12/lib/libQtLocation.so meecolay <with your arguments>

[edit] Qt Mobility

Error:

   symbol lookup error: /home/opt/meecolay/opt/GTRacing/bin/GTRacing: undefined symbol: _ZN10QtMobility18QSystemScreenSaver23setScreenSave rInhibitedEb

Solution:

   LD_PRELOAD=/opt/qtm12/lib/libQtSystemInfo.so meecolay <with your arguments>

Error:

   undefined symbol: _ZN14QCameraControl16staticMetaObjectE

Solution:

   LD_PRELOAD=/opt/qtm12/lib/libQtMultimediaKit.so meecolay <with your arguments>

If you need to preload several libraries, do it that way:

   LD_PRELOAD="library1:library2"

[edit] QmSystem2

Error:

   symbol lookup error: /opt/meecolay/lib/libqmsystem2.so.1: undefined symbol: dsme_battery_empty_ind

Solution

   LD_PRELOAD=/opt/meecolay/lib/libdsme_dbus_if.so.0.2.0 meecolay <with your arguments>

[edit] Adding apps/games to the applications menu

Use MeeCoLay GUI to convert the debs

[edit] Meecolay FAQ

  1. What should i do if im using custom command for running my application and i want to launch that application from my menu ?

You can just add that command to the Exec field in the desktop file of that application.