<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Ubuntu: xbindkeys to replace Firefox&#8217;s clippings extension</title>
	<atom:link href="http://www.ryananddebi.com/2010/06/04/ubuntu-xbindkeys-to-replace-firefoxs-clippings-extension/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryananddebi.com/2010/06/04/ubuntu-xbindkeys-to-replace-firefoxs-clippings-extension/</link>
	<description>Public journal, toddler tales, travelogue, book reviews, and other stuff... (mostly written by Ryan)</description>
	<lastBuildDate>Thu, 02 Feb 2012 17:00:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ryan</title>
		<link>http://www.ryananddebi.com/2010/06/04/ubuntu-xbindkeys-to-replace-firefoxs-clippings-extension/comment-page-1/#comment-10837</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Fri, 28 Jan 2011 01:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryananddebi.com/?p=4538#comment-10837</guid>
		<description>Hi Gonzalo,

I&#039;m glad you found a solution.  I figured it must be possible, but I had not run into that issue.  Your solution will be available to everyone.  Thanks for posting it!

Best,

Ryan</description>
		<content:encoded><![CDATA[<p>Hi Gonzalo,</p>
<p>I&#8217;m glad you found a solution.  I figured it must be possible, but I had not run into that issue.  Your solution will be available to everyone.  Thanks for posting it!</p>
<p>Best,</p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gonzalo</title>
		<link>http://www.ryananddebi.com/2010/06/04/ubuntu-xbindkeys-to-replace-firefoxs-clippings-extension/comment-page-1/#comment-10836</link>
		<dc:creator>gonzalo</dc:creator>
		<pubDate>Thu, 27 Jan 2011 22:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryananddebi.com/?p=4538#comment-10836</guid>
		<description>&lt;a href=&quot;#comment-10833&quot; rel=&quot;nofollow&quot;&gt;@ryan &lt;/a&gt; 

Hi again Ryan.

I looked up your advice and yes, switching the keyboard layout allowed me to write the special characters I needed. In that case, the new layout Latin1 did a great job. But since there is no option to start the keyboard with the Latin1 layout, and xvkbd does not remember the layout selected once you close it, I couldn&#039;t use those special characters for the -text option

Since I looked up all over the web for about 2 days for a way to write latin characters with xvkbd -text command, and found nothing, I feel I need to share my solution: While looking into the file /etc/X11/app-defaults/XVkbd-common I found the labels for all the keys in the keyboard, and with that label, I was able to simulate a key stroke of any of the &quot;dead keys&quot; of the default keyboard, using the keysym operator ( \[key_label] ), so I came up with this:

In order to write this spanish sentence:
Mañana intentaré ir tras ese pingüino

The line you should include in the xbindkeys is:
xvkbd -xsendevent -text &#039;\D3Ma\D1\[dead_tilde]nana intentar\D1\[dead_acute]e ir tras ese ping\D1\[dead_diaeresis]uino&#039; 

I also included \D3 and \D1, which are &quot;delays&quot;, at the beginning (300ms) and before every dead key stroke (100ms), because without them, the special characters (ñ, é, ü) appear at the beginning of the sentence. This might be a local performance issue, but oh well....

I have no clue how to make this work with other special characters, like portugese, greek or german, I leave that for others to look for.

Thanks again for your help Ryan, I appreciate

Bye</description>
		<content:encoded><![CDATA[<p><a href="#comment-10833" rel="nofollow">@ryan </a> </p>
<p>Hi again Ryan.</p>
<p>I looked up your advice and yes, switching the keyboard layout allowed me to write the special characters I needed. In that case, the new layout Latin1 did a great job. But since there is no option to start the keyboard with the Latin1 layout, and xvkbd does not remember the layout selected once you close it, I couldn&#8217;t use those special characters for the -text option</p>
<p>Since I looked up all over the web for about 2 days for a way to write latin characters with xvkbd -text command, and found nothing, I feel I need to share my solution: While looking into the file /etc/X11/app-defaults/XVkbd-common I found the labels for all the keys in the keyboard, and with that label, I was able to simulate a key stroke of any of the &#8220;dead keys&#8221; of the default keyboard, using the keysym operator ( \[key_label] ), so I came up with this:</p>
<p>In order to write this spanish sentence:<br />
Mañana intentaré ir tras ese pingüino</p>
<p>The line you should include in the xbindkeys is:<br />
xvkbd -xsendevent -text &#8216;\D3Ma\D1\[dead_tilde]nana intentar\D1\[dead_acute]e ir tras ese ping\D1\[dead_diaeresis]uino&#8217; </p>
<p>I also included \D3 and \D1, which are &#8220;delays&#8221;, at the beginning (300ms) and before every dead key stroke (100ms), because without them, the special characters (ñ, é, ü) appear at the beginning of the sentence. This might be a local performance issue, but oh well&#8230;.</p>
<p>I have no clue how to make this work with other special characters, like portugese, greek or german, I leave that for others to look for.</p>
<p>Thanks again for your help Ryan, I appreciate</p>
<p>Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan</title>
		<link>http://www.ryananddebi.com/2010/06/04/ubuntu-xbindkeys-to-replace-firefoxs-clippings-extension/comment-page-1/#comment-10833</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Wed, 26 Jan 2011 12:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryananddebi.com/?p=4538#comment-10833</guid>
		<description>&lt;a href=&quot;#comment-10832&quot; rel=&quot;nofollow&quot;&gt;@gonzalo &lt;/a&gt; 
gonzalo,

I haven&#039;t run into that problem, but I&#039;m guessing xvkbd can handle characters from other languages.  I looked on the main information page for xvkbd (see here: .  It does support alternate keyboards.  If you type &quot;xvkbd&quot; into a terminal, it will pop up the virtual keyboard that is used to enter the text.  In the bottom left corner there is an &quot;xvkbd&quot; button.  If you select it, you&#039;ll see an option to &quot;change keyboard layout&quot;.  You can select &quot;Spanish.&quot;  That may help.

Alternatively, there is now something similar to clippings for Chrome, though it doesn&#039;t have keyboard shortcuts.  It&#039;s called &quot;Papercuts&quot;:
https://chrome.google.com/webstore/detail/kjodbaafiacnpklaepiaplhbbiomipmc

I use it for some of the more complicated things I paste regularly.

I hope this helps.</description>
		<content:encoded><![CDATA[<p><a href="#comment-10832" rel="nofollow">@gonzalo </a><br />
gonzalo,</p>
<p>I haven&#8217;t run into that problem, but I&#8217;m guessing xvkbd can handle characters from other languages.  I looked on the main information page for xvkbd (see here: .  It does support alternate keyboards.  If you type &#8220;xvkbd&#8221; into a terminal, it will pop up the virtual keyboard that is used to enter the text.  In the bottom left corner there is an &#8220;xvkbd&#8221; button.  If you select it, you&#8217;ll see an option to &#8220;change keyboard layout&#8221;.  You can select &#8220;Spanish.&#8221;  That may help.</p>
<p>Alternatively, there is now something similar to clippings for Chrome, though it doesn&#8217;t have keyboard shortcuts.  It&#8217;s called &#8220;Papercuts&#8221;:<br />
<a href="https://chrome.google.com/webstore/detail/kjodbaafiacnpklaepiaplhbbiomipmc" rel="nofollow">https://chrome.google.com/webstore/detail/kjodbaafiacnpklaepiaplhbbiomipmc</a></p>
<p>I use it for some of the more complicated things I paste regularly.</p>
<p>I hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gonzalo</title>
		<link>http://www.ryananddebi.com/2010/06/04/ubuntu-xbindkeys-to-replace-firefoxs-clippings-extension/comment-page-1/#comment-10832</link>
		<dc:creator>gonzalo</dc:creator>
		<pubDate>Wed, 26 Jan 2011 06:54:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryananddebi.com/?p=4538#comment-10832</guid>
		<description>very nice, just what I was looking for, very detailed. I also had the same problem about moving to Chrome.... Thanks a lot!!
any clues on how to make it work with characters from other languages? for example, words like: &quot;atrás&quot;, &quot;mañana&quot;, &quot;pingüino&quot;, &quot;você tinha o almoço&quot;.... it&#039;s giving me a hard time...

thanks again!!

bye</description>
		<content:encoded><![CDATA[<p>very nice, just what I was looking for, very detailed. I also had the same problem about moving to Chrome&#8230;. Thanks a lot!!<br />
any clues on how to make it work with characters from other languages? for example, words like: &#8220;atrás&#8221;, &#8220;mañana&#8221;, &#8220;pingüino&#8221;, &#8220;você tinha o almoço&#8221;&#8230;. it&#8217;s giving me a hard time&#8230;</p>
<p>thanks again!!</p>
<p>bye</p>
]]></content:encoded>
	</item>
</channel>
</rss>

