Installer for a bundle?

79 views
Skip to first unread message

graphity

unread,
Feb 9, 2016, 2:23:57 AM2/9/16
to Ukelele Users
 I recently updated to v3.0.2

My question relates to creating an installer for a bundle. It's possible to create an installer/.dmg for a .keylayout file but I can't see how to do this for a .bundle file ????

Thanks in advance for your help. Apologies if I'm missing something glaringly obvious :-)

Gé van Gasteren

unread,
Feb 9, 2016, 5:39:03 AM2/9/16
to ukelel...@googlegroups.com
Hi Graphity,

How have you created an installer for a .keylayout file? And how does that installer work?

There has been some talk here about adding a feature to Ukelele to generate an installer in .dmg form, and I got the feeling John might add that in one of the next versions. But you sound like you already made something, so I’m interested!

Also, I can’t really see why it would work for a .keylayout file but not for a bundle, so some more detail would be very welcome.

--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To post to this group, send email to ukelel...@googlegroups.com.
Visit this group at https://groups.google.com/group/ukelele-users.
For more options, visit https://groups.google.com/d/optout.

Sorin Paliga

unread,
Feb 9, 2016, 5:42:12 AM2/9/16
to ukelel...@googlegroups.com

There is an export function as dmg, but the curious part of it, is that it deals with bundles only, as far as I remember (have not tested recently). Curious, because he says it does not work for bundles, so I wonder for what did it work there?
On 09 Feb 2016, at 12:39, Gé van Gasteren <gevang...@gmail.com> wrote:

Hi Graphity,

Gé van Gasteren

unread,
Feb 9, 2016, 6:31:01 AM2/9/16
to ukelel...@googlegroups.com
Oops, I’m behind, thanks Sorin for correcting me!
I’ve just tried out this creating of installer disk images and it works nicely. However, I prefer to put the keyboard layouts in the User’s Library folder, and the generated installer automatically puts them into the System’s Library folder. Always something to improve...

Graphity: then maybe the right answer to your question is this:
In the dialog for that "Export Installer Disk Image...", you can add icon(s) to the bundle and assign them to the layouts in there.
Does that help?

Sorin Paliga

unread,
Feb 9, 2016, 6:38:08 AM2/9/16
to ukelel...@googlegroups.com
I created some bundles as soon as U v. 3 allowed this, but I soon abandoned it: Nisus, which is my default word processor, does not recognise keylayouts withing bundles in its features to associate a language with a chosen keylayout (very useful feature), but it does recognise the association language ~ keylayout, if this latter is not within a bundle. I understand this may be a bug with Nisus to be solved one good day.
On 09 Feb 2016, at 13:31, Gé van Gasteren <gevang...@gmail.com> wrote:

Oops, I’m behind, thanks Sorin for correcting me!
I’ve just tried out this creating of installer disk images and it works nicely. However, I prefer to put the keyboard layouts in the User’s Library folder, and the generated installer automatically puts them into the System’s Library folder. Always something to improve...

Graphity: then maybe the right answer to your question is this:
In the dialog for that "Export Installer Disk Image...", you can add icon(s) to the bundle and assign them to the layouts in there.
Does that help?
2016-02-09 11:42 GMT+01:00 Sorin Paliga <sorin....@gmail.com>:

There is an export function as dmg, but the curious part of it, is that it deals with bundles only, as far as I remember (have not tested recently). Curious, because he says it does not work for bundles, so I wonder for what did it work there?
On 09 Feb 2016, at 12:39, Gé van Gasteren <gevang...@gmail.com> wrote:

Hi Graphity,<Screen Shot 2016-02-09 at 12.40.12.png>

graphity

unread,
Feb 9, 2016, 7:36:03 PM2/9/16
to Ukelele Users
Thanks to all for your responses.

