Thanks for answer, ho ever, using Exec=sudo script.sh does nothing. Literally nothing, just nothing happens. That was the first thing I've tried after creating entry in sudoers.d I also got X-App-Loading-Image=none set. When I execute "sudo script.sh" from terminal, it works as it should, so, probably, sudoers entry is ok. // Edit I've also tried to save terminal output from running desktop file, by: Exec=sudo script.sh > /home/user/MyDocs/scriptlog.txt (I've found it, while searching for solution - I don't know if it's right command) ...and scriptlog.txt was created, ho ever, contained nothing inside.
sudo bnf.sh
Exec=sudo bnf.sh
Exec='sudo bnf.sh' Exec="sudo bnf.sh" Exec=sudo 'bnf.sh' Exec=sudo "bnf.sh"
Exec=osso-xterm -e "sudo bnf.sh"