Re: autostart for users

2013-11-23 Thread Andrei POPESCU
On Jo, 21 nov 13, 12:15:57, Florian Lindner wrote: Hello, I want to give users the possbility to autostart programms on boot. My first idea would be to put a line like that in /etc/rc.local Not on boot, but on login (into an XDG compliant WM/DE): $HOME/.config/autostart/ Most DEs have GUIs

Re: autostart for users

2013-11-23 Thread Ralf Mardorf
On Sat, 2013-11-23 at 21:04 +0200, Andrei POPESCU wrote: On Jo, 21 nov 13, 12:15:57, Florian Lindner wrote: Hello, I want to give users the possbility to autostart programms on boot. My first idea would be to put a line like that in /etc/rc.local Not on boot, but on login (into an XDG

autostart for users

2013-11-21 Thread Florian Lindner
Hello, I want to give users the possbility to autostart programms on boot. My first idea would be to put a line like that in /etc/rc.local [ -x /home/flindner/autostart ] su flindner -c /home/flindner/autostart Probably something like that would be better: [ -x /home/cburchard/autostart

Re: autostart for users

2013-11-21 Thread Darac Marjal
On Thu, Nov 21, 2013 at 12:15:57PM +0100, Florian Lindner wrote: Hello, I want to give users the possbility to autostart programms on boot. My first idea would be to put a line like that in /etc/rc.local [cut] So that a blocking script does not block the rc.local file. Should I also add

Re: autostart for users

2013-11-21 Thread Florian Lindner
Am 21.11.2013 12:36, schrieb Darac Marjal: On Thu, Nov 21, 2013 at 12:15:57PM +0100, Florian Lindner wrote: Hello, I want to give users the possbility to autostart programms on boot. My first idea would be to put a line like that in /etc/rc.local [cut] So that a blocking script does not

Re: autostart for users

2013-11-21 Thread Brian
On Thu 21 Nov 2013 at 11:36:40 +, Darac Marjal wrote: You could teach your users to add programs to their crontab. $ crontab -e will open an editor (specified by the $EDITOR variable) with the user's crontab. Adding a line such as @reboot /home/flindner/mydaemon.sh will cause