<?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>IDE Archives - Alexandros Georgiou</title>
	<atom:link href="https://www.alexgeorgiou.gr/tag/ide/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.alexgeorgiou.gr/tag/ide/</link>
	<description>Balancing brackets for a living</description>
	<lastBuildDate>Wed, 20 Dec 2023 10:32:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.alexgeorgiou.gr/wp-content/uploads/2021/07/cropped-alexgeorgiou-icon-32x32.png</url>
	<title>IDE Archives - Alexandros Georgiou</title>
	<link>https://www.alexgeorgiou.gr/tag/ide/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>🪔 Open terminal with shell here in Geany</title>
		<link>https://www.alexgeorgiou.gr/geany-terminal-shell-here-directory/</link>
					<comments>https://www.alexgeorgiou.gr/geany-terminal-shell-here-directory/#respond</comments>
		
		<dc:creator><![CDATA[alexg]]></dc:creator>
		<pubDate>Tue, 24 Jan 2017 19:20:10 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Geany]]></category>
		<category><![CDATA[gnome-terminal]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[working directory]]></category>
		<guid isPermaLink="false">http://www.alexgeorgiou.gr/?p=182</guid>

					<description><![CDATA[<p>How to open a shell here, in the directory of the file you're currently editing in Geany.</p>
<p>The post <a href="https://www.alexgeorgiou.gr/geany-terminal-shell-here-directory/">🪔 Open terminal with shell here in Geany</a> appeared first on <a href="https://www.alexgeorgiou.gr">Alexandros Georgiou</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><em>How to open a shell in the directory of the file you&#8217;re currently editing in Geany.</em></p>
<h2>Shell here!</h2>
<p>Apologies if you were expecting something WordPress-related. This article is NOT about WordPress. It&#8217;s about opening a shell here and now, in the directory of the file you&#8217;re currently editing.</p>
<p><a href="https://www.geany.org/" target="_blank" rel="noopener">Geany</a> is the perfect IDE for any type of coding that is not your main development. I use it all the time for scripting, configuring, building, tooling, installing, uninstalling, and generally nerding out.</p>
<h2>Geany, open <del>sesame</del> err, shell!</h2>
<p>Go to <em>Tools</em> and then to <em>Plugin Manager</em>. Enable the <em>File Browser</em>. The file browser will appear as a new tab on the left-hand-side of the screen, along with <em>Symbols</em> and <em>Documents</em>. Now you can observe your file in its native habitat, the directory.</p>
<p>Now if you go to <em>Edit</em> and then select <em>Plugin Preferences</em>, you should see a field titled <em>External Open Command</em> which defaults to</p>
<pre>nautilus "%d"</pre>
<p>If you&#8217;re on Ubuntu, you&#8217;re probably using <code>gnome-terminal</code> as your terminal emulator. Change the line to</p>
<pre>gnome-terminal --working-directory="%d"</pre>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-185" src="http://www.alexgeorgiou.gr/wp-content/uploads/2017/01/geany-settings.png" alt="In Geany, if you go to Edit and then select Plugin Preferences, you should see a field titled External Open Command." width="482" height="425" srcset="https://www.alexgeorgiou.gr/wp-content/uploads/2017/01/geany-settings.png 482w, https://www.alexgeorgiou.gr/wp-content/uploads/2017/01/geany-settings-300x265.png 300w" sizes="(max-width: 599px) calc(100vw - 50px), (max-width: 767px) calc(100vw - 70px), (max-width: 991px) 429px, (max-width: 1199px) 637px, 354px" /></p>
<p>Also click on <em>Follow the path of the current file</em>. It makes sure that the <em>File Browser</em> shows you the directory of the current file as you switch between editor tabs.</p>
<p>Now, when you right-click on a file, and choose <em>Open Externally</em>, you will get a new shell in the directory where that file resides.</p>
<h2>But I miss nautilus!</h2>
<p>If you&#8217;re missing the ability to open <code>nautilus</code>, just remember that once you have a terminal open, you can always issue this command:</p>
<pre>nautilus .</pre>
<p>(Note the dot, which is the current directory.)</p>
<p>If you know of a better/faster way that doesn&#8217;t involve writing a plugin, please comment. I&#8217;d like to know.</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.alexgeorgiou.gr/geany-terminal-shell-here-directory/">🪔 Open terminal with shell here in Geany</a> appeared first on <a href="https://www.alexgeorgiou.gr">Alexandros Georgiou</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.alexgeorgiou.gr/geany-terminal-shell-here-directory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
