Add Godot Launcher To Linux Application Menu cover image

Add Godot Launcher To Linux Application Menu

Published on: Oct. 28, 2019 | In: Godot | By Dean

One of the things that bugged me when I first started using the Godot engine on Linux is that because Godot is a self contained application it doesn’t get added to your application menu automatically. It’s pretty easy to add the launcher yourself. This should work for every distribution and every desktop environment.

First make sure you have downloaded the Godot engine here

Take a note of where you put the Godot binary. We're going to need that in just a second. I tend to put mine in:

 /home/dean/Documents/Software/Godot/Godot_v3.1.1-stable_x11.64

I like to have all the software that I download together in a "Software" folder and I like to have all the Godot related stuff together in a "Godot" folder inside the "Software" folder. It's just nice for organisation.

Before we create the the launcher we’re going to need an icon for it. You can download the icon here. I'll put mine in my "Godot" folder but you can put yours where ever you like.

So now I have the Godot engine binary located at:

/home/dean/Documents/Software/Godot/Godot_v3.1.1-stable_x11.64

And I have the icon I want to use located at:

/home/dean/Documents/Software/Godot/icon.png


Everything we need is ready so we'll create the launcher now. Open your terminal and type the following command:

gedit ~/.local/share/applications/Godot.desktop

If you don't have gedit you can use pluma, leafpad, mousepad, vim, nano or whatever text editor you usually use on Linux.

Enter the following text into that file:

[Desktop Entry]
Comment=Godot Game Engine
Terminal=false
Name=Godot 3.1.1
Exec="/home/dean/Documents/Software/Godot/Godot_v3.1.1-stable_x11.64"
Type=Application
Icon=/home/dean/Documents/Software/Godot/icon.png


Make sure that you replace the Exec and Icon sections with the location of the Godot binary and the Icon on your machine. Make sure that you also user the full /home/<username>/Documents format like I did rather than the ~/Documents shortcut as that does not seem to work.

Save and close the file. That's it! You should now have a Godot launcher in your applications menu. If you are using gnome like me, you can go to the applications menu, right click the icon and click "Add to favourites" to add it to your dock.

Thanks for reading.

Related Posts

 cover image

Godot 2D Tutorial #3 - Environment Assets

Third video in a series that I'm making detailing how to make a 2D Adventure game with Krita and Godot. In this section…

 cover image

Godot 2D Tutorial #2 - Project Setup

Second video in a series that I'm making detailing how to make a 2D Adventure game with Krita and Godot. In this sectio…

 cover image

Godot 2D Tutorial #1 - Introduction

First video in a series that I'm making detailing how to make a 2D Adventure game with Krita and Godot.There will still…

 cover image

Using VSCode With Godot

Godot has a built in editor and it’s pretty good. It’s got a lot of the features you would find in any modern text edit…

 cover image

10 Reasons Why I Use Godot

Before I start I just want to say that this is not going to be a post bashing Unity or Unreal. Both of these engines ar…