# XP‑FlightDeck — Linux Installation Guide

## Requirements
- X‑Plane 12
- Touch Portal (Desktop app and mobile/tablet app)
- Python (used via XPPython3 inside X‑Plane 12)

## Install: Touch Portal Plugin
1. Copy the folder `touch_portal_plugin > xplane-touchportal-deck-plugin` into your Touch Portal plugins directory.
   - Example (Linux): `/home/johndoe/Documents/TouchPortal/plugins`
2. Import the Touch Portal pages (*.tpz2) and icons (*.tpi) from `assets_to_fill`.
3. Request a license to unlock full features: https://www.xp-flightdeck.com/
4. In Touch Portal: open `Settings` → find the plugin → enter your email and license key.

## Install: X‑Plane Plugin
1. Install the XPPython3 library into `X-Plane 12/Resources/plugins`.
2. Copy `PI_C172TouchPortal.py` into `X-Plane 12/Resources/plugins/PythonPlugins`.
3. If `PythonPlugins` does not exist, create it.

## Finish Up
- Restart Touch Portal and X‑Plane after installation.
- The plugin should appear in Touch Portal’s Plugins list and among X‑Plane’s Python plugins.
