Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 20275  / 3 Years ago, mon, july 19, 2021, 6:45:51

In Windows, it's possible to make files open at startup (using the default program for opening the file) by adding the files to the startup folder. However, in Ubuntu, it isn't possible to drag a file onto the list of startup applications so that it runs at startup. Is there another way to make a file open at startup, using the default program for opening that file?


More From » startup

 Answers
5

I assume that you use Unity, however the process is quite similar with other Desktop Environments aswell.



Open the Dash and search for:



startup application


Click add and specify the command you'd like to use. You can then use two approaches, either you open the file by selecting the application you'd like to start with the file as an parameter, or you can use xdg-open as mentioned in this askubuntu-thread:



xdg-open [/path/]filename

[#37241] Tuesday, July 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
raldership

Total Points: 222
Total Questions: 115
Total Answers: 124

Location: North Korea
Member since Fri, Nov 4, 2022
2 Years ago
raldership questions
Sat, Nov 12, 22, 12:31, 2 Years ago
Sun, Aug 8, 21, 13:07, 3 Years ago
Wed, Sep 8, 21, 08:24, 3 Years ago
;