summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins
diff options
context:
space:
mode:
authorSebastian Schmelzer2008-09-16 19:43:00 +0200
committerSebastian Schmelzer2008-09-16 19:43:00 +0200
commit5770451a43e20a69168b960783dffcb0618c9fda (patch)
tree51b84169d8a17dff3cfa22880656d05adff2a9e4 /os-plugins/plugins
parent * typo (diff)
downloadcore-5770451a43e20a69168b960783dffcb0618c9fda.tar.gz
core-5770451a43e20a69168b960783dffcb0618c9fda.tar.xz
core-5770451a43e20a69168b960783dffcb0618c9fda.zip
* next try :)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2223 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins')
-rw-r--r--os-plugins/plugins/xserver/XX_xserver.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/os-plugins/plugins/xserver/XX_xserver.sh b/os-plugins/plugins/xserver/XX_xserver.sh
index 2622e8fc..1410d04b 100644
--- a/os-plugins/plugins/xserver/XX_xserver.sh
+++ b/os-plugins/plugins/xserver/XX_xserver.sh
@@ -240,7 +240,7 @@ a\ \ InputDevice\ \ "Synaptics TP"\ \ \ \ \ \ "SendCoreEvents"
sed 's|.*ize:\ ||;s|\ mm||;s|x|\ |')"
modes=$(grep -i "Resolution: .*@" /etc/hwinfo.display | \
awk '{print $2}'| awk -F '@' '{print $1}'| sort -unr| \
- tr "\n" " ")
+ tr "\n" "\" \"")
[ -n "$vert" -a -n "$horz" ] && \
sed -e "s|# Horizsync.*| Horizsync $horz|;\
s|# Vertrefre.*| Vertrefresh $vert|;\
@@ -248,9 +248,9 @@ a\ \ InputDevice\ \ "Synaptics TP"\ \ \ \ \ \ "SendCoreEvents"
[ -n "$size" ] && \
sed -e "s|# DisplaySi.*| DisplaySize $size|" -i $xfc
[ -n "$modes" ] && \
- sed -e "s|# SubSection.*| Subsection \"Display\"|;\
+ sed -e "s|# SubSection.*| SubSection \"Display\"|;\
s|# Depth 24.*| Depth 24|;\
- s|# Modes.*| Modes $modes|;\
+ s|# Modes.*| Modes \"$modes\"|;\
s|# EndSubSection.*| EndSubSection|;" -i $xfc
fi