On Tue, 2021-11-23 at 14:51 +0100, Andrea Biscuola wrote:
> 
> > Il giorno 23 nov 2021, alle ore 14:22, Martijn van Duren 
> > <openbsd+m...@list.imperialat.at> ha scritto:
> > 
> > After upgrading to the latest snapshot yesterday[0] since the week
> > before[1] my qt based applications (mumble and nextcloud) have
> > increased at least a factor 2 (both icons and text), resulting in
> > unusable large windows.
> > 
> > Did anything recently change in X or Qt that could be the cause
> > of this? Can it be changed back with a setting?
> 
> Possible that it's related to the xorg update of the past week?
> 
> It happened to me too, although I don't use qt applications.
> 
> I solved it by setting:
> 
> xradr --dpi 96
> 
> in my .xsession file (as Mattew Herb suggested)

Thanks, this one was it.
Somehow I though that this commit was more than a week old and expected
it to be affecting all my GUI applications, not just Qt based.

Anyway, added to my xsession file and sorry for the noise.
> 
> > QT_SCALE_FACTOR=0.x doesn't seem to do the trick.
> > 
> > martijn@
> > 
> > xsession:
> > export LC_ALL=en_US.UTF-8
> > if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; 
> > then
> >        eval `dbus-launch --sh-syntax --exit-with-x11`
> > fi
> > ssh-agent
> > eval $(gnome-keyring-daemon --components=secrets)
> > export GNOME_KEYRING_CONTROL
> > setxkbmap -layout us -variant intl
> > xset -b
> > /usr/X11R6/bin/cwm
> > Xdefaults:
> > martijn$ cat .Xdefaults 
> > ! $OpenBSD: dot.Xdefaults,v 1.3 2014/07/10 10:22:59 jasper Exp $
> > XTerm*loginShell:true
> > XTerm*Background:black
> > XTerm*Foreground:white
> > Xterm*utf8:2
> > XTerm*Locale:UTF-8
> > 
> > ssh-askpass*font:-adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
> > ssh-askpass*foreground:#eeeeff
> > ssh-askpass*background:#798a99
> > ssh-askpass.*.borderWidth:1
> > ssh-askpass.*.borderColor:black
> > ssh-askpass.*.shadowThickness:0
> > ssh-askpass.*Button.borderWidth:0
> > ssh-askpass.*Button.background:#99aab9
> > ssh-askpass.indicator.borderWidth:0
> > ssh-askpass.indicator.background:#99aab9
> > ssh-askpass.indicator.foreground:#fffa06
> > 
> > [0] OpenBSD 7.0-current (GENERIC.MP) #109: Sun Nov 21 10:59:33 MST 2021
> > [1] OpenBSD 7.0-current (GENERIC.MP) #87: Wed Nov 10 10:29:31 MST 2021
> > 
> 

Reply via email to