I experimented a lot this evening, and I came up with something new that you could try immediately:
- Get the latest myrlyn-sudo script from the Git repo.
- Add the variables that you need/want to a new config file
~/.config/openSUSE/myrlyn-sudo.conf(your home directory, not root’s) like this:
A look into theQT_QPA_PLATFORMTHEME=qt6ct QT_ENABLE_HIGHDPI_SCALING=0 QT_SCALE_FACTOR=1myrlyn-sudoscript will tell you that it sources this file if it exists, so those variables are added to the environment for thesudocall if they are in theENV_KEEPlist.
This is used for myrlyn-sudo. For a non-root myrlyn call, add the variables to your ~/.bashrc or equivalent as usual.
The latest Myrlyn binary also logs the environment variables starting with QT. Build from source or use myrlyn-git linked from the home page.
HTH