my-multiple-keyboards icon indicating copy to clipboard operation
my-multiple-keyboards copied to clipboard

10.9 support?

Open jameskachan opened this issue 10 years ago • 21 comments

I can't seem to get this to work under 10.9 - Note, I am not really a developer and may be doing something wrong. (I opened in Xcode, built the application, then found the .prefpane file in the /Users/username/Library/Developer/Xcode/DerivedData/MyMultipleKeyboards-ezxwizsburnjvdbrwlehbzbjawhj/Build/Products/Debugfolder.

Installed that and it seems to imply it works but it doesn't. I am using a mini bluetooth apple keyboard with an LMP number keyboard.

If I'm doing something wrong let me know please, this app would be very helpful.

Thanks James

jameskachan avatar Oct 24 '13 05:10 jameskachan

Well I don't have 10.9 yet. Please let me know if it works if you run build.sh script and then run the installer package it produces (consult ‘Install’ section in project description).

There are actually more components necessary in addition to the preference pane itself.

mejedi avatar Oct 24 '13 06:10 mejedi

Hi Nick.

Thanks for getting back to me. Perhaps I'm not doing something right, I tried following the instructions:

When I open build.sh, it opens in Xcode, I get this:

Menubar/ PRODUCT/Run is greyed out... am I missing something? how do I execute this to create the package installer? Running Xcode 5.0.1 on Mavricks 10.9.0


James Kachan PHOTOGRAPHER

c. +1 416.460.8170
w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 2:08 AM, Nick Zavaritsky [email protected] wrote:

Well I don't have 10.9 yet. Please let me know if it works if you run build.sh script and then run the installer package it produces (consult ‘Install’ section in project description).

There are actually more components necessary in addition to the preference pane itself.

— Reply to this email directly or view it on GitHub.

jameskachan avatar Oct 24 '13 06:10 jameskachan

Not sure if this would be of use, but there are two errors present when I open the xcodeproj file.

Here is the screenshot, would this affect things?


James Kachan PHOTOGRAPHER

c. +1 416.460.8170
w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 2:08 AM, Nick Zavaritsky [email protected] wrote:

Well I don't have 10.9 yet. Please let me know if it works if you run build.sh script and then run the installer package it produces (consult ‘Install’ section in project description).

There are actually more components necessary in addition to the preference pane itself.

— Reply to this email directly or view it on GitHub.

jameskachan avatar Oct 24 '13 06:10 jameskachan

Here is a precompiled installer package just in case :)

Well build.sh is a shell script; you normally run it in Terminal.app.

On Oct 24, 2013, at 10:23 AM, jameskachan [email protected] wrote:

Hi Nick.

Thanks for getting back to me. Perhaps I'm not doing something right, I tried following the instructions:

When I open build.sh, it opens in Xcode, I get this:

Menubar/ PRODUCT/Run is greyed out... am I missing something? how do I execute this to create the package installer? Running Xcode 5.0.1 on Mavricks 10.9.0


James Kachan PHOTOGRAPHER

c. +1 416.460.8170 w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 2:08 AM, Nick Zavaritsky [email protected] wrote:

Well I don't have 10.9 yet. Please let me know if it works if you run build.sh script and then run the installer package it produces (consult ‘Install’ section in project description).

There are actually more components necessary in addition to the preference pane itself.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub.

mejedi avatar Oct 24 '13 06:10 mejedi

hummm.. not sure if its a 10.9 thing, but when i try to "open with" that .sh it wont open into terminal as it is greyed out...


James Kachan PHOTOGRAPHER

c. +1 416.460.8170
w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 2:32 AM, Nick Zavaritsky [email protected] wrote:

Here is a precompiled installer package just in case :)

Well build.sh is a shell script; you normally run it in Terminal.app.

On Oct 24, 2013, at 10:23 AM, jameskachan [email protected] wrote:

Hi Nick.

Thanks for getting back to me. Perhaps I'm not doing something right, I tried following the instructions:

When I open build.sh, it opens in Xcode, I get this:

Menubar/ PRODUCT/Run is greyed out... am I missing something? how do I execute this to create the package installer? Running Xcode 5.0.1 on Mavricks 10.9.0


James Kachan PHOTOGRAPHER

c. +1 416.460.8170 w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 2:08 AM, Nick Zavaritsky [email protected] wrote:

Well I don't have 10.9 yet. Please let me know if it works if you run build.sh script and then run the installer package it produces (consult ‘Install’ section in project description).

There are actually more components necessary in addition to the preference pane itself.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub.

jameskachan avatar Oct 24 '13 06:10 jameskachan

