[Xfce-bugs] [Bug 16642] New: Inconsistent behavior between autostart and applications for desktop files

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Apr 6 00:55:10 CEST 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16642

            Bug ID: 16642
           Summary: Inconsistent behavior between autostart and
                    applications for desktop files
    Classification: Xfce Core
           Product: Xfce4-session
           Version: 4.14.2
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: trash.paradise at protonmail.com
  Target Milestone: Xfce 4.14

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list