Path: ...!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.localhost!not-for-mail From: Marc SCHAEFER Newsgroups: fr.comp.applications.x11 Subject: Re: [X11] Qui =?ISO-8859-1?Q?contr=F4le?= quoi Date: Wed, 3 Nov 2021 10:34:58 -0000 (UTC) Organization: Posted through ALPHANET Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 3 Nov 2021 10:34:58 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-host="localhost:127.0.0.1"; logging-data="14656"; 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:jNRZuxVJqmYyeu8//RiybO0r9tFG4isO/7G7LdtRDyY= Bytes: 1671 Lines: 16 Jo Engo wrote: > Le Mon, 1 Nov 2021 13:05:23 -0000 (UTC), Marc SCHAEFER a écrit : > >> Pour aller plus loin, investiguer xdotool. > > J'ai lu rapidement mais ça n'a pas l'air d'être ça. xdotool a deux modes: 1) xdotool search --name "Mozilla Firefox" 2) xdotool getwindowfocus dans les deux cas, on a le window ID quu'on peut utiliser, avec xprop par exemple. Mais 2) ne sert à rien vu que c'est le fonctionnement normal de xprop.