Page 1 of 1

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

Posted: 02 May 2019, 15:26
by glestwid
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?

Posted: 02 May 2019, 15:56
by Ed_P
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?

Posted: 02 May 2019, 16:46
by glestwid
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.

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

Posted: 02 May 2019, 22:37
by Ed_P
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?

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

Posted: 25 May 2025, 07:46
by SEMERENDO.cr
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:

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

Posted: 25 May 2025, 16:28
by beny
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;

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

Posted: 25 May 2025, 21:21
by SEMERENDO.cr
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