-
Notifications
You must be signed in to change notification settings - Fork 4
Description
From Linux Mint, I know that I can create a launcher by right-clicking on the desktop.
All I need is the appropriate command and, if necessary, the option "Run in Terminal" and an icon.
I can't do this in Feren OS. That right-click option on the desktop does not exist.
Nothing happens when I right-click on the Start button and select "Edit Applications". No window opens.
The action I want to launch is as follows:
#!/bin/bash stable=/opt/vivaldi/resources/vivaldi moddir=$HOME/vivaldi-modding/ sudo cp $moddir/custom.js $stable sudo sed -i -e 's/<\/body>/ <script src="custom.js"><\/script>\n <\/body>/' "$stable/window.html" sudo chgrp rainer $stable/custom.js sudo chmod g+rw $stable/custom.js echo "vivaldi patched"
I manually created a *.desktop file with this content:
[Desktop Entry] Name=Vivaldi-mod GenericName=stable.sh Comment= Icon=vivaldi Type=Application Exec=/home/rainer/vivaldi-modding/stable.sh Terminal=true
When clicking on it from the menu a notification appears that it failed because of missing privilege rights.
In Linux Mint a terminal is opening where I have to put in my password. Then the patch is done.
How can I solve this in Feren OS?
Thanks for any tips!</script>