Prepend environment variable to command path
Thanks for this very helpful application.
Apologies if I missed it, but is there a way to prepend an environment variable to a command's execution path in FMA?
My use case is motivated by the fact that QT-based applications need to set a scaling factor on HiDPI systems (more at the Arch wiki). For example, the Exec command for the rstudio.desktop file on my system looks like:
Exec=env QT_SCALE_FACTOR=0.5 /usr/bin/rstudio-bin %F
If I try to hack the path on the equivalent FMA entry — i.e. writing "Path: env QT_SCALE_FACTOR=0.5 /usr/bin/rstudio-bin
" — then FMA recognises the spaces and moves everything after "env" to the Parameters box, which is obviously no go. Similarly, placing the environment variable in the Parameters box doesn't work either, because it has to prepend the actual exec path.