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?
- Ed_P
- 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?
You going to tell us the name of the app or show us your desktop code?
MATE 1.16 - how to create a shortcut at the desktop?
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.
- Ed_P
- 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?
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
- SEMERENDO.cr
- 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?
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
MATE 1.16 - how to create a shortcut at the desktop?
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;
- SEMERENDO.cr
- 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?
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
