On Sun, May 21, 2017 at 4:49 AM,  <[email protected]> wrote:
> On Sunday, May 21, 2017 at 4:47:19 AM UTC+10, aforete wrote:
>> Am I doing something wrong here? is there any other way to start
>> applications once a vm starts?
>
> Yes, you can do the following in your AppVM:
>
> 1) make the directory /home/user/.config/autostart if it doesn't already exist
>
> 2) add a file inside that directory called (e.g) thunderbird.desktop that 
> contains the following lines
>
> [Desktop Entry]
> Name=thunderbird
> Exec=thunderbird
> Type=Application
>
> Reboot your AppVM and Thunderbird should start. Rinse and repeat for any 
> other app.
>
> The reason this works is that the autostart files are processed *after* the 
> user's X session has started up.

In this case (graphical applications) the desktop entry may be the
better solution due to enforced startup ordering, but note also that
/rw/config/rc.local was created for similar purposes and may be a
suitable place for other per-VM "at startup" actions. See [1] and [2]
for more info.

Cheers,
Jean-Philippe

[1]: https://www.qubes-os.org/doc/config-files/
[2]: 
https://github.com/QubesOS/qubes-core-agent-linux/blob/9f9c3c56fce8dbbeacacf7fd765850ccf9d252d3/init/setup-rw.sh#L22-L35

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CABQWM_DH_cFBh076NJ-Fm07K%2BC%3DfY66ueikyjqrBsJiyv311ZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to