You are not logged in.
Pages: 1
Topic closed
Hi all!
I'm not sure is the right place to ask this question, but I can't find any help elsewhere!
I'd like to open an image from a script and to make the window to stay always on top.
For this first I display the image:
> display image.jpg
Then I find the window id
> xwininfo -root -tree |grep image.jpg
If I set and unset the 'always on top' property manually (using the mouse) the only difference I can observe among the window properties is:
_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE
_NET_WM_STATE(ATOM) =
But if try to set it by the command line as follows:
> xprop -id 0x3000011 -f _NET_WM_STATE 32a -set _NET_WM_STATE _NET_WM_STATE_ABOVE
And then I query the window properties
> xprop -id 0x3000011 |grep _NET_WM_STATE
I can actually observe the property was set
_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE
but the window doesn't stay 'always on top'.
Does anybody knows how to solve this?
Thank you so much!
Federico.
Offline
For example, if I want a running application not to be listed in the taskbar within the task list, I can use the following:
> xeyes& xprop -name xeyes -f _NET_WM_STATE 32a -set _NET_WM_STATE _NET_WM_STATE_SKIP_TASKBAR
And this works perfectly... the problem is, as I wrote in the previous post, I cannot set the '_NET_WM_STATE_ABOVE' property, that is, I can set it, but it has no effect on the window...
Can anybody give me any hint on how to solve this?
Thanxxx
Federico.
Offline
Pages: 1
Topic closed
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 520.04 KiB (Peak: 529.39 KiB) ]