ATI, Linux, Script

July 5th, 2007 || 0 comments

An die Faulen unter uns, die einen ATI-Grafikchip (oder einfach nur 2 X11-Configfiles) haben und zu faul sind ein eigenes Script zu schreiben – und: ja, man kann dieses furchtbar lange Script ein Vierteljahr (ok, vielleicht auch länger) vor sich hinschieben… *pfeif*

[code lang="bash"]

#!/bin/bash
#using this code-snippet in rc.local
/usr/bin/echo -e "\n\nFor X11-Mode choose: \nSingle (1) \nMulti-Mode (2)\n"
read X11mode
if [ "$X11mode" == "1" ]; then
rm /etc/X11/xorg.conf
ln -s /etc/X11/xorg.conf_single /etc/X11/xorg.conf
else
rm /etc/X11/xorg.conf
ln -s /etc/X11/xorg.conf_multi /etc/X11/xorg.conf
fi
[/code]

Tagged , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What's this?

You are currently reading ATI, Linux, Script at karnaya universe.

meta

Switch to our mobile site