I tried adding a desktop shortcut like described here
- How can I create launchers on my desktop?
- How can I edit/create new launcher items in Unity by hand?
but those answers seem to be outdated since 19.10
I try to add this script as launcher on my desktop:
sudo /usr/local/sbin/turbo-boost.sh toggle
you find the script and my try to add it as desktop icon here: https://unix.stackexchange.com/a/547261/20661
UPDATE:
The .desktop
file doesn't work if I click on it in the default file browser nautilus
in Ubuntu 19.10, but it works fine in a thunar
window.
I tried this now: I created another launcher with the command line
Exec=sudo /usr/bin/tempfile
which behaves strange:
- If I call this in
nautilus
it creates a temp file which belongs to my user - If called in
thunar
, it asks for sudo password in another shell window and then creates a temp file that belongs to root
gdbus.error: ...unknown xorg.xfce.panel was not provided by any .service files
and nothing happens – rubo77 Feb 20 '20 at 11:05