baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

Elementary OS – Launching applications on different desktop space from plank / wingpanel main menu

Watch the “Exec” line, example: /usr/share/applications/vmware-workstation.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=VMware Workstation
Comment=Run and manage virtual machines
Exec=/bin/bash -c "wmctrl -s 1;/usr/bin/vmware %U;wmctrl -s 0"
Terminal=false
Type=Application
Icon=vmware-workstation
StartupNotify=true
Categories=System;
MimeType=application/x-vmware-vm;application/x-vmware-team;application/x-vmware-enc-vm;x-scheme-handler/vmrc;

Comments are currently closed.