Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .