arandr-indicator icon indicating copy to clipboard operation
arandr-indicator copied to clipboard

Correctly escape the path when writing the autostart .desktop file

Open denilsonsa opened this issue 9 years ago • 1 comments

The Exec key from ~/.config/autostart/arandr-indicator.desktop file is written without any escaping. This may lead to an invalid autostart entry that will fail to launch the tool, if the path contains spaces or other characters that require escaping.

Sample path: /home/username/Área de Trabalho/arandr-indicator.py Related bug on PyXDG: https://bugs.freedesktop.org/show_bug.cgi?id=83034 Documentation: http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

denilsonsa avatar Aug 25 '14 03:08 denilsonsa