1 |
# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_x11.sh,v 1.5 2005-04-12 20:45:55 niro Exp $ |
# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_x11.sh,v 1.6 2005-04-12 20:54:19 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() |
24 |
on cfg_graphic.monitorid=list_monitors.id |
on cfg_graphic.monitorid=list_monitors.id |
25 |
and cfg_graphic.serial='${ALX_SERIAL}';") |
and cfg_graphic.serial='${ALX_SERIAL}';") |
26 |
|
|
27 |
echo "DEBUG: ${all}" |
# echo "DEBUG: ${all}" |
28 |
|
|
29 |
#split'em up and put 'em in an array |
#split'em up and put 'em in an array |
30 |
declare -i i=0 |
declare -i i=0 |
50 |
depth |
depth |
51 |
from cfg_graphic where serial='${ALX_SERIAL}'") |
from cfg_graphic where serial='${ALX_SERIAL}'") |
52 |
|
|
53 |
echo "DEBUG: ${all}" |
# echo "DEBUG: ${all}" |
54 |
|
|
55 |
#split'em up and put 'em in an array |
#split'em up and put 'em in an array |
56 |
declare -i i=0 |
declare -i i=0 |
82 |
get_x11_settings |
get_x11_settings |
83 |
|
|
84 |
# DEBUG |
# DEBUG |
85 |
echo "MODULE: '${ALX_MODULE}'" |
# echo "MODULE: '${ALX_MODULE}'" |
86 |
echo "RESOLUTION: '${ALX_RESOLUTION}'" |
# echo "RESOLUTION: '${ALX_RESOLUTION}'" |
87 |
echo "DEPTH: '${ALX_DEPTH=}'" |
# echo "DEPTH: '${ALX_DEPTH=}'" |
88 |
echo "VENDOR: '${ALX_VENDOR}'" |
# echo "VENDOR: '${ALX_VENDOR}'" |
89 |
echo "MODEL: '${ALX_MODEL}'" |
# echo "MODEL: '${ALX_MODEL}'" |
90 |
echo "HSYNC: '${ALX_HSYNC}'" |
# echo "HSYNC: '${ALX_HSYNC}'" |
91 |
echo "VREF: '${ALX_VREF}'" |
# echo "VREF: '${ALX_VREF}'" |
92 |
echo "MOUSE: '${ALX_MOUSE}'" |
# echo "MOUSE: '${ALX_MOUSE}'" |
93 |
|
|
94 |
local xserver |
local xserver |
95 |
local xfconfig |
local xfconfig |