LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-02-2010, 11:10 AM   #1
dilzniksan
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Rep: Reputation: 0
Script to run when terminal starts?


I have a small script that I wish to run whenever a gnome-terminal is initialized from an x-win session (gnome). The script has been tested and is working, where does it need to be implemented?

I tried emplacing the script in /etc/profile.d as 'gnome-terminal.sh' but was unable to create the file.
 
Old 06-02-2010, 11:54 AM   #2
dilzniksan
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Original Poster
Rep: Reputation: 0
solved

~/.bashrc

thanks guys
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Script to run at terminal startup? dilzniksan Programming 1 06-02-2010 11:55 AM
How do i run a script upon bootup, but in a terminal window xmrkite Linux - Software 6 09-29-2008 03:59 PM
run a terminal from script abd_bela DamnSmallLinux 1 06-24-2008 06:18 AM
Script run on xterm terminal, how? hraposo Linux - General 3 08-14-2007 08:12 PM
pressing 'x' in gnome terminal starts new terminal instance Drwfan54 Ubuntu 3 09-26-2006 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration