Inconsistent behavior between autostart and applications for desktop files
@Tamaranch
Submitted by Tamaranch Assigned to Xfce Bug Triage
Description
The percentage character ("%") is not treated the same way when appearing in a desktop file put in ~/.config/autostart or ~/.local/share/applications. With this simple example :
[Desktop Entry] Encoding=UTF-8 Version=0.9.4 Type=Application Name=testcmd Comment= Exec=xfce4-terminal -H -x echo %% OnlyShowIn=XFCE; RunHook=0 StartupNotify=false Terminal=false Hidden=false
When this desktop file is put in ~/.local/share/applications, and "executed" by "gtk-launch testcmd", a terminal appears with "%" as content (expected behavior). When this desktop file is put in ~/.config/autostart, and the desktop session restarted, a terminal appears with "%%" as content (unexpected behavior).
I think the good behavior is the first one, but at least, it should be the same in both cases.
Version: 4.14.2