LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2005, 11:23 AM   #1
dna3e8
LQ Newbie
 
Registered: Nov 2004
Location: utAH
Posts: 11

Rep: Reputation: 0
piping an 'error' window from termenal (shell script)


On susie 9.1 the mount/ umout of kde is broken.... so i made buttions that run shell scripts.
the unmount script will geneate an error if the unmount is unsucessful.
the error is displayed if I run the script in termanal.
I want to pass the error to a kde. (pop up a window that has the error in it)

Last edited by dna3e8; 03-19-2005 at 11:24 AM.
 
Old 03-19-2005, 11:40 AM   #2
rgawenda
LQ Newbie
 
Registered: Mar 2005
Location: Ourense, Spain, EU
Distribution: Gentoo, Debian, Kubuntu
Posts: 29

Rep: Reputation: 15
I do it via dcop, to a transient tooltip style:

Code:
dcop knotify Notify notify 0 "Tittle" "Message" none none 17 1
You can also check kdialog
 
Old 03-19-2005, 12:08 PM   #3
dna3e8
LQ Newbie
 
Registered: Nov 2004
Location: utAH
Posts: 11

Original Poster
Rep: Reputation: 0
thank you

i got it working
 
  


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
new shell window by script or code r2d2 Programming 2 12-14-2005 02:59 PM
Running script in separate shell window louisgag Linux - Newbie 2 06-15-2005 06:11 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 04:00 PM
how to produce pop-up message box / alert window from shell script peb Linux - Newbie 3 02-25-2004 04:14 AM
How to bring up application window to front from shell script. aleksas_m Linux - General 2 08-21-2003 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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