Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Synergy between mac and pc change mac hotkeys

Synergy is a program that enables you to use the same mouse and keyboard in two computers. I have a PC and mac connected directly with an Ethernet cable therefore the connection is great and it seems as if there is only one computer.

I am developing an iPad application and the only software that I have found that supports iwebkit for CSS is Expresso. I use that to edit my CSS files in the mac and I use dream weaver on my PC to edit PHP, HTML and JavaScript files. The only problem is that I am constantly using both computers to develop the application and its very frustrating using different shortcut keys for each computer. It would be very nice if I could use the same hot-keys on both computers.

So far I have tried:

  1. Changing the modifier keys in the keyboard section under system preferences in the mac. That works but just with the keyboard from the mac not with the keyboard that I am using with synergy that controls both computers.

  2. Creating applescripts that what they do is to send a shortcut key then compiling them and saving them as an application. After they are saved as an application I go to system preferences and try to run them with a different shortcut key. when I create that shortcut key system preferences crashes and closes without saving the changes.

  3. Creating shortcut keys in synergy which it works but only in one computer. Synergy will always send the same keystroke regardless on which computer you are using.

  4. Lastly I have tried looking for "IronAHK" which in a lot of posts people say it modifies the mac hotkeys but I have not been able to find it for the mac.

Is there a way to have the same universal access keys across my machines?

like image 990
Tono Nam Avatar asked Mar 05 '11 21:03

Tono Nam


People also ask

Can you change Mac Keybinds?

Customize keyboard shortcuts On your Mac, choose Apple menu > System Preferences, click Keyboard , then click Shortcuts. In the list on the left, select a category, such as Mission Control or Spotlight. In the list on the right, select the checkbox next to the shortcut that you want to change.

How do I change keyboard shortcuts on Mac to Windows?

Apple Menu > System Preferences > Keyboard > Keyboard Click the "Modifier Keys" button bottom right and swap the Alt/Option key and the Command key if needed.

Are keyboard shortcuts the same for Mac and Windows?

Although Windows and Mac keyboards feature most of the same keys, there are a few that differ. When using a Windows keyboard on a Mac, the Windows key is used instead of the Command key, and the Alt key is used in place of the Option key. For example, the Undo shortcut would use Windows+Z instead of Command+Z.

How do I switch screens in synergy?

In the “Configure Action” window, select the option “Switch to Screen” and select the computer that you want to switch to with the assigned hotkey. Leave the option “the hotkey is pressed” selected, and click “Ok”.


2 Answers

THe following article was very helpful for me (working from a Mac, controlling a PC):

http://www.nextofwindows.com/how-to-properly-map-keyboard-between-mac-and-pc-when-share-mouses-with-synergy/

Step 1: Configure Server

Step 1

Step 2: Double-click on the PC (or Mac if the Server is a PC)

enter image description here

Step 3: Toggle the key Ctrl and Super to mirror each other

enter image description here

like image 58
Mike Kormendy Avatar answered Oct 28 '22 16:10

Mike Kormendy


When adding a new computer in synergy you can change command and control keys. Here is an example in windows. I was not able to find it because synergy place this in a location where I never thought I could find it.

Now I can use control + c to copy files both in the mac and in the pc and most of the command such as control + a to select everything etc. To fix the other issues so that I can use 'home' to go to the beginning of the line for example I use the program provided by Evan Moran which was the first answer in this post.

enter image description here

like image 22
Tono Nam Avatar answered Oct 28 '22 15:10

Tono Nam