Bonjour,

Je viens de découvrir la commande xgamma, mais je ne sais pas comment m'en 
servir pour modifier le gamma.

En effet :

[EMAIL PROTECTED] ~] $xgamma
-> Red  1.200, Green  1.200, Blue  1.200

Mais :

[EMAIL PROTECTED] ~] $cat /etc/X11/xorg.conf | grep Gamma
    Gamma 1.60  1.60  1.60

Et les couleurs sont très pâles, j'en déduis donc que le gamma doit être 
défini ailleurs que dans xorg.conf.

Donc :

[EMAIL PROTECTED] ~] $xgamma --help
usage:  xgamma [-options]

where the available options are:
    -display host:dpy       or -d
    -quiet                  or -q
    -screen                 or -s
    -gamma f.f              Gamma Value
    -rgamma f.f             Red Gamma Value
    -ggamma f.f             Green Gamma Value
    -bgamma f.f             Blue Gamma Value

[EMAIL PROTECTED] plugins] $xgamma -gamma f.f 1.60  1.60  1.60
Gamma values must be between  0.100 and 10.000
[EMAIL PROTECTED] plugins] $xgamma -gamma f.f Red  1.600, Green  1.600, Blue  
1.600
Gamma values must be between  0.100 and 10.000
[EMAIL PROTECTED] plugins] $xgamma -gamma f.f 1.600
Gamma values must be between  0.100 and 10.000

Quelle est donc la bonne syntaxe ?

man xgamma me dit :
" -gamma f.f
               The gamma correction can either be defined as a  single  value,
               or  separately  for  the  red,  green and blue components. This
               argument specifies the gamma correction as a single  value.  If
               no  value  for the gamma correction is given xgamma returns the
               current gamma correction of the display."

Mais je ne comprends pas un mot d'anglais, ça ne m'aide donc pas beaucoup...


-- 
Joël
=========================================
Vous souhaitez acquerir votre pack ou des services Mandriva?
Rendez-vous sur "http://store.mandriva.com";.
Rejoignez le club Mandriva : http://club.mandriva.com
=========================================

Répondre à