Linux Desktop Shortcut Creator

An asset by likeich
The page banner background of a mountain and forest
Linux Desktop Shortcut Creator hero image

Quick Information

0 ratings
Linux Desktop Shortcut Creator icon image
likeich
Linux Desktop Shortcut Creator

This script can register standalone Godot games as applications in Linux-based OS's. This means that games will now show up in application lists on Linux with this script.Icon by https://icons8.com/

Supported Engine Version
3.3
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Godot Linux Shortcut Creator

A simple script for creating desktop files and registering godot games as applications in Linux.

Shortcut icon by Icons8

This is recommended for non-Steam games that users will download onto their Linux-based computers. It is not recommended for Steam because Steam automatically creates shortcuts.

Usage:

  1. Under Project Settings > Application > Config in the Godot Editor, fill in the name and description fields. These will be used automatically in the script.
  2. Replace the default icon.png with your own, this will become the shortcut icon.
  3. Copy the script shortcut_creator.gd into your project, or just copy its code.
  4. Call the creator_shortcut function.
  5. Now your game should show up in the applications menu of Linux DE's

NOTES: If you run this script in the editor, a shortcut will be made and will be the exact same as an exported one. The only difference is that executing it will open the Godot Editor. For actual testing make sure to export your game before creating a shortcut. To prevent creating a shortcut in the editor, try this:

if OS.has_feature("standalone"):
    create_shortcut()

This script can register standalone Godot games as applications in Linux-based OS's. This means that games will now show up in application lists on Linux with this script.

Icon by https://icons8.com/

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Linux Desktop Shortcut Creator icon image
likeich
Linux Desktop Shortcut Creator

This script can register standalone Godot games as applications in Linux-based OS's. This means that games will now show up in application lists on Linux with this script.Icon by https://icons8.com/

Supported Engine Version
3.3
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers