"default applications for LXsession" - autostart fails for commands inluding ~

Bug #1420415 reported by mkoniecz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxsession (Ubuntu)
New
Undecided
Unassigned

Bug Description

Lubuntu 14.04.02, lxsession 0.4.9.2+git20140410-0ubuntu1.2

To reproduce: open "default applications for LXsession", tab "Autostart", section "Manual autostarted applications".

java -jar /home/user/path/file.jar - adding this command is causing specified program to autostart
java -jar ~/path/file.jar - adding this command is NOT causing specified program to autostart. Running it in terminal works. I expected it to work.

mkoniecz (matkoniecz)
description: updated
Revision history for this message
Lyn Perrine (walterorlin) wrote :

This is not just not have ~ expanded into /home/username but also just has other parts of the shell not being executed and I am not sure this was inteded behavior before. For example lxsession-logout --prompt "" when run from a terminal will display no prompt as you are setting the prompt to the empty string will still display the quote marks. also setting the logout command to lxsession-logout --prompt `whoami ` when run from the command line will display your username as the prompt and when set in default apps for lxsession will display the literal value `whoami ` on the prompt for your logout. So I don't think this is just ~ not being expanded and more that all the features of the shell aren't implemented for entries in default apps for lxsession.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.