On Friday, October 14, 2016 at 8:03:21 PM UTC-4, Unman wrote:
> On Fri, Oct 14, 2016 at 04:27:16PM -0700, raahe...@gmail.com wrote:
> > On Friday, October 14, 2016 at 6:19:01 PM UTC-4, gaikokuji...@gmail.com 
> > wrote:
> > > On Friday, October 14, 2016 at 5:55:35 PM UTC-4, raah...@gmail.com wrote:
> > > > On Friday, October 14, 2016 at 3:57:06 PM UTC-4, gaikokuji...@gmail.com 
> > > > wrote:
> > > > > I have been trying to get a program to startup when the AppVM that 
> > > > > its setup in starts up by adding a line to the rc.local file.
> > > > > 
> > > > > I changed rc.local to executable, and after the first few tries added 
> > > > > in programs that should definitely start (I thought) like firefox 
> > > > > (just to test). But still every time I start the appvm, nothing? Is 
> > > > > it the rc.local that is supposed to be used or another init file?
> > > > 
> > > > it doesn't really start gui programs if thats what you were trying. you 
> > > > have to add those to autostart.   You can create ~/.config/autostart/   
> > > > and add a .desktop file in there.
> > > 
> > > I tried the .profile option before I saw your post but it seems to have 
> > > worked (for a file syncing service frontend). I didn't quite follow your 
> > > .desktop suggestion though would I add the path to the x file in the 
> > > .desktop file? (could come in handy later so might as will understand it 
> > > now).
> > 
> > I don't quite understand what you are asking.  maybe this will help. 
> > https://linuxcritic.wordpress.com/2010/04/07/anatomy-of-a-desktop-file/
> >  You can also look in your system for examples usually in 
> > /etx/xdg/autostart.  
> > 
> 
> If it helps I have this in one of my qubes:
> .config/autostart/xterm.desktop
> 
> [Desktop Entry]
> Name=Xterm
> Exec=xterm
> Terminal=false
> Type=Application
> 
> When the qube starts it spawns an xterm.
> The crucial line , of course, is Exec=xterm
> 
> unman

you can put the full path in exec line and can always just point to a script. 
path line for working directory   I use one for pglgui

-- 
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/da2a60bc-5eaa-4dd9-b03a-57b410eef308%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to