Alain Tesio wrote:

On Sat, 28 Sep 2002 00:25:47 +0200
Daniel D�chelotte <[EMAIL PROTECTED]> wrote:

Et encore moins verbeux :

xdpyinfo | egrep "[[:digit:]]{3,}x[[:digit:]]{3,}" | awk '{print $2}'

J'ai un 100x100 parasite, tu t'entra�nes pour le gruik contest ?

$xdpyinfo | egrep "[[:digit:]]{3,}x[[:digit:]]{3,}" | awk '{print $2}'
1920x1440
100x100


Je pr�f�re ca, c'est plus clair et ca marche :

xwininfo -root | egrep "Width|Height"

Alain



moi je pr�f�re les compromis :-)

xdpyinfo | egrep "dimensions" | awk '{print $2}'
800x600


on s'inscrit o� pour le gruik contest  ;-)  ????


Répondre à