Scaling for Toolbox/Distrobox Apps GUI

Hi there,
I am using Bluefin (Fedora Silverblue spinoff) on my Framework 13 with 2.8K display (AMD Ryzen™ 7040 Series).
Setting (fractional) scaling in Gnome per display works really well to achieve a somewhat constant font size across my two different external displays and my internal one.

However, due to the atomic immutable nature of my OS of choice, I need to run my office suite (Softmaker Office) from within a toolbox, since there is no flatpak for it yet.

While this works fine on my external displays with 100% scaling factors, I get unreadable small GUI size on the internal one.

Is there a way to activate scaling within toolbox or distrobox too? Preferably also on a per display basis?

For me the difference in scaling between the displays only works with apps using Wayland. Maybe you can investigate if it uses X11 or Wayland?

One way of checking which windowing system you’re using (X11 or Wayland) would be to run the built-in fastfetch command and sharing a readout from that. For example, mine currently says wayland for my Fedora install.

s31bz@fw13amd:~$ ff
                                          s31bz@fw13amd
                                          -------------
             .',;::::;,'.                 OS: Fedora Linux 41 (Workstation Edit4
         .';:cccccccccccc:;,.             Host: Laptop 13 (AMD Ryzen 7040Series)
      .;cccccccccccccccccccccc;.          Kernel: Linux 6.11.10-300.fc41.x86_64
    .:cccccccccccccccccccccccccc:.        Uptime: 1 hour, 20 mins
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Packages: 3229 (rpm), 35 (flatpak)
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Shell: bash 5.2.32
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Display (BOE095F): 2256x1504 @ 60 Hz ]
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    DE: GNOME 47.1
:cccccccccccccc;MMM.;cccccccccccccccc:    WM: Mutter (Wayland)
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    WM Theme: Adwaita
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    Theme: Adwaita [GTK2/3/4]
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    Icons: Adwaita [GTK2/3/4]
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     Font: Cantarell (11pt) [GTK2/3/4]
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      Cursor: Adwaita (24px)
cccccc;dNMWXXXWM0:;cccccccccccccc:,       Terminal: GNOME Terminal 3.54.0
cccccccc;.:odl:.;cccccccccccccc:,.        Terminal Font: Source Code Pro (10pt)
ccccccccccccccccccccccccccccc:'.          CPU: AMD Ryzen 7 7840U w/ Radeon  780z
:ccccccccccccccccccccccc:;,..             GPU: AMD Radeon 780M [Integrated]
 ':cccccccccccccccc::;,.                  Memory: 6.88 GiB / 46.35 GiB (15%)
                                          Disk (/): 1.06 TiB / 3.64 TiB (29%) -s
                                          Battery (FRANGWA): 83% (6 hours, 40 m]
                                          Locale: en_US.UTF-8

Yeah I did not explain that correctly. What I mean is, it only works correctly on Wayland, with programs that use Wayland, and not the compatibility layer Xwayland.

For example I have scaling issues when I’m using Gnome in Wayland (which is default) and run Google Chrome without setting it to Wayland (so it’s running Xwayland.) I’m suspecting Softmaker Office to be running using Xwayland. Maybe you could investigate that?

thanks!

I installed fastfetch to my toolbox and fetched fast:

⬢ [leosum@toolbx ~]$ fastfetch
             .',;::::;,'.                 leosum@toolbx
         .';:cccccccccccc:;,.             ---------------
      .;cccccccccccccccccccccc;.          OS: Fedora Linux 40 (Toolbx Container Image) x86_64
    .:cccccccccccccccccccccccccc:.        Host: Laptop 13 (AMD Ryzen 7040Series) (A5)
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: Linux 6.11.3-300.fc41.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 3 days, 13 hours, 9 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Packages: 508 (rpm), 74 (flatpak)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    Shell: bash 5.2.26
:cccccccccccccc;MMM.;cccccccccccccccc:    Display (NE135A1M-NY1): 2880x1920 @ 120 Hz (as 1920x1280) in 14" [Built-in]
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    DE: GNOME 47.1
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    WM: Mutter (Wayland)
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    Terminal: conmon
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     CPU: AMD Ryzen 5 7640U w/ Radeon 760M Graphics (12) @ 4.97 GHz
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      GPU: AMD Radeon 760M [Integrated]
cccccc;dNMWXXXWM0:;cccccccccccccc:,       Memory: 12.60 GiB / 60.63 GiB (21%)
cccccccc;.:odl:.;cccccccccccccc:,.        Swap: 0 B / 8.00 GiB (0%)
ccccccccccccccccccccccccccccc:'.          Disk (/): 1.35 TiB / 3.64 TiB (37%) - overlay
:ccccccccccccccccccccccc:;,..             Disk (/run/host): 1.35 TiB / 3.64 TiB (37%) - btrfs
 ':cccccccccccccccc::;,.                  Disk (/run/host/boot): 313.32 MiB / 973.42 MiB (32%) - ext4
                                          Disk (/run/host/boot/efi): 12.55 MiB / 598.81 MiB (2%) - vfat
                                          Local IP (wlp1s0): 192.168.88.242/24
                                          Battery (FRANGWA): 44% (2 hours remaining) [Discharging]
                                          Locale: en_US.UTF-8

it seems I am on Wayland too, but there are some differences. I don’t have the Theme, Cursor etc. entries.

How would I see if Softmaker Office is running Xwayland?

I use this on Arch: Wayland - ArchWiki

Not sure how to do it on Fedora unfortunately.