LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 11:04 AM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
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, 11:15 AM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

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

Original Poster
Rep: Reputation: 68
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, 03:39 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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, 05:17 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

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


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 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 05:18 PM
konsole RaI Linux - Software 3 09-05-2005 04:34 PM
konsole bruse Linux - Newbie 2 05-15-2005 11:23 AM
Help with Konsole pablowablo Linux - Newbie 0 08-05-2004 09:37 PM
konsole Henry Slackware 4 07-12-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:32 AM.

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