Apparently github doesn't let email attachments through. Here is the installer https://www.dropbox.com/s/z8iuh1fqif59i37/MyMultipleKeyboards.pkg

BTW, I didn't get your screenshot either.

mejedi avatar Oct 24 '13 06:10 mejedi

Thanks for that, here is some screen shots and some issues Thanks for the compile - ill give it a shot

https://www.dropbox.com/sh/h9our7v24tnzi90/I-5pWK_zrB

— james


James Kachan PHOTOGRAPHER

c. +1 416.460.8170
w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 2:39 AM, Nick Zavaritsky [email protected] wrote:

Apparently github doesn't let email attachments through. Here is the installer https://www.dropbox.com/s/z8iuh1fqif59i37/MyMultipleKeyboards.pkg

BTW, I didn't get your screenshot either.

— Reply to this email directly or view it on GitHub.

jameskachan avatar Oct 24 '13 06:10 jameskachan

Thanks again for the compile. It works as it should, or seems to from the limited bit ive tested it. Thanks!

question: wjhy not post a current build of the compile for non developers such as myself? is it agaisnt GH practices?

cheers, I really appreciate it.


James Kachan PHOTOGRAPHER

c. +1 416.460.8170
w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 2:39 AM, Nick Zavaritsky [email protected] wrote:

Apparently github doesn't let email attachments through. Here is the installer https://www.dropbox.com/s/z8iuh1fqif59i37/MyMultipleKeyboards.pkg

BTW, I didn't get your screenshot either.

— Reply to this email directly or view it on GitHub.

jameskachan avatar Oct 24 '13 07:10 jameskachan

Concerning providing a ready to use build for non-programmers, that is definitely a good idea. GitHub doesn't itself provide hosting for binary releases (it did long time ago) but there are certainly other hosting options.

Closing this issue for now; feel free to reopen it if something doesn't work the way t should.

mejedi avatar Oct 24 '13 07:10 mejedi

Hi again Nick.

I'm having some issues with the multi keyboard app.

Everything runs as expected, however when my mac sleeps, upon waking, keys are all messed up. I cant cmd+r to reply to a message in mail (I get the error feedback noise) My command to invoke Alfred.app (ctrl+space) conflicts with a drive undock app I have (unDock.app) when normally there is no conflict.

Bringing up keyboard viewer doesnt seem to show any keys as "sticking" but something sure seems weird. I have to disable the system pref - set it to default then things are back working normally. At this point, I can REENABLE the "on any keyboard" option and it works as expected, however when the computer sleeps the whole process repeats.

Before installing your plugin that I couldnt get to work ( I still have been unable to launch that shell script to produce the installer - not sure why exactly...) I tried installing the DualKeyboards program that you based yours on. Perhaps that is what is causing conflicts?

Question, Do you know how I might be able to entirely restore the default keyabord options without a total reinstall of the OS? Perhaps that would help correct for this issue. then I could try installing your pref panel again without the other program to see if that improves things?

Thanks —James


James Kachan PHOTOGRAPHER

c. +1 416.460.8170
w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 3:14 AM, Nick Zavaritsky [email protected] wrote:

Closed #2.

— Reply to this email directly or view it on GitHub.

jameskachan avatar Oct 26 '13 20:10 jameskachan

Hi!

I will investigate this sleeping issue. I believe DualKeyboards has nothing to do with it. As far as I remember it doesn't even install anything; it is just a program you have to launch manually every time.

On Oct 27, 2013, at 12:16 AM, jameskachan [email protected] wrote:

Hi again Nick.

I'm having some issues with the multi keyboard app.

Everything runs as expected, however when my mac sleeps, upon waking, keys are all messed up. I cant cmd+r to reply to a message in mail (I get the error feedback noise) My command to invoke Alfred.app (ctrl+space) conflicts with a drive undock app I have (unDock.app) when normally there is no conflict.

Bringing up keyboard viewer doesnt seem to show any keys as "sticking" but something sure seems weird. I have to disable the system pref - set it to default then things are back working normally. At this point, I can REENABLE the "on any keyboard" option and it works as expected, however when the computer sleeps the whole process repeats.

Before installing your plugin that I couldnt get to work ( I still have been unable to launch that shell script to produce the installer - not sure why exactly...) I tried installing the DualKeyboards program that you based yours on. Perhaps that is what is causing conflicts?

Question, Do you know how I might be able to entirely restore the default keyabord options without a total reinstall of the OS? Perhaps that would help correct for this issue. then I could try installing your pref panel again without the other program to see if that improves things?

Thanks —James


James Kachan PHOTOGRAPHER

