Skip to content

Instantly share code, notes, and snippets.

View kaljarv's full-sized avatar

Kalle Järvenpää kaljarv

View GitHub Profile
@wd006
wd006 / macOS-New-Text-File-on-Right-Click-Menu.md
Created April 26, 2026 09:40
How to add a "New Text File" option to macOS right-click menu with Automator (No third-party apps needed)

How to Add a "New Text File" Option to macOS Right-Click Menu

One of the most missed features for users switching to macOS is the inability to right-click and create a blank text document. You don't need to buy third-party apps for this! We can build it easily using macOS's built-in Automator.

If untitled.txt already exists, it automatically creates untitled-1.txt, untitled-2.txt, etc., preventing any errors.

Here is the step-by-step guide on how to set it up.

Step 1: Create a New Quick Action with Automator

Open Spotlight (Cmd + Space), type Automator, and press Enter. Click on New Document.

sudo add-apt-repository -y ppa:apt-fast/stable
sudo add-apt-repository -y ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get -y install apt-fast
# prompts
sudo apt-fast -y upgrade
sudo apt-fast install -y python3-pip ubuntu-drivers-common libvorbis-dev libflac-dev libsndfile-dev cmake build-essential libgflags-dev libgoogle-glog-dev libgtest-dev google-mock zlib1g-dev libeigen3-dev libboost-all-dev libasound2-dev libogg-dev libtool libfftw3-dev libbz2-dev liblzma-dev libgoogle-glog0v5 gcc-6 gfortran-6 g++-6 doxygen graphviz libsox-fmt-all parallel exuberant-ctags vim-nox python-powerline python3-pip ack lsyncd
sudo apt-fast install -y tigervnc-standalone-server firefox mesa-common-dev