<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.xfce.org/extern.php?action=feed&amp;tid=6880&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Xfce Forums / why are keyboard shortcut files .xml?]]></title>
		<link>http://forum.xfce.org/viewtopic.php?id=6880</link>
		<description><![CDATA[The most recent posts in why are keyboard shortcut files .xml?.]]></description>
		<lastBuildDate>Mon, 12 Mar 2012 20:40:19 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: why are keyboard shortcut files .xml?]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=25306#p25306</link>
			<description><![CDATA[<p>Maybe it gives a sort of head start in parsing things -- XML engines already &#039;know&#039; how to retrieve information. Still:</p><p>&lt;alt&gt;F1&#160; &#160; opera<br />&lt;alt&gt;F2&#160; &#160;thunderbird<br />....</p><p>seems like it would be easy to parse and easy to write.</p>]]></description>
			<author><![CDATA[dummy@example.com (rayandrews)]]></author>
			<pubDate>Mon, 12 Mar 2012 20:40:19 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=25306#p25306</guid>
		</item>
		<item>
			<title><![CDATA[Re: why are keyboard shortcut files .xml?]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=25305#p25305</link>
			<description><![CDATA[<p>I can&#039;t say exactly why, but XML is IMO far easier to parse / manipulate / more structured than a text file. I guess one good reason is that Brian wrote it like that <img src="http://forum.xfce.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (jeromeg)]]></author>
			<pubDate>Mon, 12 Mar 2012 19:30:38 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=25305#p25305</guid>
		</item>
		<item>
			<title><![CDATA[Re: why are keyboard shortcut files .xml?]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=25302#p25302</link>
			<description><![CDATA[<div class="quotebox"><cite>jeromeg wrote:</cite><blockquote><div><p>Hello,</p><p>That&#039;s because keyboard shortcuts are stored using xfconf which uses an XML backend. You should not modify those files by hand, better use &quot;xfconf-query&quot; to script the process of adding a shortcut if you want to add them quickly.</p><p>Cheers,</p><p>Jérôme</p></div></blockquote></div><p>Thanks Jerome, I&#039;ll look at this &#039;xfconf-query&#039;. <br />But the question still remains: Why does xfconf use XML? One of the nicest things about the linux world is that most config files are plain text and I&#039;m wondering why xfce4 has made an exception here. Of course I know that other apps and other desktops have some non-text config files to, but since plain text is so &#039;obviously&#039; better, there must be some very good reason why xfconf doesn&#039;t use it. I&#039;m just trying to understand some of the deep reasons why things are done a certain way.</p>]]></description>
			<author><![CDATA[dummy@example.com (rayandrews)]]></author>
			<pubDate>Mon, 12 Mar 2012 17:15:26 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=25302#p25302</guid>
		</item>
		<item>
			<title><![CDATA[Re: why are keyboard shortcut files .xml?]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=25297#p25297</link>
			<description><![CDATA[<p>Hello,</p><p>That&#039;s because keyboard shortcuts are stored using xfconf which uses an XML backend. You should not modify those files by hand, better use &quot;xfconf-query&quot; to script the process of adding a shortcut if you want to add them quickly.</p><p>Cheers,</p><p>Jérôme</p>]]></description>
			<author><![CDATA[dummy@example.com (jeromeg)]]></author>
			<pubDate>Mon, 12 Mar 2012 08:36:21 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=25297#p25297</guid>
		</item>
		<item>
			<title><![CDATA[why are keyboard shortcut files .xml?]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=25294#p25294</link>
			<description><![CDATA[<p>Hi,</p><p>I had a whole pile of keyboard shortcuts to add, and it&#039;s so slow to do it in the GUI, I like to be able to find the actual file where they are stored and edit that directly. I found the file ok &quot;xfce4-keyboard-shortcuts.xml&quot; and my edits worked fine, but I&#039;m curious as to why the file is in .xml format (but even then no browser can open it) -- why not a plain vanilla text file?</p>]]></description>
			<author><![CDATA[dummy@example.com (rayandrews)]]></author>
			<pubDate>Mon, 12 Mar 2012 01:10:53 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=25294#p25294</guid>
		</item>
	</channel>
</rss>
