https://bugzilla.xfce.org/show_bug.cgi?id=14187
Bug ID: 14187
Summary: Exec in ~/.config/autostart/*.desktop doesn't support
commands with arguments
Classification: Xfce Core
Product: Xfce4-session
Version: 4.12.0
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: Xfce 4.12
The content of `keyboard.desktop` is shown below:
```
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=colemak keyboard
Comment=
Exec=bash /home/albert/bin/colemak.sh
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=true
Hidden=false
```
Extract the core logic from
https://git.xfce.org/xfce/xfce4-session/tree/scripts/xinitrc.in.in#n162, and
run it in a shell:
```shell
$ cmd=`grep -E "^Exec=" keyboard.desktop | cut -d'=' -f2`; test "$cmd" && which
"$cmd" ; echo $?
1
```
I suppose the spec is
https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html,
and it states that passing arguments are supported.
(Surely, I can work around this problem by dropping the preceding `bash`.)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs