<?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>What&#039;s All This Brouhaha? &#187; Linux</title>
	<atom:link href="https://whats.all.this.brouhaha.com/category/computing/software/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://whats.all.this.brouhaha.com</link>
	<description>miscellaneous musings and random rantings</description>
	<lastBuildDate>Fri, 01 Nov 2019 06:31:54 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9</generator>
	<item>
		<title>Creating bootable USB media from ISO image</title>
		<link>https://whats.all.this.brouhaha.com/2012/12/10/creating-bootable-usb-media-from-iso-image/</link>
		<comments>https://whats.all.this.brouhaha.com/2012/12/10/creating-bootable-usb-media-from-iso-image/#comments</comments>
		<pubDate>Mon, 10 Dec 2012 08:40:15 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=991</guid>
		<description><![CDATA[I&#8217;ve found lots of reverences to using livecd-iso-to-disk from the livecd-tools package to create bootable USB media from an ISO image (or for a DVD, quite possibly a UDF image, but the principle is the same). However, most of the &#8230; <a href="https://whats.all.this.brouhaha.com/2012/12/10/creating-bootable-usb-media-from-iso-image/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve found lots of reverences to using livecd-iso-to-disk from the livecd-tools package to create bootable USB media from an ISO image (or for a DVD, quite possibly a UDF image, but the principle is the same).  However, most of the descriptions either seem light on examples, or give absurdly complicated examples.  It&#8217;s actually quite easy, if you&#8217;re not concerned with preserving the old content of the USB media.<span id="more-991"></span></p>
<p>Suppose your USB media is drive /dev/sdb, and your ISO image is at /path/to/some-image.iso.  If you have an actual file system mounted (e.g., /dev/sdb1), unmount it from the command line.  (Do NOT unmount it from a GUI, e.g, Gnome, as that may not leave it in a state where it is usable over USB.)</p>
<p>Now run the command: <code>livecd-iso-to-disk --format --reset-mbr /path/to/some-image.iso /dev/sdb1</code></p>
<p>Previously I spent a bunch of time trying to run the command without the <code>--format</code> option, and got all sorts of complaints about problems with my USB medai, partition table, filesystem, etc.  I&#8217;m not convinced that the error messages were accurate.  The <code>--format</code> option simplifies everything.</p>
<p>The command above will default to formatting the USB media with an ext4 filesystem, which works fine with Linux, but may be inconvenient for use with Windows. You can apparently use the poorly-named <code>--msdos</code> option (which should have been <code>--fat</code> or perhaps <code>--vfat</code>) to use a FAT filesystem on the USB media rather than ext4.  However, I haven&#8217;t verified that this works.</p>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2012/12/10/creating-bootable-usb-media-from-iso-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building EPEL6 packages that use Qt 4</title>
		<link>https://whats.all.this.brouhaha.com/2012/06/24/building-epel6-packages-that-use-qt-4/</link>
		<comments>https://whats.all.this.brouhaha.com/2012/06/24/building-epel6-packages-that-use-qt-4/#comments</comments>
		<pubDate>Mon, 25 Jun 2012 04:56:41 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=984</guid>
		<description><![CDATA[I&#8217;ve been trying to build an EPEL 6 package (for Red Hat Enterprise Linux 6, Centos 6, etc.) of Meshlab, for which I already have a Fedora package.  The latest challenge is that the Koji build server is trying to &#8230; <a href="https://whats.all.this.brouhaha.com/2012/06/24/building-epel6-packages-that-use-qt-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been trying to build an EPEL 6 package (for Red Hat Enterprise Linux 6, Centos 6, etc.) of Meshlab, for which I already have a Fedora package.  The latest challenge is that the Koji build server is trying to use qt-devel-3.x, while Meshlab needs qt-devel-4.x.</p>
<p>The obvious thing to do was to change the spec from:</p>
<pre><tt>BuildRequires: qt-devel</tt></pre>
<p>to</p>
<pre><tt>BuildRequires: qt-devel &gt;= 4.6</tt></pre>
<p>However, Koji still tries to use qt-devel-3.x!</p>
<p>A Google search revealed an <a href="http://comments.gmane.org/gmane.linux.redhat.fedora.rpmfusion.devel/12228">explanation in the rpmfusion-developers list from Kevin Fenzi</a>:</p>
<blockquote><p>That doesn&#8217;t work because it&#8217;s missing the Epoch. &#8220;&gt;= 1:4&#8243; would work, but it&#8217;s better to use the virtual qt4-devel Provides, which is backwards-compatible with EPEL 5 (which had an actual qt4-devel package), which will keep working in the future when Qt 5 will be the default and which avoids the pesky Epoch.</p></blockquote>
<p>Now on to the next problem!</p>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2012/06/24/building-epel6-packages-that-use-qt-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux group management</title>
		<link>https://whats.all.this.brouhaha.com/2012/06/06/linux-group-management/</link>
		<comments>https://whats.all.this.brouhaha.com/2012/06/06/linux-group-management/#comments</comments>
		<pubDate>Wed, 06 Jun 2012 23:42:35 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=977</guid>
		<description><![CDATA[The conventional wisdom has it that if you add a user to a group in a Linux (or Unix) system, the user will have to log in again for the new group membership to take effect.  Using the &#8220;newgrp&#8221; command, &#8230; <a href="https://whats.all.this.brouhaha.com/2012/06/06/linux-group-management/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The conventional wisdom has it that if you add a user to a group in a Linux (or Unix) system, the user will have to log in again for the new group membership to take effect.  Using the &#8220;newgrp&#8221; command, an existing shell can gain the group membership.  For example, to create a new group &#8220;foo&#8221;, add the current user to the group, and make it effective immediately:</p>
<pre><tt>sudo groupadd foo
sudo usermod -a -G foo user
newgrp foo</tt></pre>
<p>Note that this makes the new group effectively the user&#8217;s primary group ID in the current shell and any new descendents. If you don&#8217;t want that, do another newgrp back to the original group. The new group will still be in the process&#8217; group list.</p>
<p>Note that the &#8220;-a&#8221; (append) option to usermod may not exist in all Linux distributions.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2012/06/06/linux-group-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>misc. hints on debugging Linux power management</title>
		<link>https://whats.all.this.brouhaha.com/2011/06/08/misc-hints-on-debugging-linux-power-management/</link>
		<comments>https://whats.all.this.brouhaha.com/2011/06/08/misc-hints-on-debugging-linux-power-management/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 19:47:28 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=879</guid>
		<description><![CDATA[Dump BIOS DMI table: dmidecode Dump devkit power status:  devkit-power --dump or upower --dump Enable power manager debugging, useful before suspend:  echo 1 &#62;/sys/power/pm_trace look at log file: /var/log/pm-suspend.log]]></description>
				<content:encoded><![CDATA[<ol>
<li>Dump BIOS DMI table: <tt>dmidecode</tt></li>
<li>Dump devkit power status:  <tt>devkit-power --dump</tt> or <tt>upower --dump<br />
</tt></li>
<li>Enable power manager debugging, useful before suspend:  <tt>echo 1 &gt;/sys/power/pm_trace</tt></li>
<li>look at log file: <tt>/var/log/pm-suspend.log</tt></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2011/06/08/misc-hints-on-debugging-linux-power-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>misc. Linux notes</title>
		<link>https://whats.all.this.brouhaha.com/2011/06/08/misc-linux-notes/</link>
		<comments>https://whats.all.this.brouhaha.com/2011/06/08/misc-linux-notes/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 07:25:42 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=877</guid>
		<description><![CDATA[Things I&#8217;ve learned today that I&#8217;ll probably need to know later, after I&#8217;ve had a chance to forget them: GNOME 3 was designed by idiots for idiots.  They&#8217;ve tried to make it completely drool-proof, and in the process made it &#8230; <a href="https://whats.all.this.brouhaha.com/2011/06/08/misc-linux-notes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Things I&#8217;ve learned today that I&#8217;ll probably need to know later, after I&#8217;ve had a chance to forget them:</p>
<ol>
<li>GNOME 3 was designed by idiots for idiots.  They&#8217;ve tried to make it completely drool-proof, and in the process made it unusable by anyone with half a clue.  Use xfce instead.</li>
<li>To make suspend work on 2.6.35 kernel (or newer?): put <tt>acpi_sleep=nonvs</tt> on kernel command line.  Necessary for many laptops, but not all.  Definitely necessary on the Sony VPCEB17FX.  <a title="Bug 16396 - [bisected] resume from suspend freezes system " href="https://bugzilla.kernel.org/show_bug.cgi?id=16396" target="_blank">https://bugzilla.kernel.org/show_bug.cgi?id=16396</a> <a title="Kernel on F14 needs acpi_sleep=nonvs to resume from suspend correctly" href="https://bugzilla.redhat.com/show_bug.cgi?id=641789" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=641789</a></li>
<li>To find the UUIDs of your partitions: <tt>blkid</tt></li>
<li>To display the LUKS header of an encrypted partition: <tt>cryptsetup luksDump /dev/sda6</tt></li>
<li>To boot a Fedora live CD such that it all gets loaded into RAM, and the CD is ejected:  add <tt>live_ram</tt> to the kernel command line.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2011/06/08/misc-linux-notes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>USB tethering an Android phone to an OpenWRT router</title>
		<link>https://whats.all.this.brouhaha.com/2010/07/21/usb-tethering-an-android-phone-to-an-openwrt-router/</link>
		<comments>https://whats.all.this.brouhaha.com/2010/07/21/usb-tethering-an-android-phone-to-an-openwrt-router/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 05:46:56 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[OpenWRT]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=834</guid>
		<description><![CDATA[Now that I&#8217;ve got OpenWRT 10.03 &#8220;Backfire&#8221; running on my DIR-825, I decided to take advantage of the new USB tethering feature of Android 2.2 &#8220;Froyo&#8221;.  I connected my Nexus One phone to the USB port of the DIR-825, and &#8230; <a href="https://whats.all.this.brouhaha.com/2010/07/21/usb-tethering-an-android-phone-to-an-openwrt-router/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Now that I&#8217;ve got OpenWRT 10.03 &#8220;Backfire&#8221; running on my DIR-825, I decided to take advantage of the new USB tethering feature of Android 2.2 &#8220;Froyo&#8221;.  I connected my Nexus One phone to the USB port of the DIR-825, and installed the following packages:</p>
<ul>
<li>kmod-nls-base</li>
<li>kmod-usb2</li>
<li>kmod-usb-core</li>
<li>kmod-usb-net</li>
<li>kmod-usb-net-cdc-ether</li>
<li>kmod-usb-net-rndis</li>
<li>kmod-usb-ohci</li>
<li>kmod-usb-uhci</li>
</ul>
<p>Once these were installed, I edited /etc/config/network, and under &#8220;config interface wan&#8221; replaced &#8220;option ifname eth1&#8243; with &#8220;option ifname usb0&#8243;.</p>
<p>I enabled USB tethering on the phone, and upon rebooting the router, it successfully set up the usb0 network interface and obtained its IP address, netmask, default gateway, etc. from the phone via DHCP.</p>
<p>At this point the only problem is that if I disconnect the phone (or disable tethering), then reconnect, the usb0 interface appears, but does not get configured by dhcp.</p>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2010/07/21/usb-tethering-an-android-phone-to-an-openwrt-router/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Installing OpenWRT 10.03 &#8220;Backfire&#8221; on a DIR-825</title>
		<link>https://whats.all.this.brouhaha.com/2010/07/21/installing-openwrt-10-03-backfire-on-a-dir-825/</link>
		<comments>https://whats.all.this.brouhaha.com/2010/07/21/installing-openwrt-10-03-backfire-on-a-dir-825/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 05:38:01 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[OpenWRT]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=830</guid>
		<description><![CDATA[I did a fresh install of the jffs2 build of Backfire on a D-Link DIR-825.  I could have used the squashfs version, and have done that in the past, but using the jffs2 build makes it easier to use an &#8230; <a href="https://whats.all.this.brouhaha.com/2010/07/21/installing-openwrt-10-03-backfire-on-a-dir-825/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I did a fresh install of the jffs2 build of Backfire on a D-Link DIR-825.  I could have used the squashfs version, and have done that in the past, but using the jffs2 build makes it easier to use an external USB flash drive as the root filesystem, which I plan to do later.</p>
<p>If you&#8217;re starting from factory firmware, the release image of Backfire has to be installed via the router&#8217;s recovery mode, which is slightly tricky.  Previously I&#8217;d figured out how to modify the image to install using the router&#8217;s standard firmware upgrade page, and that is now available in OpenWRT snapshots, but not yet in an official release.  However, last night I found that this method didn&#8217;t seem to work with the jffs2 image, so I reverted to trying to use the recovery mode.</p>
<p>Some people have had lots of problems with the DIR-825 recovery mode, but for others it works fine.  Originally it seemed like there was some kind of browser dependency, but apparently that is not the case.  The actual problem is that the recovery mode doesn&#8217;t work over a gigabit LAN link.  (This is now noted in the OpenWRT wiki, but wasn&#8217;t back when I first was trying to install OpenWRT.)  If you stick to 100 Mbps or 10 Mbps, it works fine.  Some people have had luck with issuing a command on their host to force the interface to 100 Mbps.  I tried that using ethtool on Linux (e.g., &#8220;sudo ethtool -s eth0 autoneg off advertise 00c speed 100&#8243;), and while that did seem to force the link to 100 Mbps, then I couldn&#8217;t talk to the DIR-825 at all.  I ultimately used a different laptop that had only a 10/100 port, and it worked fine.  Alternatively, I could have stuck a 10/100 switch between my laptop with gigabit and the DIR-825.</p>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2010/07/21/installing-openwrt-10-03-backfire-on-a-dir-825/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More trouble with Radeon HD 2600 Pro AGP</title>
		<link>https://whats.all.this.brouhaha.com/2009/09/18/more-trouble-with-radeon-hd-2600-pro-agp/</link>
		<comments>https://whats.all.this.brouhaha.com/2009/09/18/more-trouble-with-radeon-hd-2600-pro-agp/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 06:08:45 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=795</guid>
		<description><![CDATA[When I posted Dual Head on Fedora 11 last night, I thought I had the problem completely solved, but when I booted the system this morning, the video card was acting up again.  There were lots of black horizontal streaks &#8230; <a href="https://whats.all.this.brouhaha.com/2009/09/18/more-trouble-with-radeon-hd-2600-pro-agp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>When I posted <a title="Dual Head on Fedora 11" href="http://whats.all.this.brouhaha.com/2009/09/18/dual-head-on-fedora-11/" target="_blank">Dual Head on Fedora 11</a> last night, I thought I had the problem completely solved, but when I booted the system this morning, the video card was acting up again.  There were lots of black horizontal streaks through the display, and the server crashed in short order.  Rebooting again got the same results.  I&#8217;ve seen this behaviour previously with this card (VisionTek Radeon HD 2600 Pro AGP dual DVI), but since it was working OK last night I thought whatever bug had caused it was long since squashed.  Apparently not.</p>
<p>I replaced the card with an older Sapphire Radeon X1950 Pro AGP 256MB dual DVI card, and it did not exhibit the same problem.  However, now when I moved windows over to the right side of the right monitor, they also overlapped the left side of the left monitor.  The X server defaulted to a desktop to 2560&#215;1600, while my side-by-side monitors need 3520&#215;1200.  Another tweak to the xorg.conf, and now it works correctly.  Also, the radeon driver supplied with Fedora 11 has 3D acceleration support for the X1950, but not for the HD2600, so I&#8217;m better off with the older card for now.</p>
<p>The updated xorg.conf is below.<span id="more-795"></span></p>
<pre><tt>
# Xorg dual-head configuration
# monitors: Samsung SyncMaster 213T and Dell 2405FPW
# card: Visiontek Radeon HD 2600 Pro 512MB AGP Dual-DVI (RV630) or
#    or Sapphire Radeon X1950 Pro 256MB AGP Dual-DVI (RV570)
# Eric Smith <eric @brouhaha.com>
# $Id: xorg.conf,v 1.2 2009/09/19 06:05:56 eric Exp eric $

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
# keyboard added by rhpxl
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105+inet"
	Option	    "XkbLayout" "us"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	Option	    "monitor-DVI-0" "Dell"
	Option      "monitor-DVI-1" "Samsung"
EndSection

Section "Monitor"
	Identifier "Dell"
	# Dell 2405FPW
	# Without the PreferredMode option, the X server
	# decides to use 1600x1200.
	Option "Preferredmode" "1920x1200"
EndSection

Section "Monitor"
	Identifier "Samsung"
	# Samsung SyncMaster 213T
	# The PreferredMode option doesn't seem to be
	# necessary here, as the X server picks
	# 1600x1200 on its own.
	# Option "Preferredmode" "1600x1200"
	Option "LeftOf" "Dell"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor "Dell"
	DefaultDepth     24
	SubSection "Display"
		# Without the following Virtual specification, the server
		# will default to 2560x1600 when using the Radeon X1950 card,
		# causing overlap of windows at the far right with the far
		# left.
		Virtual    3520 1200
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
</eric></tt></pre>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2009/09/18/more-trouble-with-radeon-hd-2600-pro-agp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual-head on Fedora 11</title>
		<link>https://whats.all.this.brouhaha.com/2009/09/18/dual-head-on-fedora-11/</link>
		<comments>https://whats.all.this.brouhaha.com/2009/09/18/dual-head-on-fedora-11/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 10:32:12 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=788</guid>
		<description><![CDATA[I finally have a working dual-head configuration on Fedora 11 with a Radeon 2600 Pro AGP card and two LCD monitors.  The ATI Catalyst (fglrx) binary-only driver is crashing again; I think they&#8217;ve had a regression in their AGP support &#8230; <a href="https://whats.all.this.brouhaha.com/2009/09/18/dual-head-on-fedora-11/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I finally have a working dual-head configuration on Fedora 11 with a Radeon 2600 Pro AGP card and two LCD monitors.  The ATI Catalyst (fglrx) binary-only driver is crashing again; I think they&#8217;ve had a regression in their AGP support for the R600 GPUs.  Getting dual-head to work with the X.org radeon driver was interesting as I had to find bits and pieces of relevant information all over the place.  To make a long story short, you have to <a title="How to create xorg.conf" href="http://fedoraproject.org/wiki/How_to_create_xorg.conf" target="_blank">create an /etc/X11/xorg.conf</a> file, because Fedora no longer creates on by default (it&#8217;s unnecessary for simple configurations), then edit it to add the second head.</p>
<p>One of my monitors has a native resolution of 1600&#215;1200, and the other 1920&#215;1200.  The X server for no apparent reason defaults to 1600&#215;1200 on both.  I tried adding a modeline for the larger monitor, but it didn&#8217;t do anything.  Finally I found the PreferredMode option in the xorg.conf man page, and that did the trick.  My xorg.conf is below.<span id="more-788"></span></p>
<pre><tt>
# Xorg dual-head configuration
# monitors: Samsung SyncMaster 213T and Dell 2405FPW
# card: Visiontek Radeon HD 2600 Pro 512MB AGP (RV630)
# Eric Smith
# $Id: xorg.conf,v 1.1 2009/09/18 10:03:47 eric Exp eric $

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
# keyboard added by rhpxl
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105+inet"
	Option	    "XkbLayout" "us"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	Option	    "monitor-DVI-0" "Dell"
	Option      "monitor-DVI-1" "Samsung"
EndSection

Section "Monitor"
	Identifier "Dell"
	# Dell 2405FPW
	# Without the PreferredMode option, the X server
	# decides to use 1600x1200.
	Option "Preferredmode" "1920x1200"
EndSection

Section "Monitor"
	Identifier "Samsung"
	# Samsung SyncMaster 213T
	# The PreferredMode option doesn't seem to be
	# necessary here, as the X server picks
	# 1600x1200 on its own.
	# Option "Preferredmode" "1600x1200"
	Option "LeftOf" "Dell"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor "Dell"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
</tt></pre>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2009/09/18/dual-head-on-fedora-11/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Suboptimal fonts after Fedora 9 upgrade</title>
		<link>https://whats.all.this.brouhaha.com/2008/09/14/suboptimal-fonts-after-fedora-9-upgrade/</link>
		<comments>https://whats.all.this.brouhaha.com/2008/09/14/suboptimal-fonts-after-fedora-9-upgrade/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 21:02:59 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[The Suboptimal Way]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=716</guid>
		<description><![CDATA[Update:Â  I upgraded one of my machines from Fedora 7 to Fedora 9, and it started using tiny fonts.Â  Tom Horsley on the Fedora list explained that now the X server is actually using the display resolution (dots per inch) &#8230; <a href="https://whats.all.this.brouhaha.com/2008/09/14/suboptimal-fonts-after-fedora-9-upgrade/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Update:Â  I upgraded one of my machines from Fedora 7 to Fedora 9, and it started using tiny fonts.Â  Tom Horsley on the Fedora list explained that now the X server is actually using the display resolution (dots per inch) from the monitor&#8217;s EDID data to choose default font sizes.Â  On NX sessions I was getting a default of 75 dpi, and changing it to 100 dpi resulted in the font sizes I expected.Â  I was seeing the tiny fonts on the console as well, but I haven&#8217;t yet returned to the colo to try changing the console dpi.</p>
<p>Original posting below the fold.</p>
<p><span id="more-716"></span></p>
<p>I upgraded one of my machines from Fedora 7 to Fedora 9, and am now having font problems.Â  It is using a tiny font for the system font.Â  Here&#8217;s an example, using a newly created user to show that it is not a problem with a config file in a user&#8217;s home directory:</p>
<div id="attachment_718" style="width: 310px" class="wp-caption alignnone"><a href="http://whats.all.this.brouhaha.com/wp-content/uploads/2008/09/font_sample_f9_upgrade.png"><img class="size-medium wp-image-718" title="font_sample_f9_upgrade" src="http://whats.all.this.brouhaha.com/wp-content/uploads/2008/09/font_sample_f9_upgrade-300x183.png" alt="Fedora 9 upgrade fonts" width="300" height="183" /></a><p class="wp-caption-text">Fedora 9 upgrade fonts</p></div>
<p>I tried a fresh install of Fedora 9 in a virtual machine, and its fonts look more like what was used in earlier Fedora releases:</p>
<div id="attachment_717" style="width: 310px" class="wp-caption alignnone"><a href="http://whats.all.this.brouhaha.com/wp-content/uploads/2008/09/font_sample_f9_fresh_install.png"><img class="size-medium wp-image-717" title="font_sample_f9_fresh_install" src="http://whats.all.this.brouhaha.com/wp-content/uploads/2008/09/font_sample_f9_fresh_install-300x183.png" alt="Fedora 9 fresh install fonts" width="300" height="183" /></a><p class="wp-caption-text">Fedora 9 fresh install fonts</p></div>
<p>On the upgraded system, I also can&#8217;t start emacs:</p>
<blockquote><p>No fonts match `-adobe-courier-medium-r-*-*-12-120-75-75-*-*-*-*&#8217;</p></blockquote>
<p>I went through the list of installed font RPMs (shown below), and don&#8217;t see anything missing compared to the fresh install in the virtual machine, so there must be a configuration problem somewhere.</p>
<p>Here is the output of &#8220;rpm -qa | grep -i font&#8221;:</p>
<blockquote><p>baekmuk-ttf-fonts-common-2.2-6.fc8.noarch<br />
cjkunifonts-uming-0.1.20060928-4.fc8.noarch<br />
libXfont-devel-1.3.1-2.fc8.x86_64<br />
libXfontcache-1.0.4-3.fc8.x86_64<br />
baekmuk-ttf-fonts-gulim-2.2-6.fc8.noarch<br />
libXfontcache-devel-1.0.4-3.fc8.x86_64<br />
xorg-x11-fonts-Type1-7.2-3.fc8.noarch<br />
libXfont-devel-1.3.1-2.fc8.i386<br />
libXfontcache-1.0.4-3.fc8.i386<br />
xorg-x11-fonts-misc-7.2-3.fc8.noarch<br />
lohit-fonts-bengali-2.1.9-1.fc8.noarch<br />
fontconfig-2.4.2-5.fc8.x86_64<br />
lohit-fonts-tamil-2.1.9-1.fc8.noarch<br />
mplayer-fonts-1.1-3.fc.noarch<br />
fontconfig-devel-2.4.2-5.fc8.x86_64<br />
paktype-fonts-2.0-2.fc8.noarch<br />
jomolhari-fonts-0.003-4.fc8.noarch<br />
xorg-x11-fonts-ISO8859-1-100dpi-7.2-3.fc8.noarch<br />
lohit-fonts-gujarati-2.1.9-1.fc8.noarch<br />
fontconfig-2.4.2-5.fc8.i386<br />
bitmap-fonts-0.3-5.1.2.fc7.noarch<br />
xorg-x11-font-utils-7.2-2.fc8.x86_64<br />
lohit-fonts-punjabi-2.1.9-1.fc8.noarch<br />
tetex-fonts-3.0-44.9.fc8.x86_64<br />
libfontenc-1.0.4-4.fc8.x86_64<br />
dejavu-lgc-fonts-2.19-1.noarch<br />
sazanami-fonts-gothic-0.20040629-4.20061016.fc8.noarch<br />
lklug-fonts-0.2.2-5.fc8.noarch<br />
libXfontcache-devel-1.0.4-3.fc8.i386<br />
xorg-x11-fonts-truetype-7.2-3.fc8.noarch<br />
lohit-fonts-hindi-2.1.9-1.fc8.noarch<br />
lohit-fonts-malayalam-2.1.9-1.fc8.noarch<br />
kacst-fonts-1.6.2-2.fc8.noarch<br />
xorg-x11-fonts-100dpi-7.2-3.fc8.noarch<br />
fontconfig-debuginfo-2.4.2-5.fc8.x86_64<br />
liberation-fonts-1.0-1.fc8.noarch<br />
lohit-fonts-kannada-2.1.9-1.fc8.noarch<br />
libfontenc-devel-1.0.4-4.fc8.x86_64<br />
lohit-fonts-telugu-2.1.9-1.fc8.noarch<br />
libXfont-1.3.1-2.fc8.i386<br />
ghostscript-fonts-5.50-18.fc8.noarch<br />
libXfont-1.3.1-2.fc8.x86_64<br />
lohit-fonts-oriya-2.1.9-1.fc8.noarch<br />
libfontenc-1.0.4-4.fc8.i386<br />
mathml-fonts-1.0-21.fc6.noarch<br />
urw-fonts-2.4-3.fc8.noarch</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2008/09/14/suboptimal-fonts-after-fedora-9-upgrade/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
