ubuntuusers.de

Installiertes Programm gimp erscheint nicht in der Menüanzeige (Panel)

Status: Gelöst | Ubuntu-Version: Xubuntu 20.04 (Focal Fossa)
Antworten |

m.julius

(Themenstarter)

Anmeldungsdatum:
9. März 2013

Beiträge: 472

Wird im mousepad angezeigt

Dateien ~/.local/share/applications/gimp.desktop

Habe ich geändert (mousepad)

vergrößern

Version=1.1
Type=Application
Name=GNU Image Manipulation Program
GenericName=Bildeditor
Comment=Bilder erstellen und Fotografien bearbeiten
Icon=gimp
TryExec=gimp-2.10
Exec=gimp-2.10 %U
Actions=
MimeType=image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih;image/tiff;image/jpeg;image/x-psp;application/postscript;image/png;image/x-icon;image/x-xpixmap;image/x-exr;image/x-webp;image/heif;image/heic;image/svg+xml;application/pdf;image/x-wmf;image/jp2;image/x-xcursor;
Categories=2DGraphics;GTK;Graphics;RasterGraphics;
Keywords=GIMP;Grafik;Design;Illustration;Malen;
StartupNotify=true

Dateien /usr/share/applications/gimp.desktop

Hier habe ich nichts geändert (mousepad)

[Desktop Entry]
Version=1.0
Type=Application
Name=GNU Image Manipulation Program
GenericName=Image Editor
Comment=Create images and edit photographs
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=GIMP;graphic;design;illustration;painting;
Exec=gimp-2.10 %U
TryExec=gimp-2.10
Icon=gimp
Terminal=false
Categories=Graphics;2DGraphics;RasterGraphics;GTK;
StartupNotify=true
MimeType=image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih;image/tiff;image/jpeg;image/x-psp;application/postscript;image/png;image/x-icon;image/x-xpixmap;image/x-exr;image/x-webp;image/heif;image/heic;image/svg+xml;application/pdf;image/x-wmf;image/jp2;image/x-xcursor;
X-Ubuntu-Gettext-Domain=gimp20

gueba

Anmeldungsdatum:
12. Juni 2008

Beiträge: 341

m.julius schrieb:

Wird im mousepad angezeigt

Dateien ~/.local/share/applications/gimp.desktop

Habe ich geändert (mousepad)

vergrößern
[Desktop Entry]
Version=1.1
Type=Application
Name=GNU Image Manipulation Program
GenericName=Bildeditor
Comment=Bilder erstellen und Fotografien bearbeiten
Icon=gimp
TryExec=gimp-2.10
Exec=gimp-2.10 %U
Actions=
MimeType=image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih;image/tiff;image/jpeg;image/x-psp;application/postscript;image/png;image/x-icon;image/x-xpixmap;image/x-exr;image/x-webp;image/heif;image/heic;image/svg+xml;application/pdf;image/x-wmf;image/jp2;image/x-xcursor;
Categories=2DGraphics;GTK;Graphics;RasterGraphics;
Keywords=GIMP;Grafik;Design;Illustration;Malen;
StartupNotify=true

Aus dieser Datei, löscht du die gelb markierte Zeile "vergrößern", falls überhaupt vorhanden und

fügst den ebenfalls gelb markierten Text [Desktop Entry] als erste Zeile ein. Das war mein Fehler, hatte ich vergessen, entschuldigung! Die Datei sollte nun genau so Aussehen:

[Desktop Entry]
Version=1.1
Type=Application
Name=GNU Image Manipulation Program
GenericName=Bildeditor
Comment=Bilder erstellen und Fotografien bearbeiten
Icon=gimp
TryExec=gimp-2.10
Exec=gimp-2.10 %U
Actions=
MimeType=image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih;image/tiff;image/jpeg;image/x-psp;application/postscript;image/png;image/x-icon;image/x-xpixmap;image/x-exr;image/x-webp;image/heif;image/heic;image/svg+xml;application/pdf;image/x-wmf;image/jp2;image/x-xcursor;
Categories=2DGraphics;GTK;Graphics;RasterGraphics;
Keywords=GIMP;Grafik;Design;Illustration;Malen;
StartupNotify=true

Speichern und testen, ob der Eintrag im Menue auftaucht und Gimp startet.

m.julius

(Themenstarter)

Anmeldungsdatum:
9. März 2013

Beiträge: 472

Es hat funktioniert.

Vielen herzlichen Dank für deine Hilfe und Geduld.

von.wert

Anmeldungsdatum:
23. Dezember 2020

Beiträge: 12153

Damit Du wenigstens weißt, was Du da gemacht hast:

Etwas völlig überflüssiges.

.desktop-Files liegen systemweit in "/usr/share/applications/". Legt man ein .desktop-File gleichen Namens in "~/.local/share/applications/" ab, überdeckt es den systemweiten Aufruf. Das bedeutet, Du kannst dort anderes eintragen - und das hast Du ja auch, nämlich falsch, weshalb es nicht mehr funktioniert hat.

Nun hast Du den falschen Inhalt gegen den richtigen getauscht. Viel zu viel Arbeit, Du hättest das richtige File einfach nur kopieren brauchen, sogar ein Softlink hätte genügt (was noch mehr Quark wäre). Aber: Du hast quasi ein identisches File und damit absolut überflüssig.

Wenn irgendwann mal gimp in höherer Version kommt, wird es in systemweitem .desktop korrekt gesetzt - aber Dein userbezogenes File kommt dem wieder in die Quere. Was für ein Unsinn!

Antworten |