User:Rezza/Qtopia/X

From Openmoko

< User:Rezza | Qtopia
Revision as of 10:46, 14 September 2008 by Rezza (Talk | contribs)

Jump to: navigation, search

Contents

Hack to run X apps on Qtopia

Note: DO NOT TRY THIS! Unless you want to destroy your Qtopia installation ;-) And it's still really unusable...

Description

Qtopia is really very nice piece of software but there is one big issue - there are no more applications than these ones in default installation + some few more other (and mostly old) apps around Internet. But for official OpenMoko distribution (which is running on X11) there are many applications - it's really easy to port them from desktop version to phone version (often only cross compilation is sufficient). Currently we are missing browser, IM etc...

The idea

The idea is to run fake X11 server, then export this session by VNC and use some Qtopia-able VNC client to display it. Around this hack we should provide some scripts to automatize it and do small hacks to VNC client.

Preparations

FSO testing repository (see Repositories#FSO)

Installation

opkg install x11vnc xserver-kdrive-xfake

Now your Qtopia installation is dead ;-) Reinstall with Nokia provided updater.

Install Keypebble VNC client with Software Packages app.

Running

Xfake :1 --screen 480x640 &
export DISPLAY=:1
x11vnc &

Now run some X application - you can install for example openmoko-calculator2. And it's time to select VNC from applications list, let default settings and voila we have our X11 application running in Qtopia.

Issues

Personal tools

Hack to run X apps on Qtopia

Note: DO NOT TRY THIS! Unless you want to destroy your Qtopia installation ;-) And it's still really unusable...

Description

Qtopia is really very nice piece of software but there is one big issue - there are no more applications than these ones in default installation + some few more other (and mostly old) apps around Internet. But for official OpenMoko distribution (which is running on X11) there are many applications - it's really easy to port them from desktop version to phone version (often only cross compilation is sufficient). Currently we are missing browser, IM etc...

The idea

The idea is to run fake X11 server, then export this session by VNC and use some Qtopia-able VNC client to display it. Around this hack we should provide some scripts to automatize it and do small hacks to VNC client.

Preparations

FSO testing repository (see Repositories#FSO)

Installation

opkg install x11vnc xserver-kdrive-xfake

Now your Qtopia installation is dead ;-) Reinstall with Nokia provided updater.

Install Keypebble VNC client with Software Packages app.

Running

Xfake :1 --screen 480x640 &
export DISPLAY=:1
x11vnc &

Now run some X application - you can install for example openmoko-calculator2. And it's time to select VNC from applications list, let default settings and voila we have our X11 application running in Qtopia.

Issues