You are not logged in.
In order to resolve some weird HiDPI issues, I have created a launcher ~/.local/share/applications/kate-hidpi.desktop
containing, in part
Exec=env QT_FONT_DPI=110 QT_SCALE_FACTOR=1.2 QT_ENABLE_HIGHDPI_SCALING=0 kate %U
Name=Kate (HiDPI)
It works if I open from Rofi or xfce4-appfinder.
But if I open an associated file type (such as a text file) by another way, such as
- Firefox Library > Downloads
- open from Thunar or other file manager
- terminal $ kate file.txt
it will open without the env
s.
I could individually solve these such as make a shell alias for the terminal, file type associations in thunar etc, but it's way too much to maintain.
This isn't unique to just Kate. I have a bunch of applications that require the same treatment. BUT some applications react weirdly to them and work better with the default or a different set of environment values to solve the same issue. So therefore I do not want to universally export the variables.
Is there a way to do this on a user or system level?
Offline
[ Generated in 0.007 seconds, 8 queries executed - Memory usage: 528.71 KiB (Peak: 529.34 KiB) ]