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 Fri 24 Oct 2014, 12:41
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 Posts_count  
Author Message
wimpy


Joined: 22 Aug 2012
Posts: 302
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 ,Precise, Carolina, Shiba_inu, Lx_pup - all frugal

Edited_time_total
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1776
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

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=93998
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
wimpy


Joined: 22 Aug 2012
Posts: 302
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 ,Precise, Carolina, Shiba_inu, Lx_pup - all frugal
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0444s ][ Queries: 11 (0.0039s) ][ GZIP on ]