<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guigolum</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Guigolum"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Guigolum"/>
	<updated>2026-07-21T20:42:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15580</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15580"/>
		<updated>2008-09-12T14:54:43Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category: tutorials]]&lt;br /&gt;
this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get: &lt;br /&gt;
 sudo apt-get install asterisk-dev autoconf automake automake1.10 autotools-dev build-essential cdw debhelper \&lt;br /&gt;
 debootstrap dh-make dmsetup fakeroot fuse-utils g++ libaa1-dev libattr1-dev libavcodec-dev libavformat-dev \&lt;br /&gt;
 libbluetooth2-dev libcaca-dev libcddb-dev libcdio-dev libcdparanoia0-dev libconfuse-dev libcurl3-dev libdancer-xml0-dev \&lt;br /&gt;
 libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdvdread-dev libesd0-dev libfuse-dev libglade2-dev libgnomevfs2-dev \&lt;br /&gt;
 libgtk2.0-dev libhal-dev libhid-dev libid3-3.8.3-dev libjpeg62-dev liblinphone1-dev liblircclient-dev libmad0-dev \&lt;br /&gt;
 libmediastreamer0-dev libmodplug-dev libmpcdec-dev libpostproc-dev libqt3-compat-headers libqt3-headers libqt3-mt-dev \&lt;br /&gt;
 libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-sge-dev libsdl-ttf2.0-dev libsdl1.2-dev libstdc++5 libsvga1-dev libtcltk-ruby \&lt;br /&gt;
 libtheora-dev libupnp-dev libusb-dev libvte-dev libx11-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-xv0-dev libxine-dev \&lt;br /&gt;
 libxmu-headers libxrender-dev libxtst-dev mkisofs module-assistant mysql-client mysql-server nasm qt3-apps-dev \&lt;br /&gt;
 qt3-assistant qt3-designer qt3-dev-tools qt3-dev-tools-compat qt3-dev-tools-embedded qt3-linguist qt3-qtconfig quilt \&lt;br /&gt;
 ruby1.8-dev sgmltools-lite squashfs-tools subversion swig tcl8.4-dev transfig x-dev x11proto-core-dev x11proto-record-dev \&lt;br /&gt;
 x11proto-xext-dev x11proto-xf86vidmode-dev xorg-dev libdvb-dev libavc1394-dev liblame-dev libiec61883-dev libdvdnav-dev \&lt;br /&gt;
 libimlib2-dev texi2html ccache libtag1-dev libmysqlclient15-dev&lt;br /&gt;
this will take some time..&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co http://svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Orbiter/ScreenHandler.cpp&#039;&#039; you have to edit src/Orbiter/ScreenHandler.cpp and remove the &amp;quot;false, false&amp;quot; at the end of lines&lt;br /&gt;
 319, 536, 2954, 3131, 3141&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15579</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15579"/>
		<updated>2008-09-12T14:27:43Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* packages */ grrrr there was just a space too much!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category: tutorials]]&lt;br /&gt;
this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get: &lt;br /&gt;
 sudo apt-get install asterisk-dev autoconf automake automake1.10 autotools-dev build-essential cdw debhelper \&lt;br /&gt;
 debootstrap dh-make dmsetup fakeroot fuse-utils g++ libaa1-dev libattr1-dev libavcodec-dev libavformat-dev \&lt;br /&gt;
 libbluetooth2-dev libcaca-dev libcddb-dev libcdio-dev libcdparanoia0-dev libconfuse-dev libcurl3-dev libdancer-xml0-dev \&lt;br /&gt;
 libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdvdread-dev libesd0-dev libfuse-dev libglade2-dev libgnomevfs2-dev \&lt;br /&gt;
 libgtk2.0-dev libhal-dev libhid-dev libid3-3.8.3-dev libjpeg62-dev liblinphone1-dev liblircclient-dev libmad0-dev \&lt;br /&gt;
 libmediastreamer0-dev libmodplug-dev libmpcdec-dev libpostproc-dev libqt3-compat-headers libqt3-headers libqt3-mt-dev \&lt;br /&gt;
 libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-sge-dev libsdl-ttf2.0-dev libsdl1.2-dev libstdc++5 libsvga1-dev libtcltk-ruby \&lt;br /&gt;
 libtheora-dev libupnp-dev libusb-dev libvte-dev libx11-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-xv0-dev libxine-dev \&lt;br /&gt;
 libxmu-headers libxrender-dev libxtst-dev mkisofs module-assistant mysql-client mysql-server nasm qt3-apps-dev \&lt;br /&gt;
 qt3-assistant qt3-designer qt3-dev-tools qt3-dev-tools-compat qt3-dev-tools-embedded qt3-linguist qt3-qtconfig quilt \&lt;br /&gt;
 ruby1.8-dev sgmltools-lite squashfs-tools subversion swig tcl8.4-dev transfig x-dev x11proto-core-dev x11proto-record-dev \&lt;br /&gt;
 x11proto-xext-dev x11proto-xf86vidmode-dev xorg-dev libdvb-dev libavc1394-dev liblame-dev libiec61883-dev libdvdnav-dev \&lt;br /&gt;
 libimlib2-dev texi2html ccache libtag1-dev&lt;br /&gt;
this will take some time..&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co http://svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Orbiter/ScreenHandler.cpp&#039;&#039; you have to edit src/Orbiter/ScreenHandler.cpp and remove the &amp;quot;false, false&amp;quot; at the end of lines&lt;br /&gt;
 319, 536, 2954, 3131, 3141&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15578</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15578"/>
		<updated>2008-09-12T14:23:37Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category: tutorials]]&lt;br /&gt;
this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get: &lt;br /&gt;
 sudo apt-get install asterisk-dev autoconf automake automake1.10 autotools-dev build-essential cdw debhelper \&lt;br /&gt;
 debootstrap dh-make dmsetup fakeroot fuse-utils g++ libaa1-dev libattr1-dev libavcodec-dev libavformat-dev \&lt;br /&gt;
 libbluetooth2-dev libcaca-dev libcddb-dev libcdio-dev libcdparanoia0-dev libconfuse-dev libcurl3-dev libdancer-xml0-dev \&lt;br /&gt;
 libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdvdread-dev libesd0-dev libfuse-dev libglade2-dev libgnomevfs2-dev&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libgtk2.0-dev libhal-dev libhid-dev libid3-3.8.3-dev libjpeg62-dev liblinphone1-dev liblircclient-dev libmad0-dev \&lt;br /&gt;
 libmediastreamer0-dev libmodplug-dev libmpcdec-dev libpostproc-dev libqt3-compat-headers libqt3-headers libqt3-mt-dev  \&lt;br /&gt;
 libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-sge-dev libsdl-ttf2.0-dev libsdl1.2-dev libstdc++5 libsvga1-dev libtcltk-ruby \&lt;br /&gt;
 libtheora-dev libupnp-dev libusb-dev libvte-dev libx11-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-xv0-dev libxine-dev&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libxmu-headers libxrender-dev libxtst-dev mkisofs module-assistant mysql-client mysql-server nasm qt3-apps-dev \ &lt;br /&gt;
 qt3-assistant qt3-designer qt3-dev-tools qt3-dev-tools-compat qt3-dev-tools-embedded qt3-linguist qt3-qtconfig quilt \&lt;br /&gt;
 ruby1.8-dev sgmltools-lite squashfs-tools subversion swig tcl8.4-dev transfig x-dev x11proto-core-dev x11proto-record-dev&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install x11proto-xext-dev x11proto-xf86vidmode-dev xorg-dev libdvb-dev libavc1394-dev liblame-dev libiec61883-dev libdvdnav-dev \&lt;br /&gt;
 libimlib2-dev texi2html ccache libtag1-dev&lt;br /&gt;
this will take some time..&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co http://svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Orbiter/ScreenHandler.cpp&#039;&#039; you have to edit src/Orbiter/ScreenHandler.cpp and remove the &amp;quot;false, false&amp;quot; at the end of lines&lt;br /&gt;
 319, 536, 2954, 3131, 3141&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15577</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15577"/>
		<updated>2008-09-12T14:17:15Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category: tutorials]]&lt;br /&gt;
this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get: &lt;br /&gt;
 sudo apt-get install asterisk-dev autoconf automake automake1.10 autotools-dev build-essential cdw debhelper \&lt;br /&gt;
 debootstrap dh-make dmsetup fakeroot fuse-utils g++ libaa1-dev libattr1-dev libavcodec-dev libavformat-dev \&lt;br /&gt;
 libbluetooth2-dev libcaca-dev libcddb-dev libcdio-dev libcdparanoia0-dev libconfuse-dev libcurl3-dev libdancer-xml0-dev \&lt;br /&gt;
 libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdvdread-dev libesd0-dev libfuse-dev libglade2-dev libgnomevfs2-dev&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libgtk2.0-dev libhal-dev libhid-dev libid3-3.8.3-dev libjpeg62-dev liblinphone1-dev liblircclient-dev libmad0-dev \&lt;br /&gt;
 libmediastreamer0-dev libmodplug-dev libmpcdec-dev libpostproc-dev libqt3-compat-headers libqt3-headers libqt3-mt-dev  \&lt;br /&gt;
 libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-sge-dev libsdl-ttf2.0-dev libsdl1.2-dev libstdc++5 libsvga1-dev libtcltk-ruby \&lt;br /&gt;
 libtheora-dev libupnp-dev libusb-dev libvte-dev libx11-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-xv0-dev libxine-dev \&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libxmu-headers libxrender-dev libxtst-dev mkisofs module-assistant mysql-client mysql-server nasm qt3-apps-dev \ &lt;br /&gt;
 qt3-assistant qt3-designer qt3-dev-tools qt3-dev-tools-compat qt3-dev-tools-embedded qt3-linguist qt3-qtconfig quilt \&lt;br /&gt;
 ruby1.8-dev sgmltools-lite squashfs-tools subversion swig tcl8.4-dev transfig x-dev x11proto-core-dev x11proto-record-dev \&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install x11proto-xext-dev x11proto-xf86vidmode-dev xorg-dev libdvb-dev libavc1394-dev liblame-dev libiec61883-dev libdvdnav-dev \&lt;br /&gt;
 libimlib2-dev texi2html ccache libtag1-dev&lt;br /&gt;
this will take some time..&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co http://svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Orbiter/ScreenHandler.cpp&#039;&#039; you have to edit src/Orbiter/ScreenHandler.cpp and remove the &amp;quot;false, false&amp;quot; at the end of lines&lt;br /&gt;
 319, 536, 2954, 3131, 3141&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=EIB/KNX_with_eibd&amp;diff=15576</id>
		<title>EIB/KNX with eibd</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=EIB/KNX_with_eibd&amp;diff=15576"/>
		<updated>2008-09-12T14:01:01Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* linuxmce 710 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==what==&lt;br /&gt;
&lt;br /&gt;
this page is an help one, made up to install the version of EIB that i started to make&amp;lt;br /&amp;gt;&lt;br /&gt;
the aim is to install an EIB version which can be uses several devices: ip, usb,...&amp;lt;br /&amp;gt;&lt;br /&gt;
the physical part issupported by the eibd program.&lt;br /&gt;
&lt;br /&gt;
==installing eibd==&lt;br /&gt;
look here:&lt;br /&gt;
 http://www.auto.tuwien.ac.at/~mkoegler/index.php/eibdeb&lt;br /&gt;
i link the page in case they want to modify it.. thus this page doesn&#039;t have to be modified too&lt;br /&gt;
&lt;br /&gt;
==installation of EIB==&lt;br /&gt;
===linuxmce 710===&lt;br /&gt;
you first need to get a partially compiled version of linuxmce 710, and its sources. you may have problems doing so, but if the libs are compiled there is no actual matter. see [[Compiling from 710 sources]] to get one.&amp;lt;br /&amp;gt;&lt;br /&gt;
when it&#039;s done, grab the file at&lt;br /&gt;
 http://mantis.linuxmce.org/view.php?id=4299&lt;br /&gt;
(you need to create an account, until someone releases it )&amp;lt;br /&amp;gt;&lt;br /&gt;
then untar it and copy it instead of the former EIB sources.(rename them to be able to get them later, just in case).&lt;br /&gt;
&lt;br /&gt;
then you must connect to lmce webadmin, and go in advanced=&amp;gt; templates. here modify the EIB template, so it has the following parameters:&lt;br /&gt;
 bus type&lt;br /&gt;
 bus address&lt;br /&gt;
&lt;br /&gt;
both must be string. type must be one of:&lt;br /&gt;
* ft12&lt;br /&gt;
* bcu1&lt;br /&gt;
* tpuart24&lt;br /&gt;
* tpuart&lt;br /&gt;
* ip&lt;br /&gt;
* ipt&lt;br /&gt;
* bcu1s&lt;br /&gt;
* tpuarts&lt;br /&gt;
* usb&lt;br /&gt;
&lt;br /&gt;
address is required for ip, ipt and usb&amp;lt;br /&amp;gt;&lt;br /&gt;
(type in console eibd --help for details.)&lt;br /&gt;
&lt;br /&gt;
now you must compile and run sql2cpp: place yourself in the source folder, run &lt;br /&gt;
 cd sql2cpp; make; ./sql2cpp&lt;br /&gt;
and you template modifications are recorded&lt;br /&gt;
you just have to place yourself in the EIB source folder, type &lt;br /&gt;
 make&lt;br /&gt;
to get the EIB programm. rename the former one in /usr/pluto/bin (such as old_EIB) and move the one you compiled instead. restart your lmce router&lt;br /&gt;
&lt;br /&gt;
dont forget to modify the existing EIB so that it has good launching parameters!&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=EIB/KNX_with_eibd&amp;diff=15575</id>
		<title>EIB/KNX with eibd</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=EIB/KNX_with_eibd&amp;diff=15575"/>
		<updated>2008-09-12T13:59:41Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* linuxmce 710 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==what==&lt;br /&gt;
&lt;br /&gt;
this page is an help one, made up to install the version of EIB that i started to make&amp;lt;br /&amp;gt;&lt;br /&gt;
the aim is to install an EIB version which can be uses several devices: ip, usb,...&amp;lt;br /&amp;gt;&lt;br /&gt;
the physical part issupported by the eibd program.&lt;br /&gt;
&lt;br /&gt;
==installing eibd==&lt;br /&gt;
look here:&lt;br /&gt;
 http://www.auto.tuwien.ac.at/~mkoegler/index.php/eibdeb&lt;br /&gt;
i link the page in case they want to modify it.. thus this page doesn&#039;t have to be modified too&lt;br /&gt;
&lt;br /&gt;
==installation of EIB==&lt;br /&gt;
===linuxmce 710===&lt;br /&gt;
you first need to get a fully compiled version of linuxmce 710, and its sources. see [[Compiling from 710 sources]] to get one.&amp;lt;br /&amp;gt;&lt;br /&gt;
when it&#039;s done, grab the file at&lt;br /&gt;
 http://mantis.linuxmce.org/view.php?id=4299&lt;br /&gt;
(you need to create an account, until someone releases it )&amp;lt;br /&amp;gt;&lt;br /&gt;
then untar it and copy it instead of the former EIB sources.(rename them to be able to get them later, just in case).&lt;br /&gt;
&lt;br /&gt;
then you must connect to lmce webadmin, and go in advanced=&amp;gt; templates. here modify the EIB template, so it has the following parameters:&lt;br /&gt;
 bus type&lt;br /&gt;
 bus address&lt;br /&gt;
&lt;br /&gt;
both must be string. type must be one of:&lt;br /&gt;
* ft12&lt;br /&gt;
* bcu1&lt;br /&gt;
* tpuart24&lt;br /&gt;
* tpuart&lt;br /&gt;
* ip&lt;br /&gt;
* ipt&lt;br /&gt;
* bcu1s&lt;br /&gt;
* tpuarts&lt;br /&gt;
* usb&lt;br /&gt;
&lt;br /&gt;
address is required for ip, ipt and usb&amp;lt;br /&amp;gt;&lt;br /&gt;
(type in console eibd --help for details.)&lt;br /&gt;
&lt;br /&gt;
now you must compile and run sql2cpp: place yourself in the source folder, run &lt;br /&gt;
 cd sql2cpp; make; ./sql2cpp&lt;br /&gt;
and you template modifications are recorded&lt;br /&gt;
you just have to place yourself in the EIB source folder, type &lt;br /&gt;
 make&lt;br /&gt;
to get the EIB programm. rename the former one in /usr/pluto/bin (such as old_EIB) and move the one you compiled instead. restart your lmce router&lt;br /&gt;
&lt;br /&gt;
dont forget to modify the existing EIB so that it has good launching parameters!&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=EIB/KNX_with_eibd&amp;diff=15526</id>
		<title>EIB/KNX with eibd</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=EIB/KNX_with_eibd&amp;diff=15526"/>
		<updated>2008-09-08T20:57:37Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: New page: ==what==  this page is an help one, made up to install the version of EIB that i started to make&amp;lt;br /&amp;gt; the aim is to install an EIB version which can be uses several devices: ip, usb,...&amp;lt;b...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==what==&lt;br /&gt;
&lt;br /&gt;
this page is an help one, made up to install the version of EIB that i started to make&amp;lt;br /&amp;gt;&lt;br /&gt;
the aim is to install an EIB version which can be uses several devices: ip, usb,...&amp;lt;br /&amp;gt;&lt;br /&gt;
the physical part issupported by the eibd program.&lt;br /&gt;
&lt;br /&gt;
==installing eibd==&lt;br /&gt;
look here:&lt;br /&gt;
 http://www.auto.tuwien.ac.at/~mkoegler/index.php/eibdeb&lt;br /&gt;
i link the page in case they want to modify it.. thus this page doesn&#039;t have to be modified too&lt;br /&gt;
&lt;br /&gt;
==installation of EIB==&lt;br /&gt;
===linuxmce 710===&lt;br /&gt;
you first need to get a fully compiled version of linuxmce 710, and its sources. see [[Compiling from 710 sources]] to get one.&amp;lt;br /&amp;gt;&lt;br /&gt;
when it&#039;s done, grab the file at&lt;br /&gt;
 http://mantis.linuxmce.org/view.php?id=4299&lt;br /&gt;
(you need to create an account, until someone releases it )&amp;lt;br /&amp;gt;&lt;br /&gt;
then untar it and copy it instead of the former EIB sources.(rename them to be able to get them later, just in case).&lt;br /&gt;
&lt;br /&gt;
then you must connect to lmce webadmin, and go in advanced=&amp;gt; templates. here modify the EIB template, so it has the following parameters:&lt;br /&gt;
 bus type&lt;br /&gt;
 bus address&lt;br /&gt;
&lt;br /&gt;
both must be string. type must be one of:&lt;br /&gt;
* ft12&lt;br /&gt;
* bcu1&lt;br /&gt;
* tpuart24&lt;br /&gt;
* tpuart&lt;br /&gt;
* ip&lt;br /&gt;
* ipt&lt;br /&gt;
* bcu1s&lt;br /&gt;
* tpuarts&lt;br /&gt;
* usb&lt;br /&gt;
&lt;br /&gt;
address is required for ip, ipt and usb&amp;lt;br /&amp;gt;&lt;br /&gt;
(type in console eibd --help for details.)&lt;br /&gt;
&lt;br /&gt;
now you must compile and run sql2cpp: place yourself in the source folder, run &lt;br /&gt;
 make; ./sql2cpp&lt;br /&gt;
and you template modifications are recorded&lt;br /&gt;
you just have to place yourself in the EIB source folder, type &lt;br /&gt;
 make&lt;br /&gt;
to get the EIB programm. rename the former one in /usr/pluto/bin (such as old_EIB) and move the one you compiled instead. restart your lmce router&lt;br /&gt;
&lt;br /&gt;
dont forget to modify the existing EIB so that it has godd launching parameters!&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15525</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15525"/>
		<updated>2008-09-08T20:44:48Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* sources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category: tutorials]]&lt;br /&gt;
this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get: &lt;br /&gt;
 sudo apt-get install asterisk-dev autoconf automake automake1.10 autotools-dev build-essential cdw debhelper \&lt;br /&gt;
 debootstrap dh-make dmsetup fakeroot fuse-utils g++ libaa1-dev libattr1-dev libavcodec-dev libavformat-dev \&lt;br /&gt;
 libbluetooth2-dev libcaca-dev libcddb-dev libcdio-dev libcdparanoia0-dev libconfuse-dev libcurl3-dev libdancer-xml0-dev \&lt;br /&gt;
 libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdvdread-dev libesd0-dev libfuse-dev libglade2-dev libgnomevfs2-dev \ &lt;br /&gt;
 libgtk2.0-dev libhal-dev libhid-dev libid3-3.8.3-dev libjpeg62-dev liblinphone1-dev liblircclient-dev libmad0-dev \&lt;br /&gt;
 libmediastreamer0-dev libmodplug-dev libmpcdec-dev libpostproc-dev libqt3-compat-headers libqt3-headers libqt3-mt-dev  \&lt;br /&gt;
 libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-sge-dev libsdl-ttf2.0-dev libsdl1.2-dev libstdc++5 libsvga1-dev libtcltk-ruby \&lt;br /&gt;
 libtheora-dev libupnp-dev libusb-dev libvte-dev libx11-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-xv0-dev libxine-dev \&lt;br /&gt;
 libxmu-headers libxrender-dev libxtst-dev mkisofs module-assistant mysql-client mysql-server nasm qt3-apps-dev \ &lt;br /&gt;
 qt3-assistant qt3-designer qt3-dev-tools qt3-dev-tools-compat qt3-dev-tools-embedded qt3-linguist qt3-qtconfig quilt \&lt;br /&gt;
 ruby1.8-dev sgmltools-lite squashfs-tools subversion swig tcl8.4-dev transfig x-dev x11proto-core-dev x11proto-record-dev \&lt;br /&gt;
 x11proto-xext-dev x11proto-xf86vidmode-dev xorg-dev libdvb-dev libavc1394-dev liblame-dev libiec61883-dev libdvdnav-dev \&lt;br /&gt;
 libimlib2-dev texi2html ccache libtag1-dev&lt;br /&gt;
this will take some time..&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co http://svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Orbiter/ScreenHandler.cpp&#039;&#039; you have to edit src/Orbiter/ScreenHandler.cpp and remove the &amp;quot;false, false&amp;quot; at the end of lines&lt;br /&gt;
 319, 536, 2954, 3131, 3141&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15063</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15063"/>
		<updated>2008-07-25T15:41:11Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get: &lt;br /&gt;
 sudo apt-get install asterisk-dev autoconf automake automake1.10 autotools-dev build-essential cdw debhelper debootstrap dh-make dmsetup fakeroot fuse-utils g++ libaa1-dev libattr1-dev libavcodec-dev libavformat-dev libbluetooth2-dev libcaca-dev libcddb-dev libcdio-dev libcdparanoia0-dev libconfuse-dev libcurl3-dev libdancer-xml0-dev libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdvdread-dev libesd0-dev libfuse-dev libglade2-dev libgnomevfs2-dev libgtk2.0-dev libhal-dev libhid-dev libid3-3.8.3-dev libjpeg62-dev liblinphone1-dev liblircclient-dev libmad0-dev libmediastreamer0-dev libmodplug-dev libmpcdec-dev libpostproc-dev libqt3-compat-headers libqt3-headers libqt3-mt-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-sge-dev libsdl-ttf2.0-dev libsdl1.2-dev libstdc++5 libsvga1-dev libtcltk-ruby libtheora-dev libupnp-dev libusb-dev libvte-dev libx11-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-xv0-dev libxine-dev libxmu-headers libxrender-dev libxtst-dev mkisofs module-assistant mysql-client mysql-server nasm qt3-apps-dev qt3-assistant qt3-designer qt3-dev-tools qt3-dev-tools-compat qt3-dev-tools-embedded qt3-linguist qt3-qtconfig quilt ruby1.8-dev sgmltools-lite squashfs-tools subversion swig tcl8.4-dev transfig x-dev x11proto-core-dev x11proto-record-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-dev libdvb-dev libavc1394-dev liblame-dev libiec61883-dev libdvdnav-dev libimlib2-dev texi2html ccache libtag1-dev&lt;br /&gt;
this will take some time..&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Orbiter/ScreenHandler.cpp&#039;&#039; you have to edit src/Orbiter/ScreenHandler.cpp and remove the &amp;quot;false, false&amp;quot; at the end of lines&lt;br /&gt;
 319, 536, 2954, 3131, 3141&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15062</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15062"/>
		<updated>2008-07-25T15:01:25Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get: &lt;br /&gt;
 sudo apt-get install asterisk-dev autoconf automake automake1.10 autotools-dev build-essential cdw debhelper debootstrap dh-make dmsetup fakeroot fuse-utils g++ libaa1-dev libattr1-dev libavcodec-dev libavformat-dev libbluetooth2-dev libcaca-dev libcddb-dev libcdio-dev libcdparanoia0-dev libconfuse-dev libcurl3-dev libdancer-xml0-dev libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdvdread-dev libesd0-dev libfuse-dev libglade2-dev libgnomevfs2-dev libgtk2.0-dev libhal-dev libhid-dev libid3-3.8.3-dev libjpeg62-dev liblinphone1-dev liblircclient-dev libmad0-dev libmediastreamer0-dev libmodplug-dev libmpcdec-dev libpostproc-dev libqt3-compat-headers libqt3-headers libqt3-mt-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-sge-dev libsdl-ttf2.0-dev libsdl1.2-dev libstdc++5 libsvga1-dev libtcltk-ruby libtheora-dev libupnp-dev libusb-dev libvte-dev libx11-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-xv0-dev libxine-dev libxmu-headers libxrender-dev libxtst-dev mkisofs module-assistant mysql-client mysql-server nasm qt3-apps-dev qt3-assistant qt3-designer qt3-dev-tools qt3-dev-tools-compat qt3-dev-tools-embedded qt3-linguist qt3-qtconfig quilt ruby1.8-dev sgmltools-lite squashfs-tools subversion swig tcl8.4-dev transfig x-dev x11proto-core-dev x11proto-record-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-dev libdvb-dev libavc1394-dev liblame-dev libiec61883-dev libdvdnav-dev libimlib2-dev texi2html ccache libtag1-dev&lt;br /&gt;
