Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to start GIMP AppImage on menu ?
#1
How to start GIMP AppImage on menu ?

Hi all,

OS - Ubuntu 22.04
AppImage - GIMP_AppImage-release-2.10.22-x86_64.AppImage
(download and can be started)

I have created a desktop file;
$ cat .local/share/applications/gimp.desktop
Code:
[Desktop Entry]
Name=GIMP
Type=Application
Exec=/home/satimis/Videos/GIMP_AppImage-release-2.10.22-x86_64.AppImage
Icon=/home/satimis/Pictures/gimpicon.png
Terminal=false
StartupNotify=true

On Terminal run;
$ .local/share/applications/gimp.desktop

Code:
 
.local/share/applications/gimp.desktop: line 1: [Desktop: command not found

I can't start GIMP

Please help.  Thanks

Regards
Reply
#2
I don't use terminal to do that, what I do is a search in the menu search (or Synapse), I type "mozo" or "menu", open it, and this window opens

[Image: rE45a2O.png]

I select "Graphic" and add a new item, a window dialog will open again, I at "command", I browse and link directly the appimage, and for the icon I download one from the internet and same as "command" I browse my directories up to the icon, input a name I want and a comment for when hover in the menu a little explanation appear after a second or 2

[Image: fW33d3k.png]

I do this both in Ubuntu-MATE 20.04 and MX Linux 21 (Xfce DE)
Reply
#3
(02-03-2023, 02:49 AM)PixLab Wrote: I don't use terminal to do that, what I do is a search in the menu search (or Synapse), I type "mozo" or "menu", open it, and this window opens

[Image: rE45a2O.png]

I select "Graphic" and add a new item, a window dialog will open again, I at "command", I browse and link directly the appimage, and for the icon I download one from the internet and same as "command" I browse my directories up to the icon, input a name I want and a comment for when hover in the menu a little explanation appear after a second or 2

[Image: fW33d3k.png]

I do this both in Ubuntu-MATE 20.04 and MX Linux 21 (Xfce DE)

Hi,

Thanks for your detail advice.

Ubuntu 22.04
Gnome desktop

Please advise how to start GUI Menu?  Most the time I use command line.

Thanks

Regards
Reply
#4
First a check. Is the appimage file executable.

Main Menu as shown by PixLab is an application called Alacarte which I do not think is installed by default in a ubuntu 22.04  It is a menu modification utility for customising your ubuntu menu and can make entries as well - .desktop files.

Your basic .desktop file probably need a categories entry to put Gimp into the ubuntu menu structure although it should work without it.

Code:
[Desktop Entry]
Name=GIMP
Type=Application
Exec=/home/satimis/Videos/GIMP_AppImage-release-2.10.22-x86_64.AppImage
Icon=/home/satimis/Pictures/gimpicon.png
Terminal=false
StartupNotify=true
Categories=Graphics

The mistake is trying to start the desktop file as you would start an application ie. using dot-slash
Once you have that desktop file working, start Gimp from the ubuntu menu structure.

PS. Please don't use large text, not necessary, considered shouting by us old-timers, and makes replying a pain.
Reply
#5
(02-03-2023, 09:59 AM)rich2005 Wrote: First a check. Is the appimage file executable.
Yes, it is executable

Quote:Main Menu as shown by PixLab is an application called Alacarte which I do not think is installed by default in a ubuntu 22.04  It is a menu modification utility for customising your ubuntu menu and can make entries as well - .desktop files.

$ apt policy alacarte
Code:
alacarte:
  Installed: (none)
  Candidate: 3.44.1-1
  Version table:
     3.44.1-1 500
        500 http://hk.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://hk.archive.ubuntu.com/ubuntu jammy/universe i386 Packages

Shall I install this application ?  Thanks


Quote:Your basic .desktop file probably need a categories entry to put Gimp into the ubuntu menu structure although it should work without it.

Code:
[Desktop Entry]
Name=GIMP
Type=Application
Exec=/home/satimis/Videos/GIMP_AppImage-release-2.10.22-x86_64.AppImage
Icon=/home/satimis/Pictures/gimpicon.png
Terminal=false
StartupNotify=true
Categories=Graphics

What shall I add?  Thanks

Performed following test:
On Terminal run;
1)
$ .local/share/applications/gimp.desktop
Code:
.local/share/applications/gimp.desktop: line 1: [Desktop: command not found

2)
$ sudo nano .local/share/applications/gimp.desktop
comment out following line (line 1)
#[Desktop Entry]

3)
Again
$ .local/share/applications/gimp.desktop
This time no warning pop

4) continue
$ /home/satimis/Videos/GIMP_AppImage-release-2.10.22-x86_64.AppImage
Code:
......
......
(gimp.bin:11160): Gtk-WARNING **: 20:29:00.124: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: 20:29:00.136: Failed to load module "canberra-gtk-module"
/tmp/.mount_GIMP_AOZaGWt/usr/bin/gimp.bin: Gimp-Widgets-WARNING: parse_iso_codes: error parsing '/tmp/.mount_GIMP_AOZaGWt/usr/share/xml/iso-codes/iso_639.xml': No such file or directory

