The time now is Fri 24 May 2013, 00:06
All times are UTC - 4 |
| Author |
Message |
Subito Piano

Joined: 27 May 2007 Posts: 459 Location: UPSTATE New York
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2473 Location: Ontario
|
Posted: 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
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6180 Location: Auckland, New Zealand
|
Posted: 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
|
|
 |
Subito Piano

Joined: 27 May 2007 Posts: 459 Location: UPSTATE New York
|
Posted: Mon 22 Apr 2013, 21:31 Post subject:
|
|
Thanks, guys!
(For any zenity lovers following later on, i did find this to keep zenity on top.)
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6180 Location: Auckland, New Zealand
|
Posted: 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
|
|
 |
|
|
|
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
|