--- mcore-src/trunk/mcore-tools/daemon/client/include/graphic.client.class 2011/03/10 18:12:24 1642 +++ mcore-src/trunk/mcore-tools/daemon/client/include/graphic.client.class 2011/03/10 18:12:54 1643 @@ -112,10 +112,7 @@ addconfig ' EndSubSection' done - if pidof X - then - x11runas "xrandr --size ${resolution}" - fi + x11runas "xrandr --size ${resolution}" helper_graphic_rebuild_xorg_conf_d } @@ -154,10 +151,7 @@ #echo "${value}" > ${SETTINGSPATH}/xorg/refresh - if pidof X - then - x11runas "xrandr --refresh ${value}" - fi + x11runas "xrandr --refresh ${value}" helper_graphic_rebuild_xorg_conf_d } @@ -196,9 +190,9 @@ if [[ -f ${config} ]] then driver=$(grep Driver "${config}" | sed 's:.*Driver.*\"\(.*\)\":\1:') - mecho "${driver}" + rvecho "${driver}" else - mecho "none" + rvecho "none" fi ;; system) @@ -206,7 +200,7 @@ do driver="${driver} $(basename ${i} _drv.so)" done - mecho "${driver}" + rvecho "${driver}" ;; *) help_graphic_driver