<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Who Says Penguins Can&#039;t Fly? &#187; KApplication KTips</title>
	<atom:link href="http://hanschen.org/category/kapplication-ktips/feed/" rel="self" type="application/rss+xml" />
	<link>http://hanschen.org</link>
	<description></description>
	<lastBuildDate>Thu, 10 May 2012 18:15:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hanschen.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/3c5596b91b62a09f9977c99bf4a6a40b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Who Says Penguins Can&#039;t Fly? &#187; KApplication KTips</title>
		<link>http://hanschen.org</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hanschen.org/osd.xml" title="Who Says Penguins Can&#039;t Fly?" />
	<atom:link rel='hub' href='http://hanschen.org/?pushpress=hub'/>
		<item>
		<title>One of my favorite features in KDE SC 4.8</title>
		<link>http://hanschen.org/2012/01/29/one-of-my-favorite-features-in-kde-sc-4-8/</link>
		<comments>http://hanschen.org/2012/01/29/one-of-my-favorite-features-in-kde-sc-4-8/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 08:07:05 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[PlanetKDE]]></category>

		<guid isPermaLink="false">http://hanschen.org/?p=2145</guid>
		<description><![CDATA[Show Keyboard Accelerators When Needed Explanation Keyboard accelerators are letters with an underscore that you see on buttons, labels etc. This feature is very useful for people who prefer to use the keyboard. For example, instead of using your mouse, you can click on OK by pressing Alt+O. The downside is that it makes applications [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=2145&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2012/01/feature_kde48.png"><img class="aligncenter size-medium wp-image-2146" title="Hidden gem in the new 4.8 release" src="http://hanswchen.files.wordpress.com/2012/01/feature_kde48.png?w=300&h=220" alt="" width="300" height="220" /></a><em>Show Keyboard Accelerators When Needed</em></p>
<h2 style="text-align:left;">Explanation</h2>
<p style="text-align:left;">Keyboard accelerators are letters with an <span style="text-decoration:underline;">u</span>nderscore that you see on buttons, labels etc. This feature is very useful for people who prefer to use the keyboard. For example, instead of using your mouse, you can click on <span style="text-decoration:underline;">O</span>K by pressing Alt+O.</p>
<p style="text-align:left;">The downside is that it makes applications appear more cluttered. <em>But not anymore</em>. Starting from 4.8 (or did I just not notice this awesome feature until now?), you can configure Oxygen, the default style for KDE applications, to hide keyboard accelerators until you hold down the Alt key, or make them disappear completely.</p>
<h2 style="text-align:left;">So how do I do that?</h2>
<p><span id="more-2145"></span></p>
<ul>
<li>Open the System Settings module to configure <strong>Style</strong><br />
(System Settings → (Common Appearance and Behavior →) Application Appearance → Style)</li>
<li>Make sure you&#8217;ve selected the widget style &#8220;<strong>Oxygen</strong>&#8220;</li>
<li>Click on <strong>Configure&#8230;</strong></li>
<li>Click on <strong>Show Advanced Configuration Options</strong></li>
<li>In the first tab (General), select an option for <strong>Keyboard accelerators visibility</strong>
<ul>
<li><strong>Show Keyboard Accelerators When Needed</strong> (only shown when holding down Alt)</li>
<li><strong>Always Hide Keyboard Accelerators</strong></li>
</ul>
</li>
<li>Click on OK (or press Alt+O if you want to be fancy)</li>
</ul>
<p>Enjoy your underline-free applications!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/2145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/2145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/2145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/2145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/2145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/2145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/2145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/2145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/2145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/2145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/2145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/2145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/2145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/2145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=2145&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2012/01/29/one-of-my-favorite-features-in-kde-sc-4-8/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2012/01/feature_kde48.png?w=300" medium="image">
			<media:title type="html">Hidden gem in the new 4.8 release</media:title>
		</media:content>
	</item>
		<item>
		<title>Switch to specific activities with keyboard shortcuts</title>
		<link>http://hanschen.org/2011/05/20/switch-to-specific-activities-with-keyboard-shortcuts/</link>
		<comments>http://hanschen.org/2011/05/20/switch-to-specific-activities-with-keyboard-shortcuts/#comments</comments>
		<pubDate>Fri, 20 May 2011 16:09:32 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[PlanetKDE]]></category>

		<guid isPermaLink="false">http://hanschen.org/?p=2009</guid>
		<description><![CDATA[In my last post about switching between activities in KDE Plasma Workspaces I had the following on my wishlist: The possibility to set a keyboard shortcut for each activity, for example Meta+F1 for the first activity, Meta+F2 for the second one etc. This is actually already possible in 4.6, although it isn&#8217;t very straightforward for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=2009&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://hanschen.org/2011/05/15/7-ways-to-switch-activities/">In my last post about switching between activities</a> in KDE Plasma Workspaces I had the following on my wishlist:</p>
<ul>
<li>The possibility to set a keyboard shortcut for each activity, for example Meta+F1 for the first activity, Meta+F2 for the second one etc.</li>
</ul>
<p>This is actually already possible in 4.6, although it isn&#8217;t very straightforward for those of us who aren&#8217;t D-Bus wizards. However, since I know that there are other people who want this, I&#8217;ll share what I figured out today. After reading this post you&#8217;ll be able to set keyboard shortcuts (such as Meta+F1, Meta+F2 etc.) to switch to specific activities.</p>
<p><span id="more-2009"></span></p>
<h2>1. Find the activity id</h2>
<p>Each activity has a globally unique identifier (GUID) which is a 32-character hexadecimal string. To get the GUID of the current activity, run the following command:</p>
<p style="padding-left:30px;"><code>qdbus org.kde.kactivitymanagerd /ActivityManager CurrentActivity</code></p>
<p>Make a note of it somewhere. You can also get a list of all activity GUIDs with</p>
<p style="padding-left:30px;"><code>qdbus org.kde.kactivitymanagerd /ActivityManager ListActivities</code></p>
<p>The list is ordered in the same way as the activities in the activity manager.</p>
<h2>2. Create keyboard shortcuts</h2>
<p>Now you have everything you need to create a keyboard shortcut for an activity.</p>
<ol>
<li>Go to <strong>System Settings</strong> → Common Appearance and Behavior → Shortcuts and Gestures → Custom Shortcuts.</li>
<li>Click on <strong>Edit</strong> → New<strong></strong> → Global Shortcut<strong></strong> → D-Bus Command.</li>
<li>Enter a name for the shortcut. In the <strong>Trigger</strong> tab, click on the button that says <strong>None</strong> and press the shortcut you want to use (e.g. Meta+F1).</li>
<li>Click on the Action tab and enter the following:</li>
<ul>
<li><strong>Remote application:</strong> <code>org.kde.kactivitymanagerd</code></li>
<li><strong>Remote object:</strong><code> /ActivityManager</code></li>
<li><strong>Function:</strong> <code>SetCurrentActivity</code></li>
<li><strong>Arguments:</strong> The GUID from the first step, e.g. <code>a589200e-1983-4825-8275-50de36c223e5</code></li>
</ul>
<li>Click on <strong>Apply</strong>.</li>
</ol>
<p>Rinse and repeat. If you want the corresponding D-Bus command, for example to use it with another application, it is</p>
<p style="padding-left:30px;"><code>qdbus org.kde.kactivitymanagerd /ActivityManager SetCurrentActivity "<em>GUID</em>"</code></p>
<p>where <code><em>GUID</em></code> is the GUID of the activity.</p>
<p>That&#8217;s basically it, have fun!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/2009/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=2009&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2011/05/20/switch-to-specific-activities-with-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>
	</item>
		<item>
		<title>7 ways to switch activities</title>
		<link>http://hanschen.org/2011/05/15/7-ways-to-switch-activities/</link>
		<comments>http://hanschen.org/2011/05/15/7-ways-to-switch-activities/#comments</comments>
		<pubDate>Sun, 15 May 2011 16:00:14 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[PlanetKDE]]></category>

		<guid isPermaLink="false">http://hanschen.org/?p=1916</guid>
		<description><![CDATA[One common complaint about activities in KDE Plasma Workspaces is that it&#8217;s hard to switch between them. With virtual desktops you have many alternatives &#8211; you can use the Pager widget, desktop effects, keyboard shortcuts, switch desktop on screen edges etc. But what about activities? I counted the methods that I know and ended up [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=1916&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One common complaint about activities in KDE Plasma Workspaces is that it&#8217;s hard to switch between them. With virtual desktops you have many alternatives &#8211; you can use the Pager widget, desktop effects, keyboard shortcuts, switch desktop on screen edges etc. But what about activities? I counted the methods that I know and ended up with 7 different ways to switch activities (depending on how you count), all of which I&#8217;ll share in this post. Who knows, maybe you&#8217;ll find a new favorite?</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2011/05/switch-activity.png"><img class="aligncenter size-full wp-image-1941" title="Switch activity" src="http://hanswchen.files.wordpress.com/2011/05/switch-activity.png?w=780" alt=""   /></a><em>Continuing with activities after a hiatus, this time how to switch between them</em></p>
<p style="text-align:left;">Note that I&#8217;m using Plasma Desktop 4.6.x &#8211; some of things described might be different in earlier versions (for example different locations in System Settings), and some might not work at all.<em><br style="text-align:left;" /></em></p>
<p style="text-align:left;"><span id="more-1916"></span></p>
<h2 style="text-align:left;">Standard ways</h2>
<p>Let&#8217;s start by reviewing some standard ways to change activities, i.e., ways that are available from a fresh setup. In the next section, &#8220;Additional ways&#8221;, the methods will require some tweaking, such as changing settings or installing additional programs. I won&#8217;t cover the case when you have &#8220;Different widgets for each desktop&#8221; enabled.</p>
<h3><strong>Mouse</strong></h3>
<p>By default there are two easy ways to access the activity manager by using your mouse:</p>
<ul>
<li>Click on the desktop<strong> Tool Box</strong><img class="size-full wp-image-117 alignnone" title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=780" alt=""   />(usually in the top-right corner) and select <strong>Activities</strong></li>
<li><strong>Right click</strong> on the desktop and select <strong>Activities…</strong></li>
</ul>
<p>From the activity manager, click on the activity you want to switch to. You can then close the manager by clicking on the close button<img class="alignnone size-full wp-image-1940" title="Close button" src="http://hanswchen.files.wordpress.com/2011/05/dialog-close.png?w=780" alt=""   />, pressing <strong>Esc</strong> or by moving focus to a window (for example by clicking on the window).</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2011/05/activity-manager.png"><img class="aligncenter size-full wp-image-1953" title="Activity manager" src="http://hanswchen.files.wordpress.com/2011/05/activity-manager.png?w=780" alt=""   /></a><em>Activity manager</em></p>
<p>The disadvantage of these methods is that you need to have access to the desktop in order to use them.</p>
<h3><strong>Keyboard</strong></h3>
<p>Personally I prefer to use the keyboard as much as possible. If you right click on the desktop you&#8217;ll see that the default keyboard shortcut to open the activity manager is</p>
<ul>
<li><strong>Alt+D, Alt+A</strong></li>
</ul>
<p>It requires that the desktop has focus, which you can give it by clicking on a part of the desktop or by switching to an empty virtual desktop. This has the same problem as the mouse methods above. There is a solution though, called global shortcuts which work regardless of the application in focus (as long as it doesn&#8217;t steal the keyboard input). The default global shortcut for the activity manager is</p>
<ul>
<li><strong>Meta+Q</strong></li>
</ul>
<p>Meta is usually the &#8220;Windows&#8221; key on standard keyboards. You can reassign the shortcut by clicking on the desktop <strong>Tool Box</strong><img title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=22&h=22" alt="" width="22" height="22" />, select <strong>Shortcut Settings</strong> and click on the shortcut under &#8220;Global&#8221; on the &#8220;Activities…&#8221; row.</p>
<p>Finally there are two global keyboard settings to switch to the previous and next activity:</p>
<ul>
<li><strong>Meta+Tab</strong> &#8211; Next Activity</li>
<li><strong>Meta+Shift+Tab</strong> &#8211; Previous Activity</li>
</ul>
<p>They can be reassigned in <strong>System Settings</strong> → Common Appearance and Behavior → Shortcuts and Gestures → Global Keyboard Shortcuts → KDE component: Plasma Desktop Shell.</p>
<h2>Additional ways</h2>
<p>If you aren&#8217;t satisfied with the default ways to switch activities, here are suggestions for other methods you can use.</p>
<h3><strong>Mouse actions</strong></h3>
<p>If you like to use the mouse but find it troublesome to switch via the activity manager, there are faster ways. Plasma Workspaces allow you to define the actions different mouse buttons trigger on the desktop. For example, you can configure the left<strong> </strong>mouse button to pop up a context menu with your activities.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2011/05/actvities-popup-menu.png"><img class="aligncenter size-full wp-image-1944" title="Activities context menu" src="http://hanswchen.files.wordpress.com/2011/05/actvities-popup-menu.png?w=780" alt=""   /></a><em>Context menu to switch between activities</em></p>
<p>Click on the desktop <strong>Tool Box</strong><img title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=22&h=22" alt="" width="22" height="22" /> and select <strong>Desktop Settings</strong>. Choose <strong>Mouse Actions</strong> in the left sidebar. You can either change one of the existing mouse actions, or you can add a new action. For example, try to click on <strong>Add Action…</strong>, click on the button again with your left mouse button and select <strong>Switch Activity</strong> in the drop-down list. Now you can switch activities by left clicking on the desktop and choosing the activity you want to switch to in the menu.</p>
<p>If you use the Switch Activity action with a scroll button it will switch to the previous/next activity instead of popping up a menu. By default vertical scroll is assigned to Switch Desktop, try to change it to Switch Activity and scroll up/down with the mouse pointer over the desktop to switch to the previous/next activity</p>
<p>These are just examples, of course you can use whichever mouse buttons you prefer. If you redefine the action of the right mouse button and can&#8217;t access the desktop right-click menu anymore, you can use the desktop Tool Box<img title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=22&h=22" alt="" width="22" height="22" /> to open Desktop Settings again.</p>
<p>The problem with these methods is the same as before &#8211; you need access to the desktop to use them (note that they also work on the Dashboard). Unfortunately Plasma Workspaces don&#8217;t support global mouse shortcuts yet, but I&#8217;ll show you how to use another tool to achieve this under &#8220;Mouse shortcuts&#8221;. Before that, however, I&#8217;ll introduce another way to use the mouse &#8211; mouse gestures.</p>
<h3><strong>Mouse gestures</strong></h3>
<p>Mouse gestures allow you to trigger different actions by holding down a mouse button and making a gesture with the mouse. For example, moving the mouse in a straight line to the right while holding down the middle button could mean &#8220;Next activity&#8221;.</p>
<p>Before we can add new mouse gestures we need a command to switch activities and to show the activity manager. I couldn&#8217;t find any specific D-Bus calls to achieve this, but all shortcuts in KDE Software can be called using D-Bus. (There&#8217;s a &#8220;Send Keyboard Input&#8221; option in the System Settings module , but I can&#8217;t get it to invoke keyboard shortcuts.)</p>
<p>Go to <strong>System Settings</strong> → Common Appearance and Behavior → Shortcuts and Gestures → Custom Shortcuts. Click on <strong>Settings</strong> and make sure that &#8220;Start the Input Actions daemon on login&#8221; and &#8220;Gestures&#8221; are checked. &#8220;Mouse button&#8221; is the mouse button you hold down to activate a gesture. Personally I like to set it to 2, which in most cases is the middle mouse button.</p>
<p>To create a new gesture, click on <strong>Edit</strong> → New → Mouse Gesture Action → Command/URL. Click on the <strong>Trigger</strong> tab → Edit and draw the gesture in the new window while holding down the left mouse button.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2011/05/mousegesture.png"><img class="aligncenter size-medium wp-image-1971" title="Mouse gesture" src="http://hanswchen.files.wordpress.com/2011/05/mousegesture.png?w=300&h=235" alt="" width="300" height="235" /></a><em>Drawing a new mouse gesture</em></p>
<p>In the <strong>Action</strong> tab, you can use one of the following commands:</p>
<ul>
<li><code>qdbus org.kde.kglobalaccel /component/plasma_desktop invokeShortcut "manage activities"</code> <strong>#open the activity manager</strong></li>
<li><code>qdbus org.kde.kglobalaccel /component/plasma_desktop invokeShortcut "Next Activity"</code> <strong>#switch to next activity</strong></li>
<li><code>qdbus org.kde.kglobalaccel /component/plasma_desktop invokeShortcut "Previous Activity"</code> <strong>#switch to previous activity</strong></li>
</ul>
<p>After pressing <strong>Apply</strong> you can test your new mouse gestures. If they don&#8217;t work, make sure that the commands work, that the group and action are enabled (checkbox to the right), that gestures are enabled in the settings and that you hold down the correct mouse button.</p>
<h3><strong>Mouse shortcuts</strong></h3>
<p>As said Plasma Workspaces don&#8217;t support global mouse shortcuts yet, which is unfortunate given that many mouse models nowadays have extra buttons. However, it&#8217;s possible to set up mouse shortcuts using an application called <strong>xbindkeys</strong>. A more detailed post about mouse shortcuts can be <a title="Mouse shortucts with xbindkeys" href="http://hanschen.org/2009/10/13/mouse-shortcuts-with-xbindkeys/">found here</a>.</p>
<p>So first of all, install xbindkeys. Open <code>~/.xbindkeysrc</code> in a text editor<code></code>. Here&#8217;s an example of a <code>.xbindkeysrc</code> to bind one mouse button, usually for the action &#8220;Back&#8221;, to open the activity manager, and vertical scroll to switch to the next/previous activity. The button numbering can vary so you might need to change the numbers (<code>b:8</code> etc.) to work with your mouse.</p>
<p style="padding-left:30px;"><code># Activity manager<br />
"qdbus org.kde.kglobalaccel /component/plasma_desktop invokeShortcut "manage activities""<br />
b:8</code></p>
<p style="padding-left:30px;"><code># Next activity<br />
"qdbus org.kde.kglobalaccel /component/plasma_desktop invokeShortcut "Next Activity""<br />
b:7</code></p>
<p style="padding-left:30px;"><code># Previous activity<br />
"qdbus org.kde.kglobalaccel /component/plasma_desktop invokeShortcut "Previous Activity""<br />
b:6</code></p>
<p>You can also use other buttons if you want &#8211; the <code>xev</code> command is useful for finding the button number.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2011/05/xev.png"><img class="aligncenter size-medium wp-image-1966" title="xev" src="http://hanswchen.files.wordpress.com/2011/05/xev.png?w=300&h=160" alt="" width="300" height="160" /></a><em>Finding the mouse button with </em><code>xev</code></p>
<p>When you&#8217;re satisfied with your configuration your need to start xbindkeys by running <code>xbindkeys</code> in a terminal (or Alt+F2). If xbindkeys already is running, you can use the following command to restart it: <code>killall xbindkeys &amp;&amp; xbindkeys</code></p>
<p>If you find that you need to start xbindkeys every time you login, add it to autostart in <strong>System Settings</strong> → System Administration → Startup and Shutdown → Autostart → Add Program&#8230; → xbindkeys → OK.</p>
<h3><strong>Icon</strong></h3>
<p>Yet another way to switch activities with your mouse is to put an icon on your desktop and/or panel.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2011/05/activityicon.png"><img class="aligncenter size-medium wp-image-1967" title="Activity Icon" src="http://hanswchen.files.wordpress.com/2011/05/activityicon.png?w=300&h=85" alt="" width="300" height="85" /></a><em>An icon to show/hide the activity manager</em></p>
<p>Below you&#8217;ll find a .desktop file that opens the activity manager when clicked. Copy and paste the text in a text editor, save the file somewhere as <code>activitymanager.desktop</code> and you&#8217;ll have your own activity manager icon.</p>
<p style="padding-left:30px;"><code>[Desktop Entry]<br />
Comment=Shows the activity manager<br />
Exec=qdbus org.kde.kglobalaccel /component/plasma_desktop invokeShortcut "manage activities"\n<br />
GenericName=Activity Manager<br />
Icon=preferences-activities<br />
Name=Activity Manager<br />
StartupNotify=false<br />
Type=Application<br />
X-DBUS-StartupType=none<br />
X-KDE-SubstituteUID=false</code></p>
<p>The first time you click on the icon it will show a warning asking if you want to start the program. Make sure the command looks right, click on <strong>Continue</strong>, and the activity manager should show up.</p>
<p>You can easily adapt this desktop file to make icons for previous/next activity. The commands (<code>Exec=</code>) you need are listed at the end of the &#8220;Mouse gestures&#8221; section.</p>
<p>To add the icons to your desktop or panel, unlock your widgets and simply drag and drop them. See <a title="Plasma HowTo - Icons" href="http://userbase.kde.org/Plasma/HowTo#Icons">Plasma HowTo</a> for more information.</p>
<h3><strong>Widgets</strong></h3>
<p><strong></strong>Finally, there are a few widgets you can use to switch activities.<strong> Activity bar </strong>is shipped with the default widgets and is exactly what it sounds like &#8211; a bar that shows your activities. A lot of people like to put it in a panel that is set to autohide, so that it stays out of the way most of the time.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2011/05/activitybar.png"><img class="aligncenter size-medium wp-image-1968" title="Activity bar" src="http://hanswchen.files.wordpress.com/2011/05/activitybar.png?w=300&h=94" alt="" width="300" height="94" /></a><em>Activity bar in a vertical and horizontal panel</em></p>
<p>While Activity bar provides a fast and easy way to switch between activities, it has some limitations. For example you can&#8217;t stop activities from it nor start already paused activities.</p>
<p>There&#8217;s a third-party widget called <strong><a href="http://kde-look.org/content/show.php/Activity+Manager+Plasmoid?content=136278">Activity Manager Plasmoid</a></strong> that acts as an alternative activity manager. It currently lacks some features compared to the original manager, such as the ability to create a new activity from a template, but for the purpose of switching between activities it does the job well. Activity Manager Plasmoid can be put on the desktop and panel as well as in the system tray.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2011/05/activitymanagerplasmoid.png"><img class="aligncenter size-medium wp-image-1969" title="Activity Manager Plasmoid" src="http://hanswchen.files.wordpress.com/2011/05/activitymanagerplasmoid.png?w=300&h=140" alt="" width="300" height="140" /></a><em>Activity Manager Plasmoid in the system tray</em></p>
<p>These widgets are usually added to a panel to make them accessible all the time, independent of your current activity. (Your desktop changes depending on your activity.) Another solution could be to set the Dashboard to show an independent widget set instead of the current desktop and then use the Dashboard as an activity switcher. This option is found in <strong>System Settings</strong> → Workspace Appearance and Behavior → Workspace Behavior → Workspace → Dashboard: Show an Independent Widget set. Apply the setting, invoke the Dashboard (Ctrl+F12 by default) and add the widget(s) of your choice to it.</p>
<h2>The future</h2>
<p>There are exciting times ahead for fans of activities. In 4.7 there will be a <a href="http://aseigo.blogspot.com/2011/02/if-you-thought-460-was-good.html">KRunner plugin</a> for activities, and someone mentioned a new UI for managing activities, but I don&#8217;t know what the current plans are.</p>
<p>This is what I would like to see in the future regarding switching activities (in no particular order):</p>
<ul>
<li>Make it easier to use D-Bus to switch activity. I couldn&#8217;t find a way to switch to the previous/next activity or to bring up the activity manager using D-Bus (update: now I know a workaround way, thanks to a comment below), and when I asked on IRC, I was told that this was already in the plans.</li>
<li> The possibility to set a keyboard shortcut for each activity, for example Meta+F1 for the first activity, Meta+F2 for the second one etc. <a href="http://hanschen.org/2011/05/20/switch-to-specific-activities-with-keyboard-shortcuts/">I found a way to do it with D-Bus</a>, but a GUI option would be nice.</li>
<li>A more streamlined UI for switching activities would be nice. I love how smooth the desktop effects feel, even on this ancient computer &#8211; maybe a desktop effect for switching activities?<br />
One thing I dislike about the current manager is that it gives the impression that you need two clicks to switch activity, one to switch and another one to close the activity manager. If you open the activity manager from the Toolbar<img title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=22&h=22" alt="" width="22" height="22" /> → Activities&#8230;, it sums up to four click just to switch activity! That&#8217;s at least two clicks too much, in my opinion.</li>
<li>Give activities a more central place in the workspace (<a href="http://vizzzion.org/blog/2011/05/whats-new-in-plasma-active/">like in Plasma Active</a>). Perhaps adding an icon/widget to the default panel to show the activity manager.</li>
</ul>
<p>Note that this is just my personal wishlist and should not be confused with the actual plans. In any case, I&#8217;m looking forward to seeing what the future brings.</p>
<hr />
<p><strong>Update May 15, 2011:</strong> Replaced <code>xte</code> commands with D-Bus calls thanks to <a href="http://hanschen.org/2011/05/15/7-ways-to-switch-activities/#comment-1529">ArnAud</a>&#8216;s suggestion. If the D-Bus commands for some reason don&#8217;t work for you (those starting with <code>qdbus</code>), you can install xte, which is usually part of a package called xautomation, and use the following commands instead:</p>
<ul>
<li><code>xte 'keydown Super_L' 'key Q' 'keyup Super_L'</code> <strong>#open the activity manager</strong></li>
<li><code>xte 'keydown Super_L' 'key Tab' 'keyup Super_L'</code> <strong>#switch to next activity</strong></li>
<li><code>xte 'keydown Super_L' 'keydown Shift_L' 'key Tab' 'keyup Shift_L' 'keyup Super_L'</code> <strong>#switch to previous activity</strong></li>
</ul>
<p>This assumes that you haven&#8217;t changed the default global shortcuts, otherwise you have to modify the commands.</p>
<p><strong>Update May 16, 2011:</strong> Added a mention of KDE Plasma Workspaces in the beginning and a note about which version this post describes.</p>
<p><strong>Update May 20, 2011:</strong> Added a link to the new post about <a href="http://hanschen.org/2011/05/20/switch-to-specific-activities-with-keyboard-shortcuts/">switching to specific activities with keyboard shortcuts</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/1916/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/1916/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/1916/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/1916/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/1916/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/1916/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/1916/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/1916/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/1916/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/1916/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/1916/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/1916/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/1916/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/1916/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=1916&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2011/05/15/7-ways-to-switch-activities/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/switch-activity.png" medium="image">
			<media:title type="html">Switch activity</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/dialog-close.png" medium="image">
			<media:title type="html">Close button</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/activity-manager.png" medium="image">
			<media:title type="html">Activity manager</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/actvities-popup-menu.png" medium="image">
			<media:title type="html">Activities context menu</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/mousegesture.png?w=300" medium="image">
			<media:title type="html">Mouse gesture</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/xev.png?w=300" medium="image">
			<media:title type="html">xev</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/activityicon.png?w=300" medium="image">
			<media:title type="html">Activity Icon</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/activitybar.png?w=300" medium="image">
			<media:title type="html">Activity bar</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2011/05/activitymanagerplasmoid.png?w=300" medium="image">
			<media:title type="html">Activity Manager Plasmoid</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>
	</item>
		<item>
		<title>Hide window border for maximized windows</title>
		<link>http://hanschen.org/2010/04/01/hide-window-border-for-maximized-windows/</link>
		<comments>http://hanschen.org/2010/04/01/hide-window-border-for-maximized-windows/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 22:35:52 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[PlanetKDE]]></category>

		<guid isPermaLink="false">http://hanschen.org/?p=1701</guid>
		<description><![CDATA[Work with Userbase is progressing nicely. I wrote some suggestions based on user feedback and my own opinions, and a few days ago there was a small discussion about the future of Userbase on IRC. However, this post isn&#8217;t about Userbase &#8211; I hope I&#8217;ll find some time to summarize the plans for the wiki [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=1701&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Work with <a href="http://userbase.kde.org">Userbase</a> is progressing nicely. I wrote some suggestions based on <a href="http://hanschen.org/2010/03/09/why-dont-you-use-userbase/">user feedback</a> and my own opinions, and a few days ago there was a small discussion about the future of Userbase on IRC.</p>
<p>However, this post isn&#8217;t about Userbase &#8211; I hope I&#8217;ll find some time to summarize the plans for the wiki here in a few days. Today I want to share another tip that I&#8217;ve found and need to remember to add to Userbase: <strong>Borderless Maximized Windows</strong>.</p>
<p><span id="more-1701"></span></p>
<p>This option is very useful for devices with small screens, such as netbooks, to give slightly more space to your applications. If enabled, the window border will hide automatically when you maximize a window (and vice versa when unmaximized).</p>
<p>If I remember correctly, this feature was introduced in KDE Software Compilation 4.5 for the Plasma Netbook workspace, where it&#8217;s enabled by default. Here&#8217;s a short screencast demonstration (what, not an animated GIF!?):</p>
<script type="text/javascript" src="http://blip.tv/syndication/write_player?skin=js&posts_id=3441642&cross_post_destination=-1&view=full_js"></script>
<p>Note that I used double click to maximize the windows. This is configurable in System Settings → Window Behavior → Window Behavior → Titlebar Actions.</p>
<p>Previously I used some <a title="KWin configuration for my netbook" href="http://hanschen.org/2009/07/31/kwin-configuration-for-my-netbook/">window-specific settings</a> to get a similar setup, but it only did it according to some pre-defined rules -  the borders weren&#8217;t automatically hidden/shown when a window was maximized/restored.</p>
<p><strong>So how do I enable this in Plasma Desktop?</strong></p>
<ol>
<li>Use you favorite text editor to edit the file<br />
<blockquote><p><code>~/.kde4/share/config/kwinrc</code></p></blockquote>
<p>In some distributions the <code>.kde4</code> directory is called <code>.kde</code> (or something else like <code>.kdemod4</code>)</li>
<li>Add the line<br />
<blockquote><p><code>BorderlessMaximizedWindows=true</code></p></blockquote>
<p>under the section <code>[Windows]</code><br />
It should look something like this:</p>
<blockquote><p><code>[Windows]<br />
ActiveMouseScreen=true<br />
AltTabStyle=KDE<br />
AutoRaise=false<br />
AutoRaiseInterval=750<br />
BorderSnapZone=10<br />
BorderlessMaximizedWindows=true<br />
CenterSnapZone=0</code></p></blockquote>
</li>
<li>Launch KRunner (Alt+F2) and run the command<br />
<blockquote><p><code>kwin --replace</code></p></blockquote>
<p>to restart KWin</li>
<li>Go crazy and maximize every window in sight! Remember that you can unmaximize them from the window menu (Alt+F3) or from the task manager in your panel. If quick tiling is enabled (System Settings → Desktop → Screen Edges → Window Management), you can also use Alt+Left mouse button to unmaximize windows by dragging them</li>
</ol>
<p>Credits this time go to <a href="http://majewsky.wordpress.com/2010/03/24/the-kwin-button-applet/#comment-831">Christian</a> who wrote about this feature in a comment in <a title="The KWin Button Applet" href="http://majewsky.wordpress.com/2010/03/24/the-kwin-button-applet/">this blog post</a>. The post also links to a <a href="http://kde-look.org/content/show.php/KWin+Button+Applet?content=122092">neat widget</a> that&#8217;s useful for a setup with borderless windows.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/1701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/1701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/1701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/1701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/1701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/1701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/1701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/1701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/1701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/1701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/1701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/1701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/1701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/1701/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=1701&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2010/04/01/hide-window-border-for-maximized-windows/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>
	</item>
		<item>
		<title>Remaining time in the Battery Monitor widget</title>
		<link>http://hanschen.org/2010/03/14/remaining-time-in-the-battery-monitor-widget/</link>
		<comments>http://hanschen.org/2010/03/14/remaining-time-in-the-battery-monitor-widget/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 21:43:36 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[PlanetKDE]]></category>

		<guid isPermaLink="false">http://hanschen.org/?p=1677</guid>
		<description><![CDATA[Mostly as a reminder to myself, here&#8217;s how to show remaining battery time in the Battery Monitor widget shipped with KDE Software Compilation &#62;= 4.3: Right click on the battery and choose &#8220;Battery Monitor Settings&#8221; Enable &#8220;Show charge information&#8221; and click on &#8220;OK&#8221; Quit plasma-desktop with the command kquitapp plasma-desktop Open ~/.kde4/share/config/plasma-desktop-appletsrc in your favorite [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=1677&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Mostly as a reminder to myself, here&#8217;s how to show remaining battery time in the Battery Monitor widget shipped with KDE Software Compilation &gt;= 4.3:</p>
<div id="attachment_1678" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/03/battery.png"><img class="size-medium wp-image-1678" title="Battery Monitor" src="http://hanswchen.files.wordpress.com/2010/03/battery.png?w=300&h=182" alt="" width="300" height="182" /></a><p class="wp-caption-text">Remaining time in the Battery Monitor</p></div>
<p><span id="more-1677"></span></p>
<ol>
<li>Right click on the battery and choose &#8220;Battery Monitor Settings&#8221;</li>
<li>Enable &#8220;Show charge information&#8221; and click on &#8220;OK&#8221;</li>
<li>Quit plasma-desktop with the command<br />
<blockquote><p><code>kquitapp plasma-desktop</code></p></blockquote>
</li>
<li>Open <code>~/.kde4/share/config/plasma-desktop-appletsrc</code> in your favorite text editor (some distributions use other paths, for example <code>~/.kde/...</code>)</li>
<li>Search for the term<br />
<blockquote><p><code>showBatteryString=true</code></p></blockquote>
<p>and add the following line directly below it:</p>
<blockquote><p><code>showRemainingTime=true</code></p></blockquote>
</li>
<li>Start plasma-desktop again<br />
<blockquote><p><code>plasma-desktop</code></p></blockquote>
</li>
</ol>
<p>You may disable &#8220;Show charge information&#8221; now if you want.</p>
<p>Credits to <a href="http://vizzzion.org/">Sebastian Kügler</a> for posting the instructions on the plasma-devel mailing list. I&#8217;ll try to also add them to <a href="http://userbase.kde.org/">Userbase</a> when I have some more free time.</p>
<p>Note that I <em>do not</em> want a flame war here about if this should be the default setting/configurable in the GUI &#8211; it&#8217;s been discussed before, and complaining here won&#8217;t make any difference.</p>
<p>Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/1677/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/1677/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/1677/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/1677/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/1677/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/1677/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/1677/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/1677/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/1677/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/1677/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/1677/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/1677/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/1677/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/1677/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=1677&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2010/03/14/remaining-time-in-the-battery-monitor-widget/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/03/battery.png?w=300" medium="image">
			<media:title type="html">Battery Monitor</media:title>
		</media:content>
	</item>
		<item>
		<title>10 things you might want to do in KDE SC 4.4</title>
		<link>http://hanschen.org/2010/03/04/10-things-you-might-want-to-do-in-kde-sc-4-4/</link>
		<comments>http://hanschen.org/2010/03/04/10-things-you-might-want-to-do-in-kde-sc-4-4/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 18:08:39 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[PlanetKDE]]></category>

		<guid isPermaLink="false">http://hanswchen.wordpress.com/?p=1512</guid>
		<description><![CDATA[With the release of KDE Software Compilation 4.4, many may feel tempted to give KDE Plasma Desktop (previously known as just &#8220;KDE&#8221;, see Repositioning the KDE Brand) a try. Plasma Desktop introduced in KDE SC 4 behaves quite differently from other popular desktop workspaces, and without doubt many new users will feel slightly lost and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=1512&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the release of KDE Software Compilation 4.4, many may feel tempted to give KDE Plasma Desktop (previously known as just &#8220;KDE&#8221;, see <a href="http://dot.kde.org/2009/11/24/repositioning-kde-brand">Repositioning  the KDE Brand</a>) a try. Plasma Desktop introduced in KDE SC 4 behaves quite differently from other popular desktop workspaces, and without doubt many new users will feel slightly lost and confused the first time.</p>
<p>I&#8217;ve gathered some tips for new users to get a more familiar desktop, based on frequently asked questions I&#8217;ve seen in various places. This is in no way a &#8220;10 things you should do&#8221; list &#8211; it&#8217;s up to you to decide which way you like better.</p>
<p>The post is mainly aimed at those who are new to Plasma Desktop, but even experienced users might learn something new.</p>
<div id="attachment_1568" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/plasmadesktop.png"><img class="size-medium wp-image-1568" title="Plasma Desktop" src="http://hanswchen.files.wordpress.com/2010/02/plasmadesktop.png?w=300&h=240" alt="" width="300" height="240" /></a><p class="wp-caption-text">KDE Plasma Desktop</p></div>
<p>Just a short note before we begin: the images with a play button are linked to short screencasts &#8211; just click to watch them. The screencasts are encoded in GIF and can therefore be played in most web browsers without any additional plugins. The downside is that the quality is quite poor, hope you can bear with it.</p>
<p>Without further ado, here are 10 things you <em>might</em> want to do in KDE SC 4.4:</p>
<p><span id="more-1512"></span></p>
<h2>1. Change the application launcher</h2>
<p style="text-align:center;">
<div id="attachment_1546" class="wp-caption aligncenter" style="width: 239px"><a href="http://hanswchen.files.wordpress.com/2010/02/kickoff.png"><img class="size-medium wp-image-1546 " title="Kickoff" src="http://hanswchen.files.wordpress.com/2010/02/kickoff.png?w=229&h=300" alt="" width="229" height="300" /></a><p class="wp-caption-text">The default application launcher in most distributions</p></div>
<p>Some like it, others don&#8217;t &#8211; it&#8217;s about the default application launcher &#8220;Kickoff&#8221;. Fortunately, it&#8217;s very easy to switch to a more traditional application launcher, similar to the one featured in the KDE 3 series:</p>
<p style="text-align:center;">
<div id="attachment_1547" class="wp-caption aligncenter" style="width: 331px"><a href="http://hanswchen.files.wordpress.com/2010/02/switchmenu.png"><img class="size-full wp-image-1547 " title="Swich Menu" src="http://hanswchen.files.wordpress.com/2010/02/switchmenu.png?w=780" alt=""   /></a><p class="wp-caption-text">Switch to Classic Menu Style</p></div>
<ol>
<li><a title="How to unlock widgets (screencast)" href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-widget-unlock-44.gif">Unlock widgets</a> if they&#8217;re locked</li>
<li>Right click on the application launcher icon and choose &#8220;Switch to Classic Menu Style&#8221;</li>
</ol>
<p>There is also a more advanced application launcher called Lancelot. This widget, among others, is usually found in a package called kdeplasma-addons. To find out how to add Lancelot to your panel, see section 6. Tweak your panel.</p>
<div id="attachment_1549" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/alternativemenus.png"><img class="size-medium wp-image-1549" title="Alternative application launchers" src="http://hanswchen.files.wordpress.com/2010/02/alternativemenus.png?w=300&h=214" alt="" width="300" height="214" /></a><p class="wp-caption-text">Classic Menu (left) and Lancelot (right)</p></div>
<h2>2. Switch to a traditional desktop with icons</h2>
<p>The &#8220;traditional desktop&#8221; I&#8217;m talking about is the type of desktop where you basically have a fullscreen file manager with a nice wallpaper. You can put icons on it, create new folders and files etc.</p>
<div id="attachment_1550" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/traditionaldesktop.png"><img class="size-medium wp-image-1550" title="Traditional Desktop" src="http://hanswchen.files.wordpress.com/2010/02/traditionaldesktop.png?w=300&h=240" alt="" width="300" height="240" /></a><p class="wp-caption-text">Traditional Desktop</p></div>
<p>The default desktop type in Plasma Desktop behaves in a different way. Instead of icons, you put widgets on it &#8211; for example icon widgets, or a widget to show the content of a folder (called Folder View). To switch to a traditional desktop, all you need to do is change desktop type:</p>
<div id="attachment_1552" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-desktop-traditional-44.gif"><img class="size-full wp-image-1552" title="Change Desktop Type" src="http://hanswchen.files.wordpress.com/2010/02/changedesktoptype.png?w=780" alt=""   /></a><p class="wp-caption-text">Switch to traditional desktop</p></div>
<ol>
<li>Click on the toolbox (or right click on desktop) and choose &#8220;Desktop Activity Settings&#8221;</li>
<li>Click on &#8220;Activity&#8221;</li>
<li>Change &#8220;Type&#8221; to &#8220;Folder View&#8221;</li>
<li>Click on &#8220;Apply&#8221; or &#8220;OK&#8221;</li>
</ol>
<p>Options for the Folder View desktop type will appear in the Desktop Activity Settings dialog. Note that you can still put widgets on the desktop if you want.</p>
<p>For more information about desktop icons, see <a href="http://hanswchen.wordpress.com/2009/01/29/plasma-desktop-icons-in-kde-42/">this blog post</a>. Although it&#8217;s written for KDE SC 4.2, most of the things are the same in 4.4.</p>
<h2>3. Choose your wallpaper</h2>
<p>While this is similar to how it works in other workspaces, Plasma Desktop offers some extra functionality that are worth mentioning. If you only want to change the wallpaper image:</p>
<div id="attachment_1554" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-desktop-wallpaper-44.gif"><img class="size-full wp-image-1554" title="Change Wallpaper" src="http://hanswchen.files.wordpress.com/2010/02/changewallpaper.png?w=780" alt=""   /></a><p class="wp-caption-text">Change Wallpaper</p></div>
<ol>
<li>Click on the toolbox (or right click on desktop) and choose &#8220;Desktop Activity Settings&#8221;</li>
<li>Make sure &#8220;Type&#8221; is set to &#8220;Image&#8221;</li>
<li>Either select a wallpaper in the list, or click on &#8220;Open&#8230;&#8221; to select an image file</li>
<li>Click on &#8220;OK&#8221;</li>
</ol>
<p>As you probably have guessed, there are other wallpaper types as well. Below is a short description of those shipped with KDE SC 4.4 (some found in kdeplasma-addons):</p>
<p><strong><img class="size-full wp-image-1555 alignnone" src="http://hanswchen.files.wordpress.com/2010/02/color.png?w=780" alt=""   /> Color</strong></p>
<p>Paints a solid color or a gradient between two colors on the desktop.</p>
<p><strong><img class="alignnone size-full wp-image-1556" src="http://hanswchen.files.wordpress.com/2010/02/image.png?w=780" alt=""   /> Virus</strong></p>
<p>Viruses that mutate, spread and slowly eat your wallpaper. The better a virus adapts to your wallpaper, the higher is the chance that it&#8217;ll survive and pass on its DNA to future generations.</p>
<div id="attachment_1557" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/virus.png"><img class="size-medium wp-image-1557" title="Virus" src="http://hanswchen.files.wordpress.com/2010/02/virus.png?w=300&h=240" alt="" width="300" height="240" /></a><p class="wp-caption-text">Virus wallpaper</p></div>
<p><a href="http://hanswchen.files.wordpress.com/2010/02/desktop.png"><img class="alignnone size-full wp-image-1558" src="http://hanswchen.files.wordpress.com/2010/02/desktop.png?w=780" alt=""   /></a><strong> Mandelbrot</strong></p>
<p>Shows a <a title="Mandelbrot set (Wikipedia)" href="http://en.wikipedia.org/wiki/Mandelbrot_set">Mandelbrot set</a> fractal on your desktop. You can move the fractal by holding down your left mouse button and drag the Mandelbrot around. Even better, zoom in/out with your mouse wheel or by holding down the middle button (scroll wheel) and move the mouse cursor up or down.</p>
<div id="attachment_1559" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/mandelbrot.png"><img class="size-medium wp-image-1559" title="Mandelbrot" src="http://hanswchen.files.wordpress.com/2010/02/mandelbrot.png?w=300&h=240" alt="" width="300" height="240" /></a><p class="wp-caption-text">Mandelbrot wallpaper</p></div>
<p><em>Note:</em> If your right click menu disappears after changing to this wallpaper type, you can open the Wallpaper dialog by clicking on the toolbox (located in the top-right corner by default) and press &#8220;Desktop Activity Settings&#8221;. When you&#8217;re happy with your Mandelbrot set it&#8217;s possible to lock the view (from the wallpaper dialog) to get the mouse actions &#8211; such as the right click menu &#8211; back.</p>
<p><a href="http://hanswchen.files.wordpress.com/2010/02/weather.png"><img class="alignnone size-full wp-image-1560" src="http://hanswchen.files.wordpress.com/2010/02/weather.png?w=780" alt=""   /></a> <strong>Weather</strong></p>
<p>Displays different wallpapers depending on the current weather. You can decide which pictures to show for certain weather conditions from the Advanced dialog.</p>
<p><a href="http://hanswchen.files.wordpress.com/2010/02/desktop.png"><img src="http://hanswchen.files.wordpress.com/2010/02/desktop.png?w=16&h=16" alt="" width="16" height="16" /></a> <strong>Pattern</strong></p>
<p>Repeated pattern painted on the desktop.</p>
<p><strong><img src="http://hanswchen.files.wordpress.com/2010/02/image.png?w=16&h=16" alt="" width="16" height="16" /> </strong><strong>Image</strong></p>
<p>Probably the most commonly used wallpaper type. Pick an image to show as your wallpaper.</p>
<p><img class="alignnone size-full wp-image-1561" src="http://hanswchen.files.wordpress.com/2010/02/slideshow.png?w=780" alt=""   /> <strong>Slideshow</strong></p>
<p>Can&#8217;t decide which picture you want on your desktop? No problem, with slideshow you can have them all. The images will automatically switch after a set amount of time.</p>
<p><img class="alignnone size-full wp-image-1562" src="http://hanswchen.files.wordpress.com/2010/02/marble.png?w=780" alt=""   /> <strong>Globe</strong></p>
<p>A globe for your desktop. There are many different map themes to choose among, and you can set the movement to Interactive, Follow the sun, Rotate and Do not move.</p>
<div id="attachment_1563" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/globe.png"><img class="size-medium wp-image-1563" title="Globe" src="http://hanswchen.files.wordpress.com/2010/02/globe.png?w=300&h=240" alt="" width="300" height="240" /></a><p class="wp-caption-text">Globe wallpaper</p></div>
<h2>4. Set different wallpaper on each virtual desktop</h2>
<p>One feature many ask for is the ability to have different wallpapers on different virtual desktops. This is not directly possible in Plasma Desktop &#8211; however, you can have different &#8220;desktops&#8221;, formally known as <em>activities</em>, on each virtual desktop.</p>
<p>You may think of an activity as what you usually call &#8220;desktop&#8221;. Other than a name, an activity also has a wallpaper, some features (e.g. display icons) and can contain other widgets &#8211; namely the ones you put on the desktop.</p>
<p>The name &#8220;virtual desktop&#8221; is quite confusing, since it&#8217;s actually a group of windows. By default you have the same activity &#8211; and therefore also the same wallpaper &#8211; on all virtual desktops. To enable different activity on each virtual desktop:</p>
<div id="attachment_1566" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-activity-link-44.gif"><img class="size-full wp-image-1566" title="Different activity on each desktop" src="http://hanswchen.files.wordpress.com/2010/02/differentactivity.png?w=780" alt=""   /></a><p class="wp-caption-text">Different activity on each desktop</p></div>
<ol>
<li> Open the application &#8220;System Settings&#8221;</li>
<li>Browse to &#8220;Desktop&#8221;, &#8220;Multiple Desktops&#8221;</li>
<li>Check the checkbox &#8220;Different activity on each desktop&#8221;</li>
<li>Click on &#8220;Apply&#8221; and close System Settings</li>
</ol>
<p>Now you can have not only different wallpapers, but also different widgets on each virtual desktop.</p>
<h2>5. Tweak your panel</h2>
<p>The panel, often confused with the taskbar (which is a widget that shows your running applications), can be tweaked in many ways. The first two steps are always the same:</p>
<ol>
<li><a title="How to unlock widgets (screencast)" href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-widget-unlock-44.gif">Unlock  widgets</a> if they&#8217;re locked</li>
<li>Click on the panel toolbox to the far right, or right click somewhere in the panel and choose &#8220;Panel Options&#8221;, &#8220;Panel Settings&#8221;. Note that the latter won&#8217;t work everywhere, for example not in the taskbar or system tray</li>
</ol>
<p>Now you see the panel options. Here are some stuff you can play around with:</p>
<p><strong>Change the height</strong> (<a title="Change the height (screencast)" href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-panel-height-44.gif">screencast</a>)</p>
<ol>
<li>Click on the &#8220;Height&#8221; button and hold down the left mouse button while moving the mouse cursor up or down</li>
</ol>
<p><strong>Change the width</strong> (<a title="Change the width (screencast)" href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-panel-width-44.gif">screencast</a>)</p>
<div id="attachment_1567" class="wp-caption aligncenter" style="width: 169px"><a href="http://hanswchen.files.wordpress.com/2010/02/panelsliders.png"><img class="size-full wp-image-1567" title="Panel slider" src="http://hanswchen.files.wordpress.com/2010/02/panelsliders.png?w=780" alt=""   /></a><p class="wp-caption-text">Panel sliders to change the panel width</p></div>
<ol>
<li>Depending on the panel alignment, you&#8217;ll see two or four sliders with arrows. Drag those with the mouse to change the panel width. The arrows pointing out from the panel define the maximum width and the ones pointing inwards the minimum width</li>
</ol>
<p><strong>Move the panel</strong> (<a title="Move panel (screencast)" href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-panel-move-44.gif">screencast</a>)</p>
<ol>
<li>Hold down the left mouse button over &#8220;Screen Edge&#8221; and drag the panel to the desired screen edge</li>
<li>Adjustments can be made with the panel slider pointing at the panel. It&#8217;s also possible to <a title="Change the panel alignment (screencast)" href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-panel-alignment-44.gif">change the panel alignment</a></li>
</ol>
<p><strong>Add widgets to panel</strong> (<a title="Add widgets to panel (screencast)" href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-widget-panel-add-44.gif">screencast</a>)</p>
<ol>
<li>Click on &#8220;Add widgets&#8230;&#8221;</li>
<li>Drag the desired widgets to the panel or double click to add them</li>
</ol>
<p><strong>Move widgets</strong> (<a title="Move widgets (screencast)" href="http://hanswchen.files.wordpress.com/2010/02/plasma_howto-widget-panel-move-44.gif">screencast</a>)</p>
<ol>
<li>If you&#8217;ve opened the panel toolbox, you can move widgets in the panel with simple drag and drop operations</li>
</ol>
<p>For more ways to configure your panel, see <a href="http://userbase.kde.org/Plasma/HowTo/4.4">Plasma HowTo</a>.</p>
<p>In Plasma Desktop, you aren&#8217;t limited to one panel &#8211; you can add as many panels as you want. However, it&#8217;s not possible to change the background and transparency for individual panels &#8211; these properties are determined by the workspace theme. If you want to change the appearance for all panels, either change workspace theme or create a custom one. For more information, see the next section 6. Customize the appearance.</p>
<h2>6. Customize the appearance</h2>
<p>You can change the appearance of many things in Plasma Workspace &#8211; everything from icon theme to the look of the window decoration.</p>
<p>Let&#8217;s start by launching System Settings and click on &#8220;Appearance&#8221;. To the left you see a list of modules to configure various parts of the workspace.</p>
<div id="attachment_1576" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/appearance.png"><img class="size-medium wp-image-1576" title="Appearance" src="http://hanswchen.files.wordpress.com/2010/02/appearance.png?w=300&h=221" alt="" width="300" height="221" /></a><p class="wp-caption-text">Appearance section in System Settings</p></div>
<p>The names are pretty self-explanatory, so I&#8217;ll let you play around with the settings yourself. Just a few notes:</p>
<ul>
<li>Most modules have a button to download new content, but there are a few exceptions: application styles, window decorations and fonts. The reason the first two don&#8217;t have this button is because native styles/window decorations has to be compiled &#8211; they&#8217;re best installed through your package manager
<ul>
<li>With that said, the Aurorae Theme Engine allows you to download and install SVG-based window decoration themes. Under &#8220;Windows&#8221;, select &#8220;Aurorae Decoration Theme Engine&#8221;, click on &#8220;Get New Themes&#8230;&#8221; and download to your heart&#8217;s content</li>
</ul>
</li>
<li>If you want to use the <a title="Window grouping (Youtube)" href="http://www.youtube.com/watch?v=TwAKf5jjDO8#t=1m56s">window grouping feature</a>, only some window decorations support it at the moment &#8211; for example the default decoration &#8220;Oxygen&#8221; and &#8220;Tabstrip&#8221;</li>
<li>The workspace theme (panels, widget backgrounds etc.) can be change from &#8220;Style&#8221;, &#8220;Workspace&#8221;
<ul>
<li>If you want greater control and change the theme for individual workspace components, click on &#8220;Overview&#8221; in the toolbar and browse to &#8220;Advanced&#8221; tab, &#8220;Desktop Theme Details&#8221;</li>
</ul>
</li>
</ul>
<h2>7. Activate/deactivate screen edge actions</h2>
<p>Don&#8217;t like how windows maximize or tile when you drag them to a screen edge? Or maybe the desktop effect when you hit the top-left corner with your mouse irritates you? No problem &#8211; in either case you just need to change an option in System Settings.</p>
<div id="attachment_1584" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/screenedge.png"><img class="size-medium wp-image-1584" title="Screen Edges" src="http://hanswchen.files.wordpress.com/2010/02/screenedge.png?w=300&h=219" alt="" width="300" height="219" /></a><p class="wp-caption-text">Configure active screen edges</p></div>
<ol>
<li>Launch System Settings</li>
<li>Navigate to &#8220;Desktop&#8221;, &#8220;Screen Edges&#8221;</li>
<li>Click on the different squares in the monitor to set/unset screen edge actions for that location</li>
<li>Use the checkboxes under &#8220;Window Management&#8221; to enable/disable quick tiling of windows</li>
<li>The setting at the bottom enables you to switch virtual desktop by moving the mouse cursor to a screen edge</li>
<li>When you&#8217;re happy with the settings, hit &#8220;Apply&#8221;</li>
</ol>
<h2>8. Configure mouse actions on the desktop</h2>
<p>Two groups of people will be especially happy for this new feature in 4.4:</p>
<ul>
<li>Laptop users who sometimes accidentally scroll through virtual desktop when moving the mouse cursor over the desktop</li>
<li>Persons who want to set a custom menu to pop up when clicking on the desktop</li>
</ul>
<p>Even if you don&#8217;t belong to either group, you might find this option useful.</p>
<div id="attachment_1585" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/mouseactions.png"><img class="size-medium wp-image-1585" title="Mouse Actions" src="http://hanswchen.files.wordpress.com/2010/02/mouseactions.png?w=300&h=194" alt="" width="300" height="194" /></a><p class="wp-caption-text">Customize mouse actions on the desktop</p></div>
<ol>
<li>Click on the toolbox (or right click on desktop) and choose &#8220;Desktop Activity  Settings&#8221;</li>
<li>Choose &#8220;Mouse Plugins&#8221;</li>
</ol>
<p>Each action consist of a row with 4-5 items (from left to right):</p>
<ol>
<li> <strong>Trigger </strong>- Mouse button/wheel to trigger the action. To change the trigger, click on the button. It&#8217;ll remain pressed and say &#8220;Input here&#8230;&#8221;. Now, click with a mouse button or scroll in a direction over the button. Note that you can combine this with modifier keys (such as Ctrl)</li>
<li><strong>Action list</strong> &#8211; Choose the desired action from the dropdown list</li>
<li><strong>Configure button</strong> (not always shown) &#8211; Lets you configure the selected action</li>
<li><strong>Information button</strong> &#8211; Shows an About dialog for the action</li>
<li><strong>Remove button</strong> &#8211; Removes the mouse action</li>
</ol>
<p>To remove an action, simply press the remove key on the same row. At the bottom there&#8217;s a button to add new mouse actions.</p>
<p>If you don&#8217;t set &#8220;Standard Menu&#8221; to any mouse trigger, you can still access the Mouse Actions dialog from the toolbox (by default in the top-right corner).</p>
<p>Similar to other settings in this window, the mouse actions are activity-specific. If you have more than one activity, you have to change the mouse actions for all of them &#8211; or you could have different mouse actions on different activities (see section 4. Set different wallpaper on each virtual desktop for more information about activities).</p>
<h2>9. Configure other settings</h2>
<p>You&#8217;ll find more KDE software options in &#8211; surprise, surprise &#8211; System Settings. Here are some favorite modules of mine:</p>
<ul>
<li>Look &amp; Feel:<strong> Desktop, Desktop Effects</strong> &#8211; If your hardware supports compositing and you&#8217;ve installed the required drivers, it&#8217;s possible get various useful (and less useful) desktop effects. In this module you can Suspend/Resume Compositing (Alt-Shift-F12 is faster if you do it regularly), play around with effects and find other relevant options</li>
<li>Look &amp; Feel:<strong> Desktop, Launch Feedback</strong> &#8211; I don&#8217;t like the bouncy icon that appears when you launch applications, so that&#8217;s one of the first things I disable in this module</li>
<li>Look &amp; Feel: <strong>Window Behavior, Window Behavior</strong> &#8211; A lot of options to control how your windows should behave</li>
<li>Computer Administration: <strong>Keyboard &amp; Mouse, Global Keyboard Shortcuts</strong> &#8211; Configure global keybindings. Change the components with the &#8220;KDE component&#8221; dropdown list</li>
<li>Computer Administration: <strong>Input Action</strong> &#8211; More advanced module to set different input actions, such as keyboard shortcuts, mouse gestures and window actions</li>
<li>Advanced User Settings (Advanced tab): <strong>Autostart</strong> &#8211; Manage autostart programs and scripts</li>
<li>Advanced User Settings (Advanced tab): <strong>Session Manager</strong> &#8211; If you find that applications not listed in Autostart still start up with Plasma Desktop, it&#8217;s probably because you restore the previous session (&#8220;A session contains of a collection of  applications as well as application-specific information that reflects  the state of the applications at the time the session  was saved&#8221; &#8212; <a href="http://techbase.kde.org/KDE_System_Administration/Startup#ksmserver:_Session_Management_and_Autostart">Techbase</a>). This module lets you change this behavior under &#8220;On Login&#8221;. Personally I like the option &#8220;Restore Manually saved session&#8221;. When this option is selected, the session can be saved from Kickoff (the default application launcher) or the classic menu</li>
</ul>
<p>If you find it troublesome to navigate back and forth in System Settings, you might prefer the classic tree view style:</p>
<div id="attachment_1586" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2010/02/treeview.png"><img class="size-medium wp-image-1586" title="Tree View" src="http://hanswchen.files.wordpress.com/2010/02/treeview.png?w=300&h=221" alt="" width="300" height="221" /></a><p class="wp-caption-text">Tree View in System Settings</p></div>
<ol>
<li>Launch System Settings</li>
<li>Click on &#8220;Configure&#8221; in the toolbar (if you&#8217;re inside a module, you can&#8217;t see this button)</li>
<li>Select &#8220;Classic Tree View&#8221; under &#8220;View Style&#8221; and click on &#8220;OK&#8221;</li>
</ol>
<h2>10. Check out online resources</h2>
<p>To round off, here are some recommended KDE websites where you can find more interesting things:</p>
<ul>
<li><strong><a href="http://kde.org">kde.org</a></strong> &#8211; The official KDE site where you&#8217;ll find announcements,  useful information about various parts of KDE and links to other relevant sites</li>
<li><strong><a href="http://userbase.kde.org">userbase.kde.org</a></strong> &#8211; Wiki for KDE software users. The screencasts in this post were taken from <a href="http://userbase.kde.org/Plasma/HowTo/4.4">http://userbase.kde.org/Plasma/HowTo/4.4</a></li>
<li><strong><a href="http://forum.kde.org">forum.kde.org</a></strong> &#8211; KDE Community Forums. Here you can get help from other users (including contributors such as KDE developers), post ideas in <a href="http://brainstorm.forum.kde.org">Brainstorm</a>, have discussions with KDE enthusiasts and much more</li>
<li><a href="http://kde-look.org"><strong>kde-look.org</strong></a> &#8211; Get new themes, wallpapers, icons, widgets and other stuff. Or why not share your own creations?</li>
<li><strong><a href="http://kde-apps.org">kde-apps.org</a></strong> &#8211; Same as <a href="http://kde-look.org">kde-look.org</a> but for KDE applications</li>
</ul>
<p>I hope you found some of the tips useful; if you think I missed something, just drop a comment below. Feedback in general is also much appreciated!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/1512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/1512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/1512/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=1512&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2010/03/04/10-things-you-might-want-to-do-in-kde-sc-4-4/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/plasmadesktop.png?w=300" medium="image">
			<media:title type="html">Plasma Desktop</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/kickoff.png?w=229" medium="image">
			<media:title type="html">Kickoff</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/switchmenu.png" medium="image">
			<media:title type="html">Swich Menu</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/alternativemenus.png?w=300" medium="image">
			<media:title type="html">Alternative application launchers</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/traditionaldesktop.png?w=300" medium="image">
			<media:title type="html">Traditional Desktop</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/changedesktoptype.png" medium="image">
			<media:title type="html">Change Desktop Type</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/changewallpaper.png" medium="image">
			<media:title type="html">Change Wallpaper</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/color.png" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/image.png" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/virus.png?w=300" medium="image">
			<media:title type="html">Virus</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/desktop.png" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/mandelbrot.png?w=300" medium="image">
			<media:title type="html">Mandelbrot</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/weather.png" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/desktop.png" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/image.png" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/slideshow.png" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/marble.png" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/globe.png?w=300" medium="image">
			<media:title type="html">Globe</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/differentactivity.png" medium="image">
			<media:title type="html">Different activity on each desktop</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/panelsliders.png" medium="image">
			<media:title type="html">Panel slider</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/appearance.png?w=300" medium="image">
			<media:title type="html">Appearance</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/screenedge.png?w=300" medium="image">
			<media:title type="html">Screen Edges</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/mouseactions.png?w=300" medium="image">
			<media:title type="html">Mouse Actions</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2010/02/treeview.png?w=300" medium="image">
			<media:title type="html">Tree View</media:title>
		</media:content>
	</item>
		<item>
		<title>Mouse shortcuts with xbindkeys</title>
		<link>http://hanschen.org/2009/10/13/mouse-shortcuts-with-xbindkeys/</link>
		<comments>http://hanschen.org/2009/10/13/mouse-shortcuts-with-xbindkeys/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 16:21:43 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[PlanetKDE]]></category>

		<guid isPermaLink="false">http://hanswchen.wordpress.com/?p=844</guid>
		<description><![CDATA[Note: This isn&#8217;t directly related to KDE. However, since there isn&#8217;t such a tool for KDE at the moment, I figured some KDE users might find it interesting as well. I recently bought a new mouse for my desktop computer, more specifically a Logitech Corded Mouse M500. Up until then I had been using an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=844&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Note:</strong> This isn&#8217;t directly related to KDE. However, since there isn&#8217;t such a tool for KDE at the moment, I figured some KDE users might find it interesting as well.</p></blockquote>
<p>I recently bought a new mouse for my desktop computer, more specifically a <a href="http://www.logitech.com/index.cfm/mice_pointers/mice/devices/5743&amp;cl=us,en">Logitech Corded Mouse M500</a>. Up until then I had been using an old mouse with two buttons and a scroll wheel. Now I suddenly have two extra mouse buttons, and a scroll wheel that you can tilt to the left and right. Let&#8217;s see how to take advantage of this.</p>
<p><span id="more-844"></span></p>
<div id="attachment_847" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2009/10/m500.jpg"><img class="size-medium wp-image-847" title="Logitech M500" src="http://hanswchen.files.wordpress.com/2009/10/m500.jpg?w=300&h=246" alt="The freewheel scroll feature is pretty nice as well" width="300" height="246" /></a><p class="wp-caption-text">The freewheel scroll feature is pretty nice as well</p></div>
<h2>Bind keys with xbindkeys</h2>
<p>As the name suggests, <code>xbindkeys</code> is a small program that lets you bind hotkeys to actions under X. Although it doesn&#8217;t include a GUI, it&#8217;s very easy to use. <strong>There is a  graphical configuration tool called <code>xbindkeys-config</code></strong> (GTK frontend)<strong>, but in this guide I&#8217;ll edit the config file directly.</strong></p>
<ol>
<li>First of all you need to install <code>xbindkeys</code>, preferably through your package manager.</li>
<li>You can create a default configuration file with the command<br />
<blockquote>
<pre>xbindkeys --defaults &gt; $HOME/.xbindkeysrc</pre>
</blockquote>
</li>
<li>Open <code>~/.xbindkeysrc</code> in your your favorite text editor. (If you can&#8217;t find it, make sure you have &#8220;Show hidden files&#8221; enabled).<br />
<span style="color:#999999;">[This guide aims to be quite comprehensive - if you don't want to read everything, you can look at the default configuration file and try to figure out the rest yourself. It's not difficult if you read the included comments]</span></li>
<li>Let&#8217;s check the syntax. Everything after <code>#</code> are comments, which means that the program will ignore them.<br />
You can find the following text in the default file:&nbsp;</p>
<blockquote>
<pre># The format of a command line is:
#    "command to start"
#       associated key</pre>
</blockquote>
<p>Below are also some examples &#8211; great. It&#8217;s probably a good idea to include a short comment (start the line with <code>#</code>) before each command, for example</p>
<blockquote>
<pre># short comment
    "command to start"
       associated key</pre>
</blockquote>
</li>
<li><code>"command to start"</code> is simply a shell command (that you can run from a terminal). I&#8217;ll talk more about it under <em>Actions</em>.</li>
<li><code>associated key</code> is the hotkey. Let&#8217;s take a closer look at how to find what we should write here. But before that, don&#8217;t forget the last step.</li>
<li>Start <code>xbindkeys</code> by running the command in a terminal.</li>
</ol>
<h2>Keyboard shortcuts</h2>
<p>This section deals with keyboard shortcuts. If you&#8217;re only interested in mouse shortcuts, please see the next section <em>Mouse shortcuts</em>.</p>
<p>The first example in the generated <code>.xbindkeysrc</code> shows how you can define a hotkey:</p>
<blockquote>
<pre> control+shift + q</pre>
</blockquote>
<p>A list of modifiers is included in the comments.</p>
<blockquote>
<pre># List of modifier:
#   Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
#   Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events
#
# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.</pre>
</blockquote>
<p>Pretty straightforward, don&#8217;t you think? You can also use raw keycodes, as shown in the next example:</p>
<blockquote>
<pre>c:41 + m:0x4</pre>
</blockquote>
<p>Now this might look cryptic, but it&#8217;s really no problem &#8211; you can easily find the keycodes with the <code>--key</code> option. Run</p>
<blockquote>
<pre>xbindkeys -k</pre>
</blockquote>
<p>in a terminal and a window pops up. Press the desired hotkey and you should get an output similar to this:</p>
<blockquote>
<pre>Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"(Scheme function)"
 m:0x15 + c:34
 Control+Shift+Mod2 + q</pre>
</blockquote>
<p>In this case I pressed <code>Ctrl+Shift+Q</code>. <code>Mod2</code> corresponds to Numlock which is ignored by default, as explained in the earlier text about modifiers. Apparently the  keycodes for this hotkey are <code>m:0x15 + c:34</code>.</p>
<h2>Mouse shortcuts</h2>
<p>Now that we know how to deal with keyboard hotkeys, mouse shortcuts should be a piece of cake. The first mouse button (left) is called <code>b:1</code>, the second (right) <code>b:2</code> and so forth. Take a look at the third example and you&#8217;ll see how a mouse shortcut can be defined:</p>
<blockquote>
<pre>control + b:2</pre>
</blockquote>
<p>That&#8217;s right, you can combine mouse and keyboard shortcuts &#8211; great for those who don&#8217;t have a fancy mouse with extra buttons. I used to bind <code>Super+</code> mouse buttons to various actions with my old mouse (<code>Super</code> is the Windows key on most keyboards).</p>
<p>To find out what a mouse button is called, you can use <code>xev</code>. Similar to <code>xbindkeys -k</code> that you used earlier, it pops up a window. However, this one isn&#8217;t closed automatically, and it also grabs mouse movement and clicks. Try to click/scroll in the window (without too much mouse movement), and you should see something like</p>
<blockquote>
<pre>ButtonPress event, serial 31, synthetic NO, window 0x3a00001,
 root 0x189, subw 0x0, time 55432271, (4,0), root:(1102,842),
 state 0x10, button 9, same_screen YES</pre>
</blockquote>
<p>in the terminal output. According to the last line, I just pressed mouse button 9, which translates to <code>b:9</code> in <code>.xbindkeysrc</code>.</p>
<h2>Actions</h2>
<p><code>command to start</code> is a command that you can run from a terminal, for example an application (<code>dolphin</code>) or a shell script (out of scope for this article).</p>
<p>Let&#8217;s take a concrete example. I want to bind wheel tilt -&gt; switch to previous/next desktop. To do this I have to communicate with KWin, the default KDE window manager. KDE applications use  D-Bus to communicate with each other, and you can &#8220;talk&#8221; to them with D-Bus as well. (This is for KDE SC4, in the KDE SC3 series DCOP is used instead).</p>
<p>I&#8217;m not very familiar with D-Bus myself, but with the help of the <code>qdbusviewer</code> tool and some Googling I found that I can use the following command to switch  desktop:</p>
<blockquote>
<pre>qdbus org.kde.kwin /KWin org.kde.KWin.nextDesktop</pre>
</blockquote>
<div id="attachment_869" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2009/10/qdbusviewer.png"><img class="size-medium wp-image-869" title="qdbusviewer" src="http://hanswchen.files.wordpress.com/2009/10/qdbusviewer.png?w=300&h=260" alt="Find the dbus call with qdbusviewer" width="300" height="260" /></a><p class="wp-caption-text">Find the D-Bus call with qdbusviewer</p></div>
<p>According to <code>xev</code> (explained in <em>Mouse shortcuts</em>) the tilt to the left and right corresponds to <code>b:6</code> and  <code>b:7</code>. Therefore, a part of my <code>.xbindkeysrc</code> looks like this:</p>
<blockquote>
<pre># Previous desktop
"qdbus org.kde.kwin /KWin org.kde.KWin.previousDesktop"
  b:6

# Next desktop
"qdbus org.kde.kwin /KWin org.kde.KWin.nextDesktop"
  b:7</pre>
</blockquote>
<p>Don&#8217;t forget the quotation marks (<code>""</code>) around the commands!</p>
<p>Another tool you can use to find D-Bus calls is <code>dbus-monitor</code>, as suggested by <a href="http://hanschen.org/2009/10/13/mouse-shortcuts-with-xbindkeys/#comment-950">Balden</a> in the comments. Run it in a terminal and trigger a command the normal way, for example by hitting a keyboard combination, and <code>dbus-monitor</code> will show the call(s).</p>
<h2>Emulate key presses</h2>
<p>Now I want to map the two other mouse buttons to the KWin effects &#8220;Present Windows&#8221; and &#8220;Desktop Grid&#8221;. I couldn&#8217;t find any D-Bus calls for this, so let&#8217;s try to achieve it in another way. The effects are already mapped to some keyboard shortcuts &#8211; maybe we can find a command to &#8220;emulate&#8221; these key presses?</p>
<p>The tool for doing this is called <code>xte</code>, and is included in the <code>xautomation</code> package. Again, install it with your package manager.</p>
<p>The default shortcut for &#8220;Show Desktop Grid&#8221; is <code>Ctrl+F8</code>. The following command should then activate the effect:</p>
<blockquote>
<pre>xte 'keydown Control_L' 'key F8' 'keyup Control_L'</pre>
</blockquote>
<p>Whether we choose<code> Control_L </code>or <code>Control_R </code>doesn&#8217;t really matter. After confirming that it works, I added the following lines to <code>.xbindkeysrc</code>:</p>
<blockquote>
<pre># Present Windows
"xte 'keydown Control_L' 'key F10' 'keyup Control_L'"
  b:8

# Desktop Grid
"xte 'keydown Control_L' 'key F8' 'keyup Control_L'"
  b:9</pre>
</blockquote>
<p>If nothing happens for you, make sure you emulate the right key presses. Have you changed any shortcuts?</p>
<p>This trick can also be used to map the back/forward buttons on the mouse. Here we can&#8217;t use D-Bus, since we want to &#8220;talk&#8221; to the active window and not a specific application. Fortunately for us, most applications use the key shortcuts <code>Alt+Left </code>and <code>Alt+Right</code> for Back and Forward, respectively. In other words, we can do something like this:</p>
<blockquote>
<pre># Back
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
  b:6

# Forward
"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'"
  b:7</pre>
</blockquote>
<p>This&#8217;ll work in Dolphin, Konqueror, Firefox, and basically any application that use the same shortcut for Back/Forward.</p>
<p><code>xte</code> can also be used to simulate mouse clicks, as pointed out by <a href="http://hanschen.org/2009/10/13/mouse-shortcuts-with-xbindkeys/#comment-1199">Rahul</a> (see comment for an example).</p>
<p>Want to know more about <code>xte</code>? <code>xte --help</code> displays some helpful text that you might find useful.</p>
<h2>Apply settings and make xbindkeys autostart</h2>
<p>Now we&#8217;re almost done! Remember that you have to restart <code>xbindkeys</code> to apply the changes:</p>
<blockquote>
<pre>killall xbindkeys &amp;&amp; xbindkeys</pre>
</blockquote>
<p>As a final touch, let&#8217;s make <code>xbindkeys</code> autostart with KDE. It&#8217;s very easy to do with the new Autostart module.</p>
<ol>
<li>Open System Settings.</li>
<li>Go to Advanced tab -&gt; Autostart.</li>
<li>Click on &#8220;Add Program&#8230;&#8221;.</li>
<li>Write <code>xbindkeys</code> and press OK. A new dialog pops up. Press OK again.</li>
<li>Done!</li>
</ol>
<div id="attachment_871" class="wp-caption aligncenter" style="width: 310px"><a href="http://hanswchen.files.wordpress.com/2009/10/autostart.png"><img class="size-medium wp-image-871" title="Autostart" src="http://hanswchen.files.wordpress.com/2009/10/autostart.png?w=300&h=211" alt="Make xbindkeys autostart" width="300" height="211" /></a><p class="wp-caption-text">Make xbindkeys autostart</p></div>
<h2>Closing words</h2>
<p>In this tutorial we&#8217;ve learned how to use the <code>xbindkeys</code> program to bind keyboard and mouse shortcuts to different commands. We also took a quick look at how to communicate with an application using <code>qdbus</code> and emulate key presses with <code>xte</code>. Finally, we made <code>xbindkeys </code>autostart.</p>
<p>I think it would be great if the &#8220;Input Actions&#8221; module in System Settings also supported mouse shortcuts. A more simple module for assigning mouse buttons to actions would be nice as well.</p>
<p>Hope that you found this guide helpful, don&#8217;t hesitate to leave a comment below if there&#8217;s anything on your mind.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/844/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=844&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2009/10/13/mouse-shortcuts-with-xbindkeys/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/10/m500.jpg?w=300" medium="image">
			<media:title type="html">Logitech M500</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/10/qdbusviewer.png?w=300" medium="image">
			<media:title type="html">qdbusviewer</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/10/autostart.png?w=300" medium="image">
			<media:title type="html">Autostart</media:title>
		</media:content>
	</item>
		<item>
		<title>Plasma &#8211; A nice weather &#8220;plasmoid&#8221; in 4 easy steps</title>
		<link>http://hanschen.org/2009/07/30/plasma-a-nice-weather-plasmoid-in-4-easy-steps/</link>
		<comments>http://hanschen.org/2009/07/30/plasma-a-nice-weather-plasmoid-in-4-easy-steps/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 16:13:15 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[PlanetKDE]]></category>

		<guid isPermaLink="false">http://hanswchen.wordpress.com/?p=423</guid>
		<description><![CDATA[Some time ago, a person on identi.ca asked in the KDE group which weather plasmoid people preferred. He seemed to like my suggestion, so I figured, why not share it here too? The end result will look like this: (but hopefully with less rain&#8230;) As you can see, it&#8217;s an hourly forecast. It reports the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=423&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some time ago, a person on <a href="http://identi.ca" target="_blank">identi.ca</a> asked in the <a href="http://identi.ca/group/kde" target="_blank">KDE group</a> which weather plasmoid people preferred. He seemed to like my suggestion, so I figured, why not share it here too?</p>
<p>The end result will look like this:</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2009/07/weatherplasmoid.png"><img class="aligncenter size-medium wp-image-424" title="Weather Plasmoid" src="http://hanswchen.files.wordpress.com/2009/07/weatherplasmoid.png?w=300&h=104" alt="Weather Plasmoid" width="300" height="104" /></a><em>(but hopefully with less rain&#8230;)</em></p>
<p>As you can see, it&#8217;s an hourly forecast. It reports the weather, temperature, wind speed and direction and &#8211; most important for me &#8211; precipitation.</p>
<p><span id="more-423"></span></p>
<p>Enough talk already; here are the steps:</p>
<ol>
<li>Install the <a href="http://kde-look.org/content/show.php/Scripted+Image?content=91749" target="_blank">Scripted Image</a> plasmoid. It has some quirks (for example, auto reload doesn&#8217;t work on one of my computers), but I haven&#8217;t found a better alternative.<br />
The plasmoid is easily installed from the Add Widgets dialog (cashew <img class="alignnone" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=22&amp;h=22&h=22" alt="" width="22" height="22" /> -&gt; Add Widgets&#8230;). Click on &#8220;Install New Widgets&#8221; and choose &#8220;Download New Plasma Widgets&#8221;. Search for &#8220;image&#8221; and press on &#8220;Install&#8221; in the &#8220;Scripted Image&#8221; box.</p>
<p><a href="http://hanswchen.files.wordpress.com/2009/07/ghns.png"><img class="aligncenter size-medium wp-image-429" title="Install Widget" src="http://hanswchen.files.wordpress.com/2009/07/ghns.png?w=300&h=181" alt="Install Widget" width="300" height="181" /></a><br />
Note: When I close the dialog I get a message stating that the installation failed. However, seeing how the widget appears fine, it seems like it&#8217;s just false alarm.</li>
<li>Go to <a href="http://www.yr.no/english/" target="_blank">yr.no</a> and search for your city. Click on &#8220;Hour by hour&#8221; and get the URL for the image (in Konqueror: right click -&gt; Actions -&gt; Copy Path -&gt; copy whole path).<a href="http://hanswchen.files.wordpress.com/2009/07/weather.png"><img class="aligncenter size-medium wp-image-431" title="yr.no hour by hour" src="http://hanswchen.files.wordpress.com/2009/07/weather.png?w=300&h=179" alt="yr.no hour by hour" width="300" height="179" /></a><br />
Of course you&#8217;re free to use another weather forecast service if you want, as long as it shows the forecast in an image.</li>
<li>Add &#8220;Scripted Image&#8221; to your desktop (cashew <img src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=22&amp;h=22&h=22" alt="" width="22" height="22" /> -&gt; Add Widgets&#8230; -&gt; drag &#8220;Scripted Image&#8221; to your desktop) and click on &#8220;Configure&#8230;&#8221; in the widget.</li>
<li>In the dialog, paste the URL from step 2 under &#8220;Image URL&#8221;. Choose an appropriate number of minutes (for example 30) for reload &#8220;Interval&#8221; and set &#8220;Scaling&#8221; to &#8220;Scale applet to content&#8221;. Click on &#8220;OK&#8221;.<a href="http://hanswchen.files.wordpress.com/2009/07/configdialog.png"><img class="aligncenter size-medium wp-image-435" title="Configure Widget" src="http://hanswchen.files.wordpress.com/2009/07/configdialog.png?w=300&h=180" alt="Configure Widget" width="300" height="180" /></a></li>
</ol>
<p>We&#8217;re done! Hope you find it useful, and as always, comments are much appreciated.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=423&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2009/07/30/plasma-a-nice-weather-plasmoid-in-4-easy-steps/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/07/weatherplasmoid.png?w=300" medium="image">
			<media:title type="html">Weather Plasmoid</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=22&#38;h=22" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2009/07/ghns.png?w=300" medium="image">
			<media:title type="html">Install Widget</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/07/weather.png?w=300" medium="image">
			<media:title type="html">yr.no hour by hour</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=22&#38;h=22" medium="image" />

		<media:content url="http://hanswchen.files.wordpress.com/2009/07/configdialog.png?w=300" medium="image">
			<media:title type="html">Configure Widget</media:title>
		</media:content>
	</item>
		<item>
		<title>Plasma &#8211; Desktop Icons in KDE 4.2</title>
		<link>http://hanschen.org/2009/01/29/plasma-desktop-icons-in-kde-42/</link>
		<comments>http://hanschen.org/2009/01/29/plasma-desktop-icons-in-kde-42/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 22:50:18 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://hanswchen.wordpress.com/?p=173</guid>
		<description><![CDATA[The new desktop in KDE4 works quite differently from what many are used to. One thing many new users wonder is, &#8220;How do the desktop icons work?&#8221; In this post I&#8217;ll share my experience with icons in Plasma-desktop. Note: I use the latest development version of KDE4, which means that some things may look slightly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=173&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The new desktop in KDE4 works quite differently from what many are used to. One thing many new users wonder is, &#8220;How do the desktop icons work?&#8221; In this post I&#8217;ll share my experience with icons in Plasma-desktop.</p>
<blockquote><p><strong>Note:</strong> I use the latest development version of KDE4, which means that some things may look slightly different on your computer.</p></blockquote>
<p>Let&#8217;s start with the most simple icon. If you just want a &#8220;normal&#8221; desktop with icons, see the section &#8220;Traditional Desktop&#8221;.</p>
<p><span id="more-173"></span></p>
<h1>Icon Widgets</h1>
<p>You&#8217;ve probably already discovered the &#8220;Add Widgets&#8221; dialog, which lets you put all kind of stuff on your desktop: calculators, calenders, sticky notes and <a href="http://lh3.ggpht.com/wadejolson/SENqNtBFiUI/AAAAAAAAAYI/APuppCOyyHw/s400/270669_1879_large.png" target="_blank">clocks</a>, just  to name a few. So how do we add an icon widget to the desktop?</p>
<p>There are many ways &#8211; a relative straightforward method is to drag and drop. For example, you can drag a file from the file manager Dolphin and drop it on the desktop. If you want a shortcut to an application, simply drag its icon from the application launcher. (Note that this requires your widgets to be unlocked).</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2009/01/drag-kickoff.png"><img class="size-medium wp-image-174 aligncenter" title="Drag from Kickoff" src="http://hanswchen.files.wordpress.com/2009/01/drag-kickoff.png?w=300&h=246" alt="Drag from Kickoff" width="300" height="246" /></a></p>
<p style="text-align:center;"><em>Dragging an icon from Kickoff, the default application launcher</em></p>
<p style="text-align:left;">The result is an icon that behaves like the other widgets. You&#8217;ll notice that the black handle will appear on hover, and you can resize/rotate the icon.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2009/01/iconwidget.png"><img class="aligncenter size-full wp-image-176" title="Icon Widget" src="http://hanswchen.files.wordpress.com/2009/01/iconwidget.png?w=780" alt="Icon Widget"   /></a></p>
<p style="text-align:center;"><em>The icon widget behaves like any other widget</em></p>
<p style="text-align:left;">Now you might wonder, &#8220;Why would anyone want to do that?&#8221;. I don&#8217;t know. But the fact is that this icon <em>is</em> a widget;  for example, if you remove it from the desktop, the original file won&#8217;t be deleted. This has several disadvantages, such as not being able to sort icons and align them to grid. So how do we get more &#8220;traditional&#8221; icons?</p>
<p style="text-align:left;">&nbsp;</p>
<p style="text-align:left;">&nbsp;</p>
<h1>Folder View</h1>
<p style="text-align:left;">Folder View is basically a widget that shows the content of a directory. By default, there&#8217;s a Folder View on your desktop that displays the files in your desktop directory.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2009/01/folderview.png"><img class="aligncenter size-medium wp-image-177" title="Folderview" src="http://hanswchen.files.wordpress.com/2009/01/folderview.png?w=300&h=200" alt="Folder view" width="300" height="200" /></a></p>
<p style="text-align:center;"><em>Folder view</em></p>
<p style="text-align:left;">You&#8217;ll find that Folder View, in contrast to the icon widgets, has the most features one would expect: you select icons, sort and align them to grid, create/delete files etc.</p>
<p style="text-align:left;">If you have a hard time understanding what the Folder View does, you can think of it as a Dolphin window (the default file manager) without any toolbars.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2009/01/folderview-dolphin.png"><img class="aligncenter size-medium wp-image-178" title="Folderview - Dolphin" src="http://hanswchen.files.wordpress.com/2009/01/folderview-dolphin.png?w=300&h=137" alt="Folder view - Dolphin" width="300" height="137" /></a></p>
<p style="text-align:center;"><em>Folder View &#8211; Dolphin&#8217;s cousin living on the desktop?</em></p>
<p style="text-align:left;">The big difference is that you can&#8217;t navigate through directories (folders) in Folder View. Instead, it&#8217;ll launch your preferred file manager when you click on a folder.</p>
<p style="text-align:left;">You can add as many Folder Views as you want from the &#8220;Add Widgets&#8221; dialog and point them to different locations. In the next section, I&#8217;m going to talk briefly about how you can use Folder View.</p>
<h2>Usage</h2>
<p style="text-align:left;">First, let&#8217;s check the settings: right click -&gt; Folder View Settings or press the wrench on the black border that appears on hover.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2009/01/folderview-location.png"><img class="aligncenter size-medium wp-image-180" title="Folderview Settings - Location" src="http://hanswchen.files.wordpress.com/2009/01/folderview-location.png?w=300&h=233" alt="Folderview Settings - Location" width="300" height="233" /></a></p>
<p style="text-align:center;"><em>Folder View Setting &#8211; Location</em></p>
<p style="text-align:left;">First of all, you can set the location; i.e., the directory that the Folder View should show. Note that it isn&#8217;t restricted to local directories &#8211; you can also show files from remote FTP, SSH etc.</p>
<p style="text-align:left;">In &#8220;Display&#8221;, you can customize the look of the widget. Not much to say here.</p>
<p style="text-align:left;">The &#8220;Filter&#8221; page lets you set which types of items the Folder View should display. The default setting is &#8220;Show all files&#8221;, but you can choose to show or hide certain files based on their file name and type. For example. I might want to show all image files that begin with &#8220;kde&#8221; in a directory.</p>
<p style="text-align:left;">The last page, &#8220;Keyboard Shortcut&#8221;, doesn&#8217;t seem to be very useful at the moment. I think the idea is to set a shortcut to give the widget focus, but keyboard navigation in Folder View doesn&#8217;t appear to work very well at the moment.</p>
<p style="text-align:left;">Now, let&#8217;s give two concrete examples of how you can use Folder View.</p>
<p style="text-align:left;"><strong>Example 1. Favorite Applications</strong></p>
<p style="text-align:left;">You might want to create a Folder View that shows your favorite applications. No problem.</p>
<ol>
<li>Create a new directory somewhere in your home directory (e.g. ~/applications)</li>
<li>Add a new Folder View to your desktop and open its settings dialog.</li>
<li>In &#8220;Location&#8221;, click on &#8220;Specify a folder:&#8221; and enter the location (e.g. ~/applications). You can also click on the button to the right to select directory.</li>
<li>Go to &#8220;Display&#8221;. Change the label to &#8220;Applications&#8221;  and check &#8220;Align to grid&#8221;.</li>
<li>Press OK.</li>
</ol>
<p>Now you can add applications, for example by drag and drop from the application launcher. When you drop the icon, you&#8217;ll probably see a list with different options. &#8220;Copy here&#8221; should do just fine, since you only copy the .desktop file of the application. &#8220;Link here&#8221; also works. If you don&#8217;t want to see the list, hold down <code>ctrl</code> when you drag the icons.</p>
<p><strong>Example 2. Downloaded PDF files</strong></p>
<p>This main point of this example is to demonstrate the Filter option. Let&#8217;s say you want to show all PDF files in your &#8220;Download&#8221; directory:</p>
<ol>
<li>Add a Folder View widget.</li>
<li>Point it to your download directory.</li>
<li>You might want to change some display settings, such as setting the label to &#8220;Downloaded PDF files&#8221;.</li>
<li>In &#8220;Filter&#8221;, choose &#8220;Show Files Matching&#8221;. Under &#8220;File Types:&#8221;, type &#8220;pdf&#8221; in the search bar.</li>
<li>Check &#8220;PDF Document (*.pdf)&#8221; that appears in the list below. Click on OK.</li>
</ol>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2009/01/folderview-filter1.png"><img class="aligncenter size-medium wp-image-181" title="Folderview Settings - Filter" src="http://hanswchen.files.wordpress.com/2009/01/folderview-filter1.png?w=300&h=233" alt="Folderview Filter" width="300" height="233" /></a></p>
<p style="text-align:center;"><em>Only show PDF files</em></p>
<h1>Traditional Desktop</h1>
<p style="text-align:left;">So Folder View is great and everything, but what if I don&#8217;t want my icons in a box? There are many users that just want a traditional desktop. So they just have to resize a Folder View to cover their entire desktop and use a theme like <a href="http://kde-look.org/content/show.php/Naked?content=93331" target="_blank">Naked</a>.</p>
<p style="text-align:left;">But that would be rather silly, wouldn&#8217;t it?</p>
<p style="text-align:left;">Actually, you can choose to use Folder View as your desktop, and it&#8217;s very easy to do:</p>
<ol>
<li>Right click on the desktop -&gt; Appearance Settings (in my version it&#8217;s called Desktop Settings, but I think KDE 4.2 uses the former name).</li>
<li>Under &#8220;Desktop Activity&#8221;, you can see &#8220;Type: Desktop&#8221;. Change &#8220;Desktop&#8221; to &#8220;Folder View&#8221; and click on OK.</li>
</ol>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2009/01/folderview-desktop.png"><img class="aligncenter size-medium wp-image-182" title="Folderview Desktop" src="http://hanswchen.files.wordpress.com/2009/01/folderview-desktop.png?w=300&h=175" alt="Folderview Desktop" width="300" height="175" /></a></p>
<p style="text-align:center;"><em>Choosing Folder View as desktop type</em></p>
<p style="text-align:left;">You should now have a traditional desktop. Huzzah! To revert to the default desktop, right click -&gt; Folder View Settings and change &#8220;Type&#8221; to &#8220;Desktop&#8221;. You&#8217;ll also find the Folder View settings in this dialog.</p>
<p style="text-align:left;">&nbsp;</p>
<h1>Tips</h1>
<p>I hope that you found this somewhat helpful. To round things off, here are some tips:</p>
<ul>
<li>You can still add widgets to the traditional desktop. Click on the cashew<img class="alignnone size-full wp-image-117" title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=780" alt=""   /> and choose &#8220;Add widgets&#8230;&#8221;.</li>
<li>Like any other widget, you can add Folder View to a panel.</li>
<li>If you like the tip above, check out <a href="http://kde-look.org/content/show.php/QuickAccess?content=84128" target="_blank">QuickAccess</a>, &#8220;a small applet designed for the panel to have quick access to the most used folders&#8221;. Unfortunately it doesn&#8217;t seem to work with KDE 4.2 yet.</li>
</ul>
<p>Have fun!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=173&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2009/01/29/plasma-desktop-icons-in-kde-42/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/01/drag-kickoff.png?w=300" medium="image">
			<media:title type="html">Drag from Kickoff</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/01/iconwidget.png" medium="image">
			<media:title type="html">Icon Widget</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/01/folderview.png?w=300" medium="image">
			<media:title type="html">Folderview</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/01/folderview-dolphin.png?w=300" medium="image">
			<media:title type="html">Folderview - Dolphin</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/01/folderview-location.png?w=300" medium="image">
			<media:title type="html">Folderview Settings - Location</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/01/folderview-filter1.png?w=300" medium="image">
			<media:title type="html">Folderview Settings - Filter</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2009/01/folderview-desktop.png?w=300" medium="image">
			<media:title type="html">Folderview Desktop</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>
	</item>
		<item>
		<title>Plasma &#8211; How to remove the cashew</title>
		<link>http://hanschen.org/2008/10/23/plasma-how-to-remove-the-cashew/</link>
		<comments>http://hanschen.org/2008/10/23/plasma-how-to-remove-the-cashew/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 15:04:06 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[KApplication KTips]]></category>
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://hanswchen.wordpress.com/?p=116</guid>
		<description><![CDATA[One of the major complaints of Plasma is that you can&#8217;t remove the annoying icon from your panels or desktop. Oh yes, I&#8217;m talking about the infamous Cashew of Plasma. Before This is a small guide on how to get rid of the cashews. You probably need version 4.1 of KDE or higher and know [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=116&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the major complaints of Plasma is that you can&#8217;t remove the annoying icon from your panels or desktop. Oh yes, I&#8217;m talking about the infamous Cashew of Plasma.<img class="alignnone size-full wp-image-117" title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=780" alt=""   /></p>
<p><a href="http://hanswchen.files.wordpress.com/2008/10/default.png" target="_blank"><img class="aligncenter size-medium wp-image-119" title="Default desktop" src="http://hanswchen.files.wordpress.com/2008/10/default.png?w=300&h=240" alt="" width="300" height="240" /></a></p>
<p style="text-align:center;"><em>Before</em></p>
<p>This is a small guide on how to get rid of the cashews. You probably need version 4.1 of KDE or higher and know a little bit about how to use the terminal.</p>
<p><span id="more-116"></span></p>
<h1>Panel Cashew</h1>
<p>The cashew here let&#8217;s you configure the panel by clicking on<img class="alignnone size-full wp-image-117" title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=780" alt=""   />. If you feel that you&#8217;re satisfied with your setup and don&#8217;t need the cashew anymore, you can hide it be choosing &#8220;Lock Widgets&#8221;. This option can be found in many places, such as the <a href="http://hanswchen.files.wordpress.com/2008/10/rightclick.png" target="_blank">right click menu</a>, when you <a href="http://hanswchen.files.wordpress.com/2008/10/panel1.png" target="_blank">configure the panel</a> or by clicking on the cashew in the upper right corner.</p>
<p style="text-align:center;"><img class="size-full wp-image-120 aligncenter" title="Cashew Menu" src="http://hanswchen.files.wordpress.com/2008/10/cashewmenu.png?w=780" alt=""   /></p>
<p style="text-align:center;"><em>See, I&#8217;m not completely useless</em></p>
<p>Once you&#8217;ve locked your widgets, they can&#8217;t be moved, resized/rotated or removed anymore. The option to add new widgets will also be gone. If you want to change anything, simply unlock the widgets in the same way as you locked them.</p>
<h1>Desktop Cashew</h1>
<p>This one is a little bit tougher. You&#8217;ll notice that it won&#8217;t go away when you lock the widgets, which has caused frustration among many KDE4 users. One particular person decided to do something about it, and thus the <em>I HATE the Cashew</em> plasmoid was born.</p>
<p><strong>Note:</strong> The preferable way to install this widget is through your package manager if it&#8217;s in the repositories. The steps below describe how to compile it from source.</p>
<ol>
<li>Download the plasmoid <a href="http://www.kde-look.org/content/show.php/I+HATE+the+Cashew?content=91009" target="_blank">here</a> and save it somewhere in your home directory.</li>
<li>Extract the tbz file with the following command:</li>
<blockquote><p><code>tar -xjvf <em>filename</em><br />
</code></p></blockquote>
<p>where <code>filename</code> is the name of the downloaded file, for example <code>91009-iHateTheCashew.tbz</code>.</p>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2008/10/extract.png" target="_blank"><img class="aligncenter size-full wp-image-125" title="Extract" src="http://hanswchen.files.wordpress.com/2008/10/extract.png?w=780" alt=""   /></a></p>
<li>Run the following commands:</li>
<blockquote><p><code>cd iHateTheCashew<br />
</code></p>
<p><code>mkdir build</code></p>
<p><code>cd build</code></p></blockquote>
<li>Now we&#8217;re ready to compile the plasmoid:</li>
<blockquote><p><code>cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..<br />
</code></p>
<p><code>make</code></p></blockquote>
<p>If you run into errors in this step, it&#8217;s most likely a dependency problem. Check that you have all necessary packages installed.</p>
<li>In most cases, you need root access to install the widget:</li>
<blockquote><p><code>sudo make install</code></p></blockquote>
<p>When you&#8217;ve typed your password and hit Enter, the plasmoid will be installed &#8211; you should now be ready for step 6. Below are some corner cases.</p>
<p>If the <code>sudo</code> command isn&#8217;t available, you can use the regular <code>su</code> command:</p>
<blockquote><p><code>su<br />
&lt;<em>type root password</em>&gt;</code><code><br />
make install</code></p></blockquote>
<p>Sometimes your user has write access to the directory where KDE4 is installed, for example if you have a KDE development environment set up according to this <a href="http://techbase.kde.org/Getting_Started/Build/KDE4#Setting_up_the_environment" target="_blank">Techbase Tutorial</a>. In that case, you can run <code>make install</code> without using <code>sudo</code> or <code>su.</code></p>
<p>If you use the .bashrc in the link above, you can compile and install the plasmoid with a single command:</p>
<blockquote><p><code>cmakekde ..</code></p></blockquote>
<li>You should find your new plasmoid in the Add Widgets dialog. Add <em>I HATE the cashew</em> to your desktop (remember that you have to unlock the widgets first).</li>
</ol>
<p style="text-align:center;"><a href="http://hanswchen.files.wordpress.com/2008/10/widget.png" target="_blank"><img class="aligncenter size-medium wp-image-127" title="Add Widget" src="http://hanswchen.files.wordpress.com/2008/10/widget.png?w=386&h=440" alt="" width="386" height="440" /></a></p>
<p style="text-align:left;">And we&#8217;re done! Lock your widgets again and all cashews should have disappeared.</p>
<p style="text-align:left;"><a href="http://hanswchen.files.wordpress.com/2008/10/nocashew.png" target="_blank"><img class="aligncenter size-medium wp-image-130" title="After" src="http://hanswchen.files.wordpress.com/2008/10/nocashew.png?w=300&h=240" alt="" width="300" height="240" /></a></p>
<p style="text-align:center;"><em>After</em></p>
<p style="text-align:left;">If you want<img class="alignnone size-full wp-image-117" title="Cashew" src="http://hanswchen.files.wordpress.com/2008/10/plasma.png?w=780" alt=""   /> back on your desktop, simply remove the <em>I HATE the cashew</em> plasmoid by clicking on<img class="alignnone size-full wp-image-131" title="Remove" src="http://hanswchen.files.wordpress.com/2008/10/list-remove.png?w=780" alt=""   /> in the <a href="http://hanswchen.files.wordpress.com/2008/10/revome.png" target="_blank">Add Widgets dialog</a>. Nice, isn&#8217;t it?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hanswchen.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hanswchen.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hanswchen.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hanswchen.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hanswchen.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hanswchen.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hanswchen.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hanswchen.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hanswchen.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hanswchen.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hanswchen.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hanswchen.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hanswchen.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hanswchen.wordpress.com/116/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hanschen.org&#038;blog=1435266&#038;post=116&#038;subd=hanswchen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hanschen.org/2008/10/23/plasma-how-to-remove-the-cashew/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/904ae90dc9256407d682127b41e66278?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">Mogger</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/default.png?w=300" medium="image">
			<media:title type="html">Default desktop</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/cashewmenu.png" medium="image">
			<media:title type="html">Cashew Menu</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/extract.png" medium="image">
			<media:title type="html">Extract</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/widget.png" medium="image">
			<media:title type="html">Add Widget</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/nocashew.png?w=300" medium="image">
			<media:title type="html">After</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/plasma.png" medium="image">
			<media:title type="html">Cashew</media:title>
		</media:content>

		<media:content url="http://hanswchen.files.wordpress.com/2008/10/list-remove.png" medium="image">
			<media:title type="html">Remove</media:title>
		</media:content>
	</item>
	</channel>
</rss>
