Last active
July 15, 2019 13:20
-
-
Save minlexx/14bc17f9da27cd3192a60049b29f42eb to your computer and use it in GitHub Desktop.
modify /usr/bin/startplasmamobile like this
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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