Magellan Linux

Diff of /alx-src/trunk/tinyalxconfig-ng/functions/config_x11.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 476 by niro, Thu Jun 5 17:20:14 2008 UTC revision 477 by niro, Sat Jun 7 09:43:17 2008 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_x11.sh,v 1.5 2008-06-05 17:20:14 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_x11.sh,v 1.6 2008-06-07 09:43:17 niro Exp $
2  # configures the x11 server on the host via mysql db settings  # configures the x11 server on the host via mysql db settings
3    
4  get_x11_settings()  get_x11_settings()
5  {  {
6   local x i all DB_X11SETTINGS   local x i all DB_X11SETTINGS
7    
8   # autodetect or not ?   # autodetect or not ?
9   if [ $(mysqldo "select monitorid from cfg_graphic where serial='${ALX_SERIAL}'") -gt 0 ]   if [ $(mysqldo "select monitorid from cfg_graphic where serial='${ALX_SERIAL}'") -gt 0 ]
10   then   then
# Line 77  config_x11() Line 77  config_x11()
77  {  {
78   # get our settings from the db   # get our settings from the db
79   get_x11_settings   get_x11_settings
80    
81   local xserver   local xserver
82   local xfconfig   local xfconfig
83   local HAS_REALVNC=no   local HAS_REALVNC=no
# Line 245  config_x11() Line 245  config_x11()
245   echo "ALX_MOUSE_ACCELERATION=\"${ALX_MOUSE_ACCELERATION}\"" > ${SETTINGSPATH}/mouse   echo "ALX_MOUSE_ACCELERATION=\"${ALX_MOUSE_ACCELERATION}\"" > ${SETTINGSPATH}/mouse
246   echo "ALX_MOUSE_THRESHOLD=\"${ALX_MOUSE_THRESHOLD}\"" >> ${SETTINGSPATH}/mouse   echo "ALX_MOUSE_THRESHOLD=\"${ALX_MOUSE_THRESHOLD}\"" >> ${SETTINGSPATH}/mouse
247  }  }
   

Legend:
Removed from v.476  
changed lines
  Added in v.477