Skip to content

Instantly share code, notes, and snippets.

@minlexx
Last active July 15, 2019 13:20
Show Gist options
  • Save minlexx/14bc17f9da27cd3192a60049b29f42eb to your computer and use it in GitHub Desktop.
Save minlexx/14bc17f9da27cd3192a60049b29f42eb to your computer and use it in GitHub Desktop.
modify /usr/bin/startplasmamobile like this
if [ -d "/dev/dri" ]; then
kwin_wayland --drm --xwayland plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile"
elif [ -d "/usr/lib/libhybris-egl" ]; then
# export EGL_PLATFORM=hwcomposer
# export QT_LOGGING_RULES="kwin*.debug=true;qt*.debug=true"
export QT_LOGGING_RULES="kwin*.debug=true"
export LD_PRELOAD=/usr/lib/libhybris-egl/libEGL.so.1
kwin_wayland --hwcomposer /usr/bin/plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile"
else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment