Applications in i3 are zoomed in

Hello,

I am having a issue in i3 in which some applications are zoomed in. One of these is texmaker another is xflr5. Any tips on how to fix this? One image is with i3wm and another with xfce the same applications. Other applications like the terminal or web browsers are displayed correctly even some games.

Thanks

Frog


Could be related to DPI/scaling.

I came across this post which may or may not help;
https://dougie.io/linux/hidpi-retina-i3wm/

What is your output of xrandr? Do you have a DE installed along i3?

The first two things that come to my mind are high dpi screen and global scaling of gtk vs qt apps. These can be fixed by scaling in .profile.

Edit: actually just saw that the link posted above by @lucidae could be your answer. But we need more infos.

i would also check gtk theming settings on i3 in using xfce4 and i3 on same user it is a good idea to remove all gtk settings and set from scratch if you have issues.
It seems that there are some changes on the way settings are saved, i do currently work on that but not 100% sure how it changed.

check:
~/.gtkrc-2.0
~/.config/gtk-3.0
~/.config/gtk-2.0
~/.Xresources

you can simply remove that files and folders logout and back in and set theming and font as you like.

@Zircon34

This is the output to xrandr :

Screen 0: minimum 8 x 8, current 2640 x 1024, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 connected 1360x768+1280+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1360x768      60.02*+
   1920x1080     59.94    50.00    29.97    25.00    23.98    60.05    60.00    50.04  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+
   1280x960      60.00  
   1152x864      75.00  
   1024x768      85.00    75.03    70.07    60.00  
   800x600       85.06    75.00    72.19  
   640x480       85.01    59.94  
DP-1 disconnected (normal left inverted right x axis y axis)

With regards to a DE installed along i3 I do have xfce installed also.

@lucidae

Thanks for your link I currently dont have either .profile or .Xresources created in the home directory. I might try creating them although I don’t know what to do for a dual monitor setup.

@joekamprad

What should I check for in those files? Do I just delete them?

Thanks for all of your replies. :grinning:

Running QT_SCALE_FACTOR=0.001 texmaker I managed to get texmakers gui to a decent size. It also works with the other program. How can i make this change permanent? I did it creating a line in .profile which says export QT_SCALE_FACTOR=0.001 . The gui looks good but the buttons dont work.