NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tweeking X11



At Thu, 29 May 2025 11:24:24 -0400, Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
Subject: Re: Tweeking X11
>
> So, I re-read this today:
>
> bash-5.1$ xprop -id 0x120001f  _NET_WM_NAME
> _NET_WM_NAME(UTF8_STRING) = "KWin"
>
> Are you giving *WM_NAME a var , or name???

Not "giving" -- answering!

"xprop" is asking a question (specified by its parameter).

Its output is the answer.

    "parameter(type) = value"

> > bash-5.1$ xprop -root _NET_SUPPORTING_WM_CHECK
> > _NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x120001f
> > bash-5.1$ xprop -id 0x120001f  _NET_WM_NAME
> > _NET_WM_NAME(UTF8_STRING) = "KWin"

For example I see:

    $ xprop -id $(xprop -root _NET_SUPPORTING_WM_CHECK | awk '{print $NF}') _NET_WM_NAME
    _NET_WM_NAME(UTF8_STRING) = "ctwm"

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpo8qlHQqOkB.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index