<?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>Linux &#8211; INCD021</title>
	<atom:link href="https://incd021.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://incd021.com</link>
	<description>Programming, thoughts, life  and art.</description>
	<lastBuildDate>Tue, 01 Apr 2025 18:38:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>Adding desktop icon to applications on Pop!_OS</title>
		<link>https://incd021.com/2025/04/01/adding-desktop-icon-to-applications-on-pop_os/</link>
					<comments>https://incd021.com/2025/04/01/adding-desktop-icon-to-applications-on-pop_os/#respond</comments>
		
		<dc:creator><![CDATA[INC $D021]]></dc:creator>
		<pubDate>Tue, 01 Apr 2025 18:33:23 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[Pop!_OS]]></category>
		<guid isPermaLink="false">https://incd021.com/?p=813</guid>

					<description><![CDATA[Something that should be quite easy — but since there are multiple ways to install applications on Linux, not all of them add an icon for you. So here is....]]></description>
										<content:encoded><![CDATA[
<p>Something that should be quite easy — but since there are multiple ways to install applications on Linux, not all of them add an icon for you. So here is the bare minimum you need to do to add an icon to an application.</p>



<p>First create a .desktop file on your desktop.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#39404f;color:#c8d0e0">Bash</span><span role="button" tabindex="0" data-code="nano ~/Desktop/Godot.desktop" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">nano</span><span style="color: #D8DEE9FF"> </span><span style="color: #A3BE8C">~/Desktop/Godot.desktop</span></span></code></pre></div>



<p>Now add the following code, and adjust the location to match your application and icon location. Here I&#8217;ve downloaded and copied Godot to Applications in my home directory.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#39404f;color:#c8d0e0">Bash</span><span role="button" tabindex="0" data-code="[Desktop Entry]
Type=Application
Name=Godot
Exec=/home/nope/Applications/Godot_v4.4-stable_mono_linux.x86_64
Icon=/home/nope/Applications/GodotIcon.png
Terminal=false" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #ECEFF4">[</span><span style="color: #D8DEE9FF">Desktop Entry</span><span style="color: #ECEFF4">]</span></span>
<span class="line"><span style="color: #D8DEE9">Type</span><span style="color: #81A1C1">=</span><span style="color: #A3BE8C">Application</span></span>
<span class="line"><span style="color: #D8DEE9">Name</span><span style="color: #81A1C1">=</span><span style="color: #A3BE8C">Godot</span></span>
<span class="line"><span style="color: #D8DEE9">Exec</span><span style="color: #81A1C1">=</span><span style="color: #A3BE8C">/home/nope/Applications/Godot_v4.4-stable_mono_linux.x86_64</span></span>
<span class="line"><span style="color: #D8DEE9">Icon</span><span style="color: #81A1C1">=</span><span style="color: #A3BE8C">/home/nope/Applications/GodotIcon.png</span></span>
<span class="line"><span style="color: #D8DEE9">Terminal</span><span style="color: #81A1C1">=</span><span style="color: #81A1C1">false</span></span></code></pre></div>



<p>After saving the file, we need to make it executable, to be able to run the application by clicking the icon.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#39404f;color:#c8d0e0">Bash</span><span role="button" tabindex="0" data-code="chmod +x ~/Desktop/Godot.desktop" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">chmod</span><span style="color: #D8DEE9FF"> </span><span style="color: #A3BE8C">+x</span><span style="color: #D8DEE9FF"> </span><span style="color: #A3BE8C">~/Desktop/Godot.desktop</span></span></code></pre></div>



<p>Before you can just start the application by clicking it, you need to right-click the icon and select &#8220;Allow Launching&#8221;.</p>



<p>That&#8217;s it! You can now run the application by simply clicking the icon.</p>



<h2 class="wp-block-heading">Optional</h2>



<p>If you want to add the application to the application menu. You just have to copy the .desktop file to <strong>~/.local/share/applications/</strong> and the application will show up in the application menu.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://incd021.com/2025/04/01/adding-desktop-icon-to-applications-on-pop_os/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Page Caching using Disk: Enhanced 

Served from: incd021.com @ 2025-05-14 23:32:37 by W3 Total Cache
-->