# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Don Jul 12 01:20:47 CEST 2007 [mika]
+# Latest change: Don Jul 12 02:53:42 CEST 2007 [mika]
################################################################################
# debugging {{{
Usage: $PROGRAMNAME
$PROGRAMNAME [-options] windowmanager
-Examples:
+Usage examples:
$PROGRAMNAME wmii
- $PROGRAMNAME pekwm
$PROGRAMNAME fluxbox
+ $PROGRAMNAME openbox
$PROGRAMNAME -force -nostart fluxbox
$PROGRAMNAME -nosynaptics fluxbox
$PROGRAMNAME -nosync fluxbox
$PROGRAMNAME -noddc wmii
- $PROGRAMNAME -module radeon -mode 1024x768 -vsync 60 wmi
- XINITRC=~/.xinitrc $PROGRAMNAME ion
- $PROGRAMNAME -display 8 wmii
+ $PROGRAMNAME -xinerama -composite wmii
+ $PROGRAMNAME -module radeon -mode 1024x768 -vsync 60 openbox
+ XINITRC=~/.xinitrc $PROGRAMNAME openbox
+ $PROGRAMNAME -display 8 openbox
More information on grml-x can be found in the manual page: man grml-x
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
Fatal: could not identify two monitors - no chance to
set up multihead using Xinerama - sorry. :-(
-Please run grml-x without the -xinerama option and contact
-grml developers if you have any further useful information.
- => http://grml.org/bugs/
+Please run grml-x without the -xinerama option to start
+X anyway (dropping support for Xinerama of course) and
+contact grml developers if you have any further useful
+information. => http://grml.org/bugs/
"
bailout 10
fi
"
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/')"
{
if ! [ -x $(which hwinfo) ] ; then
print "$bg[black]$fg[red]${bold_color}Error: hwinfo not found in path.${reset_color}
-Note: run 'apt-get install hwinfo' on systems running debian.
+Note: run 'aptitude install hwinfo' on systems running debian.
Exiting.${reset_color}"
exit -1
fi
get-edid | parse-edid
Do you want to go the debian way of life? Run:
- apt-get install x-window-system-core read-edid mdetect hwinfo xdebconfigurator
- dpkg-reconfigure x-window-system-core (or xserver-xorg depending on your system)
+ aptitude install xorg read-edid mdetect hwinfo xdebconfigurator
+ dpkg-reconfigure -phigh xserver-xorg
Problems with the module used for X? Try to load another one or
fall back to module vesa: