'How to create desktop shortcut passing custom arguments? [closed]

I have KDE 5.20.5 and would like to create a desktop shortcut for launching Chromium passing custom command line arguments to it.

Initially, I've right-clicked on a Launcher Chromium menu entry -> Add to Desktop... and the shortcut got created. However, it's just a symlink to /usr/share/applications/chromium.desktop and I can't modify it.

Then, I've tried to copy that /usr/share/applications/chromium.desktop onto my desktop manually so I could modify the copy and not touch the original. However even before editing it, it 's unable to launch Chromium. It displays the following message box when double-clicked:

Unknown error code 100 You are not authorized to execute this file. Please send a full bug report at https://bugs.kde.org.

I've sweated googling an answer to such the basic question: what is correct \ recommended way of creating a modifiable desktop shortcut based on a Launcher menu entry in KDE Plasma?



Solution 1:[1]

Run this command at root directory :

ln -s $PWD ~/Desktop/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1