Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4050726
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:06:21+00:00 2026-05-20T14:06:21+00:00

I need a terminal to a Linux vm inside my osx installation. Its a

  • 0

I need a terminal to a Linux vm inside my osx installation. Its a dropdown terminal and in the vm I can use F12 as a global hotkey to toggle show/hide.

The name of the dropdown terminal is yakuake, I know there is a dropdown terminal that works with osx to, but for various reasons, I need both a Linux terminal and easy access to it.

There is several things that makes this difficult.

  • VMware fusion doesnt have any good applescript support
  • I need to be able to run several vm’s on the same time.
  • Speed
  • Hiding the application.

I am using iKey to get a global hotkey on my mac binded to a little oneliner:

  • /Library/Application\ Support/VMware\ Fusion/vmrun -T fusion -gu username -gp password runScriptInGuest “/Users/username/Documents/Virtual Machines.localized/Ubuntu.vmwarevm/Ubuntu.vmx” -interactive “/bin/bash” “/home/username/bin/toggle_yakuake”

The /home/username/bin/toggle_yakuake script is just a:

  • /usr/bin/xdotool key Control+Shift+Y # Which is what I bound to yakuake

This works, except its taking around 1-2 seconds, and yakuake will show up below every other windows.
Therefor I will use logic to just do this if yakuake isnt running, and then I can just hide/show it in osx to toggle it instantly.
However, I am able to show yakuake using a simple “tell application “Yakuake – Ubuntu” to activate. I am not able to hide it without hiding every other application belonging to the same vm.

It seems that every application spawned by vmware is tied together a little to tight.
Even if I find the pid of yakuake on my osx installastion, and uses it like:

tell application "System Events"
    set yakuakeproc to every process whose unix id is 58518
    repeat with proc in yakuakeproc
        set the frontmost of proc to true
    end repeat
end tell

It will hide every application belonging to that vm.

I have tried to figure out a solution for this for days now. Is there anyone that have any tips or anything? How can I get applescript to hide one specific application which is inside my vm?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:06:22+00:00Added an answer on May 20, 2026 at 2:06 pm

    The way you’re starting yakukake is unnecessarily complex. You should be able to simply run the VMware proxy application, rather than using a shell script; i.e. your tell application "Yakukake - Ubuntu" to activate.

    Then your only real problem is how to show and hide an application from a script. I think it is possible to do this with System Events, but it’s easier to do it with my tool appswitch:

    I don’t have GUI Linux installed in VMware Fusion but here’s an example with Windows.

    To view information about a process:

    % appswitch -La Notepad 
            PSN   PID TYPE CREA NAME                PATH (bundle identifier)
     15994688.0 24758 APPL ???? Notepad             /Users/nicholas/Library/Application Support/VMware Fusion/Virtual Machines/Boot Camp/Boot Camp.vmwarevm/Applications/Notepad — Windows 7.app (com.vmware.proxyApp.564dbc100b31a4b5-4f8d8088bf0c3705.2009924420)
    

    To hide it:

    % appswitch -ha Notepad
    

    To show it:

    % appswitch -a Notepad
    

    That’s it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm planning to write gateway web application, which would need terminal window with VT100/ANSI
I'm looking for the equivalent of a urlencode for terminal output -- I need
I need to know about Epoll On linux System. Could you recommend manual or
I am coding a terminal like Linux terminal with C under Linux OS and
I want to implement the command line features like in a linux terminal. I
On a daily basis I: use multiple workstations running either Linux, Windows, or MacOS
I need to run a linux command such as df from my linux daemon
I need to add java to my PATH on one of my Linux servers,
Need a function that takes a character as a parameter and returns true if
Need a way to allow sorting except for last item with in a list.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.