I'm using Visual Studio Code 0.10.2 on Mac OS X 10.11.1 El Capitan. On my external monitor, the viewing angle sometimes makes it impossible to see the dark cursor on top of the dark Visual Studio Code background color. I increased the text cursor to be thicker, and it now looks like a Vi cursor. Looks great and my eyes are thankful. Also helps to change Windows Explorer (IE7) to not use Windows default colors but set the background (text area) to white (google for it). The following are the instructions to change the cursor icon in Mac. Go to menu screen. Now press the settings option. Then tap on to the system preferences. Way 2: Change Mouse Pointer size and color in Mouse Properties. Step 1: Click the lower-right Start button, type mouse in the search box and select Mouse in the results to open Mouse Properties. Step 2: Tap Pointers, click down arrow, choose a scheme from the list and select OK.
Sometimes after writing some code in the terminal, I find it very hard to find my mouse pointer quickly because it is very invisible in the dark background. So I decide to find a good way to solve this problem.
Actually there is not very good post about the mouse pointer in Mac, that is why I write this blog post.
1. Change system mouse cursor size
OSX does not have options for changing the color of the mouse pointer, but you can change the size of if in System Preferences > Accessibility > Display
to make the mouse pointer bigger.
Change Mouse Cursor Mac
2. Add something around the cursor
Change Cursor Size Mac
You can use some 3-party software such as Mouse locator to creates a green crosshair of sorts around the cursor making it easy to identify. I did not test this way but you can try as you like.
3. Change system mouse cursor image
I like github. I found an open source software called Mousecape in github here, which allows the customization of cursors for Mac OS X 10.8-10.10, you can use it to change the cursor of your mac quickly. If you do not want to create the icon by yourself, just use the default cape
file in the source. It works great!
5. Why it still looks so bad in some application
Change Your Mouse Cursor Mac
After changing the mouse pointer by using Mousecape, I found the cursor looks still bad in iTerm2 app, then I realized that some app such as iTerm2 might use the image of its local file instead of global. Actually I got that somebody have the same problem since the mouse cursor is not invisible in darkground xcode.
Many people like set the iTerm2 background to dark, so if we change the image file used by iTerm2 to show the mouse cursor, then our problem can be fixed. Here we go
- Download this cursor image to your mac
- Enter the directory
/Applications/iTerm.app/Contents/Resources
- Rename the IBarCursor.tiff to IBarCursor.tiff.bak, IBarCursorXMR.tiff to IBarCursorXMR.tiff.bak
- Put the downloaded image to this directory and rename it to IBarCursor.png and IBarCursorXMR.png
- Now close iTerm2 and restart it, you can see the mouse in the app is more visible than before.