kdesudo for your own scripts – a little beautification

Tuesday, 29. November 2016

#!/bin/bash
kdesudo --comment "Dieses Programm benötigt Administrator Rechte" -d -i /usr/share/icons/breeze/places/22/user-identity.svg $1

 

i place this script in /usr/bin  and name it mysudo

i can then run a program with “mysudo script.sh” and instead of the whole path and the script name in the title AND the description it will look like this:

mysudo