This forum has been archived. All content is frozen. Please use KDE Discuss instead.


Tags: None
(comma "," separated)
Registered Member


Tue Jan 03, 2017 6:20 am

Lately I've been spending quite a bit of time in the flight simulator X-Plane, good times. I wanted a way to track my position in KDE Marble, and after asking on the X-Plane forums, it appeared to have some interest, and I couldn't / didn't find anywhere that it had been done. At this point I had literally only spent 30 minutes in Marble, (I've used Google Earth a bit, but am doing everything I can to swear off Google-anything) but decided to see what I could code up.

Here's some copypasta from the github README I setup. I'm open to suggestions, I haven't made much code public before.... Also, having to compile Marble will make this plugin useless for 99.most% of X-Plane users I suspect, how could I go about submitting it for addition to greater Marble package?

Thanks, and Happy New Year!

akeyla ... de-marble/


KDE Marble plugin to parse X-Plane UDP packets and track position.

The following are extra libraries you'll need to install for the build
> sudo apt install git cmake qtdeclarative5-dev libqt5svg5-dev

Download the marble source from Some of these instructions where taken from
> git clone -b Applications/16.12 git:// ~/marble/sources

Create directory for plugin and download
> mkdir ~/marble/sources/src/plugins/positionprovider/xp
> git clone ~/marble/sources/src/plugins/positionprovider/xp/

Add entry to CMakeLists.txt in the positionprovider dir so the plugin is included during the build
> sed -i '1s;^;ADD_SUBDIRECTORY( xp )\n;' ~/marble/sources/src/plugins/positionprovider/CMakeLists.txt

Build it!
> mkdir -p ~/marble/build
> cd ~/marble/build
> cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_KF5=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local ~/marble/sources
> make
> sudo make install
> marble-qt

Once Marble is loaded, on the Location tab, under Position Tracking, select X-Plane.
Set X-Plane to output datasets 3, 17, 20 to the IP of the machine running Marble, port 49003


Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell