a simple shell script should do that just fine. open a text editor (like gedit, NOT Abiword or OpenOffice) and type
Code:
#!/bin/bash
gksudo /home/username/lampstart2.sh
now save that as lampstart.sh , and save it under /home/
username/
open a terminal, and type
Code:
sudo chmod +x /home/username/lampstart.sh
open a text editor again, and type
Code:
#!/bin/bash
/opt/lampp/lampp start
save it as lampstart2.sh , and put it in /home/
username/
open a terminal, and type
Code:
sudo chmod +x /home/username/lampstart2.sh
now just create a shortcut to /home/
username/lampstart.sh on your desktop. right click it, and select properties, and somewhere there should be a box titled "enable to run as a program". check that, and close the properties box. now, double click on that icon, and if a password box pops up, then we're doing good. check to see if lamp is running. if not, we'll try something different.
--drew