Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Jul 2014, 14:05
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
gtk splash dialog - SOLVED!
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
wimpy


Joined: 22 Aug 2012
Posts: 239
Location: Essex, UK

PostPosted: Fri 11 Jan 2013, 06:16    Post subject:  gtk splash dialog - SOLVED!  

I have a script which I run from the desktop which has as its last line .... echo "done". When I run it from the console the "done" appears nicely. As I am running it from a desktop icon I would like to have the "done" come up as a gtk splash screen. At present it just gets lost. Doing some research it would appear that either yad or zenity would fit the bill but I'm not sure how to invoke them from within a bash script.
Any help would be greatly appreciated.

_________________
Lucid 5.2.8 frugal

Last edited by wimpy on Fri 11 Jan 2013, 12:45; edited 1 time in total
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1626
Location: wales

PostPosted: Fri 11 Jan 2013, 12:00    Post subject:  

hi wimpy

this has an ok button to dismiss it
Code:
`xmessage -center -bg blue -fg white "done"`


and this dismisses itself after an allotted time
Code:
yaf-splash -bg red -fg white -placement center -timeout 2 -text done

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
wimpy


Joined: 22 Aug 2012
Posts: 239
Location: Essex, UK

PostPosted: Fri 11 Jan 2013, 12:42    Post subject:    

Hi 666philb,
Thank you. Both items of code work beautifully. I'm really most grateful for your help. I'll mark this as solved.

_________________
Lucid 5.2.8 frugal
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0599s ][ Queries: 12 (0.0216s) ][ GZIP on ]