this will take some time..&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15061</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15061"/>
		<updated>2008-07-25T14:59:46Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get: &lt;br /&gt;
 sudo apt-get install -y asterisk-dev squashfs-tools libavcodec-dev libavformat-dev libpostproc-dev libcaca-dev libmodplug-dev libtheora-dev libgnomevfs2-dev libflac-dev libsmbclient-dev libmad0-dev libcdio-dev transfig sgmltools-lite automake nasm x-dev libsvga1-dev dmsetup mkisofs libxcb-xv0-dev libxcb-shm0-dev libxcb-shape0-dev libaa1-dev libmagick9-dev libdirectfb-dev libpulse-dev libmpcdec-dev kdelibs4-dev qt3-qtconfig qt3-linguist qt3-dev-tools-embedded qt3-dev-tools-compat qt3-dev-tools qt3-designer qt3-assistant qt3-apps-dev libqt3-mt-dev libqt3-headers libqt3-compat-headers xorg-dev qt3-dev-tools libxcb-xv0-dev libxcb-shm0-dev libxcb-shape0-dev libmagick9-dev libmpcdec-dev quilt tcl8.4-dev libfuse-dev fuse-utils libupnp-dev libconfuse-dev subversion build-essential dh-make libmysqlclient15-dev libattr1-dev libdbus-1-dev libdbus-glib-1-dev libhal-dev libdancer-xml0-dev libbluetooth2-dev libid3-3.8.3-dev libxine-dev x11proto-core-dev libx11-dev libx11-dev x11proto-core-dev x11proto-xext-dev x11proto-xf86vidmode-dev libx11-dev libjpeg62-dev libcdparanoia0-dev libsdl1.2-dev libsdl-gfx1.2-dev libxmu-headers x11proto-record-dev libhid-dev libusb-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-sge-dev libxtst-dev libxrender-dev libcddb-dev libdvdread-dev libcurl3-dev ruby1.8-dev swig libtcltk-ruby mysql-client mysql-server libmediastreamer0-dev libgtk2.0-dev libvte-dev libglade2-dev libstdc++5 liblircclient-dev fakeroot&lt;br /&gt;
this will take some time..&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15060</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15060"/>
		<updated>2008-07-25T14:52:13Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get:&lt;br /&gt;
 sudo apt-get install asterisk-dev squashfs-tools libavcodec-dev libavformat-dev libpostproc-dev libcaca-dev libmodplug-dev libtheora-dev libgnomevfs2-dev libflac-dev libsmbclient-dev libmad0-dev libcdio-dev transfig sgmltools-lite automake nasm x-dev libsvga1-dev dmsetup mkisofs libxcb-xv0-dev libxcb-shm0-dev libxcb-shape0-dev libaa1-dev libmagick9-dev libdirectfb-dev libpulse-dev libmpcdec-dev kdelibs4-dev qt3-qtconfig qt3-linguist qt3-dev-tools-embedded qt3-dev-tools-compat qt3-dev-tools qt3-designer qt3-assistant qt3-apps-dev libqt3-mt-dev libqt3-headers libqt3-compat-headers xorg-dev qt3-dev-tools libxcb-xv0-dev libxcb-shm0-dev libxcb-shape0-dev libmagick9-dev libmpcdec-dev quilt tcl8.4-dev libfuse-dev fuse-utils libupnp-dev libconfuse-dev subversion build-essential dh-make libmysqlclient15-dev libhttpfetcher-dev libattr1-dev libdbus-1-dev libdbus-glib-1-dev libhal-dev libdancer-xml0-dev libbluetooth2-dev libid3-3.8.3-dev libxine-dev x11proto-core-dev libx11-dev libx11-dev x11proto-core-dev x11proto-xext-dev x11proto-xf86vidmode-dev libx11-dev libjpeg62-dev libcdparanoia0-dev libsdl1.2-dev libsdl-gfx1.2-dev libxmu-headers x11proto-record-dev libhid-dev libusb-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-sge-dev libxtst-dev libxrender-dev libcddb-dev libdvdread-dev libcurl3-dev ruby1.8-dev swig libtcltk-ruby mysql-client mysql-server libmediastreamer0-dev libgtk2.0-dev libvte-dev libglade2-dev libstdc++5 liblircclient-dev fakeroot&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15059</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15059"/>
		<updated>2008-07-25T14:40:27Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get:&lt;br /&gt;
 sudo apt-get install build-essential libbluetooth2-dev subversion libattr1-dev libattr1&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have an error with &#039;&#039;Security_Plugin.cpp&#039;&#039; , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the&lt;br /&gt;
 ,true, true&lt;br /&gt;
at the nearby end of the line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
with &#039;&#039;Telecom_Plugin.cpp&#039;&#039; you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:&lt;br /&gt;
 l2670: remove false, false at the end of the line&lt;br /&gt;
 l2702: remove false, false at the end of the line&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15058</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15058"/>
		<updated>2008-07-25T14:31:31Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get:&lt;br /&gt;
 sudo apt-get install build-essential libbluetooth2-dev subversion libattr1-dev libattr1&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;br /&gt;
&lt;br /&gt;
if you have an error:&lt;br /&gt;
 make: *** Mozilla_Plugin: No such file or directory.  Stop.&lt;br /&gt;
open src/makefile and remove &amp;quot;Mozilla_Plugin&amp;quot;  at line 5&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15057</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15057"/>
		<updated>2008-07-25T14:26:56Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get:&lt;br /&gt;
 sudo apt-get install build-essential libbluetooth2-dev subversion libattr1-dev libattr1&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;br /&gt;
&lt;br /&gt;
===troubles===&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15056</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15056"/>
		<updated>2008-07-25T14:26:29Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get:&lt;br /&gt;
 sudo apt-get install build-essential libbluetooth2-dev subversion libattr1-dev libattr1&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&amp;lt;br /&amp;gt;&lt;br /&gt;
if you have an issue with the file File_Grids_Plugin.cpp  open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:&lt;br /&gt;
 false, /* resume */, 0 /* repeat */,&lt;br /&gt;
 false, /* bypass events */&lt;br /&gt;
 false /* dont setup av */);&lt;br /&gt;
by &lt;br /&gt;
 false, 0);&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15055</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15055"/>
		<updated>2008-07-25T14:14:56Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get:&lt;br /&gt;
 sudo apt-get install build-essential libbluetooth2-dev subversion libattr1-dev libattr1&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15054</id>
		<title>Compiling from 710 sources</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Compiling_from_710_sources&amp;diff=15054"/>
		<updated>2008-07-25T14:05:48Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: New page: this is just an how-to about compiling for the 710 version.  ==when to?== when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this is just an how-to about compiling for the 710 version.&lt;br /&gt;
&lt;br /&gt;
==when to?==&lt;br /&gt;
when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.&amp;lt;br /&amp;lt;&lt;br /&gt;
this is mor or less a memanto for myself, since i am compiling from 710&lt;br /&gt;
&lt;br /&gt;
==requirements==&lt;br /&gt;
i am filling it when i see new requirements&lt;br /&gt;
you must be connected on your development station. you need an acces to a 710 working station.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===packages===&lt;br /&gt;
install them with apt-get:&lt;br /&gt;
 sudo apt-get install build-essential libbluetooth2-dev subversion&lt;br /&gt;
&lt;br /&gt;
===sources===&lt;br /&gt;
when you are in the folder you want the sources to be into, type&lt;br /&gt;
 svn co .svn.linuxmce.org/pluto/branches/LinuxMCE-0710/&lt;br /&gt;
