Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I installed Ubuntu in a VM using VirtualBox, and after a few hours of Googling all the things I had to install and configure for the rest of the environment, I am finally up and running with a Ruby on Rails IDE and have MySql up and running.

After I start up the Ubuntu VM, I have to go to a terminal window and do this to start MySql:

/etc/init.d/mysql start

So that works fine, but, since I am such a GUI person, I’m wondering how I can create an icon on the Ubuntu Desktop that I can click on to launch this command.

Can you tell me how to do that?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Right click on the desktop, choose "Create Launcher...", fill in the fields:

Type: Application/Application in Terminal (depends if you want to see the output)

Name: Start MySQLd

Command: /etc/init.d/mysql start

share|improve this answer
add comment

Ubuntu Documentation: How To Add a Launcher.
Here is another oldish reference with screen shots.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.