<?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>iXce's blog &#187; GNOME</title>
	<atom:link href="http://guillaume.segu.in/blog/category/gnome/feed/" rel="self" type="application/rss+xml" />
	<link>http://guillaume.segu.in/blog</link>
	<description>Stuff that doesn’t matter</description>
	<lastBuildDate>Mon, 28 Feb 2011 22:28:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Doing changes for usability sake based on broken assumptions</title>
		<link>http://guillaume.segu.in/blog/code/173/doing-changes-for-usability-sake-based-on-broken-assumptions/</link>
		<comments>http://guillaume.segu.in/blog/code/173/doing-changes-for-usability-sake-based-on-broken-assumptions/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 19:01:43 +0000</pubDate>
		<dc:creator>iXce</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[azerty]]></category>
		<category><![CDATA[dumb]]></category>
		<category><![CDATA[keybinding]]></category>
		<category><![CDATA[metacity]]></category>
		<category><![CDATA[qwerty]]></category>

		<guid isPermaLink="false">http://guillaume.segu.in/blog/?p=173</guid>
		<description><![CDATA[Keyboard shortcuts are always a great matter of debate, and the whole problem is that most often they are chosen based on assumptions of the end user layout. For instance, take this metacity commit : Change default cycle_group keybinding to Alt-grave. This change looks perfectly harmless, right ? Well not quite. It&#8217;s most likely based [...]]]></description>
			<content:encoded><![CDATA[<p>Keyboard shortcuts are always a great matter of debate, and the whole problem is that most often they are chosen based on assumptions of the end user layout.</p>
<p>For instance, take this <a href="http://git.gnome.org/browse/metacity/commit/?id=0f805bfdfb46e6739912df042f628ca9913b433c">metacity commit : Change default cycle_group keybinding to Alt-grave</a>. This change looks perfectly harmless, right ? Well not quite. It&#8217;s most likely based on the assumption that the end users has a qwerty keyboard layout (and it makes perfectly sense there). But let&#8217;s take an azerty layout. Grave is on the é/7 key, which is even farther from alt or tab than F6 is (well, not much I agree, but it might be even worse on other layouts). Is it really worth doing such a change then ?</p>
<p>Let&#8217;s also note that this also triggers a bad bug which gets alt+7 and alt+shift+7 to trigger the binding as well, while alt+grave is actually alt+altgr+7. This has been keeping me from nicely switching to my window n°7 in irssi for months (great thing that this window holds a really low traffic channel&#8230;).</p>
<p>All in all, I guess that the real problem is not that this change was made, but rather than we might need a system to have layout-dependant keybindings, or maybe hardware-location-based keybindings (<em>i.e.</em> that the key above the Tab key would trigger this keybinding independently of the layout).</p>
<p><em>Initially published on Mar 24, 2010 @ 8:22</em></p>
<p><strong>Update :</strong> this change has been <a href="http://git.gnome.org/browse/metacity/commit/?id=7d8972f20d4a41bb9c8afbc45a2eb6a9bbf08b09">reverted for the GNOME 2.30 release</a>. Even though I&#8217;m happy that the problem is &#8220;fixed&#8221;, it&#8217;s sad that the underlying problem (Alt+Shift+7 triggering Alt+`) is still there.</p>
]]></content:encoded>
			<wfw:commentRss>http://guillaume.segu.in/blog/code/173/doing-changes-for-usability-sake-based-on-broken-assumptions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>molly-guard: prevent accidental shutdowns/reboots</title>
		<link>http://guillaume.segu.in/blog/home/118/molly-guard-prevent-accidental-shutdownsreboots/</link>
		<comments>http://guillaume.segu.in/blog/home/118/molly-guard-prevent-accidental-shutdownsreboots/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 17:07:46 +0000</pubDate>
		<dc:creator>iXce</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[~home]]></category>

		<guid isPermaLink="false">http://guillaume.segu.in/blog/?p=118</guid>
		<description><![CDATA[Have you ever mistakenly shut down or rebooted your operation-critical server while you were willing to halt your desktop computer through ssh before going to bed, or anything like this? If so, and if you are on Debian/Ubuntu, molly-guard is designed for you: this nifty bash script gets between you and the shutdown/reboot/halt tools, checking [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever mistakenly shut down or rebooted your operation-critical server while you were willing to halt your desktop computer through ssh before going to bed, or anything like this? If so, and if you are on Debian/Ubuntu, <a href="http://packages.debian.org/unstable/admin/molly-guard">molly-guard</a> is designed for you: this nifty bash script gets between you and the shutdown/reboot/halt tools, checking if you are connecting through ssh and if so asking for the hostname of the machine before proceeding.</p>
<p>Wondering how it looks? Here is the output of a little test:</p>
<pre><code>ixce@timmy:~$ sudo shutdown -r
W: molly-guard: SSH session detected!
Please type in hostname of the machine to shutdown:
Good thing I asked; I won't shutdown timmy ...</code></pre>
<p>Since it doesn&#8217;t correctly handle sudo yet (actually sudo is at fault here, since it drops SSH_CONNECTION environment variable when doing its stuff), you might want to add PRETEND_SSH around the beginning of /usr/sbin/shutdown <a href="http://nion.modprobe.de/blog/archives/570-Installing-molly-guard.html">as specified on Nico &#8220;nion&#8221; Golde&#8217;s blog</a>.</p>
<p>You might also want to grab the <a href="http://guillaume.segu.in/packages/molly-guard/molly-guard_0.3.2-1_all.deb">molly-guard 0.3.2 etch package</a> I backported from sid (all I changed is downgrade debhelper build-dep version and debhelper compatibility level in debian/compat since etch only has debhelper 5 and the sid package required debhelper 6 ; this shouldn&#8217;t break anything since the newer debhelper just seems to be needed to recognize a few fields in debian/control about where the package is maintained). <a href="http://guillaume.segu.in/packages/molly-guard/">Sources are also available</a>, anyway.</p>
<p>Thanks <a href="http://www.bonz.org/tech/">hr</a> for the tip <img src='http://guillaume.segu.in/blog/wp-includes/images/smilies/smile.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://guillaume.segu.in/blog/home/118/molly-guard-prevent-accidental-shutdownsreboots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PWNED</title>
		<link>http://guillaume.segu.in/blog/home/73/pwned/</link>
		<comments>http://guillaume.segu.in/blog/home/73/pwned/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 11:00:30 +0000</pubDate>
		<dc:creator>iXce</dc:creator>
				<category><![CDATA[GNOME]]></category>
		<category><![CDATA[~home]]></category>

		<guid isPermaLink="false">http://guillaume.segu.in/blog/home/73/pwned/</guid>
		<description><![CDATA[Getting pwned at school on a daily basis these days&#8230;. Mhhhh no fun Not much has been going on code-wise, though I fixed CamlUI to get it to work against latest gtksourceview2 API and rewrote gnome-about in an accessible way&#8230; Wondering if it&#8217;ll ever be accepted as part of the official GNOME project. On a [...]]]></description>
			<content:encoded><![CDATA[<p>Getting <a href="http://en.wikipedia.org/wiki/Pwn">pwned</a> at school on a daily basis these days&#8230;. Mhhhh no fun  <img src='http://guillaume.segu.in/blog/wp-includes/images/smilies/thinking.png' alt=':-|' class='wp-smiley' /><br />
Not much has been going on code-wise, though I fixed CamlUI to get it to work against latest gtksourceview2 API and rewrote gnome-about in an accessible way&#8230; Wondering if it&#8217;ll ever be accepted as part of the official GNOME project.</p>
<p>On a side note, we are about to release Compiz Fusion 0.6.0 (and 0.6.2 should follow rather quickly to match the upcoming Compiz bugfix release).</p>
]]></content:encoded>
			<wfw:commentRss>http://guillaume.segu.in/blog/home/73/pwned/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CCSM&#8217;s new actions handling</title>
		<link>http://guillaume.segu.in/blog/code/59/ccsms-new-actions-handling/</link>
		<comments>http://guillaume.segu.in/blog/code/59/ccsms-new-actions-handling/#comments</comments>
		<pubDate>Fri, 24 Aug 2007 08:14:45 +0000</pubDate>
		<dc:creator>iXce</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Compiz/Fusion]]></category>
		<category><![CDATA[GNOME]]></category>

		<guid isPermaLink="false">http://guillaume.segu.in/blog/code/59/ccsms-new-actions-handling/</guid>
		<description><![CDATA[A few days ago, David (Compiz main developer) pushed out a bunch of code changing radically the way actions (keyboard shortcuts, mouse actions, hot corners, visual bells) are handled by Compiz. Before these changes, every action had components for the 4 types of actions, while now there&#8217;s a specific type for each of these. Consequently, [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago, David (Compiz main developer) pushed out a bunch of code changing radically the way actions (keyboard shortcuts, mouse actions, hot corners, visual bells) are handled by Compiz. Before these changes, every action had components for the 4 types of actions, while now there&#8217;s a specific type for each of these.<br />
Consequently, libcompizconfig and its friends had to be updated. Patrick &#8220;marex&#8221; Niklaus, CCSM&#8217;s maintainer, being busy for a few weeks, I updated the compizconfig-python bindings and CCSM. These changes gave us the chance to review the actions handling in CCSM and change it.</p>
<p>Actions are no grouped in a single tab, ordered in a treeview, but they can be grouped in tabs and subgrouped in expanders as other settings. A small icon in front of actions&#8217; label indicate the type of the action, and custom widgets were developed, among which a screen edge selector, a keyboard modifiers selector and a key grabber (which is able to grab Tab keys and such).</p>
<p>All graphics are courtesy of the GNOME project, thanks guys for the great work !.</p>
<p>Read more for some screenshots.</p>
<p><span id="more-59"></span></p>
<p>Overall look of actions in a normal options tab :<br />
<a href='http://guillaume.segu.in/blog/wp-content/uploads/2007/08/ccsm-actions.png' title='CCSM’s new actions handling preview'><img src='http://guillaume.segu.in/blog/wp-content/uploads/2007/08/ccsm-actions.thumbnail.png' alt='CCSM’s new actions handling preview' /></a></p>
<p>Close-up on the brand new edge selector :<br />
<img src='http://guillaume.segu.in/blog/wp-content/uploads/2007/08/ccsm-edge.png' alt='CCSM’s new actions handling preview (edge selector)' /></p>
<p>Likewise, close-up on the new mouse button selector :<br />
<img src='http://guillaume.segu.in/blog/wp-content/uploads/2007/08/ccsm-mouse.png' alt='CCSM’s new actions handling preview (mouse selector)' /></p>
<p>And the original mockup of the mouse button selector by Dennis &#8220;onestone&#8221; :<br />
<a href='http://guillaume.segu.in/blog/wp-content/uploads/2007/08/ccsm-mouse-mockup.png' title='CCSM’s new actions handling preview (mouse selector mockup)'><img src='http://guillaume.segu.in/blog/wp-content/uploads/2007/08/ccsm-mouse-mockup.thumbnail.png' alt='CCSM’s new actions handling preview (mouse selector mockup)' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://guillaume.segu.in/blog/code/59/ccsms-new-actions-handling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gtk+ new Stock Icons</title>
		<link>http://guillaume.segu.in/blog/home/48/gtk-new-stock-icons/</link>
		<comments>http://guillaume.segu.in/blog/home/48/gtk-new-stock-icons/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 11:07:47 +0000</pubDate>
		<dc:creator>iXce</dc:creator>
				<category><![CDATA[GNOME]]></category>
		<category><![CDATA[~home]]></category>

		<guid isPermaLink="false">http://guillaume.segu.in/blog/home/48/gtk-new-stock-icons/</guid>
		<description><![CDATA[I definitely love the new tangoish default Gtk+ Stock Icon Set. It just looks so great. Thanks and congratulations to the artists who built it in just one day =) It&#8217;ll be available by default in Gnome 2.20, scheduled for September 19th.]]></description>
			<content:encoded><![CDATA[<p>I definitely love the new tangoish default Gtk+ Stock Icon Set. It just looks so great. Thanks and congratulations to the <a href="http://www.andreasn.se/blog/?p=45">artists</a> who built it in <strong>just one day</strong> =) It&#8217;ll be available by default in Gnome 2.20, scheduled for September 19th.</p>
<p><img src='http://guillaume.segu.in/blog/wp-content/uploads/2007/08/gtk-tango.png' alt='Gtk+ Stock Icon Set' /></p>
]]></content:encoded>
			<wfw:commentRss>http://guillaume.segu.in/blog/home/48/gtk-new-stock-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

