<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Make Tech Easier&#187; xorg</title>
	<atom:link href="http://maketecheasier.com/tag/xorg/feed" rel="self" type="application/rss+xml" />
	<link>http://maketecheasier.com</link>
	<description>Uncomplicating the complicated, making life easier</description>
	<lastBuildDate>Sat, 11 Feb 2012 15:58:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Run Multiple X Sessions Without Virtualization</title>
		<link>http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11</link>
		<comments>http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11#comments</comments>
		<pubDate>Sat, 11 Jul 2009 11:00:00 +0000</pubDate>
		<dc:creator>Joshua Price</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[multiple desktops]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[x11]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=5764</guid>
		<description><![CDATA[One of the best things about a Linux system is its flexibility. Even though I&#8217;ve been a heavy Linux user for years, I still come across features in the OS a related applications that surprise me. A while back I learned to run multiple desktop environments at the same time, using nothing but the features [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11&amp;title=How+To+Run+Multiple+X+Sessions+Without+Virtualization&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11">How To Run Multiple X Sessions Without Virtualization</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-5806" src="http://imagecdn.maketecheasier.com/2009/07/multipleX-xorglogo.jpg" alt="X.org logo" width="158" height="79" />One of the best things about a Linux system is its flexibility.  Even though I&#8217;ve been a heavy Linux user for years, I still come across features in the OS a related applications that surprise me.  A while back I learned to run multiple desktop environments at the same time, using nothing but the features of the software already built in to my distribution, and it&#8217;s been very useful for me.  It may not sound like much, but it can be VERY useful to be able to run Gnome, KDE, Window Maker, and any other desktops all at the same time.  You can flip from Gnome to Window Maker in seconds without having to log out or stop applications or use any kind of virtualization software.  X already has everything you need.<br />
<span id="more-5764"></span></p>
<p>To make sure there&#8217;s no confusion, I&#8217;m NOT talking about multiple monitors.  The idea behind this article is that we&#8217;ll have <em>multiple desktop environments</em> running on the same computer <em>at the same time</em>, and we&#8217;ll be using keyboard shortcuts to switch between them.</p>
<p>For anyone who&#8217;s not sure what I mean when I talk about &#8220;X&#8221;, that&#8217;s the shorthand name for the <strong>X Window System</strong>.  Most modern distributions use <a href="http://www.x.org/wiki/" target="_blank">X.org</a> to handle all their graphical needs.  Basically, any time you&#8217;re seeing graphics (not just plain text), you&#8217;re probably looking at X.  It manages the display for Linux and controls what&#8217;s on your screen and how it&#8217;s handled.</p>
<h3>Virtual terminals</h3>
<p><strong>X</strong> keeps track of things by screens or displays.  Right now, if you&#8217;re reading this article in Linux, you&#8217;re probably on the default screen number 0.  You can access the different screens with key combinations.  To try it out right now, try hitting <em>Alt+Ctrl+F1</em>.  That&#8217;ll take you to your first console screen.  To get back to the graphical screen, hit <em>Alt+Ctrl+F7</em>.  Many people use this as a way to drop to a fullscreen terminal without having to close X.</p>
<p>At this point, you may be thinking &#8220;Why F1 and F7?&#8221;.  Well I&#8217;m glad you asked, even though you didn&#8217;t really ask.  When holding Alt+Ctrl, keys F1 through F6 are your console screens.  They&#8217;re commonly called <em>virtual terminals</em>.  Each one has a separate instance of the console running on it, and you can flip back and forth between them using Alt+Ctrl+(F1 through F6).</p>
<p>Once you get past F6, you&#8217;re in X&#8217;s territory.  Much like the virtual terminals, each screen starting with F7 is a separate instance of X, which can have its own programs running, independent of the other screens.  So what we&#8217;re going to do now is set things up to launch your other desktop environment in the next screen over.</p>
<h3>Setting up the second screen</h3>
<p>For starters, we&#8217;ll want to install whatever window manager or desktop environment you&#8217;d like to have running on your second display.  In a move that will surprise no one, I&#8217;ll <a href="http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14">recommend Window Maker</a>.  For the remainder of this article, I&#8217;ll assume that you&#8217;re running Ubuntu in the default configuration and that the desktop environment you want to use is Window Maker.</p>
<p>Once you&#8217;ve installed Window Maker (or whatever other desktop you&#8217;d prefer) the first thing we need to do is open/create the file <em>.xinitrc</em> in your home.  When X is launched from the command line, it reads this file to decide what needs to be run when <strong>X</strong> starts.  So open or create the file<em> .xinitrc</em> in your home directory, and add the line:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">exec</span> wmaker</pre></div></div>

<p>and save.</p>
<h3>Running the second desktop</h3>
<p>Now we&#8217;re at the main event.  Open your command prompt and enter:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">startx <span style="color: #660033;">--</span> :<span style="color: #000000;">1</span></pre></div></div>

<p>That will tell X to start and to use display number 1 (instead of the default of 0 which you&#8217;re probably using as your main desktop).  If all went well, you&#8217;ll find yourself looking at the default (and kinda ugly) base Window Maker desktop.  To switch back to your main desktop, use Alt+Ctrl+F7.  Back to Window Maker is Alt+Ctrl+F8.  If things didn&#8217;t go so well, see the Troubleshooting section below.</p>
<p><em>Alt + Ctrl + F7</em> = Gnome desktop</p>
<p><img class="alignnone size-full wp-image-5840" title="multipleX-gnome" src="http://imagecdn.maketecheasier.com/2009/07/multipleX-gnome.jpg" alt="multipleX-gnome" width="577" height="462" /></p>
<p><em>Alt + Ctrl + F8</em> = Window Maker desktop</p>
<p><img class="alignnone size-full wp-image-5841" title="multipleX-wmaker" src="http://imagecdn.maketecheasier.com/2009/07/multipleX-wmaker.jpg" alt="multipleX-wmaker" width="577" height="433" /></p>
<h3>Troubleshooting</h3>
<p><strong>X: user not authorized to run the X server, aborting.</strong><br />
This one is a config issue, and one that&#8217;s easily remedied.  Open the following file as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>Xwrapper.config</pre></div></div>

<p>Change</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">allowed_users</span>=console</pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">allowed_users</span>=anybody</pre></div></div>

<p>I can&#8217;t claim to know enough about X&#8217;s programming to be able to make any educated statements about potential security problems this may or may not present, but it fixes the problem.</p>
<p><strong>X: client 1 rejected from local host</strong><br />
Another simple fix, just delete any files in your home directory that has a filename starting with <em>.Xauthority</em></p>
<p>You can repeat this process to add any other desktop environments you may happen to want, just change the <em>1</em> in</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">startx <span style="color: #660033;">--</span> :<span style="color: #000000;">1</span></pre></div></div>

<p>to <em>2</em>, <em>3</em>, etc.  There are plenty of function keys left!</p>
<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11&amp;title=How+To+Run+Multiple+X+Sessions+Without+Virtualization&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11">How To Run Multiple X Sessions Without Virtualization</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/run-multiple-x-sessions-without-virtualization/2009/07/11/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>How to use SSH X-forwarding to Run Remote Apps</title>
		<link>http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22</link>
		<comments>http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22#comments</comments>
		<pubDate>Mon, 22 Jun 2009 12:12:06 +0000</pubDate>
		<dc:creator>Tavis J. Hampton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=5429</guid>
		<description><![CDATA[There are times when it is just quicker, easier or even necessary to use a graphical application, and there are also times when you might be away from the computer that has your crucial applications installed. Whatever the scenario, Linux and other operating systems running an X server have the ability to forward a graphical [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22&amp;title=How+to+use+SSH+X-forwarding+to+Run+Remote+Apps&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22">How to use SSH X-forwarding to Run Remote Apps</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-5431" src="http://imagecdn.maketecheasier.com/2009/06/200x-org.jpg" alt="200x-org" width="200" height="160" />There are times when it is just quicker, easier or even necessary to use a graphical application, and there are also times when you might be away from the computer that has your crucial applications installed. Whatever the scenario, Linux and other operating systems running an X server have the ability to forward a graphical application through SSH. Following a few simple steps, you can run a remote application in all of its full graphical glory.<span id="more-5429"></span></p>
<h3>Installation and setup</h3>
<p>Before you begin you need to make sure that SSH client and server are installed on the correct computers. The host computer that will have the actual running applications needs to have SSH server running. On Ubuntu, it is not installed by default. Look for the packaged called &#8220;<em>openssh-server</em>&#8221; and install it. On the client computer, you will need &#8220;<em>openssh-client</em>&#8220;.</p>
<p>The other important preliminary step is to make sure both computers are connected to a network and that you can reach them via SSH. If the computers are in the same building, it will be easy. If not, you might have to configure the host computer to receive SSH connections through the firewall. See your router&#8217;s documentation for the correct method of port forwarding.</p>
<h3>Connecting</h3>
<p><strong>1.</strong> Open a terminal emulator: Gnome terminal, Konsole or something similar.</p>
<p><strong>2.</strong> Now connect to the host computer. As an example, if the host IP address is 192.168.254.76 and the host username is &#8220;bobolina&#8221;, you would type the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-X</span> <span style="color: #660033;">-lbobolina</span> 192.168.254.76</pre></div></div>

<p>This tells SSH to forward the X server calls to the client computer.</p>
<p><strong>3.</strong> At the password prompt, enter the password.</p>
<p><strong>4.</strong> Run the application. For example, if you want to run Kwrite, just type the command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dbus-launch kwrite <span style="color: #000000; font-weight: bold;">&amp;</span></pre></div></div>

<p>(Note: you will need to have &#8220;dbus-launch&#8221; before KDE 4 applications. Other applications that do not require D-Bus should work without it).</p>
<h3>Other Considerations</h3>
<p>That is all it takes.  You should now be able to run remote X applications at will. This can be very helpful if, for example, you are running a computer with a very small hard drive, no hard drive at all or even one without a CD-ROM drive, all of which are common with many netbooks and low-cost mini desktops.</p>
<p>To automate this process, you could setup <a href="http://ubuntuforums.org/showthread.php?t=30709" target="_blank">SSH public keys</a> to connect without passwords and write an executable script. Also, if you need a full X session forwarded, you can use NX technology, available with the commercial NoMachine NX or with <a href="http://freenx.berlios.de/" target="_blank">FreeNX</a> (a free and open source alternative).</p>
<p>As with any network solution, security is always a concern. Using SSH provides a secure connection, but it does little good if your password is easy to guess and your firewall allows anyone to gain access to it. Once you have a secure plan in place, remote X forwarding is an excellent way load remote applications on demand and manage remote machines. The possibilities are only as limited to your imagination and the speed of your network connection. Experiment with different techniques, and let us know what you discover.</p>
<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22&amp;title=How+to+use+SSH+X-forwarding+to+Run+Remote+Apps&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22">How to use SSH X-forwarding to Run Remote Apps</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/use-ssh-x-forwarding-to-run-remote-apps/2009/06/22/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How To Setup Dual Monitors With XRandR</title>
		<link>http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01</link>
		<comments>http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01#comments</comments>
		<pubDate>Mon, 01 Jun 2009 21:47:19 +0000</pubDate>
		<dc:creator>Tavis J. Hampton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[dual screens]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[monitors]]></category>
		<category><![CDATA[xorg]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=5053</guid>
		<description><![CDATA[Dual monitor setup in Linux has never been easier. While methods such as the xinerama extension sometimes drive people insane, using RandR (Resize and Rotate) is quick and painless. This will allow you to use both monitors as one big screen instead of two identical ones (cloning). Follow these simple steps to get started. Note: [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01&amp;title=How+To+Setup+Dual+Monitors+With+XRandR&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01">How To Setup Dual Monitors With XRandR</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-5054" src="http://imagecdn.maketecheasier.com/2009/05/xrandr-screens-scaled.jpg" alt="xrandr-screens-scaled" width="570" height="178" /></p>
<p>Dual monitor setup in Linux has never been easier. While methods such as the xinerama extension sometimes drive people insane, using RandR (Resize and Rotate) is quick and painless. This will allow you to use both monitors as one big screen instead of two identical ones (cloning). Follow these simple steps to get started.</p>
<p><em>Note: This HOWTO assumes that you are using the opensource drivers for your video card (ATI or Intel). Nvidia and AMD proprietary drivers come with their dual screen components.</em><span id="more-5053"></span></p>
<p><strong>1. </strong>Setup your xorg.conf configuration file:</p>
<p>Edit it as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gksudo gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf</pre></div></div>

<p>(in GNOME) or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kdesudo kate <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg.conf</pre></div></div>

<p>(in KDE)</p>
<p><strong>2.</strong> Create a subsection under the &#8220;Screen&#8221; section with the following.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">SubSection <span style="color: #ff0000;">&quot;Display&quot;</span>
Depth <span style="color: #000000;">24</span>
Modes <span style="color: #ff0000;">&quot;1440x900&quot;</span> <span style="color: #ff0000;">&quot;1440x900&quot;</span> <span style="color: #666666; font-style: italic;">#the resolutions of your monitors</span>
Virtual <span style="color: #000000;">2880</span> <span style="color: #000000;">800</span>
EndSubSection</pre></div></div>

<p>Xrandr will function without these xorg.conf lines, but it will limit the size of your desktop.</p>
<p>For my computer, I am using two monitors with 1440&#215;900 resolution. If you have a different resolution, put those resolutions under &#8220;modes&#8221; and then combine the width of both for &#8220;virtual&#8221;. In other words, if you have a 1280&#215;800 monitor, it would be &#8220;Virtual 2560 800&#8243;.</p>
<p><strong>3</strong>. Save your changes, exit and restart X.</p>
<p><strong>4</strong>. Now, you can setup your dual screens however you like. First find out some information about the screens. Open a terminal emulator and type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xrandr <span style="color: #660033;">-q</span></pre></div></div>

<p>It should tell you the name of each screen and its current resolution. On my computer, my screens are &#8220;DVI-0&#8243; and &#8220;DVI-1&#8243;.</p>
<p><strong>5</strong>. To make one large desktop including both screens, run this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xrandr <span style="color: #660033;">--auto</span> <span style="color: #660033;">--output</span> DVI-<span style="color: #000000;">0</span> <span style="color: #660033;">--mode</span> 1440x900 <span style="color: #660033;">--right-of</span> DVI-<span style="color: #000000;">1</span></pre></div></div>

<p>DVI-0 is on the right, and DVI-1 is on the left.</p>
<p><strong>6.</strong> Create a script called &#8220;startxrandr&#8221; to run this command whenever you want.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
xrandr <span style="color: #660033;">--auto</span> <span style="color: #660033;">--output</span> DVI-<span style="color: #000000;">0</span> <span style="color: #660033;">--mode</span> 1440x900 <span style="color: #660033;">--right-of</span> DVI-<span style="color: #000000;">1</span></pre></div></div>

<p><strong>7</strong>. Make sure to make the script executable</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> a+x startxrandr</pre></div></div>

<p>That is all it takes. You can play around with it and see all of xrandr&#8217;s commands by running &#8220;xrandr -help&#8221;.</p>
<p><strong>Notes:</strong></p>
<p>There are also a few GUI applications that allow you to control xrandr.  Check with your Linux distribution.</p>
<p>You can set xrandr to run when your display manager or desktop environment starts. See the its documentation for startup applications.</p>
<p>KDE and GNOME will automatically configure two screens correctly so that maximizing a window will only fill one of the screens. Some desktop environments do not yet have support for this. You will have to test the one you use. You should have no problems with Compiz.</p>
<p>You can have two monitors with different resolutions, which is useful if you are using a laptop connected to a larger monitor.</p>
<p>In KDE, each screen will automatically be a different activity, and you can apply different widgets on each.</p>
<p>Some applications, especially those that rely on SDL (like many Linux games), may not honor your xrandr settings. If you are lucky, it will just clone the game on both screens. For applications like Boxee, you will need to set the environment variable before starting it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">SDL_VIDEO_FULLSCREEN_HEAD</span>=<span style="color: #000000;">1</span></pre></div></div>

<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01&amp;title=How+To+Setup+Dual+Monitors+With+XRandR&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01">How To Setup Dual Monitors With XRandR</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/2009/06/01/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How To Create A Great Window Maker Desktop</title>
		<link>http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14</link>
		<comments>http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14#comments</comments>
		<pubDate>Sat, 14 Feb 2009 12:48:53 +0000</pubDate>
		<dc:creator>Joshua Price</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[GNUstep]]></category>
		<category><![CDATA[Window Maker]]></category>
		<category><![CDATA[window manager]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=2460</guid>
		<description><![CDATA[Mouse preferences window<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14&amp;title=How+To+Create+A+Great+Window+Maker+Desktop&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14">How To Create A Great Window Maker Desktop</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-2461" src="http://imagecdn.maketecheasier.com/2009/02/finallogo.png" alt="Window Maker/GNUstep Logo" width="125" height="115" />If you&#8217;ve never used Window Maker on your Linux desktop, you&#8217;re missing out. I&#8217;ve dabbled in nearly every window manager/desktop environment out there, and while all have their pros and cons, I always go back to Window Maker.</p>
<p>It&#8217;s elegant, functional, flexible, and <em>FAST</em>!  For those who like screenshots, <a title="this link" href="http://images.google.com/images?gbv=2&amp;hl=en&amp;q=window+maker&amp;btnG=Search+Images" target="_blank">this link</a> is a Google Image search for Window Maker.</p>
<p>Window Maker was originally developed as a clone of the NeXTstep desktop, an ancestor of OSX.  NeXTstep was considered one of the most productive and innovative desktop environments of its time, and Window Maker has extended this legacy to modern hardware and software platforms.</p>
<p>Enough with the history, let&#8217;s get down to business.  For starters, you&#8217;ll want to get Window Maker installed.  Depending on your choice of Linux distribution, these first few steps can vary somewhat.  For the sake of this article, I&#8217;ll assume you&#8217;re running Ubuntu or another Debian derivative.</p>
<p><span id="more-2460"></span>In any Debian derivative, you can fetch it with:</p>
<p class="codeblock">sudo apt-get install wmaker</p>
<p>Once installed, you can load it up by logging out of your current desktop environment back to the GDM login screen.  Go to the <em>Sessions</em> menu and choose <em>Window Maker</em>, then log in normally.  Those who <strong>don&#8217;t</strong> use a graphical login like GDM can place</p>
<p class="codeblock">exec wmaker</p>
<p>in the file <em>.xinitrc</em> in their home directory.  The default settings for Window Maker aren&#8217;t too impressive, but that&#8217;s OK, it&#8217;ll be pretty slick by the time we&#8217;re done here.</p>
<h3>Dock and Dockapps</h3>
<p>By default, the dock can be found in the upper right corner of the screen and probably looks something like this:</p>
<p><img class="alignnone size-full wp-image-2465" src="http://imagecdn.maketecheasier.com/2009/02/plain_dock-65x150.jpg" alt="The default Window Maker dock" width="65" height="150" /></p>
<p>As I mentioned above, this dock was based on the NeXTstep dock, which was a direct ancestor of OSX.  Window Maker&#8217;s dock offers similar functionality, as a place to launch applications.  The real beauty of the Window Maker version, however is that it can be a home for a whole range of mini-applications called, not surprisingly, <em>dockapps</em>.  There are hundreds of dockapps available at <a href="http://dockapps.org/" target="_blank">http://dockapps.org/</a>, but I&#8217;ll focus on a few of my favorites that can all be found in Debian (and probably Ubuntu) standard repositories.  The dockapps I suggest are:</p>
<ul>
<li>wmfire                 &#8211; a CPU monitor.  The more CPU is in use, the higher the flames</li>
<li>Mixer.app            &#8211; a volume adjustment app</li>
<li>wmxmms2          &#8211; XMMS controls all packed into one little square</li>
<li>wmclockmon      &#8211; every desktop needs a clock</li>
<li>wmmemload      &#8211; a memory usage monitor</li>
<li>wmnd                 &#8211; a network monitor</li>
</ul>
<p>To install, just enter into the command line:</p>
<p class="codeblock">sudo apt-get install wmfire mixer.app wmxmms2 wmclockmon wmmemload wmnd</p>
<p>Any time you run a program in Window Maker, it creates an icon in the bottom-left corner of the screen.  It&#8217;s kinda like the Windows taskbar, or the window list in Gnome.  When you run a dockapp, like say wmfire, the app will start down there in that corner.  To place it on your dock, simply drag it from the bottom left, to the top right and place it in the dock.  I should mention that many dockapps can be hard to drag, because you&#8217;ve often go to drag the very edge of the app, which is sometimes only a few pixels wide.</p>
<p><img class="aligncenter size-full wp-image-2628" src="http://imagecdn.maketecheasier.com/2009/02/placing-dockapp2.png" alt="Dragging from taskbar to dock" width="500" height="400" /></p>
<p>Do this with each of the dockapps we installed.  Once they&#8217;re all in place, your dock should look something like this:</p>
<p><img class="aligncenter size-full wp-image-2629" src="http://imagecdn.maketecheasier.com/2009/02/desktop-with-apps.png" alt="desktop-with-apps" width="500" height="400" /></p>
<p>To set a dockapp to launch every time Window Maker starts, right-click the border of the dockapp, hit Settings, and choose &#8220;<em>Start when Window Maker is started</em>&#8220;.</p>
<h3>Multiple Desktop Setup</h3>
<p>Every window manager in Linux supports multiple desktops, which Window Maker calls &#8220;Workspaces&#8221;, but some add extremely useful features when it comes to working with them.  Window Maker provides a few of those extra features, and two in particular are especially useful:</p>
<ul>
<li> the ability to scroll through workspaces with the mouse wheel, and</li>
<li>the ability to assign certain apps to always open in certain workspaces.</li>
</ul>
<p>Personally I use between 5 and 8, depending on the purpose of the machine.  On my home PC where I spend the most time, I have 7, each with a specific purpose.</p>
<p>Your default Window Maker setup starts with just one workspace.  To add more, right-click anywhere on the wallpaper (this is how you bring up the menu), choose &#8220;Workspaces&#8221;, then &#8220;New&#8221;.  This will create a second &#8220;page&#8221; to your desktop.  Go ahead and create as many workspaces as you like.  As I mentioned above, I usually use about 7 but that&#8217;s probably more than a lot of people would need.  The simplest, though slowest way to switch between those workspaces is by clicking the arrows on the clip icon in the top-left corner. That will flip you back and forth between the workspaces.</p>
<p><img class="size-full wp-image-2673 alignnone" src="http://imagecdn.maketecheasier.com/2009/02/clip.png" alt="the clip" width="67" height="66" /></p>
<p>The better way to handle that flipping is by using the scroll wheel on your mouse.  Window Maker doesn&#8217;t set this option by default, so we&#8217;ll do it manually.  To do that, open the Window Maker preferences tool (third icon on your dock, the one with the screwdriver).  Scroll over to the right until you see the mouse icon, and set <em>Mouse Wheel </em>to <em>Switch Workspace</em>.</p>
<p><img class="aligncenter size-full wp-image-2672" src="http://imagecdn.maketecheasier.com/2009/02/mouse-prefs1.png" alt="Mouse preferences window" width="500" height="396" /></p>
<p>Click <em>Save</em>, and try it out.  Move the mouse over any part of your wallpaper, and scroll the wheel.  It should flip between your workspaces.</p>
<p>For now, to finish setting up the workspaces, all we&#8217;ve got to do is name them.  Click the arrow on the clip to go all the way down, to the Main workspace.  Right click the clip, and choose Rename Workspace.  Personally, I use the first desktop for my web browsers, so I&#8217;d name that workspace Browsers.  You can do this on each workspace to name what you want to use it for.  Here&#8217;s how I usually have mine set up:</p>
<p>#1 &#8211; Browsers<br />
#2 &#8211; Terminals<br />
#3 &#8211; Text Editors<br />
#4 &#8211; Chat/P2P<br />
#5 &#8211; File Management<br />
#6 &#8211; Media<br />
#7 &#8211; Misc</p>
<p>So now we&#8217;ve got all our workspaces set up, each with a specific purpose, and we&#8217;re able to scroll between them with the mouse wheel.  There&#8217;s only one thing left, and it&#8217;s one of the great things that Window Maker provides: the ability to assign certain apps to always open on the right desktop.</p>
<p>Let&#8217;s start with the web browser.  I&#8217;ll assume you&#8217;re using a similar setup to mine, with the first workspace being assigned to browsers.  Open up Firefox (or whatever other browser you like to use).  Right-click the titlebar at the top of the screen and choose &#8220;Attributes&#8221;.</p>
<p><img class="size-full wp-image-2721 alignnone" src="http://imagecdn.maketecheasier.com/2009/02/window-attributes.png" alt="Selecting the Attributes option" width="193" height="279" /></p>
<p>Now you&#8217;ve got a window allowing you to check various preferences.  In the dropdown menu at the top, choose <em>Icon and initial Workspace</em>.  At the bottom of that page you can choose which workspace that program will start in when launched.  You&#8217;d be amazed how useful this can be when you&#8217;ve got a lot of things running.  With a flick of the mouse wheel you can move to whichever desktop your desired program is running on and know it&#8217;ll always be there.</p>
<p><img class="alignnone size-full wp-image-2722" src="http://imagecdn.maketecheasier.com/2009/02/initialworkspace.png" alt="Choosing the initial workspace" width="274" height="447" /></p>
<h3>Visual Style</h3>
<p>Finally, to make our new Window Maker desktop complete, we&#8217;ve got to set themes/colors/icons.  Let&#8217;s start with a basic pre-packaged theme and work from there.  You can choose your theme or color scheme from the Window Maker menu.  As always, you can open that by right-clicking your desktop.  Choose <em>Appearance &gt; Themes</em> or <em>Appearance &gt; Styles</em> to choose a color scheme.  I recommend the color style Interlace as a great place to start designing your desktop.</p>
<p>Backgrounds can also be set by placing the desired image in ~/GNUstep/Library/WindowMaker/Backgrounds/ and choosing the image from <em>Appearance &gt; Background &gt; Images</em>.</p>
<p>Now that you&#8217;ve got your dockapps, desktops, and theme set up, your desktop probably looks something like this:</p>
<p><img class="aligncenter size-full wp-image-2724" src="http://imagecdn.maketecheasier.com/2009/02/final-screenshot.png" alt="Screenshot of the finished product" width="500" height="400" /></p>
<p>Visually, there&#8217;s plenty more tweaking that can be done, but the purpose of this article was to cover the functionality, configuring the aspects of Window Maker that make it so amazingly useful and productive.  If you&#8217;ve gone through this tutorial, you now have a functional desktop with multiple workspaces, each with a special purpose.  You&#8217;ve got an easy way to manage those desktops (mouse wheel), dockapps to control and monitor your machine, and a nice looking interface to top it all off. </p>
<p>For those who are still interested in tweaking every other part of Window Maker, I highly recommend you flip through the <em>WPrefs</em> utility in your dock and see some of the other options.  </p>
<p>For now, you should be well on your way.</p>
<p>Do you use Window Maker? What is the best thing that you love about Window Maker?</p>
<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14&amp;title=How+To+Create+A+Great+Window+Maker+Desktop&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14">How To Create A Great Window Maker Desktop</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/create-a-great-window-maker-desktop/2009/02/14/feed</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>

