Skip to content

Can't create a launcher for a script #345

@Dan-cer

Description

@Dan-cer

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/&lt;\/body&gt;/ <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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions