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 ?
MATE 1.16 - how to create a shortcut at the desktop?
Get help with MATE specific problems
glestwid
Ed_P
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.
glestwid
- Ed_P
- Contributor
- Posts: 8968
- 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:
How does that compare with your desktop file?
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
Ed_P
- SEMERENDO.cr
- Black ninja
- Posts: 91
- 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.

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

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
SEMERENDO.cr
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;
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;
beny
- SEMERENDO.cr
- Black ninja
- Posts: 91
- 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

However, XnView displays an older version of the program, which is the most stable, as I've been able to verify for many years.


https://download.xnview.com/old_version ... ux-x64.tgz //0.89 -> 64

SEMERENDO.cr