 |
 |
Keyboards?
|
 |
|
 |
|
Pukku
|
|
Hi! I'd like to create my own keyboard layout for Mac OS X. Does anyone know how to go about doing this? Is it just a KCHR moved over into the data fork? Or is something else going on.... I wonder if it is more complicated than just resources, because of the directory structure of /System/Library/Keyboards/
Thanks,
Ricky
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Mar 2000
Location: Ithaca, NY
Status:
Offline
|
|
The files in /System/Library/Keyboards are files that came in from the NeXT side of the MacOS X equation. They used to be used by the Cocoa framework, but Apple is moving Cocoa towards using the same input methods as Carbon, so these files should become obsolete. As far as creating new keyboards goes, I'm guessing you would create a KCHR resource, and /System/Library/Frameworks/Carbon.framework/Resources/System.rsrc looks like a promising place to put them. You can open it up using ResEdit from Classic, but I wouldn't be surprised if you had to reboot or at least relogin to see the changes take effect.
|
|
|
| |
|
|
|
 |
|
 |
|
Pukku
|
|
Hmmmm.... I tried taking my KCHR resource, using snoop 1.6 to move it into the data fork of the System.rsrc file (which was 0 bytes before I replaced it). However, it didn't make it show up. Further, instead of a Keyboard Icon menu, I now have an "input" menu at the end of the menu bar. So I'm not sure what I did....
I'm going to go look at what the Darwin people have to say, but any other suggestions would be great...
Does anyone know it I could have individual keyboards? Could I put them in the ~/Library/something folder?
[added]
I now receive an error "Failed to file map system file -39". This may be related to the failure to have the keyboard icon. Also, music player and IE fail to run, Quicktime viewer claims it cannot run because it has been damaged. So first: don't try messing about with the System.rsrc file. I'm still working to see if I can recover from this, or if I will need to do a clean install.
[end of addition]
Thanks,
Ricky
[This message has been edited by Pukku (edited 09-29-2000).]
|
|
|
| |
|
|
|
 |
|
 |
|
Pukku
|
|
Well, I have it working again. It turns out that this file _does_ have data in it. On the Install CD, when viewed in MacOS 9, the file has 286 bytes. If I copy it from the CD *in OS 9*, I can copy that data -- which I could not see when I was in OS X. So I copied it over, and everything works fine -- but I still cannot see the file size as larger than 0 bytes in OS X
Ricky
|
|
|
| |
|
|
|
 |
|
 |
|
Pukku
|
|
Well, it gets weirder. On the terminal side, the file is 0bytes in size. However, which looked at with the inspector, there are 286 bytes of data. So where are they?
I opened it with ResEdit from the CD, there was nothing there. I think that I will try to put the KCHR into the Resource fork, as was originally suggested...
Ricky
|
|
|
| |
|
|
|
 |
|
 |
|
Pukku
|
|
Well, I tried putting it in to the resource fork of the System.rsrc file. However, this only made the Settings panel crash when I tried to view the keyboard menu tab....
Any other ideas?
Ricky
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Mar 2000
Location: Ithaca, NY
Status:
Offline
|
|
Maybe you could just edit one of the existing keyboard layouts in System.rsrc to match the one you want to use. Not the prettiest way to do it, but it seems like it should work.
|
|
|
| |
|
|
|
 |
|
 |
|
Pukku
|
|
Originally posted by bewebste:
Maybe you could just edit one of the existing keyboard layouts in System.rsrc to match the one you want to use. Not the prettiest way to do it, but it seems like it should work.
Hmmmm..... except that I don't have any KCHR's (or any resources for that matter) in my System.rsrc.....
Ricky
|
|
|
| |
|
|
|
 |
|
 |
|
Pukku
|
|
I've posted a solution to this problem over in the Usage forum...
Ricky
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|