How can I create a Launcher on my desktop for guests machines inside of KVM on desktop of CentOS 6.5?

1 Answer 1


You can either use virt-manager which brings up a GUI for launching/interacting with your guest KVM guests or you could create a shell script to do what you want and then setup a shortcut to the script on your desktop.


                     ss #1

desktop icon

First create a script like so, saving it to perhaps $HOME/bin/kvm_someguest.bash.


# assuming it's started but you could do this oto
# virsh start someguest

virt-viewer someguest

Make sure it's executable.

$ chmod +x $HOME/bin/kvm_someguest.bash

Now make a shortcut on the desktop to it. For this create a .desktop file like so:

$ more ~/Desktop/kvm_someguest.desktop 
[Desktop Entry]
Name=KVM Someguest
GenericName=KVM Someguest

Now when you double click it it should run your KVM instance.

  • @user3134198 - glad that resolved your Q. You can also upvote in addition to accepting 8-).
    – slm
    Jun 4, 2014 at 15:02

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.