Re: [qubes-users] Re: Can't seeem to get program to start via rc.local?

2016-10-14 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-10-14 20:35, pleom...@gmail.com wrote:
> after reboot in systems should be to run also on cron
> @ reboot
> 
> but Qubes is build on Fedora mostly and it not have even cron.
> 

In Qubes, cron is available in both dom0 and the standard Fedora TemplateVM.

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYAbrDAAoJENtN07w5UDAwEV8P/2Yewgk8V2vnlF4pF23hH5RY
o4+FCEGccOBknULgypbkXWEhLiwnmYWV4ODDTaGwhEDBggf6zN0lyUEBB8PSwGOa
o25NnRfAJ4/GvyQOlzy6P0IBN3UO5VNTpUVvg+hsRdQa6wwNVw4TUdWgFmcmkEOY
mvcVBsMRXhOvabBg1T7jjFH/+F6dBU8pMv04uzQL0FZRlVG2ViDrpibIgna7X3aX
KULUkBHKxppoQo4w52h+g4MzgucVmyx/2R+AIJ1X5oAck1DUM2tJoq8FrjG39t2V
NwQ/BXeVDxPo+K5oSmajeXc/PPZ3SnCXDmAxylBc8RMVpLqjRLbX1C5h38hVbcEJ
M878mrWGoQNKOJkc8/g8SyIiKit+PeKaf1kQFhMoNkqY+a9jcQxkVw20HvTKqSpD
aExkbJNgGVyqDjv7U/vJq+fzZ+teXOZAKt3MY+tRhFBB7ze/LEwgtqGF8RnoP4yD
m5AQPKPlBrqSwbkIMCYzbnwgrD06ZCo6Ech/24+ZNvQjy2z+D5gDlMbzIUzHl+2W
g6nRwGJQqtaZY0Ov4sop7JC6fVSAcLlH+rEdN4IoL921qiD7FjgQ3DeKoWIPpwMj
y25r7Y5XYVjemoZM/8fj4UL5mPva0VA5zNsiJHrC/N9c7e6TfWeRcFj54qMbXMit
8kp5NENhVckCW3K3Xy6K
=9YT9
-END PGP SIGNATURE-

-- 
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/7c34381d-be0a-09f4-fa08-9bc8f55e5857%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Can't seeem to get program to start via rc.local?

2016-10-14 Thread raahelps
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.


Re: [qubes-users] Re: Can't seeem to get program to start via rc.local?

2016-10-14 Thread Unman
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 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/20161015000319.GA19245%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.