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 ;-) ????