<?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>Jeremy Visser &#187; gnome</title>
	<atom:link href="http://jeremy.visser.name/tag/gnome/feed/" rel="self" type="application/rss+xml" />
	<link>https://jeremy.visser.name</link>
	<description></description>
	<lastBuildDate>Fri, 16 Jul 2010 03:39:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel='hub' href='https://jeremy.visser.name/?pushpress=hub'/>
<cloud domain='jeremy.visser.name' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>No users in GDM list on FreeBSD? Here&#8217;s a fix</title>
		<link>https://jeremy.visser.name/2010/05/14/no-users-in-gdm-list-on-freebsd-heres-a-fix/</link>
		<comments>https://jeremy.visser.name/2010/05/14/no-users-in-gdm-list-on-freebsd-heres-a-fix/#comments</comments>
		<pubDate>Thu, 13 May 2010 22:59:52 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1451</guid>
		<description><![CDATA[So today GNOME finally finished compiling on this Compaq Evo N610c laptop which I installed FreeBSD 8.0 on the other day. It only took about 3 days to compile. (Only! Mind you, it pulled in all sorts of stuff, like Epiphany, which includes WebKit.) After making sure GDM would come up on startup by adding [...]]]></description>
			<content:encoded><![CDATA[<p>So today GNOME finally finished compiling on this Compaq Evo N610c laptop which I installed FreeBSD 8.0 on the other day. It only took about 3 days to compile. (Only! Mind you, it pulled in all sorts of stuff, like <a href="http://projects.gnome.org/epiphany/">Epiphany</a>, which includes <a href="http://webkit.org/">WebKit</a>.)</p>
<p>After making sure GDM would come up on startup by adding this to <code>/etc/rc.conf</code>&#8230;</p>
<blockquote><pre>dbus_enable="YES"
hald_enable="YES"
gnome_enable="YES"</pre>
</blockquote>
<p>(For some reason, <code>lshal</code> wouldn&#8217;t run if <code>gnome_enable="YES"</code> was the only line.)</p>
<p>&#8230;I was dismayed to discover that there were no users showing up in the GDM login form. Not even the &#8220;Other&#8221; option was available to let me log in manually.</p>
<p>Frustrated, I went to search Google. I started typing &#8220;freebsd gdm&#8221; and then Google Suggest popped up:</p>
<p><img src="https://jeremy.visser.name/wordpress/wp-content/uploads/2010/05/nousers-e1273768246354-300x145.png" alt="FreeBSD GDM no users" width="300" height="145" class="aligncenter size-medium wp-image-1455" /></p>
<p>Looks like I&#8217;m not the only one Googling for that. Turns out I couldn&#8217;t find anything on Google — nobody seems to have been bothered to write anything up in an FAQ (which is why I&#8217;m writing this post).</p>
<p>On the offchance, I looked in <code>/var/log/messages</code>, and saw some messages quite like the following:</p>
<blockquote><pre>console-kit-daemon[60290]: WARNING: kvm_getenvv failed: cannot open /proc/60378/mem</pre>
</blockquote>
<p>Turns out FreeBSD doesn&#8217;t mount <code>/proc</code> by default, but it is required for GDM to work properly (and, I&#8217;d hazard a guess, OpenOffice.org and a whole lot of other stuff). You can easily <a href="http://www.cyberciti.biz/faq/howto-freebsd-mount-procfs/">enable procfs</a> by adding this line to <code>/etc/fstab</code>:</p>
<blockquote><pre>proc /proc procfs rw 0 0</pre>
</blockquote>
<p>Then, reboot (or if you’re a clever clogs and mounted <code>/proc</code> by hand with <code>mount</code>, restart GDM <code>/usr/local/etc/rc.d/gdm restart</code>), and you should see the users in the login form!</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2010/05/14/no-users-in-gdm-list-on-freebsd-heres-a-fix/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to fix menu icons in GNOME 2.28</title>
		<link>https://jeremy.visser.name/2009/09/23/how-to-fix-menu-icons-in-gnome-2-28/</link>
		<comments>https://jeremy.visser.name/2009/09/23/how-to-fix-menu-icons-in-gnome-2-28/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 07:29:18 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aargh]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1248</guid>
		<description><![CDATA[For some reason, the folks at GNOME (the &#8220;usability&#8221; team) decided to turn off icons in menus. Not only does it make them look ugly as hell, but it is nigh on impossible to navigate menus visually. I am a very visually-oriented person, so this makes GNOME very difficult to use. I find myself constantly [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason, the folks at GNOME (the &#8220;usability&#8221; team) decided to turn off icons in menus. Not only does it make them look ugly as hell, but it is nigh on impossible to navigate menus visually.</p>
<p>I am a very visually-oriented person, so this makes GNOME <em>very</em> difficult to use. I find myself constantly selecting the wrong items, even though removing the icons doesn&#8217;t actually change their position.</p>
<p>But as if that wasn&#8217;t bad enough, the &#8220;usability&#8221; team has taken the KDE approach to the problem. Rather than setting an obvious and sane default (i.e. enable icons in menus), there is a checkbox to enable the icons again. Brilliant! <small>(not)</small></p>
<p>So you can go to System &rarr; Preferences (the first item in the menu, in case you prefer to navigate visually with icons like me) &rarr; Appearance (the second item in the menu), and under the Interface tab, you can check the box &#8220;Show icons in menus&#8221; to get the menu icons back, which gives temporary relief.</p>
<p><img src="http://jeremy.visser.name/wordpress/wp-content/uploads/2009/09/enable-menu-icons.png" alt="Enable menu icons illustration" title="Enable menu icons illustration" width="397" height="206" class="alignnone size-full wp-image-1249" /></p>
<p>Like many GNOME features, this one is only partly implemented. GNOME&#8217;s new &#8216;feature&#8217; also removes stock icons from buttons, and the above option does not put them back (well, seeing as though it is captioned &#8220;Show icons in menus&#8221; I don&#8217;t see why it would, but if you&#8217;re going to take the KDE approach, you may as well go the whole hog and add <em>another</em> option still).</p>
<p>At first, I thought this was a bug in Ubuntu Karmic (I am running the alpha on my desktop right now). While there&#8217;s nothing like being able to have the suspense of not knowing whether your computer will boot up in the morning, I thought this was preposterous. After I found out it was an <a href="http://foundation.gnome.org/reports/gnome-report-2009-Q2.pdf">intentional change</a> (167 KB PDF), it now seems that it&#8217;s plain baloney.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2009/09/23/how-to-fix-menu-icons-in-gnome-2-28/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Make Metacity compositing smoother</title>
		<link>https://jeremy.visser.name/2008/10/25/make-metacity-compositing-smoother/</link>
		<comments>https://jeremy.visser.name/2008/10/25/make-metacity-compositing-smoother/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 02:37:10 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aargh]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jeremyvisser.wordpress.com/?p=752</guid>
		<description><![CDATA[If you&#8217;re like me, you&#8217;ll drink Coke and disrupt your sleeping cycle on a regular basis. You&#8217;ll also be frustrated that Metacity&#8217;s compositing is horribly jerky. Well, as I found out from chatting on IRC one day, Metacity&#8217;s compositor is hard-coded to run at 50fps. Normally, your monitor&#8217;s refresh rate will be something around 75hz, [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me, you&#8217;ll drink Coke and disrupt your sleeping cycle on a regular basis. You&#8217;ll also be frustrated that Metacity&#8217;s compositing is horribly jerky. Well, as I found out from chatting on IRC one day, Metacity&#8217;s compositor is hard-coded to run at 50fps.</p>
<p>Normally, your monitor&#8217;s refresh rate will be something around 75hz, so 50fps, which is less than your monitor&#8217;s refresh rate, is hardly optimal. Fortunately, you can fix it with this <a href="http://static.sunriseroad.net/jeremy/releases/metacity-faster-composite.patch">simple patch</a>: <span id="more-752"></span></p>
<blockquote><pre>diff -ur metacity-2.22.0.orig/src/core/compositor.c metacity-2.22.0/src/core/compositor.c
--- metacity-2.22.0.orig/src/core/compositor.c	2008-03-10 08:49:15.000000000 +1100
+++ metacity-2.22.0/src/core/compositor.c	2008-10-25 11:30:13.000000000 +1100
@@ -1290,16 +1290,18 @@
   if (compositor-&gt;repaint_id &gt; 0)
     return;

-#if 0
-  compositor-&gt;repaint_id = g_idle_add_full (G_PRIORITY_HIGH_IDLE,
-                                            compositor_idle_cb, compositor,
-                                            NULL);
-#else
   /* Limit it to 50fps */
+  /*
   compositor-&gt;repaint_id = g_timeout_add_full (G_PRIORITY_HIGH, 20,
                                                compositor_idle_cb, compositor,
                                                NULL);
-#endif
+  */
+
+  /* Nah, let's do 75fps */
+  compositor-&gt;repaint_id = g_timeout_add_full (G_PRIORITY_HIGH, 13,
+                                               compositor_idle_cb, compositor,
+                                               NULL);
+
 }
 #endif
</pre>
</blockquote>
<p>The timeout is changed from updating every 20 milliseconds (1000msec ÷ 50fps = 20msec), to every 13 milliseconds (1000msec ÷ 75fps ≈ 13msec), which makes it much smoother.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2008/10/25/make-metacity-compositing-smoother/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Nautilus easter egg</title>
		<link>https://jeremy.visser.name/2008/10/09/nautilus-easter-egg/</link>
		<comments>https://jeremy.visser.name/2008/10/09/nautilus-easter-egg/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 00:56:06 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[easter egg]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[humour]]></category>
		<category><![CDATA[nautilus]]></category>

		<guid isPermaLink="false">http://jeremyvisser.wordpress.com/?p=729</guid>
		<description><![CDATA[I went to clear my Nautilus history just now, as it seems to remember the history of removable drives, which doesn&#8217;t make sense after you&#8217;ve ejected them. (Bug?) When the dialog came up, I was greeted by an amusing message: Indeed, it was an easter egg, because every other time I brought up the dialog, [...]]]></description>
			<content:encoded><![CDATA[<p>I went to clear my Nautilus history just now, as it seems to remember the history of removable drives, which doesn&#8217;t make sense after you&#8217;ve ejected them. (Bug?)</p>
<p>When the dialog came up, I was greeted by an amusing message:</p>
<p><img class="aligncenter size-full wp-image-730" title="Forget History" src="http://jeremyvisser.files.wordpress.com/2008/10/history.png" alt="" width="459" height="159" /></p>
<p>Indeed, it was an easter egg, because every other time I brought up the dialog, it displayed a normal message instead.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2008/10/09/nautilus-easter-egg/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Get classic GNOME logout/shutdown menus in Ubuntu</title>
		<link>https://jeremy.visser.name/2008/07/12/get-classic-gnome-logoutshutdown-menus-in-ubuntu/</link>
		<comments>https://jeremy.visser.name/2008/07/12/get-classic-gnome-logoutshutdown-menus-in-ubuntu/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 01:40:38 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jeremyvisser.wordpress.com/?p=644</guid>
		<description><![CDATA[I don&#8217;t like Ubuntu&#8217;s default shutdown menu. (You know, the one that appears when you press System → Quit and pops up a dialog with buttons for each option.) GNOME, by default, doesn&#8217;t actually have the &#8220;Quit&#8221; menu. Instead, it has &#8220;Log Out username&#8221; and &#8220;Shut Down&#8221;. Those menus bring up dialogs that have a [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t like Ubuntu&#8217;s default shutdown menu. (You know, the one that appears when you press System → Quit and pops up a dialog with buttons for each option.)</p>
<p>GNOME, by default, doesn&#8217;t actually have the &#8220;Quit&#8221; menu. Instead, it has &#8220;Log Out <em>username</em>&#8221; and &#8220;Shut Down&#8221;. Those menus bring up dialogs that have a timer, so if you don&#8217;t click Shut Down/Log Out or Cancel in the resulting dialog, it will go ahead and shut down anyway.</p>
<p>Handy for if you click System → Shut Down when you&#8217;re in a rush to get out of the house, and forget about the dialog that comes up, because you ran off before it came up.</p>
<p>It&#8217;s really easy to enable. Just type this in a terminal:</p>
<blockquote class="terminal"><pre>$ gconftool-2 --type bool --set /apps/panel/global/upstream_session true</pre>
</blockquote>
<p>Either type <code>killall gnome-panel</code>, or log out and log on to see the changes.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2008/07/12/get-classic-gnome-logoutshutdown-menus-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