this is gonna take a while..&lt;br /&gt;
&lt;br /&gt;
==preparation==&lt;br /&gt;
copy every file from /usr/pluto/lib from you working station to your dev station in &amp;lt;srcpath&amp;gt;/src/lib. basically, if you&#039;re compiling on your core, and you placed yourself in your sources dir, just type&lt;br /&gt;
 cp /usr/pluto/lib/* src/lib/&lt;br /&gt;
then launch the command for removing the makefile args:&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
finally launch &#039;&#039;make&#039;&#039; from the src/ directory&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Bug/gma3100driver&amp;diff=15047</id>
		<title>Bug/gma3100driver</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Bug/gma3100driver&amp;diff=15047"/>
		<updated>2008-07-24T09:35:43Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==description==&lt;br /&gt;
with some drivers/installation, booting may lead to modifying its xorg.conf file. that happened with lmce 7.10 DVD installation and an md with intel gma 3100 chipset. &amp;lt;br /&amp;gt;&lt;br /&gt;
it seems to be a matter of driver not allowed to handle the card.&lt;br /&gt;
&lt;br /&gt;
==recognize the bug==&lt;br /&gt;
try&lt;br /&gt;
 lshwd | grep &#039; VGA &#039; | head -1 | sed &#039;s/^.*(\([^()]*\)).*$/\1/&#039;&lt;br /&gt;
if you get &#039;vesa&#039; then you may have the bug; try then&lt;br /&gt;
 lspci | grep &#039; VGA &#039; |  sed &#039;s/^.*controller: //&#039; | sed &#039;s/ (.*$//&#039;&lt;br /&gt;
if you get something like &#039;&#039;&#039;Intel Corporation 82G33/G31 Express Integrated Graphics Controller&#039;&#039;&#039; then you are using the driver and having the bug&lt;br /&gt;
&lt;br /&gt;
==one solution(preventing xorg.conf rebuilding)==&lt;br /&gt;
this solution is not good but works. at least, so far that i tryed it&lt;br /&gt;
#log (ssh) in the media director as root&lt;br /&gt;
#follow [[Custom_Display_Resolutions#Step_4:_Prevent_LinuxMCE_from_changing_the_Xorg_config|prevent lmce from changing xorg]] (basically, insert a new line with exit 0 on 2nd line of &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; ).&lt;br /&gt;
#run &#039;&#039;&#039;dpkg-reconfigure xserver-xorg&#039;&#039;&#039; to generate a clean new xorg.conf. follow instructions. if you don&#039;t know, keep default values&lt;br /&gt;
#reboot the md: &#039;&#039;&#039;reboot&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==using other drivers==&lt;br /&gt;
i am testing this atm(guigolum)&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Bug/gma3100driver&amp;diff=15046</id>
		<title>Bug/gma3100driver</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Bug/gma3100driver&amp;diff=15046"/>
		<updated>2008-07-24T09:18:39Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: New page: with some drivers/installation, booting a media director may lead to modifying its xorg.conf file. that happened with lmce 7.10 DVD installation and an md with &amp;#039;&amp;#039;&amp;#039;Intel Corporation 82G33/G...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;with some drivers/installation, booting a media director may lead to modifying its xorg.conf file. that happened with lmce 7.10 DVD installation and an md with &#039;&#039;&#039;Intel Corporation 82G33/G31 Express Integrated Graphics Controller&#039;&#039;&#039; and led to using the vesa drivers &amp;lt;br /&amp;gt;&lt;br /&gt;
one solution is:&lt;br /&gt;
#log (ssh) in the media director. to do so:&lt;br /&gt;
##get the media director&#039;s ip (md_IP)in webadmin-&amp;gt;wizard-&amp;gt;devices-&amp;gt;media director. you just get its name and you have a field named &#039;IP&#039; which gives you the required ip. (something like 192.168.80.X, where X is a number).&lt;br /&gt;
## log yourself as root on the core: sudo bash, enter password&lt;br /&gt;
## once you got ot, just type ssh &amp;lt;md_IP&amp;gt;&lt;br /&gt;
#follow [[Custom_Display_Resolutions#Step_4:_Prevent_LinuxMCE_from_changing_the_Xorg_config|prevent lmce from changing xorg]] (basically, insert a new line with exit 0 on 2nd line of &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; ). to edit you can use vi:&lt;br /&gt;
## &#039;&#039;&#039;vi /usr/pluto/bin/Xconfigure.sh&#039;&#039;&#039; to open the file&lt;br /&gt;
## place the cursor on the beginning of line 2, press&#039;i&#039; , and add &#039;exit 0&#039;, enter, to add the line&lt;br /&gt;
## press &#039;:x&#039;, enter.to save the file&lt;br /&gt;
#run &#039;&#039;&#039;dpkg-reconfigure xserver-xorg&#039;&#039;&#039; to generate a clean new xorg.conf. follow instructions. if you don&#039;t know, keep default values&lt;br /&gt;
#reboot the md: &#039;&#039;&#039;reboot&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=15045</id>
		<title>Display Drivers</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=15045"/>
		<updated>2008-07-24T09:18:09Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* potential problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Hardware| ]]&lt;br /&gt;
&lt;br /&gt;
An incomplete HowTo on updating LinuxMCE to the latest display drivers and configuring them manually.  It could use your help, so if something is different in your situation, please add it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that this should normally not be necessary unless you have specific wishes or trouble getting your display to work properly.&#039;&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
If the graphical environment cannot start you are likely to see a text screen blinking, this makes it very hard to login, if this is the case you can reboot into &amp;quot;recovery mode&amp;quot; by pressing [Esc] when GRUB tells you to during the boot process and then select it from the menu you will be presented with.&lt;br /&gt;
&lt;br /&gt;
=== ATI Chipsets ===&lt;br /&gt;
The two main ways to install the ATI drivers are described in the [http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide Ubuntu Feisty Installation Guide].&lt;br /&gt;
&lt;br /&gt;
For more information see also the [http://wiki.cchtml.com/index.php/Main_Page Unofficial ATI Linux Driver Wiki] and you might want to have a look at [http://www.mythtv.org/wiki/index.php/AtiProprietaryDriver AtiProprietaryDriver] in the MythTV wiki as well since LinuxMCE depends on it for viewing TV.  MythTV in turn relies heavily on the support of certain features by the graphics drivers.  The ATI drivers turn out to be a bit &amp;quot;challenged&amp;quot; in this area to say the least.&lt;br /&gt;
&lt;br /&gt;
==== Installing The ATI Driver ====&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the procedure I use for setting up an ATI X1250 MD. Currently the the AVwizard in 0710 does not configure ATI cards properly so you need to to do some manual steps to get things working.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add the MD in the normal way (ie plug it into the network and let it add itself). Let it reboot and then it should run the AVwizard. Choose the options you want - output connector, resolution, refresh.... UI2 with Overlay etc etc and complete the wizard. Now the screen will return to a console screen and will after 5-10 mins will try to run the setup Wizard... but the setup Wizard will run very slowly and the video of  &#039;Sarah&#039; will not play smoothly. This is because the ATI drivers are not installed yet and the X driver is set to &#039;vesa&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
From another machine ssh into the partially installed MD using Konsole from the KDE Desktop or a terminal app like Putty under Windows XP. Do the following from the console;&lt;br /&gt;
&lt;br /&gt;
 sudo su - &amp;lt;return&amp;gt;&lt;br /&gt;
 ssh moonNN &amp;lt;return&amp;gt; (**where the NN is the device number for the MD we&#039;re configuring**)&lt;br /&gt;
&lt;br /&gt;
Alternatively do the following from the MD/Core you are configuring;&lt;br /&gt;
&lt;br /&gt;
 Ctrl+Alt+2&lt;br /&gt;
&lt;br /&gt;
Now login using the login you created when you installed your system ie When you ran the DVD installer or CD installer. Now we&#039;re logged into the MD we are configuring as &#039;root&#039; and we can install the ATI drivers and configure Xorg.conf;&lt;br /&gt;
&lt;br /&gt;
Firstly make sure our sources.list is up to date:&lt;br /&gt;
&lt;br /&gt;
 apt-get update &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now lets install the ATI driver and packages;&lt;br /&gt;
&lt;br /&gt;
 apt-get install linux-restricted-modules-generic restricted-manager &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &#039;Y&#039; to installing new packages then do the following steps;&lt;br /&gt;
&lt;br /&gt;
 apt-get install xorg-driver-fglrx &amp;lt;return&amp;gt;&lt;br /&gt;
 depmod -a &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So far so good... now we have the ATI drivers installed! (the current driver in the repos is not the latest ATI release an updated driver will be packaged soon though). Now we have to configure Xorg to use it! Do the steps below;&lt;br /&gt;
&lt;br /&gt;
I use the console text editor &#039;joe&#039; below but you can use whichever you prefer (&#039;nano&#039; is installed by default for example);&lt;br /&gt;
&lt;br /&gt;
 joe /etc/X11/xorg.conf &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are editing the xorg.conf of your MD and the only change you need to make is to the &#039;Device&#039; section. In the &#039;Device&#039; section you will see a line thats says;&lt;br /&gt;
&lt;br /&gt;
 Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
or&lt;br /&gt;
 Driver          &amp;quot;ati&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Change the string &#039;vesa&#039; (or ati) to &#039;fglrx&#039; which is the name of the ATI driver. The updated driver line should look like below;&lt;br /&gt;
&lt;br /&gt;
 Driver          &amp;quot;fglrx&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now save the changes you have made to xorg.conf.&lt;br /&gt;
&lt;br /&gt;
Now reboot the MD from the console with;&lt;br /&gt;
&lt;br /&gt;
 reboot &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MD will now reboot normally and the setup wizard will run again.... but this time the video and the Ui will run smoothly as the ATI driver is installed and confgured.&lt;br /&gt;
&lt;br /&gt;
Currently the ATI driver will not support UI2 with transparency but it will support UI2 with overlay very nicely indeed. There are two small caveats to running UI2 with Overlay currently with the ATI driver in that the &#039;Compass Rose&#039; on screen menu for selecting DVD chapters, Lighting levels etc etc and the &#039;Zoom &amp;amp; Aspect ratio&#039; screen when playing Video do not draw correctly - the bit maps for the menus do not display but the menus do work.&lt;br /&gt;
&lt;br /&gt;
=== NVidia Chipsets ===&lt;br /&gt;
There are several ways to install NVidia drivers, the way described here is meant as a guide to install the very latest drivers from the NVidia website.  Note that this way will bypass the LinuxMCE (Kubuntu) packaging system, possibly removing and/or overwriting some of it&#039;s files.&lt;br /&gt;
&lt;br /&gt;
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven&#039;t done so already. &lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;you&amp;gt;@dcerouter:~$&#039;&#039;&#039; sudo -s&lt;br /&gt;
2. Download the latest [http://www.nvidia.com/object/unix.html linux drivers from NVidia] (depending [http://www.nvidia.com/object/IO_32667.html on your hardware], one of versions: 1XX.XX.XX, 1.0-96xx or 1.0-71XX), if you haven&#039;t done so already.  When you have found the URL for downloading the package on the nvidia site you could download it like this:&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; wget &amp;lt;nowiki&amp;gt;http://us.download.nvidia.com/XFree86/Linux-x86/&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;/NVIDIA-Linux-x86-&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;-pkg1.run&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
3. Go to runlevel 1 to stop the currently running X-server. &lt;br /&gt;
&lt;br /&gt;
NB: There was no need for me to run this command as I was already in Level 1 - It just locked up the keyboard. --[[User:Mortar|Mortar]] 18:12, 6 January 2008 (MST)&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; telinit 1 &lt;br /&gt;
4. Execute the installer and follow instructions.  Ignore the warning about runlevel 1 and don&#039;t bother looking for precompiled drivers.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; sh NVIDIA-Linux-x86-&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;-pkg1.run&lt;br /&gt;
5. Now it needs to be configured.  The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the AVWizard for some reason is unable to set your up your screens to your liking, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
If the AVWizard crashes (as it did for me when installing the legacy drivers) try setting the &#039;&#039;&#039;driver&#039;&#039;&#039; option in the &#039;&#039;xorg.conf&#039;&#039; file to &#039;&#039;&#039;vesa&#039;&#039;&#039;, go through the AVWizard and then change it back. --[[User:Zaerc|Zaerc]] 15:14, 5 June 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
=== Intel Chipsets ===&lt;br /&gt;
There is a renewed interest in the Intel graphics chipsets since Intel released the drivers under the GPL. Currently the Intel driver still cannot support UI2 with Alphablending but they will support UI2 with Overlay very nicely and video performance is excellent. LinuxMCE versions after Beta4 have full support for configuring the Intel driver in the AVwizard.&lt;br /&gt;
&lt;br /&gt;
From LinuxMCE-0710 Beta4 onwards LinuxMCE will install the newer intel driver by default - so the instructions below are only useful if your still running LinuxMCE-0704.&lt;br /&gt;
&lt;br /&gt;
==== For LinuxMCE-0704 ====&lt;br /&gt;
&lt;br /&gt;
You will want to make sure you are using the newer intel drivers from http://packages.ubuntu.com/gutsy/i386/xserver-xorg-video-intel/download for i386. These replace the older i810, etc. drivers and should cover all the modern intel chipsets. The name for this driver is &#039;intel&#039; and would replace the older &#039;i810&#039; drivers.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using i810 driver make sure you add Option &amp;quot;LinearAlloc&amp;quot; &amp;quot;8160&amp;quot; to xorg.conf or video players will crash with X11 error: BadAlloc.&lt;br /&gt;
&lt;br /&gt;
From man i810:&lt;br /&gt;
   Option &amp;quot;LinearAlloc&amp;quot; &amp;quot;integer&amp;quot;&lt;br /&gt;
          Allows  more  memory  for  the offscreen allocator. This usually&lt;br /&gt;
          helps in situations where HDTV movies are required to  play  but&lt;br /&gt;
          not  enough  offscreen  memory is usually available. Set this to&lt;br /&gt;
          8160 for upto 1920x1080 HDTV support.  Default 0KB (off).&lt;br /&gt;
&lt;br /&gt;
==== potential problem ====&lt;br /&gt;
&lt;br /&gt;
there can be a problem with some intel drivers, like the gma 3100. see [[bug/gma3100driver]] for further informations&lt;br /&gt;
&lt;br /&gt;
=== Via Chipsets ===&lt;br /&gt;
Use the Openchrome or Via Unichrome drivers. The Via Unichrome drivers can be downloaded from [http://www.viaarena.com/default.aspx?PageID=2&amp;amp;OSID=45&amp;amp;CatID=3220]&lt;br /&gt;
&lt;br /&gt;
At the time of this writing (10/04/08), the binary Via Unichrome driver (released december 2007) works best (stable, good 2d and 3d) on my Via Mini ITX with CLE266 integerated graphics system. It is able to run UI2 medium with very good performance. &lt;br /&gt;
There is a crash at bootup (with any via driver) if the complete runlevel 2 starts. &lt;br /&gt;
This issue can be worked around by booting recovery mode and manually starting only /etc/init.d/kdm as root.&lt;br /&gt;
Issue under investigation - will update here when good workaround is done.&lt;br /&gt;
Contact zeratul at fastmail.fm for latest status/tips&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;HOW-TO VIA Openchrome driver for xorg:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
For VIA CX700M2 UniChrome PRO II Graphics (1&amp;quot; VIA units) or mainly via graphics:&amp;lt;br&amp;gt;&lt;br /&gt;
===NOTE:[[User:ddamron|ddamron]] Monday June 30, 2008===&lt;br /&gt;
 Burgiman&#039;s instructions did NOT work for me. &lt;br /&gt;
 Take that for what it&#039;s worth. &lt;br /&gt;
 I had better success installing the VIA Unichrome Driver, and UI1.  Use CLE266 mode.&lt;br /&gt;
 If you have more success, please update this page&lt;br /&gt;
 Dan&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;UPDATED FOR 0710!&#039;&#039;&#039;&lt;br /&gt;
--[[User:Burgiman|burgi]] 11:47, 2 June 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;shell into your box and do the following:&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
  apt-get install build-essential automake1.9 libtool x11proto-* libgl1-mesa-dev makedepend libxxf86vm-dev libexpat1-dev libexpat1 libxmu-dev xtrans-dev libpng12-dev libxcomposite-dev libxfixes-dev libxdamage-dev libxrandr-dev libxrender-dev libstartup-notification0-dev libgconf2-dev&lt;br /&gt;
&lt;br /&gt;
 cd /usr/src&lt;br /&gt;
 svn checkout http://svn.openchrome.org/svn/trunk openchrome&lt;br /&gt;
 cd openchrome*&lt;br /&gt;
 ./autogen.sh --prefix=/usr&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Now we have to edit /etc/X11/xorg.conf and change the device driver to via openchrome:&amp;lt;br&amp;gt;&lt;br /&gt;
 vi /etc/X11/xorg.conf&lt;br /&gt;
Go to&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
and change&lt;br /&gt;
 Driver &amp;quot;vesa&amp;quot; &lt;br /&gt;
to&lt;br /&gt;
 Driver &amp;quot;openchrome&amp;quot;&lt;br /&gt;
save and test the compiled new driver with a: &amp;lt;br&amp;gt;&lt;br /&gt;
 X :1&lt;br /&gt;
and if your xwindow comes up, you can reboot and have fun&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Burgiman|burgi]] 13:37, 3 March 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
=== Other Chipsets ===&lt;br /&gt;
Please help out by adding more if you can.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the X-server (and thus also the AVWizard) is unable to start, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
=== Getting started ===&lt;br /&gt;
Start by making a backup copy of the &#039;&#039;/etc/X11/xorg.conf&#039;&#039; file (even if it doesn&#039;t work it might contain settings you could need).  In this example we will start from scratch and edit the configuration file step by step to get the main display setup.  &lt;br /&gt;
&lt;br /&gt;
Some of these steps require that there will be no X-server active on the system, the easiest way to achieve this is to boot in &#039;&#039;rescue-mode&#039;&#039;, just hit [Esc] when [[Grub]] tells you to during the startup of your machine and select the right line from the menu.  Another way is to go to a text-mode console (aka. terminal) with [CTRL]-[ALT]-[F1], [[Logging In|log in]], become root and issue the command:&lt;br /&gt;
 telinit 1&lt;br /&gt;
This wil stop the running X-server and drop you into rescue mode as well.  &lt;br /&gt;
&lt;br /&gt;
One of the advantages is that now you can start and stop the X-server by hand with an alternative configuration file and without having to reboot or even start an entire desktop environment.&lt;br /&gt;
&lt;br /&gt;
=== Generating a template ===&lt;br /&gt;
These instructions were originally written for ATI chipsets, so they might need to be adjusted and updated a bit.  Not all of the specific options may be relevant for your chipset. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;While there is no (other) X-server running&#039;&#039;&#039; you can create a template configuration file by running:&lt;br /&gt;
 X -configure&lt;br /&gt;
This will create a file called xorg.conf.new in your &#039;&#039;home&#039;&#039; directory, test it with the following command and hit [CTRL]-[ALT]-[Backspace] when done:&lt;br /&gt;
 X -config ~/xorg.conf.new&lt;br /&gt;
Within a few seconds a gray bitpattern should show up with an &#039;X&#039; shaped mouse cursor.  If the screen is distorted or reports the refresh rate to be out of range then you will either have to specify the proper refreshrate limitations for your screen or insert &amp;quot;modelines&amp;quot; for the resolution(s) you want to use (see below).  &lt;br /&gt;
&lt;br /&gt;
When you&#039;re satisfied you can overwrite &#039;&#039;/etc/X11/xorg.conf&#039;&#039; with this file to make it the default (you did make a backup didn&#039;t you?), once you have done that you can use &amp;quot;startx&amp;quot; to test and have the use of your desktop as well.  This should at least be enough to allow the use of a graphic configuration tool (like the [[AVWizard]] for instance) to set up your display further.  More advanced manual configuration options can be found below.&lt;br /&gt;
&lt;br /&gt;
Here is an example of such a generated file:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier     &amp;quot;X.org Configured&amp;quot;&lt;br /&gt;
        Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
        InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Files&amp;quot;&lt;br /&gt;
        RgbPath      &amp;quot;/etc/X11/rgb&amp;quot;&lt;br /&gt;
        ModulePath   &amp;quot;/usr/lib/xorg/modules&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/cyrillic&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;extmod&amp;quot;&lt;br /&gt;
        Load  &amp;quot;record&amp;quot;&lt;br /&gt;
        Load  &amp;quot;xtrap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;GLcore&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;auto&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
        Option      &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5 6 7&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ### Available Driver options are:-&lt;br /&gt;
        ### Values: &amp;amp;lt;i&amp;amp;gt;: integer, &amp;lt;f&amp;gt;: float, &amp;lt;bool&amp;gt;: &amp;quot;True&amp;quot;/&amp;quot;False&amp;quot;,&lt;br /&gt;
        ### &amp;lt;string&amp;gt;: &amp;quot;String&amp;quot;, &amp;lt;freq&amp;gt;: &amp;quot;&amp;lt;f&amp;gt; Hz/kHz/MHz&amp;quot;&lt;br /&gt;
        ### [arg]: arg optional&lt;br /&gt;
        #Option     &amp;quot;ShadowFB&amp;quot;                  # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;DefaultRefresh&amp;quot;            # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;ModeSetClearScreen&amp;quot;        # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
        &#039;&#039;VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BusID       &#039;&#039;&#039;&amp;quot;PCI:1:5:0&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device     &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     1&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     4&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     8&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     15&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     16&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note that the only thing really specific to my setup in this config file is &#039;&#039;BusID&#039;&#039;, if you only have one graphics adapter in your system this value can be omitted, otherwise the value(s) can be found with:&lt;br /&gt;
 X -scanpci&lt;br /&gt;
Where each card will need it&#039;s own Device Section in the config file.  The &amp;quot;VendorName&amp;quot; and &amp;quot;BoardName&amp;quot; settings are just labels and serve no real purpose other then being able to identify this particular device, which is usefull if you have more then one.&lt;br /&gt;
&lt;br /&gt;
We&#039;ll be using this sample configuration as a starting point in the other examples below, the comments (lines starting with &#039;&#039;#&#039;&#039; can be safely removed as well as the &#039;&#039;&amp;quot;Display&amp;quot;&#039;&#039; subsections for the colordepths we don&#039;t plan on using.&lt;br /&gt;
&lt;br /&gt;
=== Refresh rate / ModeLine ===&lt;br /&gt;
The easiest way to sort this problem is to let the X-server figure this out by not specifying the limits of your screen.  However this often fails, leaving you with an unusable display.  Simply look up &#039;&#039;&#039;your screen&#039;&#039;&#039;&#039;s refresh rates in the documentation and add them like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
        &#039;&#039;HorizSync     &#039;&#039;&#039;27-102&#039;&#039;&#039; # kHz&#039;&#039;&lt;br /&gt;
        &#039;&#039;VertRefresh   &#039;&#039;&#039;50-160&#039;&#039;&#039; # Hz&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Alternatively you could specify a &amp;quot;ModeLine&amp;quot; for each resolution you want to use.  By using ModeLines you have much finer controll over the timings of the output signal generated by your videocard.  The drawback is that the timing values can be hard to get right.  &lt;br /&gt;
&lt;br /&gt;
Search the web for a &amp;quot;modeline generator&amp;quot;, and many of these will include instructions on how to add the modeline, but briefly, you just add it to the &amp;quot;Monitor&amp;quot; section.  Read the [http://en.wikipedia.org/wiki/Modeline wikipedia entry] to learn how to use modelines.  &lt;br /&gt;
* http://koala.ilog.fr/cgi-bin/nph-colas-modelines&lt;br /&gt;
* http://xtiming.sourceforge.net/cgi-bin/xtiming.pl&lt;br /&gt;
* http://www.bohne-lang.de/spec/linux/modeline/&lt;br /&gt;
* http://amlc.berlios.de/&lt;br /&gt;
* http://www.mythtv.org/wiki/index.php/Working_with_Modelines&lt;br /&gt;
If one modeline doesn&#039;t work perfectly, try another, perhaps from another generator, because they can vary so much.&lt;br /&gt;
&lt;br /&gt;
Using the wrong timings could in some (nowadays rare) occasions damage the hardware of your screen, so if it looks garbeled don&#039;t leave it like that for hours on end but hit [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] and readjust your settings.  Most modern screens however simply report that the signal is out of range if this happens.&lt;br /&gt;
&lt;br /&gt;
=== Colordepth and resolution ===&lt;br /&gt;
Specify the colordepth and resolution(s) you would like to use, like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device       &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor      &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        &#039;&#039;DefaultDepth &#039;&#039;&#039;24&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth      24&lt;br /&gt;
                &#039;&#039;Virtual    &#039;&#039;&#039;1600 1200&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
                &#039;&#039;Modes      &#039;&#039;&#039;&amp;quot;1600x1200&amp;quot; &amp;quot;1280x1024&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot; &amp;quot;512x384&amp;quot; &amp;quot;400x300&amp;quot; &amp;quot;320x240&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
As most people will only be using 24 bits anyway, I have removed the other redundant subsections.  &amp;quot;Virtual&amp;quot; is the size of your desktop and &amp;quot;Modes&amp;quot; are physical resolutions, you can flip through these by holding [CTRL]-[ALT] and pressing the plus or minus on the numeric keypad.  These are just examples, most people will only want to specify the resolution they actually use.&lt;br /&gt;
&lt;br /&gt;
=== DRI device permissions ===&lt;br /&gt;
This section is needed to have the X-server set the proper permissions on the DRI device during startup.  Simply add it to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Mode         0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Chipset driver ===&lt;br /&gt;
Change &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot; (or &amp;quot;&#039;&#039;&#039;ati&#039;&#039;&#039;&amp;quot;, depending on which drivers you installed earlier), as shown below, the old line is left as a comment in this example for clarity, but it&#039;s better to remove it as some scripts seem to find it confusing.  For Nvidia chipsets use &#039;&#039;&#039;nvidia&#039;&#039;&#039; or &#039;&#039;&#039;nv&#039;&#039;&#039; as the driver names (instead of &#039;&#039;&#039;fglrx&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
 &#039;&#039;#      Driver      &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;Driver      &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&lt;br /&gt;
        BusID       &amp;quot;PCI:1:5:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
If your X-server was running you will have to restart it completely for the changes to take effect, the easiest and most thorough way to do this is to reboot.&lt;br /&gt;
&lt;br /&gt;
=== Physical display size ===&lt;br /&gt;
Like specifying the refresh rate his is optional but sometimes necessary, most of the time it is either detected or some sane defaults are used but sometimes it isn&#039;t, which can result in unreadable font sizes.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
   DisplaySize &#039;&#039;&#039;155 95&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Where you have to replace the numbers with the physical &#039;&#039;&#039;width&#039;&#039;&#039; and &#039;&#039;&#039;height&#039;&#039;&#039; of your screen in millimeters (1&amp;quot; = 25mm), feel free to try mine, however these are for a small touchscreen.&lt;br /&gt;
&lt;br /&gt;
=== Disable composite ===&lt;br /&gt;
Aparently the ATI &#039;&#039;&#039;fglrx&#039;&#039;&#039; driver does not &#039;&#039;yet&#039;&#039; support composite with DRI.  So if you are using the fglrx driver, disable it by adding this to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
To be continued, I don&#039;t think this is enough to get UI2 completely (either mode) going yet.  Feel free to jump in anytime... &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things still to sort out amongst others (i.e. what is it, do we need it and what are the settings if any):&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;i2c&amp;quot;&lt;br /&gt;
        Load  &amp;quot;bitmap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;ddc&amp;quot;&lt;br /&gt;
        Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
        Load  &amp;quot;int10&amp;quot;&lt;br /&gt;
        Load  &amp;quot;vbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;speedo&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;v4l&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
        Option &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 #      Option      &amp;quot;RENDER&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
        Option      &amp;quot;PseudoColorVisuals&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;OpenGLOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VideoOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;DesktopSetup&amp;quot; &amp;quot;clone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
TV-out options, 2nd display, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== The AVWizard crashes X-windows ===&lt;br /&gt;
&lt;br /&gt;
Try setting the [[#Chipset_driver]] option to &#039;&#039;&#039;vesa&#039;&#039;&#039;, run the AVWizard again and then change the driver back to what it was.&lt;br /&gt;
&lt;br /&gt;
=== Black screen ===&lt;br /&gt;
&lt;br /&gt;
* Screen is black, after install seemed to go okay. You may have even seen the Kubuntu splash screen. See [[AVWizard]] on how to select the proper output.&lt;br /&gt;
&lt;br /&gt;
*One problem on nvidia-cards could be that it does not detect the right monitor.&lt;br /&gt;
&lt;br /&gt;
::Go to Console 1 ([Ctrl]+[Alt]+1) and edit /etc/X11/xorg.conf (nano -w /etc/X11/xorg.conf). Find the section ::Device with the driver nvidia add the line &amp;lt;pre&amp;gt;Option &amp;quot;ConnectedMonitor&amp;quot; &amp;quot;XXX&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
::where XXX is CRT, CRT-0, CRT-1, DVI-0, DVI-1, ...&lt;br /&gt;
::Save and exit (nano: Ctrl+x) and restart the computer. In my case it was &amp;quot;CRT-1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== X-windows won&#039;t start ===&lt;br /&gt;
&lt;br /&gt;
Reboot into rescue-mode if needed (hit [Esc] when [[Grub]] tells you to), and restore a working copy of your /etc/X11/xorg.conf, or edit it by hand to fix the problem. Test it with the command &amp;quot;X&amp;quot; and press [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] simultaneous to quit (alternative: use &amp;quot;startx&amp;quot; and get the full desktop, if any), then reboot when it works and you&#039;re done.&lt;br /&gt;
&lt;br /&gt;
=== Signal out of range ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[[#Refresh rate / ModeLine ]]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
=== Microscopic fonts in KDE ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[[#Physical_display_size]]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
If the above does not work, probably Xorg is calculating the DPI value in the wrong way.&lt;br /&gt;
This can be verified by having a look at the file /var/log/Xorg.0.log related to the MD with this issue searching for the line containing &amp;quot;DPI set to (x , y)&amp;quot;,where x and y are values that apply to the specific display.&lt;br /&gt;
&lt;br /&gt;
If those values are too small, fonts will be displayed accordingly (i.e, VERY small)&lt;br /&gt;
&lt;br /&gt;
A workaround is to force Xorg to startup with a given DPI value.&lt;br /&gt;
&lt;br /&gt;
To achieve this the following steps are required:&lt;br /&gt;
&lt;br /&gt;
* edit the file /usr/pluto/bin/Start_X_Wrapper.sh on your MD where you are facing the font problem&lt;br /&gt;
* find the line beginning with xinit&lt;br /&gt;
* add &amp;quot;-dpi 96&amp;quot; (without quotes) at the end of this line&lt;br /&gt;
* save the file and reboot MD&lt;br /&gt;
&lt;br /&gt;
Obviously it is possible to set DPI to something different than 96, according to specific needs.&lt;br /&gt;
&lt;br /&gt;
Please note that after an LMCE update the startup script may be replaced by new ones, so the above workaround may have to be re-applied in order to keep fonts at the desired dimension.&lt;br /&gt;
&lt;br /&gt;
=== LinuxMCE keeps reconfiguring my display settings ===&lt;br /&gt;
&lt;br /&gt;
Add a line containing &#039;&#039;&#039;exit&#039;&#039;&#039; to the top of the &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; file.  After you do this you may experience difficulties running the AVWizard again, if so remove this line and add it back again after the wizard is finished.&lt;br /&gt;
&lt;br /&gt;
For LinuxMCE 710 simply comment out the line that says&lt;br /&gt;
   . /usr/pluto/bin/X-CleanupVideo.sh&lt;br /&gt;
This is the command that gets run that modifies the xorg.conf file on startup. This is different than above because if you put exit at the top your display will not get initialized.  And as above if you want to run the AVWizard you will need to uncomment this line.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.mythtv.org/wiki/index.php/Main_Page MythTV wiki] &lt;br /&gt;
* MythTV Experience [http://brentlagesse.net/~brent/mythtv.php]&lt;br /&gt;
* [[X_Configuration_Scripts]]&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Setting_Up_A_Development_Environment&amp;diff=15038</id>
		<title>Setting Up A Development Environment</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Setting_Up_A_Development_Environment&amp;diff=15038"/>
		<updated>2008-07-23T09:22:57Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/!\ WARNING: at the moment the sources are moving, so there are some  bugs related to sources versions. you may not be able to compile&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
See also: [[Building From Source]]&lt;br /&gt;
&lt;br /&gt;
I have seen a lot of questions on how to set up a development environment for LMCE.&lt;br /&gt;
As a person with limited programming experience in c++, I can tell you that you don&#039;t have to be a master-level programmer to get your feet wet&lt;br /&gt;
and examine the source code, and even make changes that add new features or fix existing bugs. It just takes a little patience, some help from experienced members,&lt;br /&gt;
and a willingness to learn. There is a lot of information and help available in the forums, the wiki, and the linuxmce channel on IRC freenode servers.&lt;br /&gt;
&lt;br /&gt;
That being said, dev work can also be risky business. You can seriously damage your installation compiling and testing changes, so &#039;&#039;&#039;USE THIS INFORMATION AT YOUR OWN RISK!&#039;&#039;&#039;&lt;br /&gt;
If you really want to get started developing, the best advice I can give is to get a separate computer to set up as a development machine, so you don&#039;t damage your existing LinuxMCE installation accidentally! That way, if you make a change that LMCE really doesn&#039;t like, you won&#039;t trash your personally installation. (Too bad I don&#039;t follow my own advice, as I&#039;ve done this before!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;The following tutorial represents my experiences only, and may not necessarily be the best or correct way to do things - though it has worked very well for me.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As I am a linux user, I am going to describe this process as I set up a development environment on my core from a computer running Ubuntu linux. Other linux variants will be very similar, if not the same. For Windows users, there is equivalent software that you can use, though I can&#039;t name any off of the top of my head - you will have to do your own research on that one.&lt;br /&gt;
&lt;br /&gt;
Be sure to set aside a free evening to set up your development environment, as it can take several hours to complete!&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Preface ==&lt;br /&gt;
The first thing I found surprising when I went to set up my first development environment is that it must be set up on your core. To my knowledge, you can&#039;t just make changes to the source on your desktop computer, compile them on your desktop computer, then upload them to the core. Everything must reside on the core, and you can have access to the source on your normal desktop over SSH (covered later). For those that aren&#039;t keen with working with a command line over ssh, this will take some getting used to (as was my case). But, once you get used to it, its not a bad development environment, and it even got me more familiar with the command line, and linux commands, which is something I&#039;ve been meaning to do anyways.&lt;br /&gt;
Lets get started...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting Up the Development Environment ==&lt;br /&gt;
Once you have a LinuxMCE Core up and running, the first thing we have to do is learn how to connect to it from our Desktop computer. On my Ubuntu desktop, I open a terminal via Applications-&amp;gt;Accessories-&amp;gt;Terminal. &lt;br /&gt;
We will now use SSH to connect to out core - enter the following into the terminal:&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
When prompted for a password, enter &amp;quot;linuxmce&amp;quot;.&lt;br /&gt;
&#039;&#039;(You may be prompted for a password several times during the setup of your development environment - this will always be &amp;quot;linuxmce&amp;quot;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Congratulations! You are now logged into the core over SSH from a remote computer! Now its time to install some packages needed for development. In the terminal, type:&lt;br /&gt;
 sudo apt-get install subversion build-essential ccache&lt;br /&gt;
This will install Subversion (SVN), which is needed to keep your local copy of the source code in sync with the latest changes, and well as some development libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For my development environment, I decided to keep everything in my Home directory. The source can actually go many places, but I prefer using the Home directory. Lets go there now...&lt;br /&gt;
 cd ~/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this time, the source code is located in the Charon-Merge branch (though it is supposed to be eventually a full merge with pluto). To check out the most recent source code, run the following:&lt;br /&gt;
  svn co http://svn.linuxmce.org/pluto/branches/charon-merge&lt;br /&gt;
&lt;br /&gt;
if you have already compiled the sources, the make wo&#039;nt install some packages required(since they are supposed to have already been installed). thus you need to run in charon-merge/&lt;br /&gt;
 make clean&lt;br /&gt;
 cp /usr/pluto/lib/* /src/lib/ -R&lt;br /&gt;
&lt;br /&gt;
And finally, lets do a compile. This is necessary to setup more development packages, populate the source code with make files, etc. (Don&#039;t worry, this won&#039;t alter your current installation!)  &lt;br /&gt;
 cd charon-merge&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 &lt;br /&gt;
Now go take a break. This part may take a while!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GREAT!&#039;&#039;&#039; You now have the most recent version of the source code available to you and you will be able to compile changes!  You can run svn update at any time from within the charon-merge directory to get the latest changes that have been committed to SVN.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that this is finished, you are now ready to compile changes in the source code, then copy the resulting file to the appropriate place in the core.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;&#039;A quick example&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Since I am familiar with the CM11A source, I will use it as an example...&lt;br /&gt;
First i cd into the CM11A directory&lt;br /&gt;
 cd ~/lmce/src/CM11A&lt;br /&gt;
Next I make changes to devicepoll.cpp..&lt;br /&gt;
Now I want to compile my changes.. But first I have found it good practice to delete any old object files etc. before compiling, so I usually run&lt;br /&gt;
 rm *.o&lt;br /&gt;
 rm CM11A&lt;br /&gt;
This removes the last resulting CM11A binary if present, as well as the object files that might be present from my last compile.&lt;br /&gt;
Next I compile the changes..&lt;br /&gt;
 make bin&lt;br /&gt;
Once it is finished compiling, I have a new CM11A binary that just needs moved to the right place in the core.. In this instance it is /usr/pluto/bin/ (/usr/pluto/lib/ is another hot-spot to check, usually for .so files)&lt;br /&gt;
First, I remove the original file that I will be replacing..&lt;br /&gt;
 sudo rm /usr/pluto/bin/CM11A&lt;br /&gt;
then I copy my newly compiled binary over..&lt;br /&gt;
 sudo cp CM11A /usr/pluto/bin/CM11A&lt;br /&gt;
Now with a &amp;quot;quick reload router&amp;quot; from one of my orbiters, my changes will be in effect!&lt;br /&gt;
&lt;br /&gt;
A quick note - if &amp;quot;make bin&amp;quot; does not work, you may need to run &amp;quot;make so&amp;quot; for some sources that end up being library files, and yet others require just &amp;quot;make&amp;quot;. I&#039;m not sure if there is a golden rule to all of this, but I just try each of them until one of them works. Then, for the most part, you can search /usr/pluto/bin and /usr/pluto/lib to see where the resulting compiled file should go.&lt;br /&gt;
Also, I have noticed that a &amp;quot;Full reload router&amp;quot; is necessary if you replace a library file (*.so)&lt;br /&gt;
&lt;br /&gt;
== Helpful Tools and Hints ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compiling changes and where to put them on the core&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As stated above, I am not sure if there is a golden rule to this, but depending on what you are trying to compile, you will have to use one of the following:&lt;br /&gt;
 make&lt;br /&gt;
 make bin&lt;br /&gt;
 make so&lt;br /&gt;
If you try one and get an error, try another one (i&#039;m sure there is a better approach to this!)&lt;br /&gt;
For the most part, you should be able to search through /usr/pluto/bin and /usr/pluto/lib to see where the resulting file should go.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using VNC to remotely view the on-screen orbiter&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As an Ubuntu user, I will explain it from how I do it from Ubuntu.&lt;br /&gt;
&lt;br /&gt;
First, ssh to the core, and install VNC&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
Now lets install VNC&lt;br /&gt;
 sudo apt-get install x11vnc&lt;br /&gt;
Ok, once it is installed, run the VNC Server from the core&lt;br /&gt;
 x11vnc&lt;br /&gt;
&lt;br /&gt;
Now that you have a VNC server running on the core, lets start the client on our Ubuntu desktop:&lt;br /&gt;
First, open another terminal on your desktop&lt;br /&gt;
now run the following command (in the new terminal, not the terminal that is SSH&#039;d into the core!)&lt;br /&gt;
 vncviewer 192.168.80.1:0&lt;br /&gt;
&lt;br /&gt;
Now you can take professional developer-grade screenshots of our on-screen orbiters!&lt;br /&gt;
(There are other tools available to take full recorded screencasts of these VNC sessions, but I&#039;ve never used one)&lt;br /&gt;
Also note, that the VNC playback is not at full framerate - this is normal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Navigating the core remotely with GUI&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Unless you like editing source code in a terminal with vim, you will want to make things easier on yourself, and set things up so you can graphically browse the directory tree on the core, and edit source code files with gedit or a similar editor...&lt;br /&gt;
In ubuntu, go to Places-&amp;gt;Connect To Server&lt;br /&gt;
A &amp;quot;Connect Tto Server&amp;quot; window will appear. Fill it out as follows:&lt;br /&gt;
Service Type - SSH&lt;br /&gt;
Server - 192.168.80.1&lt;br /&gt;
Port - 22&lt;br /&gt;
Folder - /&lt;br /&gt;
User Name - linuxmce&lt;br /&gt;
Name to use for connection - &amp;lt;anything you want&amp;gt; (I use Access Core Files)&lt;br /&gt;
&lt;br /&gt;
You will now have a network folder on your desktop that you can access files with - without having to use the command line. (the first time you will be prompted for a password, which of course is &#039;linuxmce&#039;. Double clicking files will now open them in your preferred desktop editor!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SSH-ing into a Media Director&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I&#039;m sure there is a better way, but here is what I do:&lt;br /&gt;
&lt;br /&gt;
1)ssh into the core&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
..enter password &#039;linuxmce&#039;&lt;br /&gt;
&lt;br /&gt;
2) navigate to /usr/pluto/diskless&lt;br /&gt;
 cd /usr/pluto/diskless&lt;br /&gt;
&lt;br /&gt;
3) get the &amp;quot;moon numbers&amp;quot; of the media directors&lt;br /&gt;
 ls&lt;br /&gt;
note that each media director has a unique 3-digit number.. you will need this number in the following steps..&lt;br /&gt;
&lt;br /&gt;
4) change over to the root user:&lt;br /&gt;
 sudo su&lt;br /&gt;
...enter password &#039;linuxmce&#039;&lt;br /&gt;
&lt;br /&gt;
5) ssh into one of the media directors&lt;br /&gt;
 ssh moonxxx&lt;br /&gt;
(xxx is the 3-digit number of one of the media directors)&lt;br /&gt;
&lt;br /&gt;
You are now in the Media Director&#039;s file system, be careful, as you are root!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing phpMyAdmin to examine database structure etc.&#039;&#039;&#039;&lt;br /&gt;
phpMyAdmin is a graphical (web based) mysql front end that makes looking through the vast LMCE databases effortless. While I would never recommend adding or removing anything directly to the database this way, having a view of the database structure and the ability to easily browse through the tables really helps to understand LMCE and how it works much better. It also makes for a good reference when you are looking for primary keys that are so popular as device data. Now you can look up all of your options.&lt;br /&gt;
&lt;br /&gt;
First, lets ssh into the core&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
(use password linuxmce)&lt;br /&gt;
&lt;br /&gt;
Now lets switch to the directory where the admin web pages are stored&lt;br /&gt;
 cd /var/www/&lt;br /&gt;
&lt;br /&gt;
...and download the tarball&lt;br /&gt;
 sudo wget http://internap.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.7-rc1-english.tar.gz&lt;br /&gt;
&lt;br /&gt;
Once the tarball is finished downloading, its time to extract it&lt;br /&gt;
 sudo tar -xzvf  phpMyAdmin-2.11.7-rc1-english.tar.gz&lt;br /&gt;
&lt;br /&gt;
You will now notice that if you list the directory contents (with ls), that you have a new phpMyAdmin-2.11.7-rc1-english directory. Thats fine, but who wants to type that in their web browser when they want to use phpMyAdmin. Lets rename it to something easier&lt;br /&gt;
 sudo mv phpMyAdmin-2.11.7-rc1-english phpmyadmin&lt;br /&gt;
&lt;br /&gt;
thats it! Now you can check out the database and learn from it. Again, be careful, as you can really, truely screw things up internally if you go adding and deleting entries.&lt;br /&gt;
To go to phpMyAdmin, in your web browser, just type 192.168.80.1/phpmyadmin&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=15037</id>
		<title>Display Drivers</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=15037"/>
		<updated>2008-07-23T09:21:01Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* potential problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Hardware| ]]&lt;br /&gt;
&lt;br /&gt;
An incomplete HowTo on updating LinuxMCE to the latest display drivers and configuring them manually.  It could use your help, so if something is different in your situation, please add it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that this should normally not be necessary unless you have specific wishes or trouble getting your display to work properly.&#039;&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
If the graphical environment cannot start you are likely to see a text screen blinking, this makes it very hard to login, if this is the case you can reboot into &amp;quot;recovery mode&amp;quot; by pressing [Esc] when GRUB tells you to during the boot process and then select it from the menu you will be presented with.&lt;br /&gt;
&lt;br /&gt;
=== ATI Chipsets ===&lt;br /&gt;
The two main ways to install the ATI drivers are described in the [http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide Ubuntu Feisty Installation Guide].&lt;br /&gt;
&lt;br /&gt;
For more information see also the [http://wiki.cchtml.com/index.php/Main_Page Unofficial ATI Linux Driver Wiki] and you might want to have a look at [http://www.mythtv.org/wiki/index.php/AtiProprietaryDriver AtiProprietaryDriver] in the MythTV wiki as well since LinuxMCE depends on it for viewing TV.  MythTV in turn relies heavily on the support of certain features by the graphics drivers.  The ATI drivers turn out to be a bit &amp;quot;challenged&amp;quot; in this area to say the least.&lt;br /&gt;
&lt;br /&gt;
==== Installing The ATI Driver ====&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the procedure I use for setting up an ATI X1250 MD. Currently the the AVwizard in 0710 does not configure ATI cards properly so you need to to do some manual steps to get things working.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add the MD in the normal way (ie plug it into the network and let it add itself). Let it reboot and then it should run the AVwizard. Choose the options you want - output connector, resolution, refresh.... UI2 with Overlay etc etc and complete the wizard. Now the screen will return to a console screen and will after 5-10 mins will try to run the setup Wizard... but the setup Wizard will run very slowly and the video of  &#039;Sarah&#039; will not play smoothly. This is because the ATI drivers are not installed yet and the X driver is set to &#039;vesa&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
From another machine ssh into the partially installed MD using Konsole from the KDE Desktop or a terminal app like Putty under Windows XP. Do the following from the console;&lt;br /&gt;
&lt;br /&gt;
 sudo su - &amp;lt;return&amp;gt;&lt;br /&gt;
 ssh moonNN &amp;lt;return&amp;gt; (**where the NN is the device number for the MD we&#039;re configuring**)&lt;br /&gt;
&lt;br /&gt;
Alternatively do the following from the MD/Core you are configuring;&lt;br /&gt;
&lt;br /&gt;
 Ctrl+Alt+2&lt;br /&gt;
&lt;br /&gt;
Now login using the login you created when you installed your system ie When you ran the DVD installer or CD installer. Now we&#039;re logged into the MD we are configuring as &#039;root&#039; and we can install the ATI drivers and configure Xorg.conf;&lt;br /&gt;
&lt;br /&gt;
Firstly make sure our sources.list is up to date:&lt;br /&gt;
&lt;br /&gt;
 apt-get update &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now lets install the ATI driver and packages;&lt;br /&gt;
&lt;br /&gt;
 apt-get install linux-restricted-modules-generic restricted-manager &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &#039;Y&#039; to installing new packages then do the following steps;&lt;br /&gt;
&lt;br /&gt;
 apt-get install xorg-driver-fglrx &amp;lt;return&amp;gt;&lt;br /&gt;
 depmod -a &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So far so good... now we have the ATI drivers installed! (the current driver in the repos is not the latest ATI release an updated driver will be packaged soon though). Now we have to configure Xorg to use it! Do the steps below;&lt;br /&gt;
&lt;br /&gt;
I use the console text editor &#039;joe&#039; below but you can use whichever you prefer (&#039;nano&#039; is installed by default for example);&lt;br /&gt;
&lt;br /&gt;
 joe /etc/X11/xorg.conf &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are editing the xorg.conf of your MD and the only change you need to make is to the &#039;Device&#039; section. In the &#039;Device&#039; section you will see a line thats says;&lt;br /&gt;
&lt;br /&gt;
 Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
or&lt;br /&gt;
 Driver          &amp;quot;ati&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Change the string &#039;vesa&#039; (or ati) to &#039;fglrx&#039; which is the name of the ATI driver. The updated driver line should look like below;&lt;br /&gt;
&lt;br /&gt;
 Driver          &amp;quot;fglrx&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now save the changes you have made to xorg.conf.&lt;br /&gt;
&lt;br /&gt;
Now reboot the MD from the console with;&lt;br /&gt;
&lt;br /&gt;
 reboot &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MD will now reboot normally and the setup wizard will run again.... but this time the video and the Ui will run smoothly as the ATI driver is installed and confgured.&lt;br /&gt;
&lt;br /&gt;
Currently the ATI driver will not support UI2 with transparency but it will support UI2 with overlay very nicely indeed. There are two small caveats to running UI2 with Overlay currently with the ATI driver in that the &#039;Compass Rose&#039; on screen menu for selecting DVD chapters, Lighting levels etc etc and the &#039;Zoom &amp;amp; Aspect ratio&#039; screen when playing Video do not draw correctly - the bit maps for the menus do not display but the menus do work.&lt;br /&gt;
&lt;br /&gt;
=== NVidia Chipsets ===&lt;br /&gt;
There are several ways to install NVidia drivers, the way described here is meant as a guide to install the very latest drivers from the NVidia website.  Note that this way will bypass the LinuxMCE (Kubuntu) packaging system, possibly removing and/or overwriting some of it&#039;s files.&lt;br /&gt;
&lt;br /&gt;
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven&#039;t done so already. &lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;you&amp;gt;@dcerouter:~$&#039;&#039;&#039; sudo -s&lt;br /&gt;
2. Download the latest [http://www.nvidia.com/object/unix.html linux drivers from NVidia] (depending [http://www.nvidia.com/object/IO_32667.html on your hardware], one of versions: 1XX.XX.XX, 1.0-96xx or 1.0-71XX), if you haven&#039;t done so already.  When you have found the URL for downloading the package on the nvidia site you could download it like this:&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; wget &amp;lt;nowiki&amp;gt;http://us.download.nvidia.com/XFree86/Linux-x86/&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;/NVIDIA-Linux-x86-&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;-pkg1.run&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
3. Go to runlevel 1 to stop the currently running X-server. &lt;br /&gt;
&lt;br /&gt;
NB: There was no need for me to run this command as I was already in Level 1 - It just locked up the keyboard. --[[User:Mortar|Mortar]] 18:12, 6 January 2008 (MST)&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; telinit 1 &lt;br /&gt;
4. Execute the installer and follow instructions.  Ignore the warning about runlevel 1 and don&#039;t bother looking for precompiled drivers.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; sh NVIDIA-Linux-x86-&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;-pkg1.run&lt;br /&gt;
5. Now it needs to be configured.  The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the AVWizard for some reason is unable to set your up your screens to your liking, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
If the AVWizard crashes (as it did for me when installing the legacy drivers) try setting the &#039;&#039;&#039;driver&#039;&#039;&#039; option in the &#039;&#039;xorg.conf&#039;&#039; file to &#039;&#039;&#039;vesa&#039;&#039;&#039;, go through the AVWizard and then change it back. --[[User:Zaerc|Zaerc]] 15:14, 5 June 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
=== Intel Chipsets ===&lt;br /&gt;
There is a renewed interest in the Intel graphics chipsets since Intel released the drivers under the GPL. Currently the Intel driver still cannot support UI2 with Alphablending but they will support UI2 with Overlay very nicely and video performance is excellent. LinuxMCE versions after Beta4 have full support for configuring the Intel driver in the AVwizard.&lt;br /&gt;
&lt;br /&gt;
From LinuxMCE-0710 Beta4 onwards LinuxMCE will install the newer intel driver by default - so the instructions below are only useful if your still running LinuxMCE-0704.&lt;br /&gt;
&lt;br /&gt;
==== For LinuxMCE-0704 ====&lt;br /&gt;
&lt;br /&gt;
You will want to make sure you are using the newer intel drivers from http://packages.ubuntu.com/gutsy/i386/xserver-xorg-video-intel/download for i386. These replace the older i810, etc. drivers and should cover all the modern intel chipsets. The name for this driver is &#039;intel&#039; and would replace the older &#039;i810&#039; drivers.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using i810 driver make sure you add Option &amp;quot;LinearAlloc&amp;quot; &amp;quot;8160&amp;quot; to xorg.conf or video players will crash with X11 error: BadAlloc.&lt;br /&gt;
&lt;br /&gt;
From man i810:&lt;br /&gt;
   Option &amp;quot;LinearAlloc&amp;quot; &amp;quot;integer&amp;quot;&lt;br /&gt;
          Allows  more  memory  for  the offscreen allocator. This usually&lt;br /&gt;
          helps in situations where HDTV movies are required to  play  but&lt;br /&gt;
          not  enough  offscreen  memory is usually available. Set this to&lt;br /&gt;
          8160 for upto 1920x1080 HDTV support.  Default 0KB (off).&lt;br /&gt;
&lt;br /&gt;
==== potential problem ====&lt;br /&gt;
&lt;br /&gt;
with some drivers/installation, booting a media director may lead to modifying its xorg.conf file. that happened with lmce 7.10 DVD installation and an md with &#039;&#039;&#039;Intel Corporation 82G33/G31 Express Integrated Graphics Controller&#039;&#039;&#039; and led to using the vesa drivers &amp;lt;br /&amp;gt;&lt;br /&gt;
one solution is:&lt;br /&gt;
#log (ssh) in the media director. to do so:&lt;br /&gt;
##get the media director&#039;s ip (md_IP)in webadmin-&amp;gt;wizard-&amp;gt;devices-&amp;gt;media director. you just get its name and you have a field named &#039;IP&#039; which gives you the required ip. (something like 192.168.80.X, where X is a number).&lt;br /&gt;
## log yourself as root on the core: sudo bash, enter password&lt;br /&gt;
## once you got ot, just type ssh &amp;lt;md_IP&amp;gt;&lt;br /&gt;
#follow [[Custom_Display_Resolutions#Step_4:_Prevent_LinuxMCE_from_changing_the_Xorg_config|prevent lmce from changing xorg]] (basically, insert a new line with exit 0 on 2nd line of &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; ). to edit you can use vi:&lt;br /&gt;
## &#039;&#039;&#039;vi /usr/pluto/bin/Xconfigure.sh&#039;&#039;&#039; to open the file&lt;br /&gt;
## place the cursor on the beginning of line 2, press&#039;i&#039; , and add &#039;exit 0&#039;, enter, to add the line&lt;br /&gt;
## press &#039;:x&#039;, enter.to save the file&lt;br /&gt;
#run &#039;&#039;&#039;dpkg-reconfigure xserver-xorg&#039;&#039;&#039; to generate a clean new xorg.conf. follow instructions. if you don&#039;t know, keep default values&lt;br /&gt;
#reboot the md: &#039;&#039;&#039;reboot&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Via Chipsets ===&lt;br /&gt;
Use the Openchrome or Via Unichrome drivers. The Via Unichrome drivers can be downloaded from [http://www.viaarena.com/default.aspx?PageID=2&amp;amp;OSID=45&amp;amp;CatID=3220]&lt;br /&gt;
&lt;br /&gt;
At the time of this writing (10/04/08), the binary Via Unichrome driver (released december 2007) works best (stable, good 2d and 3d) on my Via Mini ITX with CLE266 integerated graphics system. It is able to run UI2 medium with very good performance. &lt;br /&gt;
There is a crash at bootup (with any via driver) if the complete runlevel 2 starts. &lt;br /&gt;
This issue can be worked around by booting recovery mode and manually starting only /etc/init.d/kdm as root.&lt;br /&gt;
Issue under investigation - will update here when good workaround is done.&lt;br /&gt;
Contact zeratul at fastmail.fm for latest status/tips&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;HOW-TO VIA Openchrome driver for xorg:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
For VIA CX700M2 UniChrome PRO II Graphics (1&amp;quot; VIA units) or mainly via graphics:&amp;lt;br&amp;gt;&lt;br /&gt;
===NOTE:[[User:ddamron|ddamron]] Monday June 30, 2008===&lt;br /&gt;
 Burgiman&#039;s instructions did NOT work for me. &lt;br /&gt;
 Take that for what it&#039;s worth. &lt;br /&gt;
 I had better success installing the VIA Unichrome Driver, and UI1.  Use CLE266 mode.&lt;br /&gt;
 If you have more success, please update this page&lt;br /&gt;
 Dan&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;UPDATED FOR 0710!&#039;&#039;&#039;&lt;br /&gt;
--[[User:Burgiman|burgi]] 11:47, 2 June 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;shell into your box and do the following:&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
  apt-get install build-essential automake1.9 libtool x11proto-* libgl1-mesa-dev makedepend libxxf86vm-dev libexpat1-dev libexpat1 libxmu-dev xtrans-dev libpng12-dev libxcomposite-dev libxfixes-dev libxdamage-dev libxrandr-dev libxrender-dev libstartup-notification0-dev libgconf2-dev&lt;br /&gt;
&lt;br /&gt;
 cd /usr/src&lt;br /&gt;
 svn checkout http://svn.openchrome.org/svn/trunk openchrome&lt;br /&gt;
 cd openchrome*&lt;br /&gt;
 ./autogen.sh --prefix=/usr&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Now we have to edit /etc/X11/xorg.conf and change the device driver to via openchrome:&amp;lt;br&amp;gt;&lt;br /&gt;
 vi /etc/X11/xorg.conf&lt;br /&gt;
Go to&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
and change&lt;br /&gt;
 Driver &amp;quot;vesa&amp;quot; &lt;br /&gt;
to&lt;br /&gt;
 Driver &amp;quot;openchrome&amp;quot;&lt;br /&gt;
save and test the compiled new driver with a: &amp;lt;br&amp;gt;&lt;br /&gt;
 X :1&lt;br /&gt;
and if your xwindow comes up, you can reboot and have fun&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Burgiman|burgi]] 13:37, 3 March 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
=== Other Chipsets ===&lt;br /&gt;
Please help out by adding more if you can.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the X-server (and thus also the AVWizard) is unable to start, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
=== Getting started ===&lt;br /&gt;
Start by making a backup copy of the &#039;&#039;/etc/X11/xorg.conf&#039;&#039; file (even if it doesn&#039;t work it might contain settings you could need).  In this example we will start from scratch and edit the configuration file step by step to get the main display setup.  &lt;br /&gt;
&lt;br /&gt;
Some of these steps require that there will be no X-server active on the system, the easiest way to achieve this is to boot in &#039;&#039;rescue-mode&#039;&#039;, just hit [Esc] when [[Grub]] tells you to during the startup of your machine and select the right line from the menu.  Another way is to go to a text-mode console (aka. terminal) with [CTRL]-[ALT]-[F1], [[Logging In|log in]], become root and issue the command:&lt;br /&gt;
 telinit 1&lt;br /&gt;
This wil stop the running X-server and drop you into rescue mode as well.  &lt;br /&gt;
&lt;br /&gt;
One of the advantages is that now you can start and stop the X-server by hand with an alternative configuration file and without having to reboot or even start an entire desktop environment.&lt;br /&gt;
&lt;br /&gt;
=== Generating a template ===&lt;br /&gt;
These instructions were originally written for ATI chipsets, so they might need to be adjusted and updated a bit.  Not all of the specific options may be relevant for your chipset. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;While there is no (other) X-server running&#039;&#039;&#039; you can create a template configuration file by running:&lt;br /&gt;
 X -configure&lt;br /&gt;
This will create a file called xorg.conf.new in your &#039;&#039;home&#039;&#039; directory, test it with the following command and hit [CTRL]-[ALT]-[Backspace] when done:&lt;br /&gt;
 X -config ~/xorg.conf.new&lt;br /&gt;
Within a few seconds a gray bitpattern should show up with an &#039;X&#039; shaped mouse cursor.  If the screen is distorted or reports the refresh rate to be out of range then you will either have to specify the proper refreshrate limitations for your screen or insert &amp;quot;modelines&amp;quot; for the resolution(s) you want to use (see below).  &lt;br /&gt;
&lt;br /&gt;
When you&#039;re satisfied you can overwrite &#039;&#039;/etc/X11/xorg.conf&#039;&#039; with this file to make it the default (you did make a backup didn&#039;t you?), once you have done that you can use &amp;quot;startx&amp;quot; to test and have the use of your desktop as well.  This should at least be enough to allow the use of a graphic configuration tool (like the [[AVWizard]] for instance) to set up your display further.  More advanced manual configuration options can be found below.&lt;br /&gt;
&lt;br /&gt;
Here is an example of such a generated file:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier     &amp;quot;X.org Configured&amp;quot;&lt;br /&gt;
        Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
        InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Files&amp;quot;&lt;br /&gt;
        RgbPath      &amp;quot;/etc/X11/rgb&amp;quot;&lt;br /&gt;
        ModulePath   &amp;quot;/usr/lib/xorg/modules&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/cyrillic&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;extmod&amp;quot;&lt;br /&gt;
        Load  &amp;quot;record&amp;quot;&lt;br /&gt;
        Load  &amp;quot;xtrap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;GLcore&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;auto&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
        Option      &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5 6 7&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ### Available Driver options are:-&lt;br /&gt;
        ### Values: &amp;amp;lt;i&amp;amp;gt;: integer, &amp;lt;f&amp;gt;: float, &amp;lt;bool&amp;gt;: &amp;quot;True&amp;quot;/&amp;quot;False&amp;quot;,&lt;br /&gt;
        ### &amp;lt;string&amp;gt;: &amp;quot;String&amp;quot;, &amp;lt;freq&amp;gt;: &amp;quot;&amp;lt;f&amp;gt; Hz/kHz/MHz&amp;quot;&lt;br /&gt;
        ### [arg]: arg optional&lt;br /&gt;
        #Option     &amp;quot;ShadowFB&amp;quot;                  # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;DefaultRefresh&amp;quot;            # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;ModeSetClearScreen&amp;quot;        # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
        &#039;&#039;VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BusID       &#039;&#039;&#039;&amp;quot;PCI:1:5:0&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device     &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     1&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     4&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     8&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     15&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     16&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note that the only thing really specific to my setup in this config file is &#039;&#039;BusID&#039;&#039;, if you only have one graphics adapter in your system this value can be omitted, otherwise the value(s) can be found with:&lt;br /&gt;
 X -scanpci&lt;br /&gt;
Where each card will need it&#039;s own Device Section in the config file.  The &amp;quot;VendorName&amp;quot; and &amp;quot;BoardName&amp;quot; settings are just labels and serve no real purpose other then being able to identify this particular device, which is usefull if you have more then one.&lt;br /&gt;
&lt;br /&gt;
We&#039;ll be using this sample configuration as a starting point in the other examples below, the comments (lines starting with &#039;&#039;#&#039;&#039; can be safely removed as well as the &#039;&#039;&amp;quot;Display&amp;quot;&#039;&#039; subsections for the colordepths we don&#039;t plan on using.&lt;br /&gt;
&lt;br /&gt;
=== Refresh rate / ModeLine ===&lt;br /&gt;
The easiest way to sort this problem is to let the X-server figure this out by not specifying the limits of your screen.  However this often fails, leaving you with an unusable display.  Simply look up &#039;&#039;&#039;your screen&#039;&#039;&#039;&#039;s refresh rates in the documentation and add them like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
        &#039;&#039;HorizSync     &#039;&#039;&#039;27-102&#039;&#039;&#039; # kHz&#039;&#039;&lt;br /&gt;
        &#039;&#039;VertRefresh   &#039;&#039;&#039;50-160&#039;&#039;&#039; # Hz&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Alternatively you could specify a &amp;quot;ModeLine&amp;quot; for each resolution you want to use.  By using ModeLines you have much finer controll over the timings of the output signal generated by your videocard.  The drawback is that the timing values can be hard to get right.  &lt;br /&gt;
&lt;br /&gt;
Search the web for a &amp;quot;modeline generator&amp;quot;, and many of these will include instructions on how to add the modeline, but briefly, you just add it to the &amp;quot;Monitor&amp;quot; section.  Read the [http://en.wikipedia.org/wiki/Modeline wikipedia entry] to learn how to use modelines.  &lt;br /&gt;
* http://koala.ilog.fr/cgi-bin/nph-colas-modelines&lt;br /&gt;
* http://xtiming.sourceforge.net/cgi-bin/xtiming.pl&lt;br /&gt;
* http://www.bohne-lang.de/spec/linux/modeline/&lt;br /&gt;
* http://amlc.berlios.de/&lt;br /&gt;
* http://www.mythtv.org/wiki/index.php/Working_with_Modelines&lt;br /&gt;
If one modeline doesn&#039;t work perfectly, try another, perhaps from another generator, because they can vary so much.&lt;br /&gt;
&lt;br /&gt;
Using the wrong timings could in some (nowadays rare) occasions damage the hardware of your screen, so if it looks garbeled don&#039;t leave it like that for hours on end but hit [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] and readjust your settings.  Most modern screens however simply report that the signal is out of range if this happens.&lt;br /&gt;
&lt;br /&gt;
=== Colordepth and resolution ===&lt;br /&gt;
Specify the colordepth and resolution(s) you would like to use, like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device       &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor      &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        &#039;&#039;DefaultDepth &#039;&#039;&#039;24&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth      24&lt;br /&gt;
                &#039;&#039;Virtual    &#039;&#039;&#039;1600 1200&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
                &#039;&#039;Modes      &#039;&#039;&#039;&amp;quot;1600x1200&amp;quot; &amp;quot;1280x1024&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot; &amp;quot;512x384&amp;quot; &amp;quot;400x300&amp;quot; &amp;quot;320x240&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
As most people will only be using 24 bits anyway, I have removed the other redundant subsections.  &amp;quot;Virtual&amp;quot; is the size of your desktop and &amp;quot;Modes&amp;quot; are physical resolutions, you can flip through these by holding [CTRL]-[ALT] and pressing the plus or minus on the numeric keypad.  These are just examples, most people will only want to specify the resolution they actually use.&lt;br /&gt;
&lt;br /&gt;
=== DRI device permissions ===&lt;br /&gt;
This section is needed to have the X-server set the proper permissions on the DRI device during startup.  Simply add it to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Mode         0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Chipset driver ===&lt;br /&gt;
Change &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot; (or &amp;quot;&#039;&#039;&#039;ati&#039;&#039;&#039;&amp;quot;, depending on which drivers you installed earlier), as shown below, the old line is left as a comment in this example for clarity, but it&#039;s better to remove it as some scripts seem to find it confusing.  For Nvidia chipsets use &#039;&#039;&#039;nvidia&#039;&#039;&#039; or &#039;&#039;&#039;nv&#039;&#039;&#039; as the driver names (instead of &#039;&#039;&#039;fglrx&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
 &#039;&#039;#      Driver      &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;Driver      &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&lt;br /&gt;
        BusID       &amp;quot;PCI:1:5:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
If your X-server was running you will have to restart it completely for the changes to take effect, the easiest and most thorough way to do this is to reboot.&lt;br /&gt;
&lt;br /&gt;
=== Physical display size ===&lt;br /&gt;
Like specifying the refresh rate his is optional but sometimes necessary, most of the time it is either detected or some sane defaults are used but sometimes it isn&#039;t, which can result in unreadable font sizes.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
   DisplaySize &#039;&#039;&#039;155 95&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Where you have to replace the numbers with the physical &#039;&#039;&#039;width&#039;&#039;&#039; and &#039;&#039;&#039;height&#039;&#039;&#039; of your screen in millimeters (1&amp;quot; = 25mm), feel free to try mine, however these are for a small touchscreen.&lt;br /&gt;
&lt;br /&gt;
=== Disable composite ===&lt;br /&gt;
Aparently the ATI &#039;&#039;&#039;fglrx&#039;&#039;&#039; driver does not &#039;&#039;yet&#039;&#039; support composite with DRI.  So if you are using the fglrx driver, disable it by adding this to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
To be continued, I don&#039;t think this is enough to get UI2 completely (either mode) going yet.  Feel free to jump in anytime... &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things still to sort out amongst others (i.e. what is it, do we need it and what are the settings if any):&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;i2c&amp;quot;&lt;br /&gt;
        Load  &amp;quot;bitmap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;ddc&amp;quot;&lt;br /&gt;
        Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
        Load  &amp;quot;int10&amp;quot;&lt;br /&gt;
        Load  &amp;quot;vbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;speedo&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;v4l&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
        Option &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 #      Option      &amp;quot;RENDER&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
        Option      &amp;quot;PseudoColorVisuals&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;OpenGLOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VideoOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;DesktopSetup&amp;quot; &amp;quot;clone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
TV-out options, 2nd display, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== The AVWizard crashes X-windows ===&lt;br /&gt;
&lt;br /&gt;
Try setting the [[#Chipset_driver]] option to &#039;&#039;&#039;vesa&#039;&#039;&#039;, run the AVWizard again and then change the driver back to what it was.&lt;br /&gt;
&lt;br /&gt;
=== Black screen ===&lt;br /&gt;
&lt;br /&gt;
* Screen is black, after install seemed to go okay. You may have even seen the Kubuntu splash screen. See [[AVWizard]] on how to select the proper output.&lt;br /&gt;
&lt;br /&gt;
*One problem on nvidia-cards could be that it does not detect the right monitor.&lt;br /&gt;
&lt;br /&gt;
::Go to Console 1 ([Ctrl]+[Alt]+1) and edit /etc/X11/xorg.conf (nano -w /etc/X11/xorg.conf). Find the section ::Device with the driver nvidia add the line &amp;lt;pre&amp;gt;Option &amp;quot;ConnectedMonitor&amp;quot; &amp;quot;XXX&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
::where XXX is CRT, CRT-0, CRT-1, DVI-0, DVI-1, ...&lt;br /&gt;
::Save and exit (nano: Ctrl+x) and restart the computer. In my case it was &amp;quot;CRT-1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== X-windows won&#039;t start ===&lt;br /&gt;
&lt;br /&gt;
Reboot into rescue-mode if needed (hit [Esc] when [[Grub]] tells you to), and restore a working copy of your /etc/X11/xorg.conf, or edit it by hand to fix the problem. Test it with the command &amp;quot;X&amp;quot; and press [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] simultaneous to quit (alternative: use &amp;quot;startx&amp;quot; and get the full desktop, if any), then reboot when it works and you&#039;re done.&lt;br /&gt;
&lt;br /&gt;
=== Signal out of range ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[[#Refresh rate / ModeLine ]]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
=== Microscopic fonts in KDE ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[[#Physical_display_size]]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
If the above does not work, probably Xorg is calculating the DPI value in the wrong way.&lt;br /&gt;
This can be verified by having a look at the file /var/log/Xorg.0.log related to the MD with this issue searching for the line containing &amp;quot;DPI set to (x , y)&amp;quot;,where x and y are values that apply to the specific display.&lt;br /&gt;
&lt;br /&gt;
If those values are too small, fonts will be displayed accordingly (i.e, VERY small)&lt;br /&gt;
&lt;br /&gt;
A workaround is to force Xorg to startup with a given DPI value.&lt;br /&gt;
&lt;br /&gt;
To achieve this the following steps are required:&lt;br /&gt;
&lt;br /&gt;
* edit the file /usr/pluto/bin/Start_X_Wrapper.sh on your MD where you are facing the font problem&lt;br /&gt;
* find the line beginning with xinit&lt;br /&gt;
* add &amp;quot;-dpi 96&amp;quot; (without quotes) at the end of this line&lt;br /&gt;
* save the file and reboot MD&lt;br /&gt;
&lt;br /&gt;
Obviously it is possible to set DPI to something different than 96, according to specific needs.&lt;br /&gt;
&lt;br /&gt;
Please note that after an LMCE update the startup script may be replaced by new ones, so the above workaround may have to be re-applied in order to keep fonts at the desired dimension.&lt;br /&gt;
&lt;br /&gt;
=== LinuxMCE keeps reconfiguring my display settings ===&lt;br /&gt;
&lt;br /&gt;
Add a line containing &#039;&#039;&#039;exit&#039;&#039;&#039; to the top of the &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; file.  After you do this you may experience difficulties running the AVWizard again, if so remove this line and add it back again after the wizard is finished.&lt;br /&gt;
&lt;br /&gt;
For LinuxMCE 710 simply comment out the line that says&lt;br /&gt;
   . /usr/pluto/bin/X-CleanupVideo.sh&lt;br /&gt;
This is the command that gets run that modifies the xorg.conf file on startup. This is different than above because if you put exit at the top your display will not get initialized.  And as above if you want to run the AVWizard you will need to uncomment this line.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.mythtv.org/wiki/index.php/Main_Page MythTV wiki] &lt;br /&gt;
* MythTV Experience [http://brentlagesse.net/~brent/mythtv.php]&lt;br /&gt;
* [[X_Configuration_Scripts]]&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=15036</id>
		<title>Display Drivers</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=15036"/>
		<updated>2008-07-23T09:17:24Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* potential problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Hardware| ]]&lt;br /&gt;
&lt;br /&gt;
An incomplete HowTo on updating LinuxMCE to the latest display drivers and configuring them manually.  It could use your help, so if something is different in your situation, please add it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that this should normally not be necessary unless you have specific wishes or trouble getting your display to work properly.&#039;&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
If the graphical environment cannot start you are likely to see a text screen blinking, this makes it very hard to login, if this is the case you can reboot into &amp;quot;recovery mode&amp;quot; by pressing [Esc] when GRUB tells you to during the boot process and then select it from the menu you will be presented with.&lt;br /&gt;
&lt;br /&gt;
=== ATI Chipsets ===&lt;br /&gt;
The two main ways to install the ATI drivers are described in the [http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide Ubuntu Feisty Installation Guide].&lt;br /&gt;
&lt;br /&gt;
For more information see also the [http://wiki.cchtml.com/index.php/Main_Page Unofficial ATI Linux Driver Wiki] and you might want to have a look at [http://www.mythtv.org/wiki/index.php/AtiProprietaryDriver AtiProprietaryDriver] in the MythTV wiki as well since LinuxMCE depends on it for viewing TV.  MythTV in turn relies heavily on the support of certain features by the graphics drivers.  The ATI drivers turn out to be a bit &amp;quot;challenged&amp;quot; in this area to say the least.&lt;br /&gt;
&lt;br /&gt;
==== Installing The ATI Driver ====&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the procedure I use for setting up an ATI X1250 MD. Currently the the AVwizard in 0710 does not configure ATI cards properly so you need to to do some manual steps to get things working.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add the MD in the normal way (ie plug it into the network and let it add itself). Let it reboot and then it should run the AVwizard. Choose the options you want - output connector, resolution, refresh.... UI2 with Overlay etc etc and complete the wizard. Now the screen will return to a console screen and will after 5-10 mins will try to run the setup Wizard... but the setup Wizard will run very slowly and the video of  &#039;Sarah&#039; will not play smoothly. This is because the ATI drivers are not installed yet and the X driver is set to &#039;vesa&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
From another machine ssh into the partially installed MD using Konsole from the KDE Desktop or a terminal app like Putty under Windows XP. Do the following from the console;&lt;br /&gt;
&lt;br /&gt;
 sudo su - &amp;lt;return&amp;gt;&lt;br /&gt;
 ssh moonNN &amp;lt;return&amp;gt; (**where the NN is the device number for the MD we&#039;re configuring**)&lt;br /&gt;
&lt;br /&gt;
Alternatively do the following from the MD/Core you are configuring;&lt;br /&gt;
&lt;br /&gt;
 Ctrl+Alt+2&lt;br /&gt;
&lt;br /&gt;
Now login using the login you created when you installed your system ie When you ran the DVD installer or CD installer. Now we&#039;re logged into the MD we are configuring as &#039;root&#039; and we can install the ATI drivers and configure Xorg.conf;&lt;br /&gt;
&lt;br /&gt;
Firstly make sure our sources.list is up to date:&lt;br /&gt;
&lt;br /&gt;
 apt-get update &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now lets install the ATI driver and packages;&lt;br /&gt;
&lt;br /&gt;
 apt-get install linux-restricted-modules-generic restricted-manager &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &#039;Y&#039; to installing new packages then do the following steps;&lt;br /&gt;
&lt;br /&gt;
 apt-get install xorg-driver-fglrx &amp;lt;return&amp;gt;&lt;br /&gt;
 depmod -a &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So far so good... now we have the ATI drivers installed! (the current driver in the repos is not the latest ATI release an updated driver will be packaged soon though). Now we have to configure Xorg to use it! Do the steps below;&lt;br /&gt;
&lt;br /&gt;
I use the console text editor &#039;joe&#039; below but you can use whichever you prefer (&#039;nano&#039; is installed by default for example);&lt;br /&gt;
&lt;br /&gt;
 joe /etc/X11/xorg.conf &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are editing the xorg.conf of your MD and the only change you need to make is to the &#039;Device&#039; section. In the &#039;Device&#039; section you will see a line thats says;&lt;br /&gt;
&lt;br /&gt;
 Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
or&lt;br /&gt;
 Driver          &amp;quot;ati&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Change the string &#039;vesa&#039; (or ati) to &#039;fglrx&#039; which is the name of the ATI driver. The updated driver line should look like below;&lt;br /&gt;
&lt;br /&gt;
 Driver          &amp;quot;fglrx&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now save the changes you have made to xorg.conf.&lt;br /&gt;
&lt;br /&gt;
Now reboot the MD from the console with;&lt;br /&gt;
&lt;br /&gt;
 reboot &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MD will now reboot normally and the setup wizard will run again.... but this time the video and the Ui will run smoothly as the ATI driver is installed and confgured.&lt;br /&gt;
&lt;br /&gt;
Currently the ATI driver will not support UI2 with transparency but it will support UI2 with overlay very nicely indeed. There are two small caveats to running UI2 with Overlay currently with the ATI driver in that the &#039;Compass Rose&#039; on screen menu for selecting DVD chapters, Lighting levels etc etc and the &#039;Zoom &amp;amp; Aspect ratio&#039; screen when playing Video do not draw correctly - the bit maps for the menus do not display but the menus do work.&lt;br /&gt;
&lt;br /&gt;
=== NVidia Chipsets ===&lt;br /&gt;
There are several ways to install NVidia drivers, the way described here is meant as a guide to install the very latest drivers from the NVidia website.  Note that this way will bypass the LinuxMCE (Kubuntu) packaging system, possibly removing and/or overwriting some of it&#039;s files.&lt;br /&gt;
&lt;br /&gt;
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven&#039;t done so already. &lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;you&amp;gt;@dcerouter:~$&#039;&#039;&#039; sudo -s&lt;br /&gt;
2. Download the latest [http://www.nvidia.com/object/unix.html linux drivers from NVidia] (depending [http://www.nvidia.com/object/IO_32667.html on your hardware], one of versions: 1XX.XX.XX, 1.0-96xx or 1.0-71XX), if you haven&#039;t done so already.  When you have found the URL for downloading the package on the nvidia site you could download it like this:&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; wget &amp;lt;nowiki&amp;gt;http://us.download.nvidia.com/XFree86/Linux-x86/&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;/NVIDIA-Linux-x86-&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;-pkg1.run&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
3. Go to runlevel 1 to stop the currently running X-server. &lt;br /&gt;
&lt;br /&gt;
NB: There was no need for me to run this command as I was already in Level 1 - It just locked up the keyboard. --[[User:Mortar|Mortar]] 18:12, 6 January 2008 (MST)&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; telinit 1 &lt;br /&gt;
4. Execute the installer and follow instructions.  Ignore the warning about runlevel 1 and don&#039;t bother looking for precompiled drivers.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; sh NVIDIA-Linux-x86-&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;-pkg1.run&lt;br /&gt;
5. Now it needs to be configured.  The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the AVWizard for some reason is unable to set your up your screens to your liking, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
If the AVWizard crashes (as it did for me when installing the legacy drivers) try setting the &#039;&#039;&#039;driver&#039;&#039;&#039; option in the &#039;&#039;xorg.conf&#039;&#039; file to &#039;&#039;&#039;vesa&#039;&#039;&#039;, go through the AVWizard and then change it back. --[[User:Zaerc|Zaerc]] 15:14, 5 June 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
=== Intel Chipsets ===&lt;br /&gt;
There is a renewed interest in the Intel graphics chipsets since Intel released the drivers under the GPL. Currently the Intel driver still cannot support UI2 with Alphablending but they will support UI2 with Overlay very nicely and video performance is excellent. LinuxMCE versions after Beta4 have full support for configuring the Intel driver in the AVwizard.&lt;br /&gt;
&lt;br /&gt;
From LinuxMCE-0710 Beta4 onwards LinuxMCE will install the newer intel driver by default - so the instructions below are only useful if your still running LinuxMCE-0704.&lt;br /&gt;
&lt;br /&gt;
==== For LinuxMCE-0704 ====&lt;br /&gt;
&lt;br /&gt;
You will want to make sure you are using the newer intel drivers from http://packages.ubuntu.com/gutsy/i386/xserver-xorg-video-intel/download for i386. These replace the older i810, etc. drivers and should cover all the modern intel chipsets. The name for this driver is &#039;intel&#039; and would replace the older &#039;i810&#039; drivers.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using i810 driver make sure you add Option &amp;quot;LinearAlloc&amp;quot; &amp;quot;8160&amp;quot; to xorg.conf or video players will crash with X11 error: BadAlloc.&lt;br /&gt;
&lt;br /&gt;
From man i810:&lt;br /&gt;
   Option &amp;quot;LinearAlloc&amp;quot; &amp;quot;integer&amp;quot;&lt;br /&gt;
          Allows  more  memory  for  the offscreen allocator. This usually&lt;br /&gt;
          helps in situations where HDTV movies are required to  play  but&lt;br /&gt;
          not  enough  offscreen  memory is usually available. Set this to&lt;br /&gt;
          8160 for upto 1920x1080 HDTV support.  Default 0KB (off).&lt;br /&gt;
&lt;br /&gt;
==== potential problem ====&lt;br /&gt;
&lt;br /&gt;
with some drivers/installation, booting a media director may lead to modifying its xorg.conf file. that happened with lmce 7.10 DVD installation and an md with &#039;&#039;&#039;Intel Corporation 82G33/G31 Express Integrated Graphics Controller&#039;&#039;&#039; and led to using the vesa drivers &amp;lt;br /&amp;gt;&lt;br /&gt;
one solution is:&lt;br /&gt;
#log (ssh) in the media director. to do so, sudo sh to be root, get it&#039;s ip in webadmin-&amp;gt;wizard-&amp;gt;devices-&amp;gt;media director. you just get its name and you have a field named &#039;IP&#039; which gives you the required ip. (something like 192.168.80.X, where X is a number). once you got ot, just type ssh &amp;lt;IP&amp;gt;&lt;br /&gt;
#follow [[Custom_Display_Resolutions#Step_4:_Prevent_LinuxMCE_from_changing_the_Xorg_config|prevent lmce from changing xorg]] (basically, insert a new line with exit 0 on 2nd line of &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; ). to edit you can use vi: &#039;&#039;&#039;vi /usr/pluto/bin/Xconfigure.sh&#039;&#039;&#039;, place the cursor on the beginning of line 2, press&#039;i&#039; , and add &#039;exit 0&#039;, enter, escape, &#039;:x&#039;, enter.that will edit, and then save the file.&lt;br /&gt;
#run &#039;&#039;&#039;dpkg-reconfigure xserver-xorg&#039;&#039;&#039; to generate a clean new xorg.conf&lt;br /&gt;
#reboot the md: &#039;&#039;&#039;reboot&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Via Chipsets ===&lt;br /&gt;
Use the Openchrome or Via Unichrome drivers. The Via Unichrome drivers can be downloaded from [http://www.viaarena.com/default.aspx?PageID=2&amp;amp;OSID=45&amp;amp;CatID=3220]&lt;br /&gt;
&lt;br /&gt;
At the time of this writing (10/04/08), the binary Via Unichrome driver (released december 2007) works best (stable, good 2d and 3d) on my Via Mini ITX with CLE266 integerated graphics system. It is able to run UI2 medium with very good performance. &lt;br /&gt;
There is a crash at bootup (with any via driver) if the complete runlevel 2 starts. &lt;br /&gt;
This issue can be worked around by booting recovery mode and manually starting only /etc/init.d/kdm as root.&lt;br /&gt;
Issue under investigation - will update here when good workaround is done.&lt;br /&gt;
Contact zeratul at fastmail.fm for latest status/tips&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;HOW-TO VIA Openchrome driver for xorg:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
For VIA CX700M2 UniChrome PRO II Graphics (1&amp;quot; VIA units) or mainly via graphics:&amp;lt;br&amp;gt;&lt;br /&gt;
===NOTE:[[User:ddamron|ddamron]] Monday June 30, 2008===&lt;br /&gt;
 Burgiman&#039;s instructions did NOT work for me. &lt;br /&gt;
 Take that for what it&#039;s worth. &lt;br /&gt;
 I had better success installing the VIA Unichrome Driver, and UI1.  Use CLE266 mode.&lt;br /&gt;
 If you have more success, please update this page&lt;br /&gt;
 Dan&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;UPDATED FOR 0710!&#039;&#039;&#039;&lt;br /&gt;
--[[User:Burgiman|burgi]] 11:47, 2 June 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;shell into your box and do the following:&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
  apt-get install build-essential automake1.9 libtool x11proto-* libgl1-mesa-dev makedepend libxxf86vm-dev libexpat1-dev libexpat1 libxmu-dev xtrans-dev libpng12-dev libxcomposite-dev libxfixes-dev libxdamage-dev libxrandr-dev libxrender-dev libstartup-notification0-dev libgconf2-dev&lt;br /&gt;
&lt;br /&gt;
 cd /usr/src&lt;br /&gt;
 svn checkout http://svn.openchrome.org/svn/trunk openchrome&lt;br /&gt;
 cd openchrome*&lt;br /&gt;
 ./autogen.sh --prefix=/usr&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Now we have to edit /etc/X11/xorg.conf and change the device driver to via openchrome:&amp;lt;br&amp;gt;&lt;br /&gt;
 vi /etc/X11/xorg.conf&lt;br /&gt;
Go to&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
and change&lt;br /&gt;
 Driver &amp;quot;vesa&amp;quot; &lt;br /&gt;
to&lt;br /&gt;
 Driver &amp;quot;openchrome&amp;quot;&lt;br /&gt;
save and test the compiled new driver with a: &amp;lt;br&amp;gt;&lt;br /&gt;
 X :1&lt;br /&gt;
and if your xwindow comes up, you can reboot and have fun&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Burgiman|burgi]] 13:37, 3 March 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
=== Other Chipsets ===&lt;br /&gt;
Please help out by adding more if you can.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the X-server (and thus also the AVWizard) is unable to start, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
=== Getting started ===&lt;br /&gt;
Start by making a backup copy of the &#039;&#039;/etc/X11/xorg.conf&#039;&#039; file (even if it doesn&#039;t work it might contain settings you could need).  In this example we will start from scratch and edit the configuration file step by step to get the main display setup.  &lt;br /&gt;
&lt;br /&gt;
Some of these steps require that there will be no X-server active on the system, the easiest way to achieve this is to boot in &#039;&#039;rescue-mode&#039;&#039;, just hit [Esc] when [[Grub]] tells you to during the startup of your machine and select the right line from the menu.  Another way is to go to a text-mode console (aka. terminal) with [CTRL]-[ALT]-[F1], [[Logging In|log in]], become root and issue the command:&lt;br /&gt;
 telinit 1&lt;br /&gt;
This wil stop the running X-server and drop you into rescue mode as well.  &lt;br /&gt;
&lt;br /&gt;
One of the advantages is that now you can start and stop the X-server by hand with an alternative configuration file and without having to reboot or even start an entire desktop environment.&lt;br /&gt;
&lt;br /&gt;
=== Generating a template ===&lt;br /&gt;
These instructions were originally written for ATI chipsets, so they might need to be adjusted and updated a bit.  Not all of the specific options may be relevant for your chipset. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;While there is no (other) X-server running&#039;&#039;&#039; you can create a template configuration file by running:&lt;br /&gt;
 X -configure&lt;br /&gt;
This will create a file called xorg.conf.new in your &#039;&#039;home&#039;&#039; directory, test it with the following command and hit [CTRL]-[ALT]-[Backspace] when done:&lt;br /&gt;
 X -config ~/xorg.conf.new&lt;br /&gt;
Within a few seconds a gray bitpattern should show up with an &#039;X&#039; shaped mouse cursor.  If the screen is distorted or reports the refresh rate to be out of range then you will either have to specify the proper refreshrate limitations for your screen or insert &amp;quot;modelines&amp;quot; for the resolution(s) you want to use (see below).  &lt;br /&gt;
&lt;br /&gt;
When you&#039;re satisfied you can overwrite &#039;&#039;/etc/X11/xorg.conf&#039;&#039; with this file to make it the default (you did make a backup didn&#039;t you?), once you have done that you can use &amp;quot;startx&amp;quot; to test and have the use of your desktop as well.  This should at least be enough to allow the use of a graphic configuration tool (like the [[AVWizard]] for instance) to set up your display further.  More advanced manual configuration options can be found below.&lt;br /&gt;
&lt;br /&gt;
Here is an example of such a generated file:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier     &amp;quot;X.org Configured&amp;quot;&lt;br /&gt;
        Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
        InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Files&amp;quot;&lt;br /&gt;
        RgbPath      &amp;quot;/etc/X11/rgb&amp;quot;&lt;br /&gt;
        ModulePath   &amp;quot;/usr/lib/xorg/modules&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/cyrillic&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;extmod&amp;quot;&lt;br /&gt;
        Load  &amp;quot;record&amp;quot;&lt;br /&gt;
        Load  &amp;quot;xtrap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;GLcore&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;auto&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
        Option      &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5 6 7&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ### Available Driver options are:-&lt;br /&gt;
        ### Values: &amp;amp;lt;i&amp;amp;gt;: integer, &amp;lt;f&amp;gt;: float, &amp;lt;bool&amp;gt;: &amp;quot;True&amp;quot;/&amp;quot;False&amp;quot;,&lt;br /&gt;
        ### &amp;lt;string&amp;gt;: &amp;quot;String&amp;quot;, &amp;lt;freq&amp;gt;: &amp;quot;&amp;lt;f&amp;gt; Hz/kHz/MHz&amp;quot;&lt;br /&gt;
        ### [arg]: arg optional&lt;br /&gt;
        #Option     &amp;quot;ShadowFB&amp;quot;                  # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;DefaultRefresh&amp;quot;            # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;ModeSetClearScreen&amp;quot;        # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
        &#039;&#039;VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BusID       &#039;&#039;&#039;&amp;quot;PCI:1:5:0&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device     &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     1&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     4&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     8&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     15&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     16&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note that the only thing really specific to my setup in this config file is &#039;&#039;BusID&#039;&#039;, if you only have one graphics adapter in your system this value can be omitted, otherwise the value(s) can be found with:&lt;br /&gt;
 X -scanpci&lt;br /&gt;
Where each card will need it&#039;s own Device Section in the config file.  The &amp;quot;VendorName&amp;quot; and &amp;quot;BoardName&amp;quot; settings are just labels and serve no real purpose other then being able to identify this particular device, which is usefull if you have more then one.&lt;br /&gt;
&lt;br /&gt;
We&#039;ll be using this sample configuration as a starting point in the other examples below, the comments (lines starting with &#039;&#039;#&#039;&#039; can be safely removed as well as the &#039;&#039;&amp;quot;Display&amp;quot;&#039;&#039; subsections for the colordepths we don&#039;t plan on using.&lt;br /&gt;
&lt;br /&gt;
=== Refresh rate / ModeLine ===&lt;br /&gt;
The easiest way to sort this problem is to let the X-server figure this out by not specifying the limits of your screen.  However this often fails, leaving you with an unusable display.  Simply look up &#039;&#039;&#039;your screen&#039;&#039;&#039;&#039;s refresh rates in the documentation and add them like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
        &#039;&#039;HorizSync     &#039;&#039;&#039;27-102&#039;&#039;&#039; # kHz&#039;&#039;&lt;br /&gt;
        &#039;&#039;VertRefresh   &#039;&#039;&#039;50-160&#039;&#039;&#039; # Hz&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Alternatively you could specify a &amp;quot;ModeLine&amp;quot; for each resolution you want to use.  By using ModeLines you have much finer controll over the timings of the output signal generated by your videocard.  The drawback is that the timing values can be hard to get right.  &lt;br /&gt;
&lt;br /&gt;
Search the web for a &amp;quot;modeline generator&amp;quot;, and many of these will include instructions on how to add the modeline, but briefly, you just add it to the &amp;quot;Monitor&amp;quot; section.  Read the [http://en.wikipedia.org/wiki/Modeline wikipedia entry] to learn how to use modelines.  &lt;br /&gt;
* http://koala.ilog.fr/cgi-bin/nph-colas-modelines&lt;br /&gt;
* http://xtiming.sourceforge.net/cgi-bin/xtiming.pl&lt;br /&gt;
* http://www.bohne-lang.de/spec/linux/modeline/&lt;br /&gt;
* http://amlc.berlios.de/&lt;br /&gt;
* http://www.mythtv.org/wiki/index.php/Working_with_Modelines&lt;br /&gt;
If one modeline doesn&#039;t work perfectly, try another, perhaps from another generator, because they can vary so much.&lt;br /&gt;
&lt;br /&gt;
Using the wrong timings could in some (nowadays rare) occasions damage the hardware of your screen, so if it looks garbeled don&#039;t leave it like that for hours on end but hit [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] and readjust your settings.  Most modern screens however simply report that the signal is out of range if this happens.&lt;br /&gt;
&lt;br /&gt;
=== Colordepth and resolution ===&lt;br /&gt;
Specify the colordepth and resolution(s) you would like to use, like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device       &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor      &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        &#039;&#039;DefaultDepth &#039;&#039;&#039;24&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth      24&lt;br /&gt;
                &#039;&#039;Virtual    &#039;&#039;&#039;1600 1200&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
                &#039;&#039;Modes      &#039;&#039;&#039;&amp;quot;1600x1200&amp;quot; &amp;quot;1280x1024&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot; &amp;quot;512x384&amp;quot; &amp;quot;400x300&amp;quot; &amp;quot;320x240&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
As most people will only be using 24 bits anyway, I have removed the other redundant subsections.  &amp;quot;Virtual&amp;quot; is the size of your desktop and &amp;quot;Modes&amp;quot; are physical resolutions, you can flip through these by holding [CTRL]-[ALT] and pressing the plus or minus on the numeric keypad.  These are just examples, most people will only want to specify the resolution they actually use.&lt;br /&gt;
&lt;br /&gt;
=== DRI device permissions ===&lt;br /&gt;
This section is needed to have the X-server set the proper permissions on the DRI device during startup.  Simply add it to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Mode         0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Chipset driver ===&lt;br /&gt;
Change &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot; (or &amp;quot;&#039;&#039;&#039;ati&#039;&#039;&#039;&amp;quot;, depending on which drivers you installed earlier), as shown below, the old line is left as a comment in this example for clarity, but it&#039;s better to remove it as some scripts seem to find it confusing.  For Nvidia chipsets use &#039;&#039;&#039;nvidia&#039;&#039;&#039; or &#039;&#039;&#039;nv&#039;&#039;&#039; as the driver names (instead of &#039;&#039;&#039;fglrx&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
 &#039;&#039;#      Driver      &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;Driver      &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&lt;br /&gt;
        BusID       &amp;quot;PCI:1:5:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
If your X-server was running you will have to restart it completely for the changes to take effect, the easiest and most thorough way to do this is to reboot.&lt;br /&gt;
&lt;br /&gt;
=== Physical display size ===&lt;br /&gt;
Like specifying the refresh rate his is optional but sometimes necessary, most of the time it is either detected or some sane defaults are used but sometimes it isn&#039;t, which can result in unreadable font sizes.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
   DisplaySize &#039;&#039;&#039;155 95&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Where you have to replace the numbers with the physical &#039;&#039;&#039;width&#039;&#039;&#039; and &#039;&#039;&#039;height&#039;&#039;&#039; of your screen in millimeters (1&amp;quot; = 25mm), feel free to try mine, however these are for a small touchscreen.&lt;br /&gt;
&lt;br /&gt;
=== Disable composite ===&lt;br /&gt;
Aparently the ATI &#039;&#039;&#039;fglrx&#039;&#039;&#039; driver does not &#039;&#039;yet&#039;&#039; support composite with DRI.  So if you are using the fglrx driver, disable it by adding this to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
To be continued, I don&#039;t think this is enough to get UI2 completely (either mode) going yet.  Feel free to jump in anytime... &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things still to sort out amongst others (i.e. what is it, do we need it and what are the settings if any):&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;i2c&amp;quot;&lt;br /&gt;
        Load  &amp;quot;bitmap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;ddc&amp;quot;&lt;br /&gt;
        Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
        Load  &amp;quot;int10&amp;quot;&lt;br /&gt;
        Load  &amp;quot;vbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;speedo&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;v4l&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
        Option &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 #      Option      &amp;quot;RENDER&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
        Option      &amp;quot;PseudoColorVisuals&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;OpenGLOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VideoOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;DesktopSetup&amp;quot; &amp;quot;clone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
TV-out options, 2nd display, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== The AVWizard crashes X-windows ===&lt;br /&gt;
&lt;br /&gt;
Try setting the [[#Chipset_driver]] option to &#039;&#039;&#039;vesa&#039;&#039;&#039;, run the AVWizard again and then change the driver back to what it was.&lt;br /&gt;
&lt;br /&gt;
=== Black screen ===&lt;br /&gt;
&lt;br /&gt;
* Screen is black, after install seemed to go okay. You may have even seen the Kubuntu splash screen. See [[AVWizard]] on how to select the proper output.&lt;br /&gt;
&lt;br /&gt;
*One problem on nvidia-cards could be that it does not detect the right monitor.&lt;br /&gt;
&lt;br /&gt;
::Go to Console 1 ([Ctrl]+[Alt]+1) and edit /etc/X11/xorg.conf (nano -w /etc/X11/xorg.conf). Find the section ::Device with the driver nvidia add the line &amp;lt;pre&amp;gt;Option &amp;quot;ConnectedMonitor&amp;quot; &amp;quot;XXX&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
::where XXX is CRT, CRT-0, CRT-1, DVI-0, DVI-1, ...&lt;br /&gt;
::Save and exit (nano: Ctrl+x) and restart the computer. In my case it was &amp;quot;CRT-1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== X-windows won&#039;t start ===&lt;br /&gt;
&lt;br /&gt;
Reboot into rescue-mode if needed (hit [Esc] when [[Grub]] tells you to), and restore a working copy of your /etc/X11/xorg.conf, or edit it by hand to fix the problem. Test it with the command &amp;quot;X&amp;quot; and press [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] simultaneous to quit (alternative: use &amp;quot;startx&amp;quot; and get the full desktop, if any), then reboot when it works and you&#039;re done.&lt;br /&gt;
&lt;br /&gt;
=== Signal out of range ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[[#Refresh rate / ModeLine ]]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
=== Microscopic fonts in KDE ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[[#Physical_display_size]]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
If the above does not work, probably Xorg is calculating the DPI value in the wrong way.&lt;br /&gt;
This can be verified by having a look at the file /var/log/Xorg.0.log related to the MD with this issue searching for the line containing &amp;quot;DPI set to (x , y)&amp;quot;,where x and y are values that apply to the specific display.&lt;br /&gt;
&lt;br /&gt;
If those values are too small, fonts will be displayed accordingly (i.e, VERY small)&lt;br /&gt;
&lt;br /&gt;
A workaround is to force Xorg to startup with a given DPI value.&lt;br /&gt;
&lt;br /&gt;
To achieve this the following steps are required:&lt;br /&gt;
&lt;br /&gt;
* edit the file /usr/pluto/bin/Start_X_Wrapper.sh on your MD where you are facing the font problem&lt;br /&gt;
* find the line beginning with xinit&lt;br /&gt;
* add &amp;quot;-dpi 96&amp;quot; (without quotes) at the end of this line&lt;br /&gt;
* save the file and reboot MD&lt;br /&gt;
&lt;br /&gt;
Obviously it is possible to set DPI to something different than 96, according to specific needs.&lt;br /&gt;
&lt;br /&gt;
Please note that after an LMCE update the startup script may be replaced by new ones, so the above workaround may have to be re-applied in order to keep fonts at the desired dimension.&lt;br /&gt;
&lt;br /&gt;
=== LinuxMCE keeps reconfiguring my display settings ===&lt;br /&gt;
&lt;br /&gt;
Add a line containing &#039;&#039;&#039;exit&#039;&#039;&#039; to the top of the &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; file.  After you do this you may experience difficulties running the AVWizard again, if so remove this line and add it back again after the wizard is finished.&lt;br /&gt;
&lt;br /&gt;
For LinuxMCE 710 simply comment out the line that says&lt;br /&gt;
   . /usr/pluto/bin/X-CleanupVideo.sh&lt;br /&gt;
This is the command that gets run that modifies the xorg.conf file on startup. This is different than above because if you put exit at the top your display will not get initialized.  And as above if you want to run the AVWizard you will need to uncomment this line.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.mythtv.org/wiki/index.php/Main_Page MythTV wiki] &lt;br /&gt;
* MythTV Experience [http://brentlagesse.net/~brent/mythtv.php]&lt;br /&gt;
* [[X_Configuration_Scripts]]&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=15035</id>
		<title>Display Drivers</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=15035"/>
		<updated>2008-07-23T09:10:32Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* Intel Chipsets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Hardware| ]]&lt;br /&gt;
&lt;br /&gt;
An incomplete HowTo on updating LinuxMCE to the latest display drivers and configuring them manually.  It could use your help, so if something is different in your situation, please add it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that this should normally not be necessary unless you have specific wishes or trouble getting your display to work properly.&#039;&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
If the graphical environment cannot start you are likely to see a text screen blinking, this makes it very hard to login, if this is the case you can reboot into &amp;quot;recovery mode&amp;quot; by pressing [Esc] when GRUB tells you to during the boot process and then select it from the menu you will be presented with.&lt;br /&gt;
&lt;br /&gt;
=== ATI Chipsets ===&lt;br /&gt;
The two main ways to install the ATI drivers are described in the [http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide Ubuntu Feisty Installation Guide].&lt;br /&gt;
&lt;br /&gt;
For more information see also the [http://wiki.cchtml.com/index.php/Main_Page Unofficial ATI Linux Driver Wiki] and you might want to have a look at [http://www.mythtv.org/wiki/index.php/AtiProprietaryDriver AtiProprietaryDriver] in the MythTV wiki as well since LinuxMCE depends on it for viewing TV.  MythTV in turn relies heavily on the support of certain features by the graphics drivers.  The ATI drivers turn out to be a bit &amp;quot;challenged&amp;quot; in this area to say the least.&lt;br /&gt;
&lt;br /&gt;
==== Installing The ATI Driver ====&lt;br /&gt;
&lt;br /&gt;
Here&#039;s the procedure I use for setting up an ATI X1250 MD. Currently the the AVwizard in 0710 does not configure ATI cards properly so you need to to do some manual steps to get things working.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Add the MD in the normal way (ie plug it into the network and let it add itself). Let it reboot and then it should run the AVwizard. Choose the options you want - output connector, resolution, refresh.... UI2 with Overlay etc etc and complete the wizard. Now the screen will return to a console screen and will after 5-10 mins will try to run the setup Wizard... but the setup Wizard will run very slowly and the video of  &#039;Sarah&#039; will not play smoothly. This is because the ATI drivers are not installed yet and the X driver is set to &#039;vesa&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
From another machine ssh into the partially installed MD using Konsole from the KDE Desktop or a terminal app like Putty under Windows XP. Do the following from the console;&lt;br /&gt;
&lt;br /&gt;
 sudo su - &amp;lt;return&amp;gt;&lt;br /&gt;
 ssh moonNN &amp;lt;return&amp;gt; (**where the NN is the device number for the MD we&#039;re configuring**)&lt;br /&gt;
&lt;br /&gt;
Alternatively do the following from the MD/Core you are configuring;&lt;br /&gt;
&lt;br /&gt;
 Ctrl+Alt+2&lt;br /&gt;
&lt;br /&gt;
Now login using the login you created when you installed your system ie When you ran the DVD installer or CD installer. Now we&#039;re logged into the MD we are configuring as &#039;root&#039; and we can install the ATI drivers and configure Xorg.conf;&lt;br /&gt;
&lt;br /&gt;
Firstly make sure our sources.list is up to date:&lt;br /&gt;
&lt;br /&gt;
 apt-get update &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now lets install the ATI driver and packages;&lt;br /&gt;
&lt;br /&gt;
 apt-get install linux-restricted-modules-generic restricted-manager &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &#039;Y&#039; to installing new packages then do the following steps;&lt;br /&gt;
&lt;br /&gt;
 apt-get install xorg-driver-fglrx &amp;lt;return&amp;gt;&lt;br /&gt;
 depmod -a &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So far so good... now we have the ATI drivers installed! (the current driver in the repos is not the latest ATI release an updated driver will be packaged soon though). Now we have to configure Xorg to use it! Do the steps below;&lt;br /&gt;
&lt;br /&gt;
I use the console text editor &#039;joe&#039; below but you can use whichever you prefer (&#039;nano&#039; is installed by default for example);&lt;br /&gt;
&lt;br /&gt;
 joe /etc/X11/xorg.conf &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are editing the xorg.conf of your MD and the only change you need to make is to the &#039;Device&#039; section. In the &#039;Device&#039; section you will see a line thats says;&lt;br /&gt;
&lt;br /&gt;
 Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
or&lt;br /&gt;
 Driver          &amp;quot;ati&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Change the string &#039;vesa&#039; (or ati) to &#039;fglrx&#039; which is the name of the ATI driver. The updated driver line should look like below;&lt;br /&gt;
&lt;br /&gt;
 Driver          &amp;quot;fglrx&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now save the changes you have made to xorg.conf.&lt;br /&gt;
&lt;br /&gt;
Now reboot the MD from the console with;&lt;br /&gt;
&lt;br /&gt;
 reboot &amp;lt;return&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MD will now reboot normally and the setup wizard will run again.... but this time the video and the Ui will run smoothly as the ATI driver is installed and confgured.&lt;br /&gt;
&lt;br /&gt;
Currently the ATI driver will not support UI2 with transparency but it will support UI2 with overlay very nicely indeed. There are two small caveats to running UI2 with Overlay currently with the ATI driver in that the &#039;Compass Rose&#039; on screen menu for selecting DVD chapters, Lighting levels etc etc and the &#039;Zoom &amp;amp; Aspect ratio&#039; screen when playing Video do not draw correctly - the bit maps for the menus do not display but the menus do work.&lt;br /&gt;
&lt;br /&gt;
=== NVidia Chipsets ===&lt;br /&gt;
There are several ways to install NVidia drivers, the way described here is meant as a guide to install the very latest drivers from the NVidia website.  Note that this way will bypass the LinuxMCE (Kubuntu) packaging system, possibly removing and/or overwriting some of it&#039;s files.&lt;br /&gt;
&lt;br /&gt;
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven&#039;t done so already. &lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;you&amp;gt;@dcerouter:~$&#039;&#039;&#039; sudo -s&lt;br /&gt;
2. Download the latest [http://www.nvidia.com/object/unix.html linux drivers from NVidia] (depending [http://www.nvidia.com/object/IO_32667.html on your hardware], one of versions: 1XX.XX.XX, 1.0-96xx or 1.0-71XX), if you haven&#039;t done so already.  When you have found the URL for downloading the package on the nvidia site you could download it like this:&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; wget &amp;lt;nowiki&amp;gt;http://us.download.nvidia.com/XFree86/Linux-x86/&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;/NVIDIA-Linux-x86-&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;-pkg1.run&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
3. Go to runlevel 1 to stop the currently running X-server. &lt;br /&gt;
&lt;br /&gt;
NB: There was no need for me to run this command as I was already in Level 1 - It just locked up the keyboard. --[[User:Mortar|Mortar]] 18:12, 6 January 2008 (MST)&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; telinit 1 &lt;br /&gt;
4. Execute the installer and follow instructions.  Ignore the warning about runlevel 1 and don&#039;t bother looking for precompiled drivers.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; sh NVIDIA-Linux-x86-&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;-pkg1.run&lt;br /&gt;
5. Now it needs to be configured.  The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the AVWizard for some reason is unable to set your up your screens to your liking, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
If the AVWizard crashes (as it did for me when installing the legacy drivers) try setting the &#039;&#039;&#039;driver&#039;&#039;&#039; option in the &#039;&#039;xorg.conf&#039;&#039; file to &#039;&#039;&#039;vesa&#039;&#039;&#039;, go through the AVWizard and then change it back. --[[User:Zaerc|Zaerc]] 15:14, 5 June 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
=== Intel Chipsets ===&lt;br /&gt;
There is a renewed interest in the Intel graphics chipsets since Intel released the drivers under the GPL. Currently the Intel driver still cannot support UI2 with Alphablending but they will support UI2 with Overlay very nicely and video performance is excellent. LinuxMCE versions after Beta4 have full support for configuring the Intel driver in the AVwizard.&lt;br /&gt;
&lt;br /&gt;
From LinuxMCE-0710 Beta4 onwards LinuxMCE will install the newer intel driver by default - so the instructions below are only useful if your still running LinuxMCE-0704.&lt;br /&gt;
&lt;br /&gt;
==== For LinuxMCE-0704 ====&lt;br /&gt;
&lt;br /&gt;
You will want to make sure you are using the newer intel drivers from http://packages.ubuntu.com/gutsy/i386/xserver-xorg-video-intel/download for i386. These replace the older i810, etc. drivers and should cover all the modern intel chipsets. The name for this driver is &#039;intel&#039; and would replace the older &#039;i810&#039; drivers.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using i810 driver make sure you add Option &amp;quot;LinearAlloc&amp;quot; &amp;quot;8160&amp;quot; to xorg.conf or video players will crash with X11 error: BadAlloc.&lt;br /&gt;
&lt;br /&gt;
From man i810:&lt;br /&gt;
   Option &amp;quot;LinearAlloc&amp;quot; &amp;quot;integer&amp;quot;&lt;br /&gt;
          Allows  more  memory  for  the offscreen allocator. This usually&lt;br /&gt;
          helps in situations where HDTV movies are required to  play  but&lt;br /&gt;
          not  enough  offscreen  memory is usually available. Set this to&lt;br /&gt;
          8160 for upto 1920x1080 HDTV support.  Default 0KB (off).&lt;br /&gt;
&lt;br /&gt;
==== potential problem ====&lt;br /&gt;
&lt;br /&gt;
with some drivers/installation, booting a media director may lead to modifying its xorg.conf file. that happened with lmce 7.10 DVD installation and an md with &#039;&#039;&#039;Intel Corporation 82G33/G31 Express Integrated Graphics Controller&#039;&#039;&#039; and led to using the vesa drivers &amp;lt;br /&amp;gt;&lt;br /&gt;
one solution is:&lt;br /&gt;
#follow [[Custom_Display_Resolutions#Step_4:_Prevent_LinuxMCE_from_changing_the_Xorg_config|prevent lmce from changing xorg]] (basically, insert a new line with exit 0 on 2nd line of &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; )&lt;br /&gt;
#run &#039;&#039;&#039;dpkg-reconfigure xserver-xorg&#039;&#039;&#039; to generate a clean new xorg.conf&lt;br /&gt;
#reboot the md&lt;br /&gt;
&lt;br /&gt;
=== Via Chipsets ===&lt;br /&gt;
Use the Openchrome or Via Unichrome drivers. The Via Unichrome drivers can be downloaded from [http://www.viaarena.com/default.aspx?PageID=2&amp;amp;OSID=45&amp;amp;CatID=3220]&lt;br /&gt;
&lt;br /&gt;
At the time of this writing (10/04/08), the binary Via Unichrome driver (released december 2007) works best (stable, good 2d and 3d) on my Via Mini ITX with CLE266 integerated graphics system. It is able to run UI2 medium with very good performance. &lt;br /&gt;
There is a crash at bootup (with any via driver) if the complete runlevel 2 starts. &lt;br /&gt;
This issue can be worked around by booting recovery mode and manually starting only /etc/init.d/kdm as root.&lt;br /&gt;
Issue under investigation - will update here when good workaround is done.&lt;br /&gt;
Contact zeratul at fastmail.fm for latest status/tips&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;HOW-TO VIA Openchrome driver for xorg:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
For VIA CX700M2 UniChrome PRO II Graphics (1&amp;quot; VIA units) or mainly via graphics:&amp;lt;br&amp;gt;&lt;br /&gt;
===NOTE:[[User:ddamron|ddamron]] Monday June 30, 2008===&lt;br /&gt;
 Burgiman&#039;s instructions did NOT work for me. &lt;br /&gt;
 Take that for what it&#039;s worth. &lt;br /&gt;
 I had better success installing the VIA Unichrome Driver, and UI1.  Use CLE266 mode.&lt;br /&gt;
 If you have more success, please update this page&lt;br /&gt;
 Dan&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;UPDATED FOR 0710!&#039;&#039;&#039;&lt;br /&gt;
--[[User:Burgiman|burgi]] 11:47, 2 June 2008 (PDT)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;shell into your box and do the following:&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
  apt-get install build-essential automake1.9 libtool x11proto-* libgl1-mesa-dev makedepend libxxf86vm-dev libexpat1-dev libexpat1 libxmu-dev xtrans-dev libpng12-dev libxcomposite-dev libxfixes-dev libxdamage-dev libxrandr-dev libxrender-dev libstartup-notification0-dev libgconf2-dev&lt;br /&gt;
&lt;br /&gt;
 cd /usr/src&lt;br /&gt;
 svn checkout http://svn.openchrome.org/svn/trunk openchrome&lt;br /&gt;
 cd openchrome*&lt;br /&gt;
 ./autogen.sh --prefix=/usr&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Now we have to edit /etc/X11/xorg.conf and change the device driver to via openchrome:&amp;lt;br&amp;gt;&lt;br /&gt;
 vi /etc/X11/xorg.conf&lt;br /&gt;
Go to&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
and change&lt;br /&gt;
 Driver &amp;quot;vesa&amp;quot; &lt;br /&gt;
to&lt;br /&gt;
 Driver &amp;quot;openchrome&amp;quot;&lt;br /&gt;
save and test the compiled new driver with a: &amp;lt;br&amp;gt;&lt;br /&gt;
 X :1&lt;br /&gt;
and if your xwindow comes up, you can reboot and have fun&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Burgiman|burgi]] 13:37, 3 March 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
=== Other Chipsets ===&lt;br /&gt;
Please help out by adding more if you can.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the X-server (and thus also the AVWizard) is unable to start, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
=== Getting started ===&lt;br /&gt;
Start by making a backup copy of the &#039;&#039;/etc/X11/xorg.conf&#039;&#039; file (even if it doesn&#039;t work it might contain settings you could need).  In this example we will start from scratch and edit the configuration file step by step to get the main display setup.  &lt;br /&gt;
&lt;br /&gt;
Some of these steps require that there will be no X-server active on the system, the easiest way to achieve this is to boot in &#039;&#039;rescue-mode&#039;&#039;, just hit [Esc] when [[Grub]] tells you to during the startup of your machine and select the right line from the menu.  Another way is to go to a text-mode console (aka. terminal) with [CTRL]-[ALT]-[F1], [[Logging In|log in]], become root and issue the command:&lt;br /&gt;
 telinit 1&lt;br /&gt;
This wil stop the running X-server and drop you into rescue mode as well.  &lt;br /&gt;
&lt;br /&gt;
One of the advantages is that now you can start and stop the X-server by hand with an alternative configuration file and without having to reboot or even start an entire desktop environment.&lt;br /&gt;
&lt;br /&gt;
=== Generating a template ===&lt;br /&gt;
These instructions were originally written for ATI chipsets, so they might need to be adjusted and updated a bit.  Not all of the specific options may be relevant for your chipset. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;While there is no (other) X-server running&#039;&#039;&#039; you can create a template configuration file by running:&lt;br /&gt;
 X -configure&lt;br /&gt;
This will create a file called xorg.conf.new in your &#039;&#039;home&#039;&#039; directory, test it with the following command and hit [CTRL]-[ALT]-[Backspace] when done:&lt;br /&gt;
 X -config ~/xorg.conf.new&lt;br /&gt;
Within a few seconds a gray bitpattern should show up with an &#039;X&#039; shaped mouse cursor.  If the screen is distorted or reports the refresh rate to be out of range then you will either have to specify the proper refreshrate limitations for your screen or insert &amp;quot;modelines&amp;quot; for the resolution(s) you want to use (see below).  &lt;br /&gt;
&lt;br /&gt;
When you&#039;re satisfied you can overwrite &#039;&#039;/etc/X11/xorg.conf&#039;&#039; with this file to make it the default (you did make a backup didn&#039;t you?), once you have done that you can use &amp;quot;startx&amp;quot; to test and have the use of your desktop as well.  This should at least be enough to allow the use of a graphic configuration tool (like the [[AVWizard]] for instance) to set up your display further.  More advanced manual configuration options can be found below.&lt;br /&gt;
&lt;br /&gt;
Here is an example of such a generated file:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier     &amp;quot;X.org Configured&amp;quot;&lt;br /&gt;
        Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
        InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Files&amp;quot;&lt;br /&gt;
        RgbPath      &amp;quot;/etc/X11/rgb&amp;quot;&lt;br /&gt;
        ModulePath   &amp;quot;/usr/lib/xorg/modules&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/cyrillic&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;extmod&amp;quot;&lt;br /&gt;
        Load  &amp;quot;record&amp;quot;&lt;br /&gt;
        Load  &amp;quot;xtrap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;GLcore&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;auto&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
        Option      &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5 6 7&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ### Available Driver options are:-&lt;br /&gt;
        ### Values: &amp;amp;lt;i&amp;amp;gt;: integer, &amp;lt;f&amp;gt;: float, &amp;lt;bool&amp;gt;: &amp;quot;True&amp;quot;/&amp;quot;False&amp;quot;,&lt;br /&gt;
        ### &amp;lt;string&amp;gt;: &amp;quot;String&amp;quot;, &amp;lt;freq&amp;gt;: &amp;quot;&amp;lt;f&amp;gt; Hz/kHz/MHz&amp;quot;&lt;br /&gt;
        ### [arg]: arg optional&lt;br /&gt;
        #Option     &amp;quot;ShadowFB&amp;quot;                  # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;DefaultRefresh&amp;quot;            # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;ModeSetClearScreen&amp;quot;        # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
        &#039;&#039;VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BusID       &#039;&#039;&#039;&amp;quot;PCI:1:5:0&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device     &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     1&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     4&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     8&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     15&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     16&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note that the only thing really specific to my setup in this config file is &#039;&#039;BusID&#039;&#039;, if you only have one graphics adapter in your system this value can be omitted, otherwise the value(s) can be found with:&lt;br /&gt;
 X -scanpci&lt;br /&gt;
Where each card will need it&#039;s own Device Section in the config file.  The &amp;quot;VendorName&amp;quot; and &amp;quot;BoardName&amp;quot; settings are just labels and serve no real purpose other then being able to identify this particular device, which is usefull if you have more then one.&lt;br /&gt;
&lt;br /&gt;
We&#039;ll be using this sample configuration as a starting point in the other examples below, the comments (lines starting with &#039;&#039;#&#039;&#039; can be safely removed as well as the &#039;&#039;&amp;quot;Display&amp;quot;&#039;&#039; subsections for the colordepths we don&#039;t plan on using.&lt;br /&gt;
&lt;br /&gt;
=== Refresh rate / ModeLine ===&lt;br /&gt;
The easiest way to sort this problem is to let the X-server figure this out by not specifying the limits of your screen.  However this often fails, leaving you with an unusable display.  Simply look up &#039;&#039;&#039;your screen&#039;&#039;&#039;&#039;s refresh rates in the documentation and add them like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
        &#039;&#039;HorizSync     &#039;&#039;&#039;27-102&#039;&#039;&#039; # kHz&#039;&#039;&lt;br /&gt;
        &#039;&#039;VertRefresh   &#039;&#039;&#039;50-160&#039;&#039;&#039; # Hz&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Alternatively you could specify a &amp;quot;ModeLine&amp;quot; for each resolution you want to use.  By using ModeLines you have much finer controll over the timings of the output signal generated by your videocard.  The drawback is that the timing values can be hard to get right.  &lt;br /&gt;
&lt;br /&gt;
Search the web for a &amp;quot;modeline generator&amp;quot;, and many of these will include instructions on how to add the modeline, but briefly, you just add it to the &amp;quot;Monitor&amp;quot; section.  Read the [http://en.wikipedia.org/wiki/Modeline wikipedia entry] to learn how to use modelines.  &lt;br /&gt;
* http://koala.ilog.fr/cgi-bin/nph-colas-modelines&lt;br /&gt;
* http://xtiming.sourceforge.net/cgi-bin/xtiming.pl&lt;br /&gt;
* http://www.bohne-lang.de/spec/linux/modeline/&lt;br /&gt;
* http://amlc.berlios.de/&lt;br /&gt;
* http://www.mythtv.org/wiki/index.php/Working_with_Modelines&lt;br /&gt;
If one modeline doesn&#039;t work perfectly, try another, perhaps from another generator, because they can vary so much.&lt;br /&gt;
&lt;br /&gt;
Using the wrong timings could in some (nowadays rare) occasions damage the hardware of your screen, so if it looks garbeled don&#039;t leave it like that for hours on end but hit [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] and readjust your settings.  Most modern screens however simply report that the signal is out of range if this happens.&lt;br /&gt;
&lt;br /&gt;
=== Colordepth and resolution ===&lt;br /&gt;
Specify the colordepth and resolution(s) you would like to use, like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device       &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor      &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        &#039;&#039;DefaultDepth &#039;&#039;&#039;24&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth      24&lt;br /&gt;
                &#039;&#039;Virtual    &#039;&#039;&#039;1600 1200&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
                &#039;&#039;Modes      &#039;&#039;&#039;&amp;quot;1600x1200&amp;quot; &amp;quot;1280x1024&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot; &amp;quot;512x384&amp;quot; &amp;quot;400x300&amp;quot; &amp;quot;320x240&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
As most people will only be using 24 bits anyway, I have removed the other redundant subsections.  &amp;quot;Virtual&amp;quot; is the size of your desktop and &amp;quot;Modes&amp;quot; are physical resolutions, you can flip through these by holding [CTRL]-[ALT] and pressing the plus or minus on the numeric keypad.  These are just examples, most people will only want to specify the resolution they actually use.&lt;br /&gt;
&lt;br /&gt;
=== DRI device permissions ===&lt;br /&gt;
This section is needed to have the X-server set the proper permissions on the DRI device during startup.  Simply add it to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Mode         0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Chipset driver ===&lt;br /&gt;
Change &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot; (or &amp;quot;&#039;&#039;&#039;ati&#039;&#039;&#039;&amp;quot;, depending on which drivers you installed earlier), as shown below, the old line is left as a comment in this example for clarity, but it&#039;s better to remove it as some scripts seem to find it confusing.  For Nvidia chipsets use &#039;&#039;&#039;nvidia&#039;&#039;&#039; or &#039;&#039;&#039;nv&#039;&#039;&#039; as the driver names (instead of &#039;&#039;&#039;fglrx&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
 &#039;&#039;#      Driver      &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;Driver      &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&lt;br /&gt;
        BusID       &amp;quot;PCI:1:5:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
If your X-server was running you will have to restart it completely for the changes to take effect, the easiest and most thorough way to do this is to reboot.&lt;br /&gt;
&lt;br /&gt;
=== Physical display size ===&lt;br /&gt;
Like specifying the refresh rate his is optional but sometimes necessary, most of the time it is either detected or some sane defaults are used but sometimes it isn&#039;t, which can result in unreadable font sizes.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
   DisplaySize &#039;&#039;&#039;155 95&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Where you have to replace the numbers with the physical &#039;&#039;&#039;width&#039;&#039;&#039; and &#039;&#039;&#039;height&#039;&#039;&#039; of your screen in millimeters (1&amp;quot; = 25mm), feel free to try mine, however these are for a small touchscreen.&lt;br /&gt;
&lt;br /&gt;
=== Disable composite ===&lt;br /&gt;
Aparently the ATI &#039;&#039;&#039;fglrx&#039;&#039;&#039; driver does not &#039;&#039;yet&#039;&#039; support composite with DRI.  So if you are using the fglrx driver, disable it by adding this to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
To be continued, I don&#039;t think this is enough to get UI2 completely (either mode) going yet.  Feel free to jump in anytime... &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things still to sort out amongst others (i.e. what is it, do we need it and what are the settings if any):&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;i2c&amp;quot;&lt;br /&gt;
        Load  &amp;quot;bitmap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;ddc&amp;quot;&lt;br /&gt;
        Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
        Load  &amp;quot;int10&amp;quot;&lt;br /&gt;
        Load  &amp;quot;vbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;speedo&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;v4l&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
        Option &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 #      Option      &amp;quot;RENDER&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
        Option      &amp;quot;PseudoColorVisuals&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;OpenGLOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VideoOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;DesktopSetup&amp;quot; &amp;quot;clone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
TV-out options, 2nd display, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== The AVWizard crashes X-windows ===&lt;br /&gt;
&lt;br /&gt;
Try setting the [[#Chipset_driver]] option to &#039;&#039;&#039;vesa&#039;&#039;&#039;, run the AVWizard again and then change the driver back to what it was.&lt;br /&gt;
&lt;br /&gt;
=== Black screen ===&lt;br /&gt;
&lt;br /&gt;
* Screen is black, after install seemed to go okay. You may have even seen the Kubuntu splash screen. See [[AVWizard]] on how to select the proper output.&lt;br /&gt;
&lt;br /&gt;
*One problem on nvidia-cards could be that it does not detect the right monitor.&lt;br /&gt;
&lt;br /&gt;
::Go to Console 1 ([Ctrl]+[Alt]+1) and edit /etc/X11/xorg.conf (nano -w /etc/X11/xorg.conf). Find the section ::Device with the driver nvidia add the line &amp;lt;pre&amp;gt;Option &amp;quot;ConnectedMonitor&amp;quot; &amp;quot;XXX&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
::where XXX is CRT, CRT-0, CRT-1, DVI-0, DVI-1, ...&lt;br /&gt;
::Save and exit (nano: Ctrl+x) and restart the computer. In my case it was &amp;quot;CRT-1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== X-windows won&#039;t start ===&lt;br /&gt;
&lt;br /&gt;
Reboot into rescue-mode if needed (hit [Esc] when [[Grub]] tells you to), and restore a working copy of your /etc/X11/xorg.conf, or edit it by hand to fix the problem. Test it with the command &amp;quot;X&amp;quot; and press [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] simultaneous to quit (alternative: use &amp;quot;startx&amp;quot; and get the full desktop, if any), then reboot when it works and you&#039;re done.&lt;br /&gt;
&lt;br /&gt;
=== Signal out of range ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[[#Refresh rate / ModeLine ]]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
=== Microscopic fonts in KDE ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[[#Physical_display_size]]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
If the above does not work, probably Xorg is calculating the DPI value in the wrong way.&lt;br /&gt;
This can be verified by having a look at the file /var/log/Xorg.0.log related to the MD with this issue searching for the line containing &amp;quot;DPI set to (x , y)&amp;quot;,where x and y are values that apply to the specific display.&lt;br /&gt;
&lt;br /&gt;
If those values are too small, fonts will be displayed accordingly (i.e, VERY small)&lt;br /&gt;
&lt;br /&gt;
A workaround is to force Xorg to startup with a given DPI value.&lt;br /&gt;
&lt;br /&gt;
To achieve this the following steps are required:&lt;br /&gt;
&lt;br /&gt;
* edit the file /usr/pluto/bin/Start_X_Wrapper.sh on your MD where you are facing the font problem&lt;br /&gt;
* find the line beginning with xinit&lt;br /&gt;
* add &amp;quot;-dpi 96&amp;quot; (without quotes) at the end of this line&lt;br /&gt;
* save the file and reboot MD&lt;br /&gt;
&lt;br /&gt;
Obviously it is possible to set DPI to something different than 96, according to specific needs.&lt;br /&gt;
&lt;br /&gt;
Please note that after an LMCE update the startup script may be replaced by new ones, so the above workaround may have to be re-applied in order to keep fonts at the desired dimension.&lt;br /&gt;
&lt;br /&gt;
=== LinuxMCE keeps reconfiguring my display settings ===&lt;br /&gt;
&lt;br /&gt;
Add a line containing &#039;&#039;&#039;exit&#039;&#039;&#039; to the top of the &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; file.  After you do this you may experience difficulties running the AVWizard again, if so remove this line and add it back again after the wizard is finished.&lt;br /&gt;
&lt;br /&gt;
For LinuxMCE 710 simply comment out the line that says&lt;br /&gt;
   . /usr/pluto/bin/X-CleanupVideo.sh&lt;br /&gt;
This is the command that gets run that modifies the xorg.conf file on startup. This is different than above because if you put exit at the top your display will not get initialized.  And as above if you want to run the AVWizard you will need to uncomment this line.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.mythtv.org/wiki/index.php/Main_Page MythTV wiki] &lt;br /&gt;
* MythTV Experience [http://brentlagesse.net/~brent/mythtv.php]&lt;br /&gt;
* [[X_Configuration_Scripts]]&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Setting_Up_A_Development_Environment&amp;diff=15018</id>
		<title>Setting Up A Development Environment</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Setting_Up_A_Development_Environment&amp;diff=15018"/>
		<updated>2008-07-21T13:14:12Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* Setting Up the Development Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
See also: [[Building From Source]]&lt;br /&gt;
&lt;br /&gt;
I have seen a lot of questions on how to set up a development environment for LMCE.&lt;br /&gt;
As a person with limited programming experience in c++, I can tell you that you don&#039;t have to be a master-level programmer to get your feet wet&lt;br /&gt;
and examine the source code, and even make changes that add new features or fix existing bugs. It just takes a little patience, some help from experienced members,&lt;br /&gt;
and a willingness to learn. There is a lot of information and help available in the forums, the wiki, and the linuxmce channel on IRC freenode servers.&lt;br /&gt;
&lt;br /&gt;
That being said, dev work can also be risky business. You can seriously damage your installation compiling and testing changes, so &#039;&#039;&#039;USE THIS INFORMATION AT YOUR OWN RISK!&#039;&#039;&#039;&lt;br /&gt;
If you really want to get started developing, the best advice I can give is to get a separate computer to set up as a development machine, so you don&#039;t damage your existing LinuxMCE installation accidentally! That way, if you make a change that LMCE really doesn&#039;t like, you won&#039;t trash your personally installation. (Too bad I don&#039;t follow my own advice, as I&#039;ve done this before!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;The following tutorial represents my experiences only, and may not necessarily be the best or correct way to do things - though it has worked very well for me.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As I am a linux user, I am going to describe this process as I set up a development environment on my core from a computer running Ubuntu linux. Other linux variants will be very similar, if not the same. For Windows users, there is equivalent software that you can use, though I can&#039;t name any off of the top of my head - you will have to do your own research on that one.&lt;br /&gt;
&lt;br /&gt;
Be sure to set aside a free evening to set up your development environment, as it can take several hours to complete!&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Preface ==&lt;br /&gt;
The first thing I found surprising when I went to set up my first development environment is that it must be set up on your core. To my knowledge, you can&#039;t just make changes to the source on your desktop computer, compile them on your desktop computer, then upload them to the core. Everything must reside on the core, and you can have access to the source on your normal desktop over SSH (covered later). For those that aren&#039;t keen with working with a command line over ssh, this will take some getting used to (as was my case). But, once you get used to it, its not a bad development environment, and it even got me more familiar with the command line, and linux commands, which is something I&#039;ve been meaning to do anyways.&lt;br /&gt;
Lets get started...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting Up the Development Environment ==&lt;br /&gt;
Once you have a LinuxMCE Core up and running, the first thing we have to do is learn how to connect to it from our Desktop computer. On my Ubuntu desktop, I open a terminal via Applications-&amp;gt;Accessories-&amp;gt;Terminal. &lt;br /&gt;
We will now use SSH to connect to out core - enter the following into the terminal:&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
When prompted for a password, enter &amp;quot;linuxmce&amp;quot;.&lt;br /&gt;
&#039;&#039;(You may be prompted for a password several times during the setup of your development environment - this will always be &amp;quot;linuxmce&amp;quot;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Congratulations! You are now logged into the core over SSH from a remote computer! Now its time to install some packages needed for development. In the terminal, type:&lt;br /&gt;
 sudo apt-get install subversion build-essential ccache&lt;br /&gt;
This will install Subversion (SVN), which is needed to keep your local copy of the source code in sync with the latest changes, and well as some development libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For my development environment, I decided to keep everything in my Home directory. The source can actually go many places, but I prefer using the Home directory. Lets go there now...&lt;br /&gt;
 cd ~/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this time, the source code is located in the Charon-Merge branch (though it is supposed to be eventually a full merge with pluto). To check out the most recent source code, run the following:&lt;br /&gt;
  svn co http://svn.linuxmce.org/pluto/branches/charon-merge&lt;br /&gt;
&lt;br /&gt;
if you have already compiled the sources, the make wo&#039;nt install some packages required(since they are supposed to have already been installed). thus you need to run in charon-merge/&lt;br /&gt;
 make clean&lt;br /&gt;
 cp /usr/pluto/lib/* /src/lib/ -R&lt;br /&gt;
&lt;br /&gt;
And finally, lets do a compile. This is necessary to setup more development packages, populate the source code with make files, etc. (Don&#039;t worry, this won&#039;t alter your current installation!)  &lt;br /&gt;
 cd charon-merge&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 &lt;br /&gt;
Now go take a break. This part may take a while!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GREAT!&#039;&#039;&#039; You now have the most recent version of the source code available to you and you will be able to compile changes!  You can run svn update at any time from within the charon-merge directory to get the latest changes that have been committed to SVN.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that this is finished, you are now ready to compile changes in the source code, then copy the resulting file to the appropriate place in the core.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;&#039;A quick example&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Since I am familiar with the CM11A source, I will use it as an example...&lt;br /&gt;
First i cd into the CM11A directory&lt;br /&gt;
 cd ~/lmce/src/CM11A&lt;br /&gt;
Next I make changes to devicepoll.cpp..&lt;br /&gt;
Now I want to compile my changes.. But first I have found it good practice to delete any old object files etc. before compiling, so I usually run&lt;br /&gt;
 rm *.o&lt;br /&gt;
 rm CM11A&lt;br /&gt;
This removes the last resulting CM11A binary if present, as well as the object files that might be present from my last compile.&lt;br /&gt;
Next I compile the changes..&lt;br /&gt;
 make bin&lt;br /&gt;
Once it is finished compiling, I have a new CM11A binary that just needs moved to the right place in the core.. In this instance it is /usr/pluto/bin/ (/usr/pluto/lib/ is another hot-spot to check, usually for .so files)&lt;br /&gt;
First, I remove the original file that I will be replacing..&lt;br /&gt;
 sudo rm /usr/pluto/bin/CM11A&lt;br /&gt;
then I copy my newly compiled binary over..&lt;br /&gt;
 sudo cp CM11A /usr/pluto/bin/CM11A&lt;br /&gt;
Now with a &amp;quot;quick reload router&amp;quot; from one of my orbiters, my changes will be in effect!&lt;br /&gt;
&lt;br /&gt;
A quick note - if &amp;quot;make bin&amp;quot; does not work, you may need to run &amp;quot;make so&amp;quot; for some sources that end up being library files, and yet others require just &amp;quot;make&amp;quot;. I&#039;m not sure if there is a golden rule to all of this, but I just try each of them until one of them works. Then, for the most part, you can search /usr/pluto/bin and /usr/pluto/lib to see where the resulting compiled file should go.&lt;br /&gt;
Also, I have noticed that a &amp;quot;Full reload router&amp;quot; is necessary if you replace a library file (*.so)&lt;br /&gt;
&lt;br /&gt;
== Helpful Tools and Hints ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compiling changes and where to put them on the core&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As stated above, I am not sure if there is a golden rule to this, but depending on what you are trying to compile, you will have to use one of the following:&lt;br /&gt;
 make&lt;br /&gt;
 make bin&lt;br /&gt;
 make so&lt;br /&gt;
If you try one and get an error, try another one (i&#039;m sure there is a better approach to this!)&lt;br /&gt;
For the most part, you should be able to search through /usr/pluto/bin and /usr/pluto/lib to see where the resulting file should go.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using VNC to remotely view the on-screen orbiter&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As an Ubuntu user, I will explain it from how I do it from Ubuntu.&lt;br /&gt;
&lt;br /&gt;
First, ssh to the core, and install VNC&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
Now lets install VNC&lt;br /&gt;
 sudo apt-get install x11vnc&lt;br /&gt;
Ok, once it is installed, run the VNC Server from the core&lt;br /&gt;
 x11vnc&lt;br /&gt;
&lt;br /&gt;
Now that you have a VNC server running on the core, lets start the client on our Ubuntu desktop:&lt;br /&gt;
First, open another terminal on your desktop&lt;br /&gt;
now run the following command (in the new terminal, not the terminal that is SSH&#039;d into the core!)&lt;br /&gt;
 vncviewer 192.168.80.1:0&lt;br /&gt;
&lt;br /&gt;
Now you can take professional developer-grade screenshots of our on-screen orbiters!&lt;br /&gt;
(There are other tools available to take full recorded screencasts of these VNC sessions, but I&#039;ve never used one)&lt;br /&gt;
Also note, that the VNC playback is not at full framerate - this is normal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Navigating the core remotely with GUI&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Unless you like editing source code in a terminal with vim, you will want to make things easier on yourself, and set things up so you can graphically browse the directory tree on the core, and edit source code files with gedit or a similar editor...&lt;br /&gt;
In ubuntu, go to Places-&amp;gt;Connect To Server&lt;br /&gt;
A &amp;quot;Connect Tto Server&amp;quot; window will appear. Fill it out as follows:&lt;br /&gt;
Service Type - SSH&lt;br /&gt;
Server - 192.168.80.1&lt;br /&gt;
Port - 22&lt;br /&gt;
Folder - /&lt;br /&gt;
User Name - linuxmce&lt;br /&gt;
Name to use for connection - &amp;lt;anything you want&amp;gt; (I use Access Core Files)&lt;br /&gt;
&lt;br /&gt;
You will now have a network folder on your desktop that you can access files with - without having to use the command line. (the first time you will be prompted for a password, which of course is &#039;linuxmce&#039;. Double clicking files will now open them in your preferred desktop editor!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SSH-ing into a Media Director&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I&#039;m sure there is a better way, but here is what I do:&lt;br /&gt;
&lt;br /&gt;
1)ssh into the core&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
..enter password &#039;linuxmce&#039;&lt;br /&gt;
&lt;br /&gt;
2) navigate to /usr/pluto/diskless&lt;br /&gt;
 cd /usr/pluto/diskless&lt;br /&gt;
&lt;br /&gt;
3) get the &amp;quot;moon numbers&amp;quot; of the media directors&lt;br /&gt;
 ls&lt;br /&gt;
note that each media director has a unique 3-digit number.. you will need this number in the following steps..&lt;br /&gt;
&lt;br /&gt;
4) change over to the root user:&lt;br /&gt;
 sudo su&lt;br /&gt;
...enter password &#039;linuxmce&#039;&lt;br /&gt;
&lt;br /&gt;
5) ssh into one of the media directors&lt;br /&gt;
 ssh moonxxx&lt;br /&gt;
(xxx is the 3-digit number of one of the media directors)&lt;br /&gt;
&lt;br /&gt;
You are now in the Media Director&#039;s file system, be careful, as you are root!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing phpMyAdmin to examine database structure etc.&#039;&#039;&#039;&lt;br /&gt;
phpMyAdmin is a graphical (web based) mysql front end that makes looking through the vast LMCE databases effortless. While I would never recommend adding or removing anything directly to the database this way, having a view of the database structure and the ability to easily browse through the tables really helps to understand LMCE and how it works much better. It also makes for a good reference when you are looking for primary keys that are so popular as device data. Now you can look up all of your options.&lt;br /&gt;
&lt;br /&gt;
First, lets ssh into the core&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
(use password linuxmce)&lt;br /&gt;
&lt;br /&gt;
Now lets switch to the directory where the admin web pages are stored&lt;br /&gt;
 cd /var/www/&lt;br /&gt;
&lt;br /&gt;
...and download the tarball&lt;br /&gt;
 sudo wget http://internap.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.7-rc1-english.tar.gz&lt;br /&gt;
&lt;br /&gt;
Once the tarball is finished downloading, its time to extract it&lt;br /&gt;
 sudo tar -xzvf  phpMyAdmin-2.11.7-rc1-english.tar.gz&lt;br /&gt;
&lt;br /&gt;
You will now notice that if you list the directory contents (with ls), that you have a new phpMyAdmin-2.11.7-rc1-english directory. Thats fine, but who wants to type that in their web browser when they want to use phpMyAdmin. Lets rename it to something easier&lt;br /&gt;
 sudo mv phpMyAdmin-2.11.7-rc1-english phpmyadmin&lt;br /&gt;
&lt;br /&gt;
thats it! Now you can check out the database and learn from it. Again, be careful, as you can really, truely screw things up internally if you go adding and deleting entries.&lt;br /&gt;
To go to phpMyAdmin, in your web browser, just type 192.168.80.1/phpmyadmin&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Building_From_Source&amp;diff=15017</id>
		<title>Building From Source</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Building_From_Source&amp;diff=15017"/>
		<updated>2008-07-21T13:04:42Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* Preparations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Building on 0710 =&lt;br /&gt;
See also: [[Setting Up A Development Environment]]&lt;br /&gt;
== Preparations ==&lt;br /&gt;
Set up a directory for the development tree. For example type the following in a shell as &amp;quot;linuxmce&amp;quot; user:&lt;br /&gt;
 cd /usr/src&lt;br /&gt;
 sudo mkdir lmce&lt;br /&gt;
 sudo chown linuxmce lmce&lt;br /&gt;
 cd lmce&lt;br /&gt;
&lt;br /&gt;
Install Subversion&lt;br /&gt;
 sudo apt-get install subversion&lt;br /&gt;
&lt;br /&gt;
Fetch the source:&lt;br /&gt;
 svn co http://svn.linuxmce.org/pluto/branches/charon-merge&lt;br /&gt;
&lt;br /&gt;
Copy the libraries needed for to bootstrap:&lt;br /&gt;
 cp /usr/pluto/lib/* trunk/src/lib&lt;br /&gt;
&lt;br /&gt;
Run configure:&lt;br /&gt;
 cd trunk&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
For the svn.linuxmce.com source there is no configure script yet. Run these to prepare bootstrapping (ONLY FOR THE SVN.LINUXMCE.COM source, NOT the charonmedia):&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_defines-&amp;gt;/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
 find . -iname Makefile -exec sed -e &#039;s/&amp;lt;-mkr_t_compile_libs-&amp;gt;/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/&#039; -i &#039;{}&#039; \;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
Run make:&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Building on 0604 =&lt;br /&gt;
&#039;&#039;&#039;Source code for LinuxMCE 0704 is on the [[Mirrors]].  This page hasn&#039;t been updated for 0704 yet&#039;&#039;&#039;&lt;br /&gt;
== Before You Begin==&lt;br /&gt;
The build script is tested and designed to run on Ubuntu 6.10 x86 but it can be changed to work on various platforms or at least to give others a starting point on how to do it. It&#039;ll be harder to port it to non deb based distributions since the software depends on many debian specific stuff but this i hope  to be change over time.&lt;br /&gt;
&lt;br /&gt;
Also since this script was written with a single goal in mind -- to get everything done -- I might have left, by mistake, some lines of code that may not run on your computers (hardcoded paths and stuff like this). But I rely on you to at least try to fix them before asking for help but if the problem is not so obvious I would gladly give you advice.&lt;br /&gt;
&lt;br /&gt;
== The Build Scripts ==&lt;br /&gt;
The build scripts are in sourceforge svn so to get them you will need subversion installed.&lt;br /&gt;
 sudo apt-get install subversion&lt;br /&gt;
 svn co https://linuxmce.svn.sourceforge.net/svnroot/linuxmce/trunk/src/Ubuntu_Helpers&lt;br /&gt;
&lt;br /&gt;
Before running the build script, i insist that you take a look over it so that you know what is doing and not run it blindly. &lt;br /&gt;
&lt;br /&gt;
The main script that you need to run would be BuildUbuntu.sh. This script should checkout the svn for you, compile the source, build the packages, build an iso and everything else so you can end up with a usable linuxmce build. In this script you can find some functions that are called one by one to perform several operations, here&#039;s a short description:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;Install_Build_Needed_Packages&#039;&#039;: This will install all the deb packages that you will need to build the sourcecode. Probably you will only need to run it once and comment it after the first run on BuildPackages.sh.&lt;br /&gt;
*&#039;&#039;Create Diskless Archive&#039;&#039;: Runs a debootstrap to create a base filesystem for Diskless Media Directors. It&#039;s needed later when it&#039;ll be packed in a deb packages. You also don&#039;t need to run this every time but is safer to leave it uncommented so that the diskless archive will have the latest ubuntu updates.&lt;br /&gt;
*&#039;&#039;Import_Skins&#039;&#039;: Since linuxmce uses a lot of pngs for the all sort of skins, you won&#039;t find them in the svn. This function will download a tar.bz2 archive with all the skins and unpack it so that the package builder will now where to take it from.&lt;br /&gt;
*&#039;&#039;Checkout_Svn&#039;&#039;: Will do a svn checkout on sourceforge to get all the needed sources&lt;br /&gt;
*&#039;&#039;Build_Replacements&#039;&#039;: LinuxMCE needs some 3rd party some packages that are not part of ubuntu distribution. This function will build / get them for you.&lt;br /&gt;
*&#039;&#039;Build_MakeRelease_Binary&#039;&#039;: This function compiles the building tools that will do the compilation / package creation of all the other packages by using information stored in the pluto_main_build database.&lt;br /&gt;
*&#039;&#039;Import_Build_Database&#039;&#039;: Imports a fresh copy of the pluto databases needed at build time.&lt;br /&gt;
*&#039;&#039;Create_Fake_Windows_Binaries&#039;&#039;: Orbiter and other aplications don&#039;t only run on Linux. Usually the pluto guys compile their applications on windows and put the binaries on the linux build machine so that package creating application will know where to get them. Since we can&#039;t compile windows binaries on linux i made this function that creates some fake binary files with a touch so that the package builder won&#039;t fail to run.&lt;br /&gt;
*&#039;&#039;Build_Pluto_Stuff&#039;&#039;: Uses MakeRelase to compile the sources and build packages out of them&lt;br /&gt;
*&#039;&#039;Create_Local_Repository&#039;&#039;: Optional you can create a local repository so that you can easily test your debs.&lt;br /&gt;
&lt;br /&gt;
There is also the get-packages.sh script that is called by BuildUbuntu.sh and has the goal to create and iso with all the needed packages for a linuxmce installation.&lt;br /&gt;
&lt;br /&gt;
== Source Code Location ==&lt;br /&gt;
&lt;br /&gt;
Our source code is located on sourceforge and you can get it by svn from : http://svn.charonmedia.org/svn/&lt;br /&gt;
&lt;br /&gt;
The png used for the skins are located here : http://www.linuxmce.com/linuxmce-skins-1.0.tar.bz2&lt;br /&gt;
&lt;br /&gt;
The sql dumps of the databases needed for the build : http://www.linuxmce.com/linuxmce-databases-1.0.tar.gz&lt;br /&gt;
&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Setting_Up_A_Development_Environment&amp;diff=15016</id>
		<title>Setting Up A Development Environment</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Setting_Up_A_Development_Environment&amp;diff=15016"/>
		<updated>2008-07-21T13:03:30Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* Setting Up the Development Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
See also: [[Building From Source]]&lt;br /&gt;
&lt;br /&gt;
I have seen a lot of questions on how to set up a development environment for LMCE.&lt;br /&gt;
As a person with limited programming experience in c++, I can tell you that you don&#039;t have to be a master-level programmer to get your feet wet&lt;br /&gt;
and examine the source code, and even make changes that add new features or fix existing bugs. It just takes a little patience, some help from experienced members,&lt;br /&gt;
and a willingness to learn. There is a lot of information and help available in the forums, the wiki, and the linuxmce channel on IRC freenode servers.&lt;br /&gt;
&lt;br /&gt;
That being said, dev work can also be risky business. You can seriously damage your installation compiling and testing changes, so &#039;&#039;&#039;USE THIS INFORMATION AT YOUR OWN RISK!&#039;&#039;&#039;&lt;br /&gt;
If you really want to get started developing, the best advice I can give is to get a separate computer to set up as a development machine, so you don&#039;t damage your existing LinuxMCE installation accidentally! That way, if you make a change that LMCE really doesn&#039;t like, you won&#039;t trash your personally installation. (Too bad I don&#039;t follow my own advice, as I&#039;ve done this before!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;The following tutorial represents my experiences only, and may not necessarily be the best or correct way to do things - though it has worked very well for me.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As I am a linux user, I am going to describe this process as I set up a development environment on my core from a computer running Ubuntu linux. Other linux variants will be very similar, if not the same. For Windows users, there is equivalent software that you can use, though I can&#039;t name any off of the top of my head - you will have to do your own research on that one.&lt;br /&gt;
&lt;br /&gt;
Be sure to set aside a free evening to set up your development environment, as it can take several hours to complete!&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Preface ==&lt;br /&gt;
The first thing I found surprising when I went to set up my first development environment is that it must be set up on your core. To my knowledge, you can&#039;t just make changes to the source on your desktop computer, compile them on your desktop computer, then upload them to the core. Everything must reside on the core, and you can have access to the source on your normal desktop over SSH (covered later). For those that aren&#039;t keen with working with a command line over ssh, this will take some getting used to (as was my case). But, once you get used to it, its not a bad development environment, and it even got me more familiar with the command line, and linux commands, which is something I&#039;ve been meaning to do anyways.&lt;br /&gt;
Lets get started...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting Up the Development Environment ==&lt;br /&gt;
Once you have a LinuxMCE Core up and running, the first thing we have to do is learn how to connect to it from our Desktop computer. On my Ubuntu desktop, I open a terminal via Applications-&amp;gt;Accessories-&amp;gt;Terminal. &lt;br /&gt;
We will now use SSH to connect to out core - enter the following into the terminal:&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
When prompted for a password, enter &amp;quot;linuxmce&amp;quot;.&lt;br /&gt;
&#039;&#039;(You may be prompted for a password several times during the setup of your development environment - this will always be &amp;quot;linuxmce&amp;quot;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Congratulations! You are now logged into the core over SSH from a remote computer! Now its time to install some packages needed for development. In the terminal, type:&lt;br /&gt;
 sudo apt-get install subversion build-essential ccache&lt;br /&gt;
This will install Subversion (SVN), which is needed to keep your local copy of the source code in sync with the latest changes, and well as some development libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For my development environment, I decided to keep everything in my Home directory. The source can actually go many places, but I prefer using the Home directory. Lets go there now...&lt;br /&gt;
 cd ~/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this time, the source code is located in the Charon-Merge branch (though it is supposed to be eventually a full merge with pluto). To check out the most recent source code, run the following:&lt;br /&gt;
  svn co http://svn.linuxmce.org/pluto/branches/charon-merge&lt;br /&gt;
&lt;br /&gt;
You may need to do:&lt;br /&gt;
 cp /usr/pluto/lib/* charon-merge/src/lib/ -R&lt;br /&gt;
&lt;br /&gt;
And finally, lets do a compile. This is necessary to setup more development packages, populate the source code with make files, etc. (Don&#039;t worry, this won&#039;t alter your current installation!)  &lt;br /&gt;
 cd charon-merge&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
It may be required to run &amp;quot;make clean&amp;quot; if the sources have yet been compiled, since it installs required packages ont your computer&lt;br /&gt;
 &lt;br /&gt;
Now go take a break. This part may take a while!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GREAT!&#039;&#039;&#039; You now have the most recent version of the source code available to you and you will be able to compile changes!  You can run svn update at any time from within the charon-merge directory to get the latest changes that have been committed to SVN.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that this is finished, you are now ready to compile changes in the source code, then copy the resulting file to the appropriate place in the core.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;&#039;A quick example&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Since I am familiar with the CM11A source, I will use it as an example...&lt;br /&gt;
First i cd into the CM11A directory&lt;br /&gt;
 cd ~/lmce/src/CM11A&lt;br /&gt;
Next I make changes to devicepoll.cpp..&lt;br /&gt;
Now I want to compile my changes.. But first I have found it good practice to delete any old object files etc. before compiling, so I usually run&lt;br /&gt;
 rm *.o&lt;br /&gt;
 rm CM11A&lt;br /&gt;
This removes the last resulting CM11A binary if present, as well as the object files that might be present from my last compile.&lt;br /&gt;
Next I compile the changes..&lt;br /&gt;
 make bin&lt;br /&gt;
Once it is finished compiling, I have a new CM11A binary that just needs moved to the right place in the core.. In this instance it is /usr/pluto/bin/ (/usr/pluto/lib/ is another hot-spot to check, usually for .so files)&lt;br /&gt;
First, I remove the original file that I will be replacing..&lt;br /&gt;
 sudo rm /usr/pluto/bin/CM11A&lt;br /&gt;
then I copy my newly compiled binary over..&lt;br /&gt;
 sudo cp CM11A /usr/pluto/bin/CM11A&lt;br /&gt;
Now with a &amp;quot;quick reload router&amp;quot; from one of my orbiters, my changes will be in effect!&lt;br /&gt;
&lt;br /&gt;
A quick note - if &amp;quot;make bin&amp;quot; does not work, you may need to run &amp;quot;make so&amp;quot; for some sources that end up being library files, and yet others require just &amp;quot;make&amp;quot;. I&#039;m not sure if there is a golden rule to all of this, but I just try each of them until one of them works. Then, for the most part, you can search /usr/pluto/bin and /usr/pluto/lib to see where the resulting compiled file should go.&lt;br /&gt;
Also, I have noticed that a &amp;quot;Full reload router&amp;quot; is necessary if you replace a library file (*.so)&lt;br /&gt;
&lt;br /&gt;
== Helpful Tools and Hints ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compiling changes and where to put them on the core&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As stated above, I am not sure if there is a golden rule to this, but depending on what you are trying to compile, you will have to use one of the following:&lt;br /&gt;
 make&lt;br /&gt;
 make bin&lt;br /&gt;
 make so&lt;br /&gt;
If you try one and get an error, try another one (i&#039;m sure there is a better approach to this!)&lt;br /&gt;
For the most part, you should be able to search through /usr/pluto/bin and /usr/pluto/lib to see where the resulting file should go.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using VNC to remotely view the on-screen orbiter&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As an Ubuntu user, I will explain it from how I do it from Ubuntu.&lt;br /&gt;
&lt;br /&gt;
First, ssh to the core, and install VNC&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
Now lets install VNC&lt;br /&gt;
 sudo apt-get install x11vnc&lt;br /&gt;
Ok, once it is installed, run the VNC Server from the core&lt;br /&gt;
 x11vnc&lt;br /&gt;
&lt;br /&gt;
Now that you have a VNC server running on the core, lets start the client on our Ubuntu desktop:&lt;br /&gt;
First, open another terminal on your desktop&lt;br /&gt;
now run the following command (in the new terminal, not the terminal that is SSH&#039;d into the core!)&lt;br /&gt;
 vncviewer 192.168.80.1:0&lt;br /&gt;
&lt;br /&gt;
Now you can take professional developer-grade screenshots of our on-screen orbiters!&lt;br /&gt;
(There are other tools available to take full recorded screencasts of these VNC sessions, but I&#039;ve never used one)&lt;br /&gt;
Also note, that the VNC playback is not at full framerate - this is normal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Navigating the core remotely with GUI&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Unless you like editing source code in a terminal with vim, you will want to make things easier on yourself, and set things up so you can graphically browse the directory tree on the core, and edit source code files with gedit or a similar editor...&lt;br /&gt;
In ubuntu, go to Places-&amp;gt;Connect To Server&lt;br /&gt;
A &amp;quot;Connect Tto Server&amp;quot; window will appear. Fill it out as follows:&lt;br /&gt;
Service Type - SSH&lt;br /&gt;
Server - 192.168.80.1&lt;br /&gt;
Port - 22&lt;br /&gt;
Folder - /&lt;br /&gt;
User Name - linuxmce&lt;br /&gt;
Name to use for connection - &amp;lt;anything you want&amp;gt; (I use Access Core Files)&lt;br /&gt;
&lt;br /&gt;
You will now have a network folder on your desktop that you can access files with - without having to use the command line. (the first time you will be prompted for a password, which of course is &#039;linuxmce&#039;. Double clicking files will now open them in your preferred desktop editor!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SSH-ing into a Media Director&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I&#039;m sure there is a better way, but here is what I do:&lt;br /&gt;
&lt;br /&gt;
1)ssh into the core&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
..enter password &#039;linuxmce&#039;&lt;br /&gt;
&lt;br /&gt;
2) navigate to /usr/pluto/diskless&lt;br /&gt;
 cd /usr/pluto/diskless&lt;br /&gt;
&lt;br /&gt;
3) get the &amp;quot;moon numbers&amp;quot; of the media directors&lt;br /&gt;
 ls&lt;br /&gt;
note that each media director has a unique 3-digit number.. you will need this number in the following steps..&lt;br /&gt;
&lt;br /&gt;
4) change over to the root user:&lt;br /&gt;
 sudo su&lt;br /&gt;
...enter password &#039;linuxmce&#039;&lt;br /&gt;
&lt;br /&gt;
5) ssh into one of the media directors&lt;br /&gt;
 ssh moonxxx&lt;br /&gt;
(xxx is the 3-digit number of one of the media directors)&lt;br /&gt;
&lt;br /&gt;
You are now in the Media Director&#039;s file system, be careful, as you are root!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing phpMyAdmin to examine database structure etc.&#039;&#039;&#039;&lt;br /&gt;
phpMyAdmin is a graphical (web based) mysql front end that makes looking through the vast LMCE databases effortless. While I would never recommend adding or removing anything directly to the database this way, having a view of the database structure and the ability to easily browse through the tables really helps to understand LMCE and how it works much better. It also makes for a good reference when you are looking for primary keys that are so popular as device data. Now you can look up all of your options.&lt;br /&gt;
&lt;br /&gt;
First, lets ssh into the core&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
(use password linuxmce)&lt;br /&gt;
&lt;br /&gt;
Now lets switch to the directory where the admin web pages are stored&lt;br /&gt;
 cd /var/www/&lt;br /&gt;
&lt;br /&gt;
...and download the tarball&lt;br /&gt;
 sudo wget http://internap.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.7-rc1-english.tar.gz&lt;br /&gt;
&lt;br /&gt;
Once the tarball is finished downloading, its time to extract it&lt;br /&gt;
 sudo tar -xzvf  phpMyAdmin-2.11.7-rc1-english.tar.gz&lt;br /&gt;
&lt;br /&gt;
You will now notice that if you list the directory contents (with ls), that you have a new phpMyAdmin-2.11.7-rc1-english directory. Thats fine, but who wants to type that in their web browser when they want to use phpMyAdmin. Lets rename it to something easier&lt;br /&gt;
 sudo mv phpMyAdmin-2.11.7-rc1-english phpmyadmin&lt;br /&gt;
&lt;br /&gt;
thats it! Now you can check out the database and learn from it. Again, be careful, as you can really, truely screw things up internally if you go adding and deleting entries.&lt;br /&gt;
To go to phpMyAdmin, in your web browser, just type 192.168.80.1/phpmyadmin&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Setting_Up_A_Development_Environment&amp;diff=15015</id>
		<title>Setting Up A Development Environment</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Setting_Up_A_Development_Environment&amp;diff=15015"/>
		<updated>2008-07-21T13:01:17Z</updated>

		<summary type="html">&lt;p&gt;Guigolum: /* Setting Up the Development Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
See also: [[Building From Source]]&lt;br /&gt;
&lt;br /&gt;
I have seen a lot of questions on how to set up a development environment for LMCE.&lt;br /&gt;
As a person with limited programming experience in c++, I can tell you that you don&#039;t have to be a master-level programmer to get your feet wet&lt;br /&gt;
and examine the source code, and even make changes that add new features or fix existing bugs. It just takes a little patience, some help from experienced members,&lt;br /&gt;
and a willingness to learn. There is a lot of information and help available in the forums, the wiki, and the linuxmce channel on IRC freenode servers.&lt;br /&gt;
&lt;br /&gt;
That being said, dev work can also be risky business. You can seriously damage your installation compiling and testing changes, so &#039;&#039;&#039;USE THIS INFORMATION AT YOUR OWN RISK!&#039;&#039;&#039;&lt;br /&gt;
If you really want to get started developing, the best advice I can give is to get a separate computer to set up as a development machine, so you don&#039;t damage your existing LinuxMCE installation accidentally! That way, if you make a change that LMCE really doesn&#039;t like, you won&#039;t trash your personally installation. (Too bad I don&#039;t follow my own advice, as I&#039;ve done this before!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;The following tutorial represents my experiences only, and may not necessarily be the best or correct way to do things - though it has worked very well for me.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As I am a linux user, I am going to describe this process as I set up a development environment on my core from a computer running Ubuntu linux. Other linux variants will be very similar, if not the same. For Windows users, there is equivalent software that you can use, though I can&#039;t name any off of the top of my head - you will have to do your own research on that one.&lt;br /&gt;
&lt;br /&gt;
Be sure to set aside a free evening to set up your development environment, as it can take several hours to complete!&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Preface ==&lt;br /&gt;
The first thing I found surprising when I went to set up my first development environment is that it must be set up on your core. To my knowledge, you can&#039;t just make changes to the source on your desktop computer, compile them on your desktop computer, then upload them to the core. Everything must reside on the core, and you can have access to the source on your normal desktop over SSH (covered later). For those that aren&#039;t keen with working with a command line over ssh, this will take some getting used to (as was my case). But, once you get used to it, its not a bad development environment, and it even got me more familiar with the command line, and linux commands, which is something I&#039;ve been meaning to do anyways.&lt;br /&gt;
Lets get started...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting Up the Development Environment ==&lt;br /&gt;
Once you have a LinuxMCE Core up and running, the first thing we have to do is learn how to connect to it from our Desktop computer. On my Ubuntu desktop, I open a terminal via Applications-&amp;gt;Accessories-&amp;gt;Terminal. &lt;br /&gt;
We will now use SSH to connect to out core - enter the following into the terminal:&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
When prompted for a password, enter &amp;quot;linuxmce&amp;quot;.&lt;br /&gt;
&#039;&#039;(You may be prompted for a password several times during the setup of your development environment - this will always be &amp;quot;linuxmce&amp;quot;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Congratulations! You are now logged into the core over SSH from a remote computer! Now its time to install some packages needed for development. In the terminal, type:&lt;br /&gt;
 sudo apt-get install subversion build-essential ccache&lt;br /&gt;
This will install Subversion (SVN), which is needed to keep your local copy of the source code in sync with the latest changes, and well as some development libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For my development environment, I decided to keep everything in my Home directory. The source can actually go many places, but I prefer using the Home directory. Lets go there now...&lt;br /&gt;
 cd ~/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this time, the source code is located in the Charon-Merge branch (though it is supposed to be eventually a full merge with pluto). To check out the most recent source code, run the following:&lt;br /&gt;
  svn co http://svn.linuxmce.org/pluto/branches/charon-merge&lt;br /&gt;
&lt;br /&gt;
And finally, lets do a compile. This is necessary to setup more development packages, populate the source code with make files, etc. (Don&#039;t worry, this won&#039;t alter your current installation!)  &lt;br /&gt;
 cd charon-merge&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
It may be required to run &amp;quot;make clean&amp;quot; if the sources have yet been compiled, since it installs required packages ont your computer&lt;br /&gt;
 &lt;br /&gt;
Now go take a break. This part may take a while!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GREAT!&#039;&#039;&#039; You now have the most recent version of the source code available to you and you will be able to compile changes!  You can run svn update at any time from within the charon-merge directory to get the latest changes that have been committed to SVN.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that this is finished, you are now ready to compile changes in the source code, then copy the resulting file to the appropriate place in the core.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;&#039;A quick example&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Since I am familiar with the CM11A source, I will use it as an example...&lt;br /&gt;
First i cd into the CM11A directory&lt;br /&gt;
 cd ~/lmce/src/CM11A&lt;br /&gt;
Next I make changes to devicepoll.cpp..&lt;br /&gt;
Now I want to compile my changes.. But first I have found it good practice to delete any old object files etc. before compiling, so I usually run&lt;br /&gt;
 rm *.o&lt;br /&gt;
 rm CM11A&lt;br /&gt;
This removes the last resulting CM11A binary if present, as well as the object files that might be present from my last compile.&lt;br /&gt;
Next I compile the changes..&lt;br /&gt;
 make bin&lt;br /&gt;
Once it is finished compiling, I have a new CM11A binary that just needs moved to the right place in the core.. In this instance it is /usr/pluto/bin/ (/usr/pluto/lib/ is another hot-spot to check, usually for .so files)&lt;br /&gt;
First, I remove the original file that I will be replacing..&lt;br /&gt;
 sudo rm /usr/pluto/bin/CM11A&lt;br /&gt;
then I copy my newly compiled binary over..&lt;br /&gt;
 sudo cp CM11A /usr/pluto/bin/CM11A&lt;br /&gt;
Now with a &amp;quot;quick reload router&amp;quot; from one of my orbiters, my changes will be in effect!&lt;br /&gt;
&lt;br /&gt;
A quick note - if &amp;quot;make bin&amp;quot; does not work, you may need to run &amp;quot;make so&amp;quot; for some sources that end up being library files, and yet others require just &amp;quot;make&amp;quot;. I&#039;m not sure if there is a golden rule to all of this, but I just try each of them until one of them works. Then, for the most part, you can search /usr/pluto/bin and /usr/pluto/lib to see where the resulting compiled file should go.&lt;br /&gt;
Also, I have noticed that a &amp;quot;Full reload router&amp;quot; is necessary if you replace a library file (*.so)&lt;br /&gt;
&lt;br /&gt;
== Helpful Tools and Hints ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compiling changes and where to put them on the core&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As stated above, I am not sure if there is a golden rule to this, but depending on what you are trying to compile, you will have to use one of the following:&lt;br /&gt;
 make&lt;br /&gt;
 make bin&lt;br /&gt;
 make so&lt;br /&gt;
If you try one and get an error, try another one (i&#039;m sure there is a better approach to this!)&lt;br /&gt;
For the most part, you should be able to search through /usr/pluto/bin and /usr/pluto/lib to see where the resulting file should go.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using VNC to remotely view the on-screen orbiter&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As an Ubuntu user, I will explain it from how I do it from Ubuntu.&lt;br /&gt;
&lt;br /&gt;
First, ssh to the core, and install VNC&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
Now lets install VNC&lt;br /&gt;
 sudo apt-get install x11vnc&lt;br /&gt;
Ok, once it is installed, run the VNC Server from the core&lt;br /&gt;
 x11vnc&lt;br /&gt;
&lt;br /&gt;
Now that you have a VNC server running on the core, lets start the client on our Ubuntu desktop:&lt;br /&gt;
First, open another terminal on your desktop&lt;br /&gt;
now run the following command (in the new terminal, not the terminal that is SSH&#039;d into the core!)&lt;br /&gt;
 vncviewer 192.168.80.1:0&lt;br /&gt;
&lt;br /&gt;
Now you can take professional developer-grade screenshots of our on-screen orbiters!&lt;br /&gt;
(There are other tools available to take full recorded screencasts of these VNC sessions, but I&#039;ve never used one)&lt;br /&gt;
Also note, that the VNC playback is not at full framerate - this is normal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Navigating the core remotely with GUI&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Unless you like editing source code in a terminal with vim, you will want to make things easier on yourself, and set things up so you can graphically browse the directory tree on the core, and edit source code files with gedit or a similar editor...&lt;br /&gt;
In ubuntu, go to Places-&amp;gt;Connect To Server&lt;br /&gt;
A &amp;quot;Connect Tto Server&amp;quot; window will appear. Fill it out as follows:&lt;br /&gt;
Service Type - SSH&lt;br /&gt;
Server - 192.168.80.1&lt;br /&gt;
Port - 22&lt;br /&gt;
Folder - /&lt;br /&gt;
User Name - linuxmce&lt;br /&gt;
Name to use for connection - &amp;lt;anything you want&amp;gt; (I use Access Core Files)&lt;br /&gt;
&lt;br /&gt;
You will now have a network folder on your desktop that you can access files with - without having to use the command line. (the first time you will be prompted for a password, which of course is &#039;linuxmce&#039;. Double clicking files will now open them in your preferred desktop editor!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SSH-ing into a Media Director&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I&#039;m sure there is a better way, but here is what I do:&lt;br /&gt;
&lt;br /&gt;
1)ssh into the core&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
..enter password &#039;linuxmce&#039;&lt;br /&gt;
&lt;br /&gt;
2) navigate to /usr/pluto/diskless&lt;br /&gt;
 cd /usr/pluto/diskless&lt;br /&gt;
&lt;br /&gt;
3) get the &amp;quot;moon numbers&amp;quot; of the media directors&lt;br /&gt;
 ls&lt;br /&gt;
note that each media director has a unique 3-digit number.. you will need this number in the following steps..&lt;br /&gt;
&lt;br /&gt;
4) change over to the root user:&lt;br /&gt;
 sudo su&lt;br /&gt;
...enter password &#039;linuxmce&#039;&lt;br /&gt;
&lt;br /&gt;
5) ssh into one of the media directors&lt;br /&gt;
 ssh moonxxx&lt;br /&gt;
(xxx is the 3-digit number of one of the media directors)&lt;br /&gt;
&lt;br /&gt;
You are now in the Media Director&#039;s file system, be careful, as you are root!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing phpMyAdmin to examine database structure etc.&#039;&#039;&#039;&lt;br /&gt;
phpMyAdmin is a graphical (web based) mysql front end that makes looking through the vast LMCE databases effortless. While I would never recommend adding or removing anything directly to the database this way, having a view of the database structure and the ability to easily browse through the tables really helps to understand LMCE and how it works much better. It also makes for a good reference when you are looking for primary keys that are so popular as device data. Now you can look up all of your options.&lt;br /&gt;
&lt;br /&gt;
First, lets ssh into the core&lt;br /&gt;
 ssh linuxmce@192.168.80.1&lt;br /&gt;
(use password linuxmce)&lt;br /&gt;
&lt;br /&gt;
Now lets switch to the directory where the admin web pages are stored&lt;br /&gt;
 cd /var/www/&lt;br /&gt;
&lt;br /&gt;
...and download the tarball&lt;br /&gt;
 sudo wget http://internap.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.7-rc1-english.tar.gz&lt;br /&gt;
&lt;br /&gt;
Once the tarball is finished downloading, its time to extract it&lt;br /&gt;
 sudo tar -xzvf  phpMyAdmin-2.11.7-rc1-english.tar.gz&lt;br /&gt;
&lt;br /&gt;
You will now notice that if you list the directory contents (with ls), that you have a new phpMyAdmin-2.11.7-rc1-english directory. Thats fine, but who wants to type that in their web browser when they want to use phpMyAdmin. Lets rename it to something easier&lt;br /&gt;
 sudo mv phpMyAdmin-2.11.7-rc1-english phpmyadmin&lt;br /&gt;
&lt;br /&gt;
thats it! Now you can check out the database and learn from it. Again, be careful, as you can really, truely screw things up internally if you go adding and deleting entries.&lt;br /&gt;
To go to phpMyAdmin, in your web browser, just type 192.168.80.1/phpmyadmin&lt;/div&gt;</summary>
		<author><name>Guigolum</name></author>
	</entry>
</feed>