c. +1 416.460.8170 w. jameskachan.com e. [email protected]

t. @jameskachan

On Oct 24, 2013, at 3:14 AM, Nick Zavaritsky [email protected] wrote:

Closed #2.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub.

mejedi avatar Oct 26 '13 20:10 mejedi

Sorry James,

I failed to reproduce this issue (checked on 10.9 using the builtin macbook keyboard + apple bluetooth keyboard). Please provide more information:

  1. What is your computer?
  2. What input devices are being used when the issue reveals itself?
  3. Did you explicitly request your mac to sleep or did it happen automatically after a certain period of inactivity?
  4. Upon waking the mac do you usually enter a password to unlock it?

Additionally I would like to know more about that 'messed keyboard' state. What do you get when pressing a regular letter key? What if Shift/Command/Control/Option modifier key is pressed simultaneously? Please try different combinations of modifier keys.

Keyboard viewer doesn't seam particularly robust when there are multiple keyboards. Instead I suggest changing any keyboard shortcut to reveal the exact keystrokes generated.

mejedi avatar Nov 01 '13 11:11 mejedi

Hi Mejedi,

It has been a while, since you last posed your questions, but I am experiencing the exact same issues, so I can answer your questions at least partly :)

1.) 2011 15" MacBook Pro (8,2 non retina) 2.) A Belkin N52te (not the Razer one) and a Logitech MX518 are connected at all times when the issue occurs (I use your utility to use modifier keys across those two devices) 3.) I am not sure, but sometimes I manually put it to sleep, other times it just falls asleep by itself. The issue only occurs when it has been asleep for a long time (I usually only use the computer during evenings so it will be asleep for rougly 20hrs) When I put it to sleep and then wake it back up, everything is fine. If needed I can do some more specific tests during the coming nights (let it go to sleep by itself, manually put it to sleep) 4.) Yes, I have set my computer to require a password when it has been asleep for longer than one minute 5.) About the 'messed keyboard state': It seems as if all modifier keys are stuck. E.g. when I press Escape, the Force Quit dialog comes up, when I press the spacebar Spotlight comes up (the Cmd+Alt+spacebar one, not the Cmd+spacebar one)

I am always able to fix it by going into System Preferences, switching the setting back to default, and then switching it on again. But the issue always comes back, so I would obviously prefer if it were fixed :D If you require any additional info, don't hesitate to ask.

Thanks in advance and good luck!

andreaslindeboom avatar Jan 20 '14 19:01 andreaslindeboom

Please take a look at KeyRemap4MacBook. Its primary feature is key remapping; merging modifiers from different keyboards comes as a side effect.

Please write me back if keyremap4macbook works for you; it is ways more mature than my simple app. I wonder if it makes any sense for me to continue development since it seams that a better alternative already exists since year 2006 :)

mejedi avatar Jan 22 '14 17:01 mejedi

FWIW, I installed the above upon reading this issue and have so far found it completely effective for this purpose.

You might consider taking a leaf out of your predecessor's book and posting a link to KeyRemap on the readme after all!

rattrayalex avatar Feb 11 '14 17:02 rattrayalex

@rattrayalex Fine, I'll do it.

mejedi avatar Feb 11 '14 18:02 mejedi

I should note that I haven't tried yours, which seems much lighter-weight! So I wouldn't necessarily say you should recommend it as a replacement , as much as mention the alternative in the spirit of helpfulness/camaraderie =)

rattrayalex avatar Feb 11 '14 19:02 rattrayalex

@rattrayalex Thank you. Actually I am quite happy that I can move on and do other things :)

mejedi avatar Feb 11 '14 21:02 mejedi

I know that feel =)

On Tue, Feb 11, 2014 at 4:05 PM, Nick Zavaritsky [email protected]:

@rattrayalex https://github.com/rattrayalex Thank you. Actually I am quite happy that I can move on and do other things :)

Reply to this email directly or view it on GitHubhttps://github.com/mejedi/my-multiple-keyboards/issues/2#issuecomment-34806754 .

Alex Rattray Wharton 2014 206.920.0381

rattrayalex avatar Feb 11 '14 21:02 rattrayalex

Please take a look at KeyRemap4MacBook. Its primary feature is key remapping; merging modifiers from different keyboards comes as a side effect.

Seems KeyRemap doesn't exist anymore? Is https://pqrs.org/osx/karabiner/ the latest?

balupton avatar Jul 26 '18 04:07 balupton

Ok seems so. Installing it allowed keyboard modifiers to work across keyboards. Which was the issue I was having.

balupton avatar Jul 26 '18 04:07 balupton