<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>FranGarcia.me (Posts about gnome)</title><link>https://www.frangarcia.me/</link><description></description><atom:link href="https://www.frangarcia.me/categories/gnome.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Sun, 21 May 2023 06:09:02 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Setting VSCode as the default Gnome editor</title><link>https://www.frangarcia.me/posts/setting-vscode-as-the-default-gnome-editor/</link><dc:creator>Fran Garcia</dc:creator><description>&lt;p&gt;Quick post. I had the need to change the default Gnome editor from gedit to
VSCode. There isn't a straight-forward way to do this, so I found this quick
way and wanted to make a note in the blog so I don't forget &lt;code&gt;;-)&lt;/code&gt; .&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;➜ xdg-mime  query default text/plain 
gedit.desktop

➜ xdg-mime default code.desktop text/plain

➜ xdg-mime  query default text/plain  
code.desktop
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can also check the list of existing applications by searching for &lt;code&gt;*.desktop&lt;/code&gt;
files installed in your system, eg:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;➜ find /usr/share/applications  -name "*.desktop"
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Happy hacking!&lt;/p&gt;</description><category>gnome</category><category>vscode</category><guid>https://www.frangarcia.me/posts/setting-vscode-as-the-default-gnome-editor/</guid><pubDate>Sun, 21 May 2023 06:00:39 GMT</pubDate></item></channel></rss>