Skip to main content

HIDING THE DOCK & MENU BAR IN AN APPLICATION

How to hide doc & menu bar in a specific application

Yesterday I got a mail from one of my user Bill and was asking if there is any way that he can hide doc when he is running his safari. Since then I was trying to find the trick to get this done for Bill. I was not sure if there is any way to do this until I found this cool method.

Using property key references, this is a code that makes certain changes to your system. When you will run the application, it will check the property references and perform accordingly. Its an application programming interface (API), a small bit of code, that will make this change occur. Now without taking you in depth of how it works let me show you the procedure how to do it.

Launch the application, in Finder right click (ctrl+click) on the application and select “Show Package Contents” and go to 'Contents' then open “Info.plist” in TextEdit.

Now in this file, try to find the command (dict) and then paste the following command and save it.


Once you hit save and launch the application, you should notice that the menu bar and dock have disappeared. They are in fact hiding and will re-appear when you hover your mouse over them, this happens when you type 4 between and .

There are variety of other options that you can try to hide doc or menu while running an application and can be done by changing the number between “integer”:

  • 0 = This is the default one and will not make any change.
  • 1 = This should hide the dock only, though it is useless as Ill mention a shortcut in my next post to do this.
  • 2 = Makes some changes that is actually not visible.
  • 3 = This should help hiding the dock and menu bar and will not display even if you place the mouse over them.
  • 4 = Follow this to hide the dock and menu bar, and will appear when you place the mouse over them.

OK, so enjoy a full view of the application or your favorite movie.
Now what if you want to get the doc and menu visible? Its simple, just delete the two lines you have added.

Comments

Anonymous said…
Unbelivably interesting :)

Anita B

Popular posts from this blog

Welcome the new macOS - Mojave

Apple has released 3rd Beta verion of their macOS Mojave, so we thought to give it a try. What we found is that the product is really promising. They have improved many things that we never realized is actually a need.  Instead of writing what we loved, we prefered to collect posts that include all new features. If anyone needs Mojave Beta release, please send an email to:  Laeeq.Humam@hcl.com , we would be glad to share it.    List of new features: https://gizmodo.com/all-the-new-features-coming-in-macos-10-14-mojave-upda-1826531489 https://appleinsider.com/articles/18/06/09/90-new-changes-features-in-macos-mojave https://fieldguide.gizmodo.com/10-useful-new-features-hidden-in-the-macos-mojave-beta-1826603113

BREAKING THE CHAIN

Fixing Keychain issues What is Keychain & how it works? The Keychain consolidates various p asswords and passphrases in one place and makes them accessible through a master password or passphrase . When an application (including the Finder ) needs to access a pass word stored in the Keychain , the application asks you to unlock the Keychain if it is not already open. However there are certain settings in Keychain application which, wh en done, system will not prompt you for password & l og you in straight away. Keychain Access & Keychain Minder These are two contributors to Keychain , of which Keychain Access being the main controlling system and Keychain Minder is used just to change the Keychain master password, specially in the case when you don't remember the old one. Changing the password with Keychain Access Go to Applications (Command+Shift+A) and Open Utilities. Locate Keychain Access & open it. Click on Edit and select Change Password for

How to get current loggedin user on Mac via script

I won't waste time wiring details. This works as of today, but what will Apple do in future, only God knows.  🤓  It's always suggested to run the command without variable to ensure it work, but you probably know that.  CurrUser=$(echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ && ! /loginwindow/ { print $3 }')