Discussion:
Keeping xlock on top in cwm
t***@danwin1210.me
2021-03-16 18:11:09 UTC
Permalink
In cwm, is there a way to keep a particular window (in this case,
xclock) "always on top"?

I don't see anything in the man page, but maybe I missed something:
https://man.openbsd.org/cwmrc
t***@danwin1210.me
2021-03-17 18:19:06 UTC
Permalink
I worked out how to set a "gap" so that maximized windows won't
obscure the xclock line at the bottom. That helped. Unfortunately,
it's not enough. By default `xconsole` is sized and positioned so, if
brought forward, `xconsole` obscures `xclock`. That invariably happens
if cycling through windows...
You can change or remove xconsole from starting by modifying
/etc/X11/xenodm/Xsetup_0
Thanks, but I like having xconsole... is there any way to make it obey
the gap?
Robert Klein
2021-03-18 05:53:31 UTC
Permalink
On Wed, 17 Mar 2021 18:19:06 +0000
Post by t***@danwin1210.me
I worked out how to set a "gap" so that maximized windows won't
obscure the xclock line at the bottom. That helped. Unfortunately,
it's not enough. By default `xconsole` is sized and positioned so,
if brought forward, `xconsole` obscures `xclock`. That invariably
happens if cycling through windows...
You can change or remove xconsole from starting by modifying
/etc/X11/xenodm/Xsetup_0
Thanks, but I like having xconsole... is there any way to make it
obey the gap?
I start xconsole in Xsetup_0 as follows

xconsole -geometry 480x130-0-26 \
-daemon \
-notify \
-verbose \
-exitOnFail

The gap in my case is the 26. -26 means 26 pixel from the bottom.

Corresponding gap is 24 as I also define the borderwidth for Xmessage
as 2 in /etc/X11/xenodm/Xresources:

Xmessage.Form.Command.borderWidth: 2

Best regards
Robert
t***@danwin1210.me
2021-03-18 20:01:17 UTC
Permalink
Post by Robert Klein
Post by t***@danwin1210.me
Thanks, but I like having xconsole... is there any way to make it
obey the gap?
I start xconsole in Xsetup_0 as follows
xconsole -geometry 480x130-0-26 \
-daemon \
-notify \
-verbose \
-exitOnFail
The gap in my case is the 26. -26 means 26 pixel from the bottom.
Thanks! Set the gap to be equal to my .cwmrc gap, and xclock is now
nicely visible all the time. No more being late ever again :)

Loading...