Image

macOS

How to automatically exit when ending session in Terminal for macOS

By  •  macOS

You will get the following [Process completed] message when exiting the session in Terminal for macOS and will then have to close the Terminal windows afterward manually.

Saving …
Read More

How to prevent Spaces from rearranging in macOS

By  •  macOS

If you use Spaces or Virtual Desktops in macOS then you'll notice that their arrangements often times change. This is because macOS by default sets to automatically rearrange Spaces
Read More

How to create code signing certificate in macOS

By  •  macOS

A Code Signing certificate in macOS allows you to sign modules or programs using codesign tool. Code signing is a security measure used by Gatekeeper in macOS to allow …
Read More

How to create Certificate Authority for Code Signing in macOS

By  •  macOS

Certificate Authority or CA allows you to sign digital certificates. In macOS, you can create your own Code Signing certificate and then configure your own CA to sign the …
Read More

How to disable autocorrect for Message in macOS

By  •  macOS

Message for macOS automatically check and correct spelling mistakes while you're typing. It is a handy feature, but it's more of a nuisance for someone like me who doesn't …
Read More

How to change hostname in macOS

By  •  macOS

Apple by default set the hostname of your machine in the <name>-<machine-type> format. For example, it could be Myname-MacBook-Pro. You can change the hostname both via System Preferences and …
Read More

How to sign homebrew PHP module in macOS

By  •  macOS

Gatekeeper in macOS ensures only verified applications can be executed and this is achieved by signing the application using codesign. Code signing has been optional on macOS Big Sur
Read More

How to change screen resolution / scaling in macOS

By  •  macOS

You’ll have to enable display scaling to get more of your screen’s real estate of your in macOS. Follow these steps to change the screen resolution or scaling option;

  1. Open System Preferences from the Apple menu at the top left of the screen.
  2. Select Displays.
  3. The default resolution is supposedly set here.
  4. Click on the Scaled radio button and choose your preferred scaled resolution.
  5. Below is a comparison between the default resolution and when selecting More Space option.

How to avoid [Process completed] message when exiting Terminal session in macOS

By  •  macOS

You will get the following [Process completed] message when exiting the session in Terminal and will have to manually close the Terminal windows afterwards.

Saving session...completed.

[Process completed]

Follow these steps to avoid the message and let the window automatically close.

  1. Open the Preferences window from the menu.
  2. Go to the Profiles tab and choose the profile that you want to set this option on.

    Basic is the default profile and it’s safe to just select it if you can’t remember ever changing the profiles settings.

  3. Click on the Shell tab and find the When the shell exits option.
  4. Choose Close if the shell exited cleanly from the option’s select list.

How to prevent Virtual Desktops / Spaces from rearranging in macOS

By  •  macOS

If you use Virtual Desktops or Spaces in macOS then you’ll notice that their arrangements often times change. This is because macOS by default sets to automatically rearrange Spaces by recent use. While this could be useful to some, it could get frustrating if it disrupts the flow of your work.

You can prevent this from happening and lock the arrangement by setting it up from Mission Control‘s preferences as the following;

  1. Open System Preferences from the Apple menu.
  2. Click on Mission Control.
  3. Notice that Automatically rearrange Spaces based on most recent use is enabled.
  4. Untick the checkbox for the option, and your Virtual Desktops / Spaces should no longer re-arrange by itself.

Top