I'm happy to report I've now worked out what I ewas doing wrong. I had opened the keylayout from the Bundle/Collection window and tried to create the dmg installer but "Export Installer Disk Image" was unavailable (greyed out) in the File/Install menu. However if I simply select the keylayout in the Bundle/Collection window (without double-clicking it) the "Export Installer Disk Image" option becomes available.

Note that this installer by default puts the bundle into the System/Library/Keyboard Layouts folder (ie for ALL users), not into the Users/Home/Library/Keyboard Layouts folder (current user only).

Sorin Paliga

unread,
Feb 10, 2016, 2:14:12 AM2/10/16
to ukelel...@googlegroups.com

Note that this installer by default puts the bundle into the System/Library/Keyboard Layouts folder (ie for ALL users), not into the Users/Home/Library/Keyboard Layouts folder (current user only).
Yes, but you may move it there, if you prefer this variant.

graphity

unread,
Feb 10, 2016, 2:44:28 AM2/10/16
to Ukelele Users
I just commented on this because with the Install function you get the choice to install for all users or the current user, whereas the bundle installer is only for all users. No big deal. probably 99% of the time that will be what you want anyway.

John H. Jenkins

unread,
Feb 10, 2016, 1:45:35 PM2/10/16
to ukelele-users@googlegroups.com ukelele-users@googlegroups.com
Please do not put things into /System/Library. This is intended for the OS itself. Third parties should use /Library for anything intended for all users (in this case, /Library/Keyboard Layouts). 

From El Capitan onward, it should generally be impossible (or at least, very difficult) to put things into /System/Library anyway.

Gé van Gasteren

unread,
Feb 10, 2016, 4:10:25 PM2/10/16
to ukelel...@googlegroups.com
I agree with John that it’s best practice to put keyboard layouts in the User/Library/Keyboard Layouts folder.

Still, on checking the situation in El Capitan, I find that it’s actually much easier to put a file into the System/Library/Keyboard Layouts folder! The User/Library folder is normally not visible; one has to hold down the Option key while clicking on the Finder menu command "Go" to get that folder listed and thus accessible.

Tom Gewecke

unread,
Feb 10, 2016, 4:34:40 PM2/10/16
to ukelel...@googlegroups.com

On Feb 10, 2016, at 2:10 PM, Gé van Gasteren wrote:

in El Capitan, I find that it’s actually much easier to put a file into the System/Library/Keyboard Layouts folder! The User/Library folder is normally not visible; one has to hold down the Option key while clicking on the Finder menu command "Go" to get that folder listed and thus accessible.

The Option key has been necessary to show User/Library since 10.7.  Lion

Are you perhaps confusing System/Library/ with Library/ ?  They are both visible, but trying to move a file into System/Library should give you a "no entry" symbol.

graphity

unread,
Feb 10, 2016, 6:43:02 PM2/10/16
to Ukelele Users
Sorry I didn't mean to write "System/Library/Keyboard Layouts" in my earlier posting - it should have read "/Library/Keyboard Layouts". The Ukelele bundle installer doesn't touch the "System/Library/Keyboard Layouts" folder and neither do I  :-)

Gé van Gasteren

unread,
Feb 11, 2016, 3:24:04 AM2/11/16
to ukelel...@googlegroups.com
Thanks Tom, I do find all those Library folders confusing.
And by trying to figure out what you wrote, I discovered that there’s a 3d Library folder I hadn’t seen before!
An additional source of confusion is of course that my boot volume is called System...

So let’s inventorize: I have the following folders:
 <root>/Library/Keyboard Layouts                                  Moving something there is easy, but creates a copy of the file. This is where .dmg installers created with Ukelele put their contents.
 <root>/System (blessed with the X)/Library/Keyboard Layouts           Moving something there is indeed met by the 'no entry' symbol. This folder contains Apple’s own keyboard layouts
 <root>/Users/<my username>/Library/Keyboard Layouts                    Moving something there is only possible after making the folder visible with the Option key trick.



--
Reply all
Reply to author
Forward
0 new messages