I have spent quite some time figuring out how to use xprop -set as the man page is not really useful. I had a window with _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL and wanted to set this property to _NET_WM_WINDOW_TYPE_UTILITY.
[pterjan@plop tmp]$ xprop -set _NET_WM_WINDOW_TYPE _NET_WM_WINDOW_TYPE_UTILITY xprop: error: unsupported conversion for _NET_WM_WINDOW_TYPE
So I thought that maybe it doesn't know how to resolve to atom:
[pterjan@plop tmp]$ xlsatoms |grep _NET_WM_WINDOW_TYPE_UTILITY 407 _NET_WM_WINDOW_TYPE_UTILITY [pterjan@plop tmp]$ xprop -set _NET_WM_WINDOW_TYPE 407
xprop: error: unsupported conversion for _NET_WM_WINDOW_TYPE
At this point I started looking on google and could only find people asking and no answer...
Then a friend suggested me xprop -f _NET_WM_WINDOW_TYPE 32a -set _NET_WM_WINDOW_TYPE 407 which sort of worked but the result was _NET_WM_WINDOW_TYPE(ATOM) = 407. So I tried xprop -f _NET_WM_WINDOW_TYPE 32a -set _NET_WM_WINDOW_TYPE _NET_WM_WINDOW_TYPE_UTILITY and it worked!
So, when setting a property, you have to specify its format. I would have loved to read this in the man page.
This is actually my second post with this title.
During this Week-End I have read Spook Country by William Gibson and one of the characters says something about terrorism which is so true but people tend to forget:
Are you really so scared of terrorists that you'll dismantle the structures that made America what it is?
If you are, you let the terrorist win. Because that is exactly, specifically, his goal, his only goal: to frighten you into surrending the rule of law. That's why they call him 'terrorist'. He uses terrifying threats to induce you to degrade your own society.