开发者

Linux : what is the order of execution of *.desktop files in autostartup

开发者 https://www.devze.com 2023-01-31 08:58 出处:网络
Need to launch two application on system startup. A desktop file is created starting the fist one. Unfortunately could not find any way to launch the two application in single desktop file. If there

Need to launch two application on system startup. A desktop file is created starting the fist one. Unfortunately could not find any way to launch the two application in single desktop file. If there is way please write开发者_运维技巧 in comments ?

As a workaround created the second desktop file for launching the second app. Now Need to know the order of invoking *.desktop files in autostartup. It that performed by alphabetical order ?

Regards, Levon


You can always run script, which will then run your applications. For example:

#!/bin/bash

app1
app2

or, if you don't want to keep separate script, adding line Exec=app1;app2 to your .desktop file may do the trick.

0

精彩评论

暂无评论...
验证码 换一张
取 消