Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wayland: how to get rid of blue color in title bar?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mike155
l33t
l33t


Joined: 17 Sep 2010
Posts: 989
Location: Frankfurt, Germany

PostPosted: Fri Nov 10, 2017 6:58 pm    Post subject: Wayland: how to get rid of blue color in title bar? Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6823
Location: Austria

PostPosted: Fri Nov 10, 2017 7:17 pm    Post subject: Reply with quote

Why do you set QT_QPA_PLATFORM?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
mike155
l33t
l33t


Joined: 17 Sep 2010
Posts: 989
Location: Frankfurt, Germany

PostPosted: Fri Nov 10, 2017 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum