Changeset 2142

Show
Ignore:
Timestamp:
11/28/07 08:04:00 (1 year ago)
Author:
alexander
Message:

Modified some default preferences:

  • Warn if the monitor is at 800x600@60 Hz, not only at 640x480@60Hz
  • Suggest to read /root/README.txt, not /root/README
  • Play sounds in Pidgin instead of beeping.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/root/.purple/prefs.xml

    r1977 r2142  
    1717                        <pref name='list_visible' type='bool' value='1'/> 
    1818                </pref> 
     19                <pref name='sound'> 
     20                        <pref name='command' type='path' value='aplay -q %s'/> 
     21                        <pref name='method' type='string' value='custom'/> 
     22                </pref> 
    1923        </pref> 
    2024</pref> 
  • trunk/root/.xinitrc

    r1519 r2142  
    33# Remove LC_ALL now so that LANG takes effect 
    44unset LC_ALL 
     5 
    56if xrandr | grep -q '\*0.*640 x 480.*\*60' 
     7then 
     8        BAD_RESOLUTION="640 x 480" 
     9fi 
     10if xrandr | grep -q '\*0.*800 x 600.*\*60' 
     11then 
     12        BAD_RESOLUTION="800 x 600" 
     13fi 
     14 
     15if [ -n "$BAD_RESOLUTION" ] 
    616then 
    717xmessage -center \ 
     
    919frequencies from the monitor because your monitor is not 
    1020Plug-n-Play compatible.  Thus, a default resolution of 
    11 640 x 480 @ 60 Hz has been used.  This can hurt your eyes. 
     21$BAD_RESOLUTION @ 60 Hz has been used.  This can hurt your eyes. 
    1222 
    1323To fix the problem, press Ctrl + Alt + Backspace, and then 
    1424specify the allowed frequency ranges in /etc/X11/xorg.conf 
    15 manually.  See /root/README for details. 
     25manually.  See /root/README.txt for details. 
    1626 
    17 If 640 x 480 @ 60 Hz is indeed what you want, press the 'okay' 
     27If $BAD_RESOLUTION @ 60 Hz is indeed what you want, press the 'okay' 
    1828button to proceed." 
    1929fi