Skip to content

Instantly share code, notes, and snippets.

@johnny13
Last active April 7, 2020 01:19
Show Gist options
  • Save johnny13/13005472c5680263a8c534e46f3be7a2 to your computer and use it in GitHub Desktop.
Save johnny13/13005472c5680263a8c534e46f3be7a2 to your computer and use it in GitHub Desktop.
ChromeOS Gimp
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ChromedOutGimp</title>
<link rel="stylesheet" href="https://stackedit.io/style.css" />
</head>
<body class="stackedit">
<div class="stackedit__html"><h1 id="chrome-os-gimp-install">Chrome OS GIMP install</h1>
<p><img src="https://i.imgur.com/Jc3FB1h.jpg" alt="MONEY_MAN" title="MONEY_MAN"></p>
<blockquote>
<p>In a closed society where everybody’s guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity.</p>
<ul>
<li>Hunter S. Thompson</li>
</ul>
</blockquote>
<h2 id="step-1-enable-linux-for-chrome-os">STEP 1: Enable Linux for Chrome OS</h2>
<p>Navigate to <a>chrome://settings</a> in the main Chrome Browser (Type that URL into the main search bar), and scroll down to <strong>Linux (Beta)</strong> and turn it on. Chrome OS will take some time downloading and installing Linux.</p>
<p><img src="https://i.imgur.com/J5VQppP.jpg" alt="CHROME_LINUX" title="CHROME_LINUX"></p>
<h4 id="pay-attention-kinda-now-lots-later-note">PAY ATTENTION KINDA NOW LOTS LATER NOTE</h4>
<p>Once the install has finished, you will have a new FOLDER created in your home directory called “Linux Files”, or “Linux”, or “Linux Home” or something like that. This will become VERY important at the end of all this, but for now just make a mental note that Linux has a special file folder.</p>
<h2 id="step-2-command-prompt">STEP 2: Command Prompt</h2>
<p>Press the Search/Launcher key, type “<strong>Terminal</strong>”, and launch the Terminal app.</p>
<p><img src="https://i.imgur.com/bgslkas.jpg" alt="CHROME_SHELL" title="CHROME_SHELL"></p>
<h2 id="step-3-linux-app-installer">STEP 3: Linux App Installer</h2>
<p>GIMP can be downloaded by the Flatpak package manager. Install <strong>Flatpak</strong> by typing this into the Terminal Command Prompt we just opened in the previous step.</p>
<pre class=" language-shell"><code class="prism language-shell">sudo apt install flatpak
</code></pre>
<p>Once this command finishes, we can move onto the next step… HOWEVER.</p>
<hr>
<h1 id="restart-your-computer-before-proceeding.">RESTART YOUR COMPUTER MEOW</h1>
<h2 id="step-4-flatpak-package-manager">STEP 4: Flatpak package manager</h2>
<p>Now that <strong>Flatpak</strong> is installed we can use it to install <strong>GIMP</strong> along with a bunch of other Linux packages.</p>
<p>However, by itself, Flatpak is kinda worthless. You’ve probably heard of "<strong>Repositories</strong> before. We need to add a repo, or rather a fancy “LIST” of software to Flatpak. The repo we are going to add is called <strong>Flathub</strong>.</p>
<pre class=" language-shell"><code class="prism language-shell">flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
</code></pre>
<p>Once that finishes, you can easily install <strong>GIMP</strong> (or any other Flatpak software). To (FINALLY) install GIMP, you will run the following command…</p>
<pre class=" language-shell"><code class="prism language-shell">flatpak install flathub org.gimp.GIMP
</code></pre>
<p><img src="https://i.imgur.com/N5IrVxF.jpg" alt="GIMP_LAUNCH" title="GIMP_LAUNCH"></p>
<h4 id="optional-shortcut">OPTIONAL SHORTCUT</h4>
<p>You can skip the previous 2 steps, adding the Flathub repository and subsequently installed GIMP, by running this one command, specifically saying ‘Install GIMP from Flathub repo’.</p>
<p>However, if you want to install other Linux software, later, you will need this long command each time, instead of the shorter version: <code>flatpak install flathub org.program_name.Program_Name</code>.</p>
<p>The longer 1-line Gimp Install Command is as follows.</p>
<pre class=" language-shell"><code class="prism language-shell">sudo flatpak install https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref
</code></pre>
<p>Again I wouldn’t do it this way, but I mention it in case you Google Install Gimp or something and you see this command. Yes it works, but its not the best way.</p>
<h2 id="step-5-launch-gimp">STEP 5: LAUNCH GIMP</h2>
<p><em>Like a Rocket Ship to the Moon</em></p>
<p>Now that all the hard arduous work of becoming a Chrome OS Developer and adding Linux Repos and all that is finished, we are ready to start up Gimp and get finessing.</p>
<p>Whichever of the <strong>STEP 4</strong> methods you’ve chosen, either 2 short commands or 1 one long one, <strong>GIMP</strong> should install and the <strong>GIMP</strong> icon <em>MIGHT</em> show in the Chrome OS taskbar. If it doesn’t, don’t worry.</p>
<p>Run this final command in the Terminal to start GIMP. (and probably each time you want to launch gimp)</p>
<pre class=" language-shell"><code class="prism language-shell">flatpak run org.gimp.GIMP
</code></pre>
<p>Afterwards you should be greeted by the familiar site of the GIMP App loaded up in all its Glory… <em>Praise Be!</em></p>
<p><img src="https://i.imgur.com/vxrdvEk.jpg" alt="CHROME_GIMP" title="CHROME_GIMP"></p>
<h2 id="step-6-loading-files-into-gimp">STEP 6: LOADING FILES INTO GIMP</h2>
<p>Don’t get offended. Obviously you’re not a brain dead idiot drooling on yourself, and you’re clearly able of going to <strong>File / Open</strong> in like, any app with a file menu.</p>
<p><strong>HOWEVER…</strong><br>
<em>Remember the Special Note from the start of this?</em></p>
<p>Enabling Linux will also add a new folder to the Files app, called “<strong>Linux files</strong>”. Any files you create in the home directory of Linux(or GIMP) will show up here, but any regular Chrome OS files, such as “Downloads” cannot be directly accessed from Linux Apps (ie doing a “File / Open” in GIMP). So if you downloaded a file via <strong>Chrome OS</strong>, and want to open it in GIMP, you need to move it to a folder accessible to GIMP.</p>
<p>Use the Chrome OS <strong>Files app</strong> to copy files from your Downloads folder into your <strong>Linux home directory</strong> (or a sub-directory inside your Linux home directory) and then edit them with the Gimp.</p>
<hr>
<p>▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢<br>
▢ ▢ ▢ ▢ ▢ ▢ <strong>END MAIN SECTION</strong> ▢ ▢ ▢ ▢ ▢<br>
▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢ ▢</p>
<h2 id="optional-items">OPTIONAL ITEMS</h2>
<h4 id="gimp-launcher-shortcut">GIMP LAUNCHER SHORTCUT</h4>
<p>You can create an ‘alias’ in the Terminal app to make launching GIMP even easier. Simply run this command in the Terminal App once:</p>
<pre><code>alias gimp='flatpak run org.gimp.GIMP'
</code></pre>
<p>Now, you can open the <strong>Terminal App</strong> at anytime, and run a much smaller alias to launch the Gimp app. Simply enter this into terminal (and hit enter)</p>
<pre><code>gimp
</code></pre>
<hr>
<h4 id="customize-gimp-interface">CUSTOMIZE GIMP INTERFACE</h4>
<p>You might want to turn on the ‘<strong>Single Window Mode</strong>’, you will see the icon in the taskbar (of the GIMP app) OR from the ‘<strong>Window</strong>’ menu option click on ‘<strong>Single Window Mode</strong>’ to view. In the GIMP Program once its opened.</p>
<p>Personally, I like this mode better, than having a bunch of toolbars and sidebars just floating around. SingleWindow mode forces gimp to keep everything inside a single window, so toolbars can’t get in each others way etc. Trust me its a good idea.</p>
<p>Basically regular mode is the default (the top part of the pic below this text) and <strong>Single Window Mode</strong> is shown in the bottom half, where this is a grey background and a defined workspace holding everything in place.</p>
<p><img src="https://i.imgur.com/p0z3L0O.png" alt="GIMP_UI" title="GIMP_UI"></p>
<h3 id="extra-flatpak-information">EXTRA FLATPAK INFORMATION</h3>
<p>You can visit this website <a href="https://flathub.org/">https://flathub.org/</a> in your Chrome web browser. And there might be some other helpful apps. IDK something to look into if you’re bored.</p>
<p><img src="https://i.imgur.com/XGKM78F.png" alt="flakpak image" title="Flatpak"></p>
<h2 id="porky-pig">PORKY PIG</h2>
<p><img src="https://i.imgur.com/lafWU16.png" alt="TheEnd"></p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment