< Plasma
Difference between revisions of "Plasma/Wayland"
(running weston) |
(wl-env) |
||
Line 2: | Line 2: | ||
= Build instructions = | = Build instructions = | ||
− | * Generic | + | We recommend following this guide to install the Wayland stack, including the QtWayland module |
− | + | * http://qt-project.org/wiki/QtWayland | |
+ | |||
+ | Generic, but more detailed build instructions for Wayland / Weston, including underlying stack can be found at: http://wayland.freedesktop.org/building.html | ||
+ | |||
+ | Create a wl-env script somewhere in your $PATH, looking like this: | ||
+ | |||
+ | WLD=/home/sebas/kf5/wayland/install | ||
+ | LD_LIBRARY_PATH=$WLD/lib | ||
+ | PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/ | ||
+ | ACLOCAL="aclocal -I $WLD/share/aclocal" | ||
+ | export YACC=bison | ||
+ | |||
+ | export WLD LD_LIBRARY_PATH PKG_CONFIG_PATH ACLOCAL YACC | ||
+ | |||
+ | if test -z "${XDG_RUNTIME_DIR}"; then | ||
+ | export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir | ||
+ | if ! test -d "${XDG_RUNTIME_DIR}"; then | ||
+ | mkdir "${XDG_RUNTIME_DIR}" | ||
+ | chmod 0700 "${XDG_RUNTIME_DIR}" | ||
+ | fi | ||
+ | fi | ||
+ | |||
Revision as of 21:17, 22 July 2014
On this page, we're collecting tips and tricks to make Plasma work on Wayland:
Build instructions
We recommend following this guide to install the Wayland stack, including the QtWayland module
Generic, but more detailed build instructions for Wayland / Weston, including underlying stack can be found at: http://wayland.freedesktop.org/building.html
Create a wl-env script somewhere in your $PATH, looking like this:
WLD=/home/sebas/kf5/wayland/install LD_LIBRARY_PATH=$WLD/lib PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/ ACLOCAL="aclocal -I $WLD/share/aclocal" export YACC=bison export WLD LD_LIBRARY_PATH PKG_CONFIG_PATH ACLOCAL YACC if test -z "${XDG_RUNTIME_DIR}"; then export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir if ! test -d "${XDG_RUNTIME_DIR}"; then mkdir "${XDG_RUNTIME_DIR}" chmod 0700 "${XDG_RUNTIME_DIR}" fi fi
Running KF5 applications under Wayland
Inside an existing X session:
weston
starts a new window under your X server with Weston running inside it.
From a hard console / virtual terminal:
export $(dbus-launch) weston-launch kwrite -platform wayland
This page was last edited on 22 July 2014, at 21:17. Content is available under Creative Commons License SA 4.0 unless otherwise noted.