is_external_process: bundled process found: /tmp/.mount_GIMP_AOZaGWt/usr/lib/gimp/2.0/plug-ins/file-rawtherapee/file-rawtherapee
is_external_process: bundled process found: /tmp/.mount_GIMP_AOZaGWt/usr/lib/gimp/2.0/plug-ins/file-darktable/file-darktable
is_external_process: bundled process found: /tmp/.mount_GIMP_AOZaGWt/usr/lib/gimp/2.0/plug-ins/file-rawtherapee/file-rawtherapee
is_external_process: bundled process found: /tmp/.mount_GIMP_AOZaGWt/usr/lib/gimp/2.0/plug-ins/file-darktable/file-darktable
is_external_process: bundled process found: /tmp/.mount_GIMP_AOZaGWt/usr/lib/gimp/2.0/plug-ins/script-fu/script-fu
gimp_check_updates_callback: loading of https://www.gimp.org/gimp_versions.json failed: Operation not supported

GIMP starts finally.

But I can't add GIMP icon on favorites.  Also it is NOT the icon on; Icon=/home/satimis/Pictures/gimpicon.png

The icon is gimp.bin

Please advise how to fix the problem. Thanks

Besides this is NOT my first time installing the application on its AppImage.  I have installed several applications on their AppImages in the past.

AvideMux and ShotCut are running on another drive in this PC.  Unfortnately I forgot the steps.  Neither I can find their documents on the database of the PC.

Other advice noted and thanks

Regards
Reply
#6
I know there is a language difficulty but.... your 1) and 2) and 3) I repeat and please take note.

You can not start the application by trying to run the desktop file Why are you doing this ?

The standard ubuntu is not a great experience.
I do have a basic installed ubuntu 22.04 (VM)
I did have to install fuse to get the GIMP_AppImage-release-2.10.22-x86_64.AppImage to run
The gimp.desktop file is ok in ~/.local/share/applications.

As a demo: https://i.imgur.com/VXDZpwY.mp4

That is the best I can advise. Most of your posts make no sense to me.
Reply
#7
Hi rich2005,

Problem solved as follow;
Remark: GIMP AppImage is installed on Ubuntu 22.04 VM

On Terminal of Ubuntu 22.04 VM
$ ls -al Pictures/gimpicon.png
Code:
-rwxrwx--- 1 root vboxsf 62571 Feb  3 00:11 Pictures/gimpicon.png

Then run;
$ sudo chown satimis:vboxsf Pictures/gimpicon.png

-> Activities
GIMP icon, gimpicon.png, download on Internet is there

right-click it -> add to Favorites

The icon is then added to the dock/left vertical menu

Clicking this icon starts GIMP 2.10

The solution is very simple but it takes me 2 days to find it.

Regards
Reply
#8
100% simple GUI method, no need for any command line

1. You need to create a .desktop file
2. You will need to Allow Launching by right clicking the desktop file
3. Right click the source AppImage and

Properties > Permissions > enable " Allow executing file as program"

4. Copy paste the .desktop file in

.local/share/applications

Now you will be able to access GIMP through Dash / Dock / Lens , whatever you call it.

5. If you want it on Dock panel, right click " Add to Favourites "
Reply
#9
(02-03-2023, 03:26 PM)meetdilip Wrote: 100% simple GUI method, no need for any command line

1. You need to create a .desktop file
2. You will need to Allow Launching by right clicking the desktop file
3. Right click the source AppImage and

Properties > Permissions > enable " Allow executing file as program"

4. Copy paste the .desktop file in

.local/share/applications

Now you will be able to access GIMP through Dash / Dock / Lens , whatever you call it.

5. If you want it on Dock panel, right click " Add to Favourites "

Hi,


Thanks for your advice.

I have done your steps 1) to 4) but I have way to start GIMP.  I couldn't find it on Activities.  May be due to ownership root:vboxsf problem

Now I found the solution to the problem.  I'll create a new VM to test it again.

Regards
Reply
#10
Hi meetdilip,

Just finished testing to install GIMP AppImage on a newly created Ubuntu 22.04 VM.

Your steps only work on Ubuntu 22.04 Host here, not on Ubuntu 22.04 VM.  I forgot the GIMP AppImage and GIMP icon being download on the Host and shared to the VM.

Right-click;
GIMP_AppImage-release-2.10.22-x86_64.AppImage
-> Properties -> Permissions
Eexcute [ ] Allow execting file as programe (greyout)

On Desktop
-> Activities -> [gimp   ]
I can't find the new GIMP icon

I have to perform following steps on VM Terminal;
1)
$ sudo chmod +x Video/GIMP_AppImage-release-2.10.22-x86_64.AppImage

2)
$ sudo chown satimis:vboxfs Pictures/gimpicon.png
gimpicon.png

Then on Activities I can find gimpicon and add it to Favorites to start GIMP 2.10

Regards
Reply


Forum Jump: