Hi,

On 26.04.2013 13:35, Daniel wrote:
>> Yeah, that's what I meant (Oh, EWMH calls them desktops, not workspaces).
>> However, I haven't ever seen a single program which let's you specify this
>> property with a command line switch.
> 
> I will have a go with _NET_WM_DESKTOP. At first try however, nothing
> happens. Try:
> 
>   xprop -f _NET_WM_DESKTOP 32c -set _NET_WM_DESKTOP 3
> 
> (and click a window). Shouldn't awesome move the window to desktop 3?

Welcome to the wonderful world of X11 and EWMH. The correct way to do this is to
send a ClientMessage to the root window with type _NET_WM_DESKTOP, window set to
the window in question and the first 4 bytes of data being the number of the
desktop that you want. See EWMH for details.

(And no, I don't know about any way to generate such a message from the
terminal, similar to how xprop can be used)

Uli
-- 
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?" -- A. P. J.

-- 
To unsubscribe, send mail to [email protected].

Reply via email to