Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Change logic of informational messages in xinerama setup
authorMichael Prokop <mika@grml.org>
Thu Jul 12 02:45:00 2007 +0200 (16 months ago)
changeset 46bd3ec824c15a
manifestbd3ec824c15a
parent 45c7858cff43a6
child 47aa993b186b12
Change logic of informational messages in xinerama setup
grml-x
--- a/grml-x Thu Jul 12 02:38:25 2007 +0200
+++ b/grml-x Thu Jul 12 02:45:00 2007 +0200
@@ -174,23 +174,6 @@ Option for $fg[yellow]Xinerama$fg[green]
Option for $fg[yellow]Xinerama$fg[green] found, please use xrandr inside X.org for your further configuration!
Trying to identify monitors now..."
- # Currently we only know that it works with current intel driver,
- # so inform user about that:
- if [[ "$MODULE" != "intel" ]] ; then
- print "$fg[red]
-
-Warning: using a non-intel driver - trying Xinerama setup anyway.
-If it worked please contact grml developers providing information
-about your setup so we can adjust grml-x according!
-
- -> http://grml.org/contact/
-
-Sleeping for 10 seconds now... Will continue then...
-Just press Ctrl-C to cancel operation.
-"
-# sleep 10 # FIXME
- fi
-
# make sure we have information from 2 monitors:
# - first one from 'hwinfo --monitor' => $MONITORINFO
# - second one from 'hwinfo --framebuffer' => $FRAMEBUFFER
@@ -215,6 +198,23 @@ Fatal: could not identify monitor - no c
"
bailout 11
else
+ # Currently we only know that it works with current intel driver,
+ # so inform user about that:
+ if [[ "$MODULE" != "intel" ]] ; then
+ print "$fg[red]
+
+Warning: using a non-intel driver - trying Xinerama setup anyway.
+If it worked please contact grml developers providing information
+about your setup so we can adjust grml-x according!
+
+ -> http://grml.org/contact/
+
+Sleeping for 10 seconds now... Will continue then...
+Just press Ctrl-C to cancel operation.
+"
+ sleep 10
+ fi
+
# now calculate Virtual size for use with Xinerama
HORIZ_RES1="$(grep 'Max. Resolution:' $MONITORINFO | sed 's/ Max\. Resolution: \(.*\)x\(.*\)/\1/')"
VERIZ_RES1="$(grep 'Max. Resolution:' $MONITORINFO | sed 's/ Max\. Resolution: \(.*\)x\(.*\)/\2/')"