<?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>Desi Penguin’s Blog &#187; Keyboard shortcut</title>
	<atom:link href="http://desipenguin.com/techblog/tag/keyboard-shortcut/feed/" rel="self" type="application/rss+xml" />
	<link>http://desipenguin.com/techblog</link>
	<description>Open source, Tech Tips, Reviews, Tutorials and more …</description>
	<lastBuildDate>Tue, 29 Jun 2010 16:38:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Gnome : Switch to Workspace 3 and 4 using Keyboard Shortcut</title>
		<link>http://desipenguin.com/techblog/2009/02/13/gnome-switch-to-workspace-3-and-4-using-keyboard-shortcut/</link>
		<comments>http://desipenguin.com/techblog/2009/02/13/gnome-switch-to-workspace-3-and-4-using-keyboard-shortcut/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 13:26:14 +0000</pubDate>
		<dc:creator>Mandar Vaze</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Configuration Editor]]></category>
		<category><![CDATA[gconf-editor]]></category>
		<category><![CDATA[Keyboard shortcut]]></category>
		<category><![CDATA[Windows Registry]]></category>

		<guid isPermaLink="false">http://desipenguin.com/techblog/?p=220</guid>
		<description><![CDATA[



Image via Wikipedia



During my last post I discussed about assigning keyboard shortcuts to switch workspaces. At that time, I was unable to assign keyboard shortcuts to switch to Workspace 3 and 4. After little more trial and error, I was able to assign shortcuts for these.
Number of workspaces listed in Keyboard shortcuts preferences are driven [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignright" style="width: 212px;">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:Ctl_wndws_alt.jpg"><img title="A Control key (marked &quot;Ctrl&quot;) on a m..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Ctl_wndws_alt.jpg/202px-Ctl_wndws_alt.jpg" alt="A Control key (marked &quot;Ctrl&quot;) on a m..." width="202" height="58" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:Ctl_wndws_alt.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>During my <a href="http://desipenguin.com/techblog/2009/02/07/gnome-how-to-assign-keyboard-shortcuts" target="_blank">last post</a> I discussed about assigning keyboard shortcuts to switch workspaces. At that time, I was unable to assign keyboard shortcuts to switch to Workspace 3 and 4. After little more trial and error, I was able to assign shortcuts for these.</p>
<p><span id="more-220"></span>Number of workspaces listed in Keyboard shortcuts preferences are driven by meta-city configuration. So even though I added two more workspaces from Workspace Panel applet, the metacity configuration still had number of workspaces defined as 2. That is why additional shortcuts were not even available to configure.</p>
<h3>How to update Number of workspaces in <a class="zem_slink" title="Metacity" rel="wikipedia" href="http://en.wikipedia.org/wiki/Metacity">Metacity</a> preferences ?</h3>
<ol>
<li>Press Alt+F2 to bring up Run dialog box (Similar to Windows+R on Windows)</li>
<li>Type <em><a class="zem_slink" title="Gconf-editor" rel="homepage" href="http://www.gnome.org/">gconf-editor</a></em>, and hit enter.</li>
<li>This will bring up Configuration Editor window. If you have ever used <a class="zem_slink" title="Windows Registry" rel="wikipedia" href="http://en.wikipedia.org/wiki/Windows_Registry">Registry Editor</a> on Windows, this will be very familiar, except there are lot less hex/cryptic values</li>
<li>Using the left hand side tree structure, navigate to /apps/metacity/general</li>
<li>Now in the right hand side panel, you&#8217;ll see several configurable items.</li>
<li>Click on <em>num_workspaces</em>. Default value would be 2. Click on 2 , edit it to 4</li>
<li>Exit out of Configuration Editor.</li>
<li>Go back to <em>System-&gt;Preferences-&gt;Keyboard Shortcuts</em>. Now under <em>Windows Management</em> Category, you should see entries for <em>Switch to Workspace 3 </em>(and 4)</li>
</ol>
<p><span style="color: #999999;">Note : How-To geek article listed below was very helpful. See link below.</span></p>
<p><em>Correction : Nov 25, 2009</em></p>
<p><em>It is incorrect to say that this works in gnome. It would be accurate to say that this works in gnome when using metacity window manager. It is amply clear from the instructions above that these shortcut keys are honored by metacity window manager only. It was clear to me when I tried gnome-shell window manager in Ubuntu 9.10, where these keyboard shortcuts did not work.</em></p>
<p><em>If gnome-shell indeed supports something similar for workspace switching I&#8217;ll write another post detailing the instructions. But for now, consider yourself warned.</em></p>
<p><em>Update 2 : It turns out there is no need for separate hotkeys needed to switch to other work spaces. Alt+Tab shows the list of all the applications across all the work spaces. Applications in different work spaces are separated by vertical line<br />
</em></p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.howtogeek.com/howto/ubuntu/assign-custom-shortcut-keys-on-ubuntu-linux/">Assign Custom Shortcut Keys on Ubuntu Linux</a> (howtogeek.com)</li>
<li class="zemanta-article-ul-li"><a href="http://desipenguin.com/techblog/2009/02/07/gnome-how-to-assign-keyboard-shortcuts/">Gnome : How to Assign Keyboard Shortcuts</a> (desipenguin.com)</li>
<li class="zemanta-article-ul-li"><a href="http://blog.taragana.com/index.php/archive/how-to-configure-gnome-keyboard-shortcuts/">How to Configure Gnome Keyboard Shortcuts</a> (taragana.com)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/22d0a02d-b657-45f4-ac72-a9aa828f1a0b/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=22d0a02d-b657-45f4-ac72-a9aa828f1a0b" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://desipenguin.com/techblog/2009/02/13/gnome-switch-to-workspace-3-and-4-using-keyboard-shortcut/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gnome : How to Assign Keyboard Shortcuts</title>
		<link>http://desipenguin.com/techblog/2009/02/07/gnome-how-to-assign-keyboard-shortcuts/</link>
		<comments>http://desipenguin.com/techblog/2009/02/07/gnome-how-to-assign-keyboard-shortcuts/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 17:13:18 +0000</pubDate>
		<dc:creator>Mandar Vaze</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Computer shortcut]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Keyboard shortcut]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://desipenguin.com/techblog/?p=214</guid>
		<description><![CDATA[

When I moved from Windows to Ubuntu, I was assuming that VirtuaWin keyboard shortcuts would work as is. To my surprise, there were no keyboard shortcut to switch directly to specific workspace. Right click on workspace applet didn&#8217;t help, since it only allowed me to configure number of workspaces. Off course, shortcuts to move to [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div class="wp-caption alignright" style="width: 212px"><a href="http://en.wikipedia.org/wiki/Image:Workspaces.png"><img title="Multiple Workspaces" src="http://upload.wikimedia.org/wikipedia/en/thumb/2/2d/Workspaces.png/202px-Workspaces.png" alt="Spaces" width="202" height="202"></a><p class="wp-caption-text">Image via Wikipedia</p></div>
</div>
<p>When I moved from Windows to <a class="zem_slink" title="Ubuntu" rel="homepage" href="http://www.ubuntu.com/">Ubuntu</a>, I was assuming that VirtuaWin <a class="zem_slink" title="Keyboard shortcut" rel="wikipedia" href="http://en.wikipedia.org/wiki/Keyboard_shortcut">keyboard shortcuts</a> would work as is. To my surprise, there were no keyboard shortcut to switch directly to specific workspace. Right click on <a class="zem_slink" title="Workspace" rel="wikipedia" href="http://en.wikipedia.org/wiki/Workspace">workspace</a> applet didn&#8217;t help, since it only allowed me to configure number of workspaces. Off course, <a class="zem_slink" title="Computer shortcut" rel="wikipedia" href="http://en.wikipedia.org/wiki/Computer_shortcut">shortcuts</a> to move to next workspace are defined as Ctrl+Alt+Arrow (Depending on specific arrangement it could be right, left , up or down arrow)</p>
<p>To define shortcut to move to specific workspace directly, you need to go to System-&gt;Preferences-&gt;Keyboard shortcuts. Select Window Management Category. Here one can define the shortcuts. There are entries for <em>Switch to Workspace 1</em> and <em>Switch to Workspace 2.</em> But both are disabled. It is very easy to assign the shortcuts. Click on the row, and just press the desired key combination. On VirtuaWin, I was used to Alt+&lt;num&gt;, but that was already taken by Firefox to move to specific tab. So I decided to use Ctrl+1 and Ctrl+2.</p>
<p>I was able to define shortcut for Workspace 1 and Workspace 2 (Since there are two workspaces defined in the&nbsp; default configuration). When I created additional two workspaces (2&#215;2 matrix) I am unable to assign shortcuts to workspace 3 and 4. (For now I&#8217;m using Arrow based shortcuts to move between the workspaces)</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/99a46330-207a-4990-9ec7-be3b39b3de2f/"><img class="zemanta-pixie-img" style="border: medium none ; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=99a46330-207a-4990-9ec7-be3b39b3de2f" alt="Reblog this post [with Zemanta]"></a></div>
]]></content:encoded>
			<wfw:commentRss>http://desipenguin.com/techblog/2009/02/07/gnome-how-to-assign-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
