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?


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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