LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-23-2008, 12:04 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Rep: Reputation: 55
Konsole ??


Fedora 8 .
I have a script,seen here;

http://www.linux.com/feature/124918

I want the script to run just after the konsole opens, this way I won't have to run ./clock.sh everytime I open konsole /usr/bin/konsole isn't
a script file, so I can't add command ./clock.sh
in that file.
How would I do it ?
 
Old 01-23-2008, 12:15 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
I guess, start it from your ~/.bashrc file? Don't know what happens if you open multimple consoles, though...
 
Old 01-23-2008, 01:02 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Original Poster
Rep: Reputation: 55
Well putting it in .bashrc works, But!! it puts the clock on first line and blanks out the "bash prompt" , I have to do a a ctrl c to get bash prompt on the next line down.
If I open multipale kconsoles I get the same affect on all open ones.
I guess the problem is who gets the "first line"
the clock or bash prompt.
 
Old 01-23-2008, 04:39 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Are you running ./clock.sh or ./clock.sh& ? The second command runs the program (and keeps it running) but it backgrounds it and brings up the bash prompt.
 
Old 01-23-2008, 06:17 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,400

Original Poster
Rep: Reputation: 55
XavierP, Thanks very much, that solved the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
konsole acts as "Root Konsole" ab44045 Linux - General 11 06-11-2007 06:18 PM
konsole RaI Linux - Software 3 09-05-2005 05:34 PM
konsole bruse Linux - Newbie 2 05-15-2005 12:23 PM
Help with Konsole pablowablo Linux - Newbie 0 08-05-2004 10:37 PM
konsole Henry Slackware 4 07-12-2003 10:24 PM


All times are GMT -5. The time now is 05:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration