<?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>kde - Gagzen</title>
	<atom:link href="https://gagzen.net/tag/kde/feed/" rel="self" type="application/rss+xml" />
	<link>https://gagzen.net</link>
	<description></description>
	<lastBuildDate>Sun, 12 Apr 2009 14:29:09 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://gagzen.net/wp-content/uploads/2026/06/android-chrome-512x512-1-150x150.png</url>
	<title>kde - Gagzen</title>
	<link>https://gagzen.net</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>KDE &#8211; Ajouter notepad++ au menu contextuel</title>
		<link>https://gagzen.net/2009/04/12/kde-ajouter-notepad-au-menu-contextuel/</link>
		
		<dc:creator><![CDATA[Baptiste]]></dc:creator>
		<pubDate>Sun, 12 Apr 2009 14:29:09 +0000</pubDate>
				<category><![CDATA[WorkStation]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[notepad++]]></category>
		<guid isPermaLink="false">http://www.gagneux.info/index.php/?p=104</guid>

					<description><![CDATA[<p>Voici ce qu&#8217;il faut faire pour ajouter l&#8217;éditeur de text Notepad++ au menu contextuel de KDE (clic-doit sur un fichier). Pré-requis : Wine Notepad++ Dans un premier temps, il faut créer un script d&#8217;exécution de Notepad++ : [barthoi@serveur ~]$ cat /usr/bin/notepadpp #!/bin/sh # # # env WINEPREFIX= »/home/barthoi/.wine » wine « C:\Program Files\Notepad++\notepad++.exe » $1 Chmoder le script pour [&#8230;]</p>
<p>The post <a href="https://gagzen.net/2009/04/12/kde-ajouter-notepad-au-menu-contextuel/">KDE – Ajouter notepad++ au menu contextuel</a> first appeared on <a href="https://gagzen.net">Gagzen</a>.</p>]]></description>
										<content:encoded><![CDATA[<div>
<p>Voici ce qu&rsquo;il faut faire pour ajouter l&rsquo;éditeur de text Notepad++ au menu contextuel de KDE (clic-doit sur un fichier).</p>
<p>Pré-requis :</p>
<ul>
<li>Wine</li>
<li>Notepad++</li>
</ul>
</div>
<div>
<p><span id="more-1334"></span></p>
<p>Dans un premier temps, il faut créer un script d&rsquo;exécution de Notepad++ :</p>
<p><code>[barthoi@serveur ~]$ cat /usr/bin/notepadpp<br />
#!/bin/sh<br />
#<br />
#<br />
#</code></p>
<p>env WINEPREFIX= »/home/barthoi/.wine »<br />
wine « C:\Program Files\Notepad++\notepad++.exe » $1<br />
Chmoder le script pour permettre l&rsquo;exécution (755 par exemple).</p>
<p>Pour ce qui est de la partie KDE, il faut simplement créer un fichier tel que le suivant dans le répertoire <strong><br />
</strong></p>
<p><strong>/home/barthoi/.kde/share/apps/konqueror/servicemenus</strong></p>
<p>ou barthoi est le user <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><code>[barthoi@serveur servicemenus]$ cat editnotepadd.desktop<br />
[Desktop Entry]<br />
ServiceTypes=all/all<br />
Actions=editWithNotepadpp</code></p>
<p>[Desktop Action editWithNotepadpp]<br />
Name=Edit with Notepad++<br />
Icon=abiword<br />
Exec=/usr/bin/notepadpp %U</p>
<p>On notera la ligne ServiceTypes=all/all qui spécifie normalement le  type de fichiers est ici paramétrée pour tous les fichiers. On pourrait  limité le menu aux fichiers MP3 (audio/x-mp3), aux dossiers (inode/*),  aux fichiers texts (text/*)</p>
<p>Source : http://linuxfr.org/forums/47/24851.html</p>
</div><p>The post <a href="https://gagzen.net/2009/04/12/kde-ajouter-notepad-au-menu-contextuel/">KDE – Ajouter notepad++ au menu contextuel</a> first appeared on <a href="https://gagzen.net">Gagzen</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
