View previous topic :: View next topic |
Author |
Message |
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Fri Nov 10, 2017 6:58 pm Post subject: Wayland: how to get rid of blue color in title bar? |
|
|
Whenever I start Qt- or KDE- based programs in Wayland mode ("QT_QPA_PLATFORM=wayland-egl"), the color of the title bar is blue.
What is the best (or easiest) way to change the color of the title bar to gray, so that it looks as if I the program was running in X11 mode?
My environment:- Wayland compositor: Weston or Mutter / Gnome 3.22
- Qt: 5.7 or 5.9
- KDE apps: current unstable
Examples:
Code: | kcalc # program runs in X11 mode --> gray title bar
QT_QPA_PLATFORM=wayland-egl kcalc # program runs in Wayland mode --> blue title bar |
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Fri Nov 10, 2017 7:17 pm Post subject: |
|
|
Why do you set QT_QPA_PLATFORM? |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Fri Nov 10, 2017 7:20 pm Post subject: |
|
|
Quote: | Why do you set QT_QPA_PLATFORM? |
Well, if I don't set QT_QPA_PLATFORM, my Qt-based programs run in X11 mode. But I want them to run in Wayland mode.
As far as I know, I have to set "QT_QPA_PLATFORM=wayland-egl", if I want Qt-based programs to run in Wayland mode. Is there any other or better way?
Edit: Here is some documentation about QT_QPA_PLATFORM: https://wiki.archlinux.org/index.php/wayland#Qt_5 |
|
Back to top |
|
|
|