start-cosmic: Set QT auto scaling env variables
This makes sure together with our XSettings implementation in cosmic-comp, that QT apps running on their xcb backend will react to the DPI values we are setting by changing their internal scaling.
This commit is contained in:
parent
65d4ee1fe2
commit
39c7f93800
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ export _JAVA_AWT_WM_NONREPARENTING=1
|
|||
export GDK_BACKEND=wayland,x11
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export QT_QPA_PLATFORM="wayland;xcb"
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||
export QT_ENABLE_HIGHDPI_SCALING=1
|
||||
|
||||
if command -v systemctl >/dev/null; then
|
||||
# set environment variables for new units started by user service manager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue