Re: [qubes-users] Re: start application on startup
yes I use /rw/config/rc.local. If something like thudnerbird that need gui you can create directory ~/.config/autostart/ then put a .desktop file in there. Then put it in /rw/config/rc.local file to launch at start. -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/0ab35f2c-eb7d-48f5-a1ca-983ec11bdca3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Re: start application on startup
On Sun, May 21, 2017 at 4:49 AM,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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. 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.
[qubes-users] Re: start application on startup
miguel.j...@gmail.com: > Hi, > > 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. > > Cheers > Thanks. This worked for me. I haven't gotten around the other suggestions in other replies, but this does everything I want it to so I don't think it'll be necessary. -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/aeb99d51-0396-2afb-158c-4ca6ccc18b6d%40cock.li. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Re: start application on startup
Hi, 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. Cheers -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/b41f2753-7dd9-4af7-858f-616f0ed7c173%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.