<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Devel blog &#187; email</title>
	<atom:link href="http://devel.pc-serwis.com/tag/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://devel.pc-serwis.com</link>
	<description>My developer / gentoo user notes</description>
	<lastBuildDate>Tue, 29 Nov 2011 22:43:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to add service menu entry in Dolphin.</title>
		<link>http://devel.pc-serwis.com/2010/02/how-to-add-service-menu-entry-in-dolphin/</link>
		<comments>http://devel.pc-serwis.com/2010/02/how-to-add-service-menu-entry-in-dolphin/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 00:55:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[action]]></category>
		<category><![CDATA[dolphin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[kde4]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[multiple files]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://devel.pc-serwis.com/?p=82</guid>
		<description><![CDATA[Peace of simple functionality I&#8217;ve been lacking for some time in dolphin was &#8220;send to &#8221; option which would create an email with attached file(s) (many files). I have no idea why it does not exists &#8220;out of box&#8221; but there is quite simple way of adding this. This descriptions applies to KDE4. directory /usr/share/kde4/services/ServiceMenus contains [...]]]></description>
			<content:encoded><![CDATA[<p>Peace of simple functionality I&#8217;ve been lacking for some time in dolphin was &#8220;send to &#8221; option which would create an email with attached file(s) (many files). I have no idea why it does not exists &#8220;out of box&#8221; but there is quite simple way of adding this.</p>
<p>This descriptions applies to KDE4.<br />
directory /usr/share/kde4/services/ServiceMenus</p>
<p>contains list of actions avaiable in Dolphin for various file types.<br />
If you add file there an entry will appear in Dolphin (Settings -&gt; Configure Dolphin, Services)<br />
In order to Dolphin re-read content of this dir you have to change something in that window (check and uncheck any selectbox and press apply).</p>
<p>Ok. create email.desktop in mentioned dir:</p>
<p>[Desktop Entry]<br />
Actions=attachToEmail<br />
Encoding=UTF-8<br />
ServiceTypes=KonqPopupMenu/Plugin,all/allfiles<br />
ExcludeServiceTypes=application/x-iso,kdedevice/*,inode/directory<br />
Type=Service</p>
<p>[Desktop Action attachToEmail]<br />
Name=Attach to Thunderbird Mail<br />
Name[en]=Send file as attachment<br />
Name[]=Wyslij jako zalacznik<br />
Icon=/usr/share/thunderbird/icons/mozicon16.xpm</p>
<p>#Exec=a.sh -compose &#8220;attachment=file:/$(echo %F | sed &#8216;s/\\ \\//,file:\\/\\//g&#8217;)&#8221;<br />
# bactick operator also works<br />
Exec=thunderbird -compose &#8220;attachment=&#8217;file:/`echo %F | sed &#8216;s/\\ \\//,file:\\/\\//g&#8217;`'&#8221;</p>
<p>Download above sample from <a href="http://devel.pc-serwis.com/wp-content/uploads/2010/02/email.desktop.zip">here</a> (if you copy above content directly from browser IT MAY NOT WORK)</p>
<p>As you see you can specify with which file types this context menu should appear.<br />
Above configuration works for thunderbird 2.x (2.x requires files:// prefix, because of some bug)</p>
<p>There is a peace of magic in Exec line, because of the way thunderbirds <a title="Thunderbird comandline arguments" href="http://kb.mozillazine.org/Command_line_arguments_%28Thunderbird%29" target="_blank">expects</a> filenames.</p>
<p>More about desktop file format <a title="Desktop file format" href="http://standards.freedesktop.org/desktop-entry-spec/latest/index.html" target="_blank">here</a>.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Tags: <a class='technorati-link' href='http://technorati.com/tag/action' rel='tag' target='_blank'>action</a>, <a class='technorati-link' href='http://technorati.com/tag/dolphin' rel='tag' target='_blank'>dolphin</a>, <a class='technorati-link' href='http://technorati.com/tag/email' rel='tag' target='_blank'>email</a>, <a class='technorati-link' href='http://technorati.com/tag/kde4' rel='tag' target='_blank'>kde4</a>, <a class='technorati-link' href='http://technorati.com/tag/menu' rel='tag' target='_blank'>menu</a>, <a class='technorati-link' href='http://technorati.com/tag/multiple+files' rel='tag' target='_blank'>multiple files</a>, <a class='technorati-link' href='http://technorati.com/tag/service' rel='tag' target='_blank'>service</a>, <a class='technorati-link' href='http://technorati.com/tag/thunderbird' rel='tag' target='_blank'>thunderbird</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://devel.pc-serwis.com/2010/02/how-to-add-service-menu-entry-in-dolphin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to action menu entry in Dolphin.</title>
		<link>http://devel.pc-serwis.com/2010/02/how-to-action-menu-entry-in-dolphin/</link>
		<comments>http://devel.pc-serwis.com/2010/02/how-to-action-menu-entry-in-dolphin/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 00:24:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[kde4]]></category>
		<category><![CDATA[sent to option]]></category>
		<category><![CDATA[servicemenu]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://devel.pc-serwis.com/?p=68</guid>
		<description><![CDATA[Peace of simple  functionality I&#8217;ve been lacking for some time in dolphin was &#8220;send to &#8221; option which would create an email with attached file(s). I have no idea why it does not exists &#8220;out of box&#8221; but there is quite simple way of adding this. This descriptions applies to KDE4. /usr/share/kde4/services/ServiceMenus contains list of [...]]]></description>
			<content:encoded><![CDATA[<p>Peace of simple  functionality I&#8217;ve been lacking for some time in dolphin was &#8220;send to &#8221; option which would create an email with attached file(s). I have no idea why it does not exists &#8220;out of box&#8221; but there is quite simple way of adding this.</p>
<p>This descriptions applies to KDE4.<br />
/usr/share/kde4/services/ServiceMenus</p>
<p>contains list of actions avaiable in Dolphin for various file types.<br />
If you add file there an entry will appear in Dolphin (Settings -&gt; Configure Dolphin, Services)<br />
In order to Dolphin re-read content of this dir you have to change something in that windows (check and uncheck any selectbox and press apply).</p>
<p>Ok. create email.desktop in mentioned dir:</p>
<p><em>[Desktop Entry]<br />
Actions=attachToEmail<br />
Encoding=UTF-8<br />
ServiceTypes=KonqPopupMenu/Plugin,all/allfiles<br />
ExcludeServiceTypes=application/x-iso,kdedevice/*,inode/directory<br />
Type=Service</em></p>
<p><em>[Desktop Action attachToEmail]<br />
Name=Attach to Thunderbird Mail<br />
Name[en]=Send file as attachment<br />
Name[]=Wyslij jako zalacznik<br />
Icon=/usr/share/thunderbird/icons/mozicon16.xpm</em><br />
[Desktop Entry]<br />
Actions=attachToEmail<br />
Encoding=UTF-8<br />
ServiceTypes=KonqPopupMenu/Plugin,all/allfiles<br />
ExcludeServiceTypes=application/x-iso,kdedevice/*,inode/directory<br />
Type=Service</p>
<p>[Desktop Action attachToEmail]<br />
Name=Attach to Thunderbird Mail<br />
Name[en]=Send file as attachment<br />
Name[]=Wyslij jako zalacznik<br />
Icon=/usr/share/thunderbird/icons/mozicon16.xpm<br />
Exec=thunderbird -compose &#8220;attachment=&#8217;file:/`echo %F | sed &#8216;s/\\ \\//,file:\\/\\//g&#8217;`'&#8221;</p>
<p>Download above sample from <a href="home/wlos/devel.pc-serwis.com/wp-content/uploads/2010/02/email.desktop.zip">here</a>.</p>
<p>As you see you can specify with which file types this context menu should appear.<br />
Above configuration works for thunderbird 2.x (2.x requires files:// prefix, because of some bug)</p>
<p>There is a peace of magic in Exec line, because of the way thunderbirds <a title="Thunderbird comandline arguments" href="http://kb.mozillazine.org/Command_line_arguments_%28Thunderbird%29" target="_blank">expects</a> filenames.</p>
<p>More about desktop file format <a title="Desktop file format" href="http://standards.freedesktop.org/desktop-entry-spec/latest/index.html" target="_blank">here</a>.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Tags: <a class='technorati-link' href='http://technorati.com/tag/email' rel='tag' target='_blank'>email</a>, <a class='technorati-link' href='http://technorati.com/tag/kde4' rel='tag' target='_blank'>kde4</a>, <a class='technorati-link' href='http://technorati.com/tag/sent+to+option' rel='tag' target='_blank'>sent to option</a>, <a class='technorati-link' href='http://technorati.com/tag/servicemenu' rel='tag' target='_blank'>servicemenu</a>, <a class='technorati-link' href='http://technorati.com/tag/thunderbird' rel='tag' target='_blank'>thunderbird</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://devel.pc-serwis.com/2010/02/how-to-action-menu-entry-in-dolphin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

