Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-10-06 05:57:36

betw023
Member
Registered: 2024-10-06
Posts: 11
LinuxChrome 129.0

[Solved] QT app is not scaling in xfce, how to force it

I have windows scaling set to 2x on my 4k monitor and xfce works ok.

I have a program installed called converseen, it doesn't want to scale, also after click maximum window, the windows control buttons are outside of the screen not able to be seen.
How do I force this app or similar ones to use proper scaling? Thanks.

                 `:osssssss+-               OS: EndeavourOS x86_64
       `.://osssssssssssssssssssso++-       Shell: bash 5.2.37
      .://+ssssssssssssssssssssssso++:      Display (4K MONITOR): 3840x2160 @ 60 Hz in 32″ [External]
    .:///ossssssssssssssssssssssssso++:     DE: Xfce4 4.18
  `:////ssssssssssssssssssssssssssso+++.    WM: Xfwm4 (X11)
`-////+ssssssssssssssssssssssssssso++++-    WM Theme: Orchis-Dark-Compact
 `..-+oosssssssssssssssssssssssso+++++/`    Theme: Breeze-Dark [GTK2/3/4]
   ./++++++++++++++++++++++++++++++/:.      Icons: breeze-dark [GTK2/3/4]
  `:::::::::::::::::::::::::------``        Font: Sans (10pt) [GTK2/3/4]
                                            Cursor: breeze
                                            Terminal: xfce4-terminal 1.1.3

Screenshot-2024-10-06-15-49-04.png

also kate, fcixt+rime input window are not scaling:
IMG-20241006-171851.jpg

Last edited by betw023 (2024-10-11 11:40:38)


64GB RAM running with a rescued broken Ryzen 5800X (half memory channel)

Offline

#2 2024-10-06 09:32:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482
LinuxFirefox 130.0

Re: [Solved] QT app is not scaling in xfce, how to force it

Xfce is based on the GTK toolkit. Kate and coverseen (from what I can tell) are based on the QT toolkit. As such, you will need to manually configure those apps to scale as well. More information is available here.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-10-06 09:58:51

betw023
Member
Registered: 2024-10-06
Posts: 11
LinuxChrome 129.0

Re: [Solved] QT app is not scaling in xfce, how to force it

Thanks. I found out this.
For QT based apps, to let them scale , I can do this:
in .bash_profile add

export QT_AUTO_SCREEN_SCALE_FACTOR=2
export QT_ENABLE_HIGHDPI_SCALING=2
export QT_SCALE_FACTOR=2

ref https://forum.xfce.org/viewtopic.php?id=16870

On the other hand, other when setting scaling in other DE, both GTK and QT apps working fine. So maybe in xfce, a user setting the scaling action, could also write the enviroment variable for QT apps? or make it an option?


64GB RAM running with a rescued broken Ryzen 5800X (half memory channel)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 530.66 KiB (Peak: 531.94 KiB) ]