trying to change the size of file chooser windows

I’m trying to change the window and font size for file chooser windows as they are way to small for my 4k screen. I’m using KDE plasma 6.7.3 as my desktop environment

On my system, running Arch Linux with systemd, I achieved it by doing this:

mkdir -p ~/.config/systemd/user/plasma-xdg-desktop-portal-kde.service.d

Then:

nano ~/.config/systemd/user/plasma-xdg-desktop-portal-kde.service.d/override.conf

I added the following and saved the file. You can change 1.5 to whatever scale factor you find most convenient:

[Service]
Environment=QT_SCALE_FACTOR=1.5

Then I reloaded the systemd configuration and restarted the service:

systemctl --user daemon-reload
systemctl --user restart plasma-xdg-desktop-portal-kde.service

This method is specific to systemd-based setups. If you’re using a different distro or service manager, the steps may be different.

Could you share your system information with me? I can then figure out how to do the same thing on your system.

does this change only the size of the file chooser windows? Also im running bazzite

Oh yeah my bad it touches a buncha things actually

Portal interface What it generally controls
Access Access permission / integration
Account User/account information
AppChooser “Open with…” / application chooser
Background Background activity permission
Email Email composer / email integration
FileChooser Open / Save / Select Folder dialogs
Inhibit Preventing sleep / screensaver
Print Print dialogs / printing UI
ScreenCast Screen / window sharing selection UI
Screenshot Screenshot selection UI
RemoteDesktop Remote-control permission / selection UI
Settings Settings exposed to applications through the portal
DynamicLauncher Creating application launchers
GlobalShortcuts Global shortcut configuration
InputCapture Input-capture configuration
Clipboard Clipboard access / permission UI
Wallpaper Setting wallpaper
Usb USB-device permission UI

What you can do for the windows size is to set up a window rule but I’m still trying to figure out how to do change the font size