<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Developer Ash]]></title><description><![CDATA[Passionate software developer and tech enthusiast. Join me on my blog for empowering insights on programming, mental health, social life, leadership, and more. ]]></description><link>https://blog.developerash.net</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1681133854539/d6qIEDC6P.png</url><title>Developer Ash</title><link>https://blog.developerash.net</link></image><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 10:51:33 GMT</lastBuildDate><atom:link href="https://blog.developerash.net/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Installing Eyesim on Ubuntu 22.04!]]></title><description><![CDATA[Eyesim is a robot simulator that lets you program some robots, used in the lab assignments for some units in The University Of Western Australia, in a simulated environment. Here is a quick guide on how to setup Eyesim on your Ubuntu 22.04 device!
I ...]]></description><link>https://blog.developerash.net/installing-eyesim-on-ubuntu-2204</link><guid isPermaLink="true">https://blog.developerash.net/installing-eyesim-on-ubuntu-2204</guid><category><![CDATA[Eyesim]]></category><category><![CDATA[AUTO4508]]></category><dc:creator><![CDATA[Ash Ithape]]></dc:creator><pubDate>Sun, 21 Apr 2024 08:18:38 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1713687583767/ad5564db-a472-44fa-b260-e5ded42ce400.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Eyesim is a robot simulator that lets you program some robots, used in the lab assignments for some units in The University Of Western Australia, in a simulated environment. Here is a quick guide on how to setup Eyesim on your Ubuntu 22.04 device!</p>
<p>I used PopOS 22.04, which is an ubuntu-based distro so the steps should be the same.</p>
<p>Oh, and we will also cover how to add Eyesim to your search menu!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1713686804501/e60f167b-4661-41e2-a7db-6db8c76e2844.png" alt="A screenshot of eyesim appearing in the application launcher on a popos operating system. Note pop os is an ubuntu based distro." class="image--center mx-auto" /></p>
<p>Note: I have heavily referred to roblab's <a target="_blank" href="https://roblab.org/eyesim/">official eyesim</a> website and extends upon the instructions provided from there.</p>
<h2 id="heading-steps">Steps:</h2>
<ol>
<li><p>Install X1<a target="_blank" href="https://file+.vscode-resource.vscode-cdn.net/home/thedoctor/Downloads/EyeSim%20installation%20guide%20for%20Ubuntu%2022.04%20%28By%20TheDoctor%29.md#ref1">1</a> library using following command:</p>
<pre><code class="lang-bash"> sudo apt-get install libx11-dev
</code></pre>
</li>
<li><p>Download the latest Eyesim for Linux from <a target="_blank" href="https://roblab.org/eyesim/ftp/">here</a></p>
<ul>
<li>Yes, the <code>.tag.gz</code> file.</li>
</ul>
</li>
<li><p>Unarchive the <code>.tar.gz</code> file in your <code>home/&lt;your username&gt;</code> directory!</p>
<ul>
<li><p>This is the directory that is accessed when you do <code>cd ~</code>.</p>
</li>
<li><p>So after unarchiving the zip into your home directory, you should have a <code>home/&lt;your username&gt;/EyeSim/</code> directory!</p>
</li>
</ul>
</li>
<li><p>Open a terminal inside of that EyeSim/ folder.</p>
</li>
<li><p>Modify the <code>install.sh</code> file with a text editor of your choice, and comment out lines 15.</p>
<ul>
<li><p><em>But why Ash?</em> Well, it is desireable for us to keep and copy the <code>eyesimX</code> folder to a location of our choice as it has example eyesim programs in C, C++ and python.</p>
</li>
<li><p><strong>Also</strong> check line 11 to make sure that the location, where <a target="_blank" href="http://eye.py"><code>eye.py</code></a> will be placed, is the correct location to put your own python modules.</p>
<ul>
<li>If you're not using python3 or if you're using a python version manager such as pyenv, then that directory will be different. (ChatGPT can help you figure out that directory :P)</li>
</ul>
</li>
</ul>
</li>
<li><p>Execute the installation script by running <code>sh install.sh</code></p>
<ul>
<li><p>If it says something like</p>
</li>
<li><pre><code class="lang-bash">    install.sh: 18: cannot create /etc/ld.so.conf.d/local.conf: Permission denied
</code></pre>
<p>  then just run <code>sudo sh install.sh</code></p>
</li>
<li><p><strong>Note:</strong> Don't do this with any random scripts! We have looked at the contents of this script so we can trust it. <strong>But still</strong>, just be sure to double check it to make sure there's no <em>fishy</em> commands!</p>
</li>
</ul>
</li>
<li><p>Try running <code>eyesim</code> in your terminal. This should open up eyesim, along with a terminal!</p>
</li>
<li><p>Now to add eyesim to our applications menu (i.e. the place you can search for applications from):</p>
<ul>
<li><p>Open your terminal in the EyeSim/ folder you made, and run <code>pwd</code>. Copy that path and paste it somewhere because you'll need it in a sec.</p>
</li>
<li><p>Create a new file called <code>eyesim.desktop</code> somewhere.</p>
</li>
<li><p>Add these contents to it (replacing <code>&lt;your copied path!&gt;</code> with the path you copied when you ran the <code>pwd</code> two steps ago):</p>
<pre><code class="lang-bash">  [Desktop Entry]
  Type=Application
  Name=EyeSim
  Exec=&lt;your copied path!&gt;/EyeSim
  Icon=&lt;your copied path!&gt;/EyeSim_Data/Resources/UnityPlayer.png
  Terminal=<span class="hljs-literal">false</span>
  Categories=Game;Simulation;
</code></pre>
</li>
<li><p>Run <code>chmod +x /path/to/eyesim.desktop</code> (e.g. if it's on your desktop then <code>chmod +x ~/Desktop/eyesim.desktop</code>)</p>
</li>
<li><p>Now copy that file to <code>~/.local/share/applications/</code></p>
<ul>
<li><p>You can do that by</p>
<pre><code class="lang-bash">  cp path/to/eyesim.desktop ~/.<span class="hljs-built_in">local</span>/share/applications/
</code></pre>
</li>
</ul>
</li>
<li><p>Now log out of your machine and log back in.</p>
</li>
</ul>
</li>
<li><p>You should be able to find Eyesim in your application launcher now! Give yourself a pat on the back :)</p>
</li>
</ol>
<p>Let me know absolutely any of your thoughts and ideas down in the comments!</p>
]]></content:encoded></item></channel></rss>