Deutsch   English   Français   Italiano  
<sm00vo$tj0$1@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.localhost!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.applications.x11
Subject: Re: [X11] Qui =?ISO-8859-1?Q?contr=F4le?= quoi
Date: Thu, 4 Nov 2021 07:09:44 -0000 (UTC)
Organization: Posted through ALPHANET
Message-ID: <sm00vo$tj0$1@shakotay.alphanet.ch>
References: <slmj9b$i95$23@shakotay.alphanet.ch> <slonai$o7r$7@shakotay.alphanet.ch> <sloomi$90h$1@shakotay.alphanet.ch> <sltnvv$o7r$27@shakotay.alphanet.ch> <sltoki$ea0$1@shakotay.alphanet.ch> <slunlu$o7r$33@shakotay.alphanet.ch> <sm009k$qb9$1@shakotay.alphanet.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 4 Nov 2021 07:09:44 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-host="localhost:127.0.0.1";
	logging-data="30304"; mail-complaints-to="usenet@alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-18-amd64 (x86_64))
Cancel-Lock: sha256:ksT4UYupODRzz1+Sc53p6Qd/8GzcWqOafVg3JwYnoWU=
Bytes: 1845
Lines: 14

Marc SCHAEFER <schaefer@alphanet.ch> wrote:
> Jo Engo <yl@icite.fr> wrote:
>> $ xdotool getwindowfocus # ne me laisse pas choisir la fenêtre et me 
> 
> bizarre, j'ai dû me brouter hier en essayant; désolé.

En fait c'était l'option selectwindow que j'avais essayé, je ne sais pas
pourquoi j'ai écrit getwindowfocus.

Mais cela ne donne pas le PID mais l'ID de la fenêtre pour X.
D'ailleurs, le PID pourrait être sur une autre machine si le client X
est distant (cas de figure assez rare aujourd'hui, toutefois).

Mais cela ne change rien au fait que xprop remplit mieux cette tâche,
semble-t-il.