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 22 Oct 2014, 20:54
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
gxmessage always on top?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Subito Piano


Joined: 27 May 2007
Posts: 488
Location: UPSTATE New York

PostPosted: Sat 20 Apr 2013, 12:17    Post subject:  gxmessage always on top?  

Hi!

I created a scheduled popup window with gxmessage to remind me of a task. What command do i add to make the window always on top? (For instance, it gets buried underneath my startup programs if the alarm time is 6AM and i start up my laptop at 7AM, so i don't see the popup.)

Here's my script:

Code:
#!/bin/bash
clear
gxmessage TEXT OF MY TASK -center -font "sans-serif 36" -geometry 320x130 -name  ALARM


I tried zenity as well; either way, zenity or gxmessage, i don't know what option to add to keep the window on top.

Thanks!
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3341
Location: Ontario

PostPosted: Mon 22 Apr 2013, 14:12    Post subject: yaf-splash  

Code:
yaf-splash -close box -placement top -bg orange -fontsize large -text "Example text"


I don't know if this is a solution but Barry Kauler likes to use
yaf-splash to give
warnings , and he likes to use the placement option to place the warning
at the top of the computer screen. Maybe he does that to avoid
being covered over...

Quote:
-placement

Specifies the placement of the splash text using one of the following strings: top-left, top, top-right, left, center, right, bottom-left, bottom, bottom-right. Specifying this setting overrides the position information given in the -geometry option. Center is the default.



________________________________________
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6448
Location: Auckland, New Zealand

PostPosted: Mon 22 Apr 2013, 18:07    Post subject:  

If you use JWM you can use a group setting based on the window name and/or class. See http://joewing.net/projects/jwm/config.shtml.

Note that the format has changed, since Jwm now only supports 3 layers instead of five or something. You probably have jwm 2.1 with the old format.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Subito Piano


Joined: 27 May 2007
Posts: 488
Location: UPSTATE New York

PostPosted: Mon 22 Apr 2013, 21:31    Post subject:  

Thanks, guys! Smile

(For any zenity lovers following later on, i did find this to keep zenity on top.)
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6448
Location: Auckland, New Zealand

PostPosted: Mon 22 Apr 2013, 22:17    Post subject:  

Although that's not really specific to zenity...

Btw, i thought zenity was long dead. Haven't people switched to yad, which is compatible and alive?
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
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.0845s ][ Queries: 11 (0.0342s) ][ GZIP on ]