I have Ubuntu Studio 21.04 installed and I want to open a spreadsheet automatically when I log in. I've included LibreOffice calc in the autostart applications, but I can't get it to open up the spreadsheet, just the application with a blank spreadsheet.
I've edited the autostart properties for the application so they point to the spreadsheet:
'soffice --calc -o ⁄home⁄chris⁄Documents⁄Spreadsheets⁄Top 250 films.ods'
If I run this command from the terminal, the spreadsheet opens as expected, but not in autostart. I've tried single quote, double quotes and using backslashes in file name, all give the same result.
What am I doing wrong?