This is a discussion on How to run program automatically while login? within the Linux Administration forums, part of the Linux Forums category; Dear All: If I want to run a program or command automatically everytime when I login, how can I do ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 15 Sep 2004 18:30:42 -0700, wilson wrote:
> Dear All: > > If I want to run a program or command automatically everytime when I > login, how can I do it? If running the KDE desktop. Create a script to run whatever in ..kde/Autostart and chmod +x your_script_here. If command line, not gui desktop, call your script from bottom of .bash_profile |
|
|||
|
Hi Bit Twister,
What's the difference if I wrote in .bash_profile or in /etc/rc.local? ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Bit Twister <BitTwister@localhost.localdomain> wrote in message news:<slrnckhrir.a6c.BitTwister@wb.home.invalid>.. . > On 15 Sep 2004 18:30:42 -0700, wilson wrote: > > Dear All: > > > > If I want to run a program or command automatically everytime when I > > login, how can I do it? > > If running the KDE desktop. Create a script to run whatever in > .kde/Autostart and chmod +x your_script_here. > > > If command line, not gui desktop, call your script from bottom of .bash_profile |
|
|||
|
On 16 Sep 2004 00:49:14 -0700, wilson wrote:
> Hi Bit Twister, > > What's the difference if I wrote in .bash_profile or in /etc/rc.local? You asked for "on login". That is .bash_profile and would run everytime you logged in. Had you asked during bootup it would be /etc/rc.local or a startup script in /etc/init.d with links in the /etc/rc.d/rcX.d directories and only run during boot up or runlevel changes. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|