Closed ceever closed 1 year ago
Afaik what is forbidden is &&
in .desktop
files , commands like Exec=bash -c "if [ $wayland_compositor = "wayfire" ];then /home/stef/bin/alpha-script.py;fi"
do work.
🤔 Mhhh, but why base the whole thing onto .desktop files? This way one carries along the shortcoming of the .desktop specification.
I maybe wrong, the specs are here: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables
Mhhh, but why base the whole thing onto .desktop files?
Autostart feature is shared between DE's, it's not our invention.
🤷🙏
but why base the whole thing onto .desktop files?
Auto-start is nothing but a desktop file inside ~/.config/autostart/
.
Whenever adding a autostart command via the "LXQt Session Settings", it will only allow simple types of commands such that everything more complex must be put into some script stored somewhere else and then the script needs to be provided as command in the autostart command.
Autostart will fail on complex comnands like:
or even
Expected Behavior
Accept any command that would also execute in the terminal.
Current Behavior
Autostart will not execute such a complex command as above.
Steps to Reproduce (for bugs)
Context
Due to this limitation, users will often have to come up with additional places to store such scripts with more complex commands. This kind of diminishes the usefulness of the Autostart settings GUI/tool.
System Information