You are not logged in.
I'm trying to get seamless mode a bit more seamless. I've created desktop files for the applications in the guest I'd like to run, the exec line runs something like:
VBoxManage guestcontrol win7 run --exe "C:\Program Files\Microsoft Office\Office15\EXCEL.exe" --username gramWhich starts excel in a running guest. When run from the console, the command exits when the application is closed within the guest, and likewise when you Ctrl+C from the console the application closes in the guest.
I want to replace the Exec line with a script that first checks that the virtual machine is running, starts it if needed, then runs the above command. That's the easy part. I'd like help figuring out how to link that command to a new entry in the Window list/taskbar in linux. Is it possible via a shell script?
Offline
I believe most task bars are following the VM_CLASS of a window, which in this case is always "VirtualBox". I think there's no way linux taskbars could recognize different applications running on the guest if that's what you're after.
Depending on which launcher/taskbar you're using, the "StartupWMClass" desktop entry key could be useful though: http://standards.freedesktop.org/deskto … 01s05.html
Offline
Thanks, but there's no need for linux to be aware of the guest applications in this case, because the VBoxManage guestcontrol command runs as an independent process on the host. Is there any way to add a WM_CLASS to a generic process running in the console? Seems like there's no way other than creating an x window for it.
Last edited by 12eason (2015-11-28 06:46:00)
Offline