MATE 1.16 - how to create a shortcut at the desktop?

Get help with MATE specific problems
glestwid
Samurai
Samurai
Posts: 182
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 5.0 i586

MATE 1.16 - how to create a shortcut at the desktop?

Post#1 by glestwid » 02 May 2019, 15:26

Hi,

I am trying to make a shortcut at the desktop , but it throws "An error occurred while starting the app" message instead of starting my app. How should I create the corresponding shortcut ?

User avatar
Ed_P
Contributor
Contributor
Posts: 8956
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

MATE 1.16 - how to create a shortcut at the desktop?

Post#2 by Ed_P » 02 May 2019, 15:56

You going to tell us the name of the app or show us your desktop code?

glestwid
Samurai
Samurai
Posts: 182
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 5.0 i586

MATE 1.16 - how to create a shortcut at the desktop?

Post#3 by glestwid » 02 May 2019, 16:46

I mean steps to create the shortcut from GUI. I am trying to create a shortcut for Telegram with some specific cmd line arguments but no luck. However, when I enter these params in the terminal window, it runs flawlessly.

User avatar
Ed_P
Contributor
Contributor
Posts: 8956
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

MATE 1.16 - how to create a shortcut at the desktop?

Post#4 by Ed_P » 02 May 2019, 22:37

Well, in my /home/guest/Desktop folder I have a file named BootMode.desktop which is executable and contains the following lines of code:

Code: Select all

[Desktop Entry]
Name=bootmode
Exec=sh /home/guest/bootmode.sh
Icon=/usr/share/pixmaps/porteus/dialog-warning.svg
Terminal=true
Type=Application
Name[en_US]=BootMode
StartupNotify=false
How does that compare with your desktop file?

User avatar
SEMERENDO.cr
Black ninja
Black ninja
Posts: 90
Joined: 08 Nov 2023, 20:36
Distribution: alt, Porteus 5 mixed + x0.9

MATE 1.16 - how to create a shortcut at the desktop?

Post#5 by SEMERENDO.cr » 25 May 2025, 07:46

Look how interesting! This program has an executable file, but it doesn't open; it gives an error. The file you need to open is the one with the .sh extension

For otherwise, Mate is easiest desktop, to drag an installed program to panel or wherever to generate a direct link/launcher.

Image

Code: Select all

bash-5.2$ ./XnView
./XnView: error while loading shared libraries: libQt5WebKitWidgets.so.5: cannot open shared object file: No such file or directory
Ed_P wrote:
02 May 2019, 22:37
Well, in my /home/guest/Desktop folder I have a file named BootMode.desktop which is executable and contains the following lines of code:

beny
Full of knowledge
Full of knowledge
Posts: 2275
Joined: 02 Jan 2011, 11:33
Location: italy

MATE 1.16 - how to create a shortcut at the desktop?

Post#6 by beny » 25 May 2025, 16:28

maybe you need this:build with sbo,if you have all the files into the same location
XnView.desktop
[Desktop Entry]
Value=1.0
Encoding=UTF-8
Terminal=0
TryExec=/opt/XnView/xnview.sh
Exec=/opt/XnView/xnview.sh %F
Icon=/opt/XnView/xnview.png
Type=Application
Categories=Graphics;
StartupNotify=true
Name=XnView Multi Platform
GenericName=XnViewMP
MimeType=image/bmp;image/jpeg;image/png;image/tiff;image/gif;

User avatar
SEMERENDO.cr
Black ninja
Black ninja
Posts: 90
Joined: 08 Nov 2023, 20:36
Distribution: alt, Porteus 5 mixed + x0.9

MATE 1.16 - how to create a shortcut at the desktop?

Post#7 by SEMERENDO.cr » 25 May 2025, 21:21

Yeah, the program does have its own .desktop file, with the path to "/opt," but it's not installed, but extracted (/home/vini/.local/share/applications/XnView).
However, XnView displays an older version of the program, which is the most stable, as I've been able to verify for many years.

⚠️ Newer releases can cause the computer to freeze when playing a video.
⚠️ When creating a collage, the photos are not joined together properly.
https://download.xnview.com/old_version ... ux-x64.tgz //0.89 -> 64


Image
beny wrote:
25 May 2025, 16:28
maybe you need this:build with sbo,if you have all the files into the same location
XnView.desktop

Post Reply