Featured

Waydroid on Ubuntu installation

Ensure you are logged into a Wayland session (which is the default), open your terminal, and let us break this down into actionable, non-intimidating steps. 1. Prepare the Canvas First, we need to ensure your package manager is updated and has the necessary tools to fetch external repositories securely. Bash sudo apt update sudo apt install curl ca-certificates -y 2. Add the Official Repository Next, we introduce the Waydroid repository to your system. This command seamlessly integrates their package list into your local directory. Bash curl -s https://repo.waydro.id | sudo bash 3. Install Waydroid With the repository successfully added, installing the application is merely a matter of a single command. Bash sudo apt install waydroid -y 4. Initialise the Environment This is where the actual Android image is downloaded and configured. You have two distinct paths here, depending on your preference for independence: Vanilla Android (Lean, open-source, and highly recommended): Bash sudo wa...

One-Click Launcher for Ollama GPT-OSS: Make AI Access Easy on Linux

 

 

Running large language models like GPT-OSS locally with Ollama gives you cutting-edge AI right on your Linux machine. But if you’re tired of typing out the same commands each session, why not simplify things with a one-click launcher? In this guide, you’ll learn how to create both a shell script and a graphical Desktop shortcut so you can launch your Ollama model instantly—no terminal typing required.

Why Use a Launcher?

  • Speed: Open your favorite AI in seconds, not minutes.

  • Convenience: Great for non-technical users or anyone who wants to skip memorizing commands.

  • Efficiency: Reduce repetitive actions and streamline your workflow.

Step 1: The Simple Shell Script

A shell script is the easiest way to automate starting Ollama with GPT-OSS.

  1. Open your terminal and create a new file:

    bash
    nano launch-gpt-oss.sh
  2. Add the following lines:

    bash
    #!/bin/bash ollama run gpt-oss:20b

    Change gpt-oss:20b to any model you prefer.

  3. Save and exit (press Ctrl+X, then Y, then Enter).

  4. Make it executable:

    bash
    chmod +x launch-gpt-oss.sh
  5. Now, to run it, simply type:

    bash
    ./launch-gpt-oss.sh

    Or, double-click in your file manager if your Linux desktop allows executable scripts.

Step 2: Create a Desktop Shortcut

Take it further by creating a clickable icon on your desktop:

  1. Create the Desktop file:

    bash
    nano ~/Desktop/ollama-gpt-oss.desktop
  2. Paste this:

    text
    [Desktop Entry] Type=Application Name=Ollama GPT-OSS Comment=Launch Ollama with GPT-OSS Exec=gnome-terminal -- bash -c "ollama run gpt-oss:20b; read" Icon=utilities-terminal Terminal=true Categories=Development;
    • Change gnome-terminal if you use a different terminal.

    • The read at the end keeps the window open so you can see outputs.

  3. Make it executable:

    bash
    chmod +x ~/Desktop/ollama-gpt-oss.desktop

Comments