Meego Wiki
Views

Maliit/Installing

From MeeGo wiki
< Maliit(Difference between revisions)
Jump to: navigation, search
(Installing)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
-
[[Category:Maliit]][[Category:MeeGo Input Methods]]
 
{{MaliitNavigationBar}}
{{MaliitNavigationBar}}
-
== Installing ==
+
Meego Input Methods comes preinstalled and works out-of-the-box on:
-
 
+
-
=== Meego ===
+
-
Meego Input Methods comes preinstalled on:
+
* Meego Handset UX 1.1 and later
* Meego Handset UX 1.1 and later
* Meego Tablet UX 1.2 and later
* Meego Tablet UX 1.2 and later
-
'''Meego Netbook UX'''
+
=== Meego Netbook UX ===
These steps have been tested on Meego 1.1.
These steps have been tested on Meego 1.1.
Line 37: Line 33:
* Relogin (or reboot) to desktop
* Relogin (or reboot) to desktop
-
 
-
=== Ubuntu (10.04 Lucid Lynx / 10.10 Maveric Meerkat) ===
 
-
The MeeGo Input Methods are not yet in any official Ubuntu repository. However, the packages are available through [http://launchpad.net Launchpad]. They are provided to ease development of input method plugins, without the need of using the MeeGo SDK or even scratchbox.
 
-
 
-
To install the packages, you will need to add two Launchpad PPA's to your system's software sources:
 
-
* Under System → Administration → Software Sources, select "Other Software" '''or'''
 
-
**Alternatively you can run Synaptics Package Manager and choose the menu ''Setting'' --> ''Package Sources'' where you can add the following PPA's in the tab "Other Software"
 
-
*<code>Add ppa:openismus-team/openismus-meego-im</code>
 
-
*<code>Add ppa:kubuntu-ppa/backports</code> (needed for Qt 4.7, on Lucid/Meerkat)
 
-
*Install meego-keyboard-dev and meegotouch-demos-widgetsgallery (for simple testing) through Synaptics Package Manager '''or'''
 
-
**using this command line command(make sure that Synaptics is closed already):
 
-
sudo apt-get update && sudo apt-get install meego-keyboard-dev meegotouch-demos-widgetsgallery
 
-
 
-
=== Debian, and Ubuntu derivatives ===
 
-
You might be able to use the packages above. Let us know to which extend you succeed with this.
 
-
 
-
=== Fedora ===
 
-
For Fedora there are no Maliit packages available in the Fedora repository. But there are packages built with the [http://openbuildservice.org/ Open Build Service (OBS)]. To install them:
 
-
* Download [http://download.opensuse.org/repositories/home:/janarnepetersen/Fedora_15/home:janarnepetersen.repo .repo file] and save it as ''/etc/yum.repos.d/maliit.repo''.
 
-
* Install the packages ''meego-inputmethodkeyboard'' and  ''meego-inputmethodbridges'' with the ''Add/Remove Software application''
 
-
 
-
For testing Maliit:
 
-
* As user start ''meego-im-uiserver'' in a terminal
 
-
* Run ''GTK_IM_MODULE=meego-im gedit''
 
-
 
-
=== openSUSE ===
 
-
openSUSE packages are currently in the works. The work-in-progress can be found at http://download.opensuse.org/repositories/home:/janarnepetersen
 
-
 
-
=== Arch Linux ===
 
-
Preliminary git packages are available [http://aur.archlinux.org/packages.php?O=0&K=meegotouch-input&do_Search=Go in AUR]
 
-
 
-
To install framework, keyboard, Qt and Gtk+ support:
 
-
yaourt -S meegotouch-inputmethodkeyboard meegotouch-inputmethodbridges
 
-
 
-
Substitute yaourt with your favorite AUR helper.
 
-
 
-
=== Other GNU/Linux ===
 
-
Grab the source source code from the git repositories above.
 
-
 
-
Meego Input Methods uses the qmake build system. So, to do a standard build and install, do:
 
-
qmake
 
-
make
 
-
make install
 
-
 
-
'''Dependencies'''
 
-
* All components have a hard dependency on Qt 4.7.
 
-
* Framework uses libmeegotouch by default. Pass CONFIG+=nomeegotouch to qmake to disable.
 
-
* Framework will build a setting applet for meegotouch-controlpanel by default. Pass CONFIG+=noduicontrolpanel to qmake to disable.
 
-
* Keyboard uses meego feedback framework (with reactionmaps) by default. Pass CONFIG+=noreactionmaps to qmake to disable.
 
-
* Keyboard currently has a hard dependency on libmeegotouch.
 
-
 
-
Work is ongoing to reduce the amount of dependencies in the different components.
 
-
 
-
== Using ==
 
-
To quickly test your installation, it is recommended to use the widgetsgallery:
 
-
# Make sure you have a compositing window manager running: Go to System → Appearance, select "Visual Effects" and choose either normal or extra.
 
-
# Start the meego-im-uiserver (responsible for handling input method plugins and communication with the application) using a shell:
 
-
  meego-im-uiserver -software -bypass-wm-hint
 
-
# Test virtual keyboard in MeeGo Touch's widgetsgallery (in a seperate shell):
 
-
  QT_IM_MODULE=MInputContext widgetsgallery
 
-
 
-
To integrate it with your system or product, use the distro-recommended way to start above daemon and setting the environment variable for all applications.
 
-
 
-
== Debugging tips ==
 
-
# Verify that the correct environment variables are set to load the correct input context (see above).
 
-
# Run meego-im-uiserver with the "-output-level debug" flag (in addition to any other existing flags).
 
-
# If problems with QT-based application, set the MIC_ENABLE_DEBUG=true. This will make the inputcontext output debug information.
 
-
# If problems with GTK+ applications, recompile meegotouch-inputmethodbridges with the --enable-debug flag. This will make the inputcontext output debug information.
 
{{MaliitNavigationBar}}
{{MaliitNavigationBar}}

Latest revision as of 10:04, 5 September 2011

Maliit - Input Methods for MeeGo
Overview · Development · Installing · Roadmap

Meego Input Methods comes preinstalled and works out-of-the-box on:

  • Meego Handset UX 1.1 and later
  • Meego Tablet UX 1.2 and later

Meego Netbook UX

These steps have been tested on Meego 1.1.

  • Enable the 'handset' repository. For example:
$ sudo zypper addrepo http://repo.meego.com/MeeGo/releases/1.1/handset/repos/ia32/packages/ handset
$ sudo zypper refresh
  • Install these packages:
    • meegotouch-inputmethodbridges
    • meegotouch-inputmethodkeyboard
sudo zypper install meegotouch-inputmethodkeyboard meegotouch-inputmethodbridges 
  • Modify /etc/xdg/autostart/meego-im-uiserver.desktop to look like this:
[Desktop Entry]
Exec=/usr/bin/meego-im-uiserver -target slate -bypass-wm-hint
X-Moblin-Priority=High
OnlyShowIn=X-MEEGO-HS;X-MEEGO-NB

This will work with 1024x600 resolution. Replace 'slate' with other code if you have different resolution. See /etc/meegotouch/devices.conf for different codes.

  • Add this line to ~/.bashrc (any better place in X configs? /etc/X11/xinitrc-common failed for me) to activate the inputmethod plugin for Qt-based programs:
export QT_IM_MODULE=MInputContext
  • Relogin (or reboot) to desktop
Maliit - Input Methods for MeeGo
Overview · Development · Installing · Roadmap
Personal tools