How To Repair The End & Home Buttons Of An External Keyboard On MAC

The method is quite simple and easy and you just need to follow the simple step by step guide discussed below to proceed.

Steps to Fix the Home and End Buttons for An External Keyboard On MAC:

#1 First of all open up the Terminal on your Mac; you could easily do that up right from the launchpad where the icon for the Terminal would be there. The terminal is just like command prompt of windows but it has more control and debugging depth over it. Through commands, the simple to complex aspects of the Mac OS could easily be changed inside the terminal.

#2 Type in the Following Commands and then Press the Enter after each of the commands:
* cd -/Library
*mkdir KeyBindings
*cd KeyBindings
*nano DefaultKeyBinding.dict
After processing the above commands just make up the new KeyBindings folder in the Library Folder and then add up the new DefaultKeyBinding.dict file. The process might feel complicated but when you would perform it, this won’t be tough enough. It is all like making of new folders and placing of certain files inside that folder, the only difference is that it is all done through the commands!
#3 You would notice up that the text editor would open up after the above step, just copy and paste the following commands into it.
/* Remap Home / End keys */
/* Home Button*/
“\UF729” = “moveToBeginningOfLine:”;
/* End Button */
“\UF72B” = “moveToEndOfLine:”;
/* Shift + Home Button */
“$\UF729” = “moveToBeginningOfLineAndModifySelection:”;
/* Shift + End Button */
“$\UF72B” = “moveToEndOfLineAndModifySelection:”;
/* Ctrl + Home Button */
“^\UF729” = “moveToBeginningOfDocument:”;
/* Ctrl + End Button */
“^\UF72B” = “moveToEndOfDocument:”;
/* Shift + Ctrl + Home Button */
“$^\UF729” = “moveToBeginningOfDocumentAndModifySelection:”;
/* Shift + Ctrl + End Button*/
“$^\UF72B” = “moveToEndOfDocumentAndModifySelection:”;
This text is all programming that is meant to make up the certain functions assemble in any feature of the Mac OS. If this program is pasted inside the above text editor then this is going to affect the addition of some features or their amendments in Mac OS. Here as we are going to make the Home and End keys work for the Mac keyboard, so, therefore, this programming coding is for the same purpose!
#4 Save up the file and then exit up. This could be easily done through the Ctrl+o and Ctrl+xkey combinations from the keyboard. Restart up the Mac, after all, that, and you would then be able to use up the Home and End buttons of your External keyboard.
Making up the above changes won’t be affecting any scratches in your ideal keyboard functioning but would just add some new functions to your device keyboard. If you are familiar with the programming and know how to add or make some changes to the functioning of the keyboard through it then just use your desired customizations to completely unfold the whole new design of your Mac Keyboard using the above method! In case if you feel that the changes you made to the keyboard are not at all good and are distracting your performance then you could easily revert the changes made through the step by deleting the text file from the step 3. This also wouldn’t cause your system so be free of all the worries while deleting the folders or files made through this method!
So through this article, you have now got about the method by which you would be able to fix the non-working Home and End keys for an External Keyboard attached to the Mac. As from the method, you might have got the thing that you won’t require to make so many multiple changes to the preferences or grate some hard software amendments, but the method could be implemented very easily. Now it’s just your turn to grab up the benefits from the method and hence make those keys working on the Mac!