nomic-ai/gpt4all

Linux: GPT4All in the start menu

Open

#1 267 ouverte le 25 juil. 2023

Voir sur GitHub
 (6 commentaires) (5 réactions) (0 assignés)C++ (8 330 forks)batch import
enhancementgood first issueinstaller

Métriques du dépôt

Stars
 (77 369 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Feature request

A trivial enhancement, if you'd like to include it. As of now, GPT4All creates a desktop shortcut when installed in Linux. It's also possible to get it into the start menu as per the script shown below.

Motivation

Sometimes, it helps to be able to start an application from the start menu. It also makes it easier to pin the application, when it's available in the start menu.

Your contribution

The file needs to be created in this folder:
sudo -H gedit /usr/share/applications/gpt4all.desktop.

With the following content (and <gpt4all.install.location> substituted with the appropriate path):

[Desktop Entry]
Version=2.4.13
Name=GPT4All
Comment=GPT4All
GenericName=ChatBot
Keywords=gpt,gpt4all
Exec=<gpt4all.install.location>/bin/chat %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=<gpt4all.install.location>/logo-48.png
Categories=QT,LLM
StartupNotify=true

Guide contributeur