<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=62.1.231.243</id>
	<title>cchtml.com - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=62.1.231.243"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/62.1.231.243"/>
	<updated>2026-06-12T10:26:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=User_talk:Kombatant&amp;diff=3091</id>
		<title>User talk:Kombatant</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=User_talk:Kombatant&amp;diff=3091"/>
		<updated>2006-04-23T20:21:40Z</updated>

		<summary type="html">&lt;p&gt;62.1.231.243: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>62.1.231.243</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=User:Kombatant&amp;diff=3092</id>
		<title>User:Kombatant</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=User:Kombatant&amp;diff=3092"/>
		<updated>2006-04-23T20:21:14Z</updated>

		<summary type="html">&lt;p&gt;62.1.231.243: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to install Xgl/Compiz on Ubuntu Dapper: The Kombatant Way ==&lt;br /&gt;
&lt;br /&gt;
So here we are, rewriting the whole guide, just because I found out a more bullet-proof way to do it  So here goes:&lt;br /&gt;
&lt;br /&gt;
1. These instructions are targeted for those people using the ATI Proprietary Driver (&amp;quot;fglrx&amp;quot;) and having WORKING 3D ACCELERATION. This is configured in your xorg.conf. To make sure you are &amp;quot;accelerated&amp;quot;, running with the new driver, try typing fglrxinfo in a terminal and see what you get. If it talks about ATI then awesome... if it talks about Mesa, you still don&#039;t have your driver setup properly (xorg.conf). Your xorg.conf file doesn&#039;t need any special parametres - what I did was simply generate the default xorg.conf file with the command:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
and replace the &amp;quot;ati&amp;quot; instance with &amp;quot;fglrx&amp;quot;. Nothing more.&lt;br /&gt;
&lt;br /&gt;
2. If you want the absolute newest stuff, then you&#039;re going to have to add some lines to your repositories. So open the /etc/apt/sources.list file as root, and add these lines:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;#compiz Quinn&#039;s&lt;br /&gt;
&amp;lt;p&amp;gt;deb http://www.beerorkid.com/compiz dapper main&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;deb http://xgl.compiz.info/ dapper main&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;deb-src http://xgl.compiz.info/ dapper main&amp;lt;/p&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
This will add two repositories that carry the latest versions of all the Cool Stuff(tm). Then do:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -&lt;br /&gt;
&amp;lt;p&amp;gt;sudo apt-get update&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome&amp;lt;/p&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
Note that if you get the error&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;trying to overwrite `/usr/share/man/man1/Xserver.1x.gz&#039;, which is also in package xserver-xorg-core&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
issue a &lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo dpkg-divert --package xserver-xorg-core --divert /usr/share/man/man1/Xserver.1x.gz.xgl --rename /usr/share/man/man1/Xserver.1x.gz&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
and then do a&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo apt-get -f install&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt; to continue.&lt;br /&gt;
&lt;br /&gt;
3. Instead of messing with gdm.conf and gdm.conf-custom, we&#039;re going to do something better. So here goes. From the terminal, issue the command:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo gedit /usr/bin/startxgl.sh&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
and add these as contents:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer &amp;amp; sleep 2 &amp;amp;&amp;amp; DISPLAY=:1&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;exec gnome-session&amp;lt;/p&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt; &lt;br /&gt;
Save it, and then issue the command:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo chmod 755 /usr/bin/startxgl.sh&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. From the terminal again:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo gedit /usr/share/xsessions/xgl.desktop&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt; &lt;br /&gt;
and add this as its contents:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;[Desktop Entry]&lt;br /&gt;
&amp;lt;p&amp;gt;Encoding=UTF-8&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Name=XGl&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Exec=/usr/bin/startxgl.sh&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Icon=&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Type=Application&amp;lt;/p&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.And again, from the terminal:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo gedit /usr/bin/startcompiz&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
and inside it add the following:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;killall gnome-window-decorator&lt;br /&gt;
&amp;lt;p&amp;gt;wait&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;gnome-window-decorator &amp;amp; DISPLAY=:1 LD_PRELOAD=/opt/mesa/libGL.so.1.2 compiz --replace gconf&amp;lt;/p&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo chmod 755 /usr/bin/startcompiz&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
I can already see some of you complaining: &amp;quot;Hey, there is no such thing as /opt/mesa/libGL thing!! Please carry on to step 6 and everything will be cleared&lt;br /&gt;
&lt;br /&gt;
6. So here&#039;s the trick. What we&#039;ve done is to add a new session in gdm. This means that, when gdm loads, you can select the &amp;quot;Xgl&amp;quot; session instead of the normal session you usually use, and it&#039;ll load Xgl. It would be a good idea to either load /usr/bin/startcompiz from your System &amp;gt; Preferences &amp;gt; Sessions, in order for it to load automatically, or just add a link to your desktop and double-click it to work. That way, if something goes horribly wrong, you can simply reboot, and when gdm loads , you will be able to select your normal (and working) session again without editing files all the time. Now, from here on we have one more step to make.&lt;br /&gt;
&lt;br /&gt;
7. And here comes the big part: the mesa libraries. I see many people having the well-known &amp;quot;compiz.real: GLX_EXT_texture from pixmap is missing&amp;quot; error, and they can&#039;t seem to find out why this happens. Well, the reason as simple and as complicated the message suggests: this certain extension is NOT supported by ATI&#039;s driver (nVidia doesn&#039;t support it either, so no need to go OMGATILOOSE etc ). So, in order to run compiz, you&#039;re going to have to resort to standard mesa libraries. But, I hear you ask, where should I find these? The answer is simple: package libgl1-mesa has them. Now read carefully: when you install this particular package via apt-get, it&#039;ll place a libGL.so.1.2 inside your /usr/lib, and a symlink file called libGL.so.1 which points to the libGL.so.1.2 file. Now, if you install the ATI drivers by using the installer, these files will be replaced by symlinks to ATI&#039;s libGL.so.1.2 which resides inside /usr/lib/fglrx. So what do you do? After installing libgl-mesa and before installing ATI&#039;s drivers, create a directory called /opt/mesa and copy the file there, like this:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo mkdir /opt/mesa&lt;br /&gt;
&amp;lt;p&amp;gt;sudo cp /usr/lib/libGL.so.1.2 /opt/mesa/libGL.so.1.2&amp;lt;/p&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
Now install ATI&#039;s drivers; it will replace the files inside /usr/lib, but you&#039;ll already have the libGL file you are interested in saved in the location we created. If you have already installed ATI&#039;s drivers, and then installed libgl1-mesa, ATI&#039;s symlinks will be lost. So proceed to create /opt/mesa and copy the file there as normal; then create the two symlinks by hand, like this:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;sudo rm /usr/lib/libGL.so.1&lt;br /&gt;
&amp;lt;p&amp;gt;sudo rm /usr/lib/libGL.so.1.2&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sudo ln -sf /usr/lib/fglrx/libGL.so.1.2 /usr/lib/libGL.so.1&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sudo ln -sf /usr/lib/fglrx/libGL.so.1.2 /usr/lib/libGL.so.1.2&amp;lt;/p&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8. After all that, we are ready. Reboot your machine and when gdm loads, look at the sessions; if you see an &amp;quot;Xgl&amp;quot; session there, everything&#039;s going according to plan. Load it up, and hopefully everything will be working On my occassion, the login screen is a little slow, so don&#039;t panic if you see something like that. Everything should be quick once compiz is loaded. You&#039;ll also notice that the window decoration has changed; again, this is normal, for now, this is the only window decoration available. I am certain proper support for the Metacity window decorations will be added soon.&lt;br /&gt;
&lt;br /&gt;
9. You should have a &amp;quot;apps/compiz&amp;quot; section in gconf-editor. If you don&#039;t, don&#039;t worry about it; I don&#039;t either, and the effects work like a charm. To get around the problem with &amp;lt;Shift&amp;gt; and &amp;lt;Backspace&amp;gt; enter this in your terminal whenever you login:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;xmodmap /usr/share/xmodmap/xmodmap.&amp;lt;language&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
where &amp;lt;language&amp;gt; refers to your country&#039;s code. For the US, it would be:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;i&amp;gt;xmodmap /usr/share/xmodmap/xmodmap.us&amp;lt;/i&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
Or, of course, append it to the .gnomerc file.&lt;br /&gt;
&lt;br /&gt;
Once everything is running along happily, this is a good appendix for the commands for using the nifty stuff compiz gives you:&lt;br /&gt;
http://en.opensuse.org/Compiz&lt;br /&gt;
&lt;br /&gt;
Hopefully somebody will find all these useful - I will also update this with more suggested information and tips, to cover more potential problems/configrations. So if you have something to propose, post away&lt;/div&gt;</summary>
		<author><name>62.1.231.243</name></author>
	</entry>
</feed>