You are not logged in.

#1 2012-10-04 08:16:00

Pranavg1890
Member
From: Nagpur,India
Registered: 2012-09-07
Posts: 111

[SOLVED]how to start a program at bash startup

Hi Friends. I want a program named archey(info-tool) to run as i login in bash(or tty). ( I dont' use X server). can you please tell me how to do it?  Also, I use Systemd . Many thanks.

Last edited by Pranavg1890 (2012-10-04 08:55:44)


Using Openbox + Tint2 + Idesk

Offline

#2 2012-10-04 08:24:48

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: [SOLVED]how to start a program at bash startup

Just add command archey on the top of the ~/.bashrc file.

Offline

#3 2012-10-04 08:36:00

shomyo
Member
From: /dev/sda1
Registered: 2009-11-06
Posts: 40
Website

Re: [SOLVED]how to start a program at bash startup

If you want run archey only on login in tty use ~/.bash_profile.
Or ~/.bashrc if you want to run archey every time you open your favorite terminal (like gnome-terminal)


No signature currently stored in profile.

Offline

#4 2012-10-04 08:52:57

Pranavg1890
Member
From: Nagpur,India
Registered: 2012-09-07
Posts: 111

Re: [SOLVED]how to start a program at bash startup

Thanks @Saran and @shomyo . It worked. Many thanks for replying so fast.


Using Openbox + Tint2 + Idesk

Offline

#5 2012-10-04 08:55:01

seveg
Member
From: Bratislava, Slovakia
Registered: 2012-04-17
Posts: 33

Re: [SOLVED]how to start a program at bash startup

Please mark thread as solved.


Just another drug abuser..

Offline

#6 2012-10-04 08:56:11

Pranavg1890
Member
From: Nagpur,India
Registered: 2012-09-07
Posts: 111

Re: [SOLVED]how to start a program at bash startup

@seveg . Marked as solved.


Using Openbox + Tint2 + Idesk

Offline

#7 2012-10-04 13:06:23

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 458
Website

Re: [SOLVED]how to start a program at bash startup

Just as a heads up - 'man bash' explains the startup procedure and which scripts are run and when. Check the "Invocation" section of the man page for complete info.


My tech blog: Daemon Dancing in the Dark
My Arch Linux blog: ArChatter

Offline

Board footer

Powered by FluxBB