Here's what I'd do
Create a simple bash script somewhere with only the administrative commands you want to execute e.g.
I created a directory in my home directory called 'scripts' and put it there, but the exact location doesn't matter. Mark it as executable, either through the file manager or from a terminal using 'chmod'Code:#!/bin/bash add-apt-repository ppa:Repository apt-get update apt-get install package
Now right-click on the Xubuntu desktop and select 'Create launcher...' and enter the 'Command' asCode:chmod +x /path/to/myscript
Give it a name and add a comment about what the script does, and check the 'Run in terminal' box. After that, you should be able to run it by double-clicking the launcher, at which point 'gksu' will pop up a dialog box for you to enter your password and then run the script in a terminal.Code:gksu /path/to/myscript