Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

An update to my input source problems

46 views
Skip to first unread message

Sandman

unread,
Nov 14, 2012, 2:29:13 AM11/14/12
to
First, the problem again: My wife's OSX account keeps reverting back
to US English as keyboard layout (instead of Swedish) when she logs
in, my account works as it should.

Ok, so I thought I had it fixed by resetting her permissions using the
method as outlined here:
http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion

I logged in and and logged out and the setting stuck, very nice! Then
again today, she had the same problem again. Sigh. So after some more
testing, these seems to be the conditions for this to occur:

1. Computer boots
2. She logs in
= Swedish keyboard!

1. Computer boots
2. I log in and my login is active
3. She logs in via fast user switching
= US keyboard :(

1. Computer boots
2. I log in
3. I pick "login window" from the fast user menu
4. She logs in
= US keyboard :(

1. I log in and my login is active
2. She logs in via fast user switching (= US keyboard)
3. She changes to Swedish
4. She logs out to login window
5. She logs in
= Swedish keyboard!

1. She logs in via fast user switching
2. She changes to Swedish
3. I switch back to my login via fast user switching
4. She switch to her login via fast user switching
= Swedish keyboard!


As far as I can tell, the problem only shows itself when she logs in
via fast user switching when my account is active. Not when she
switches to her already logged in account, but when I am logged in and
she is not and logs in via fast user switching (or via login window)
her keyboard is set to US all the time.

I can't begin to understand what is causing this problem... :(


--
Sandman[.net]

JF Mezei

unread,
Nov 14, 2012, 7:17:41 AM11/14/12
to
Sandman wrote:

> Ok, so I thought I had it fixed by resetting her permissions using the
> method as outlined here:
> http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion
>

I suspect the file permissions get changed when you switch user IDs in a
certain way (or don't get changed).

In terminal

ls -e -l /System/Library/Keyboard\ Layouts/

drwxr-xr-x 3 root wheel 102 18 May 2009 AppleKeyboardLayouts.bundle

If you are the system manager, you are part of the admin group and get
access to the "group" bits (middle 3) , if your wife is a normal user
witout privs, she gets the "other" bits (rightmost 3 which is r-x)


You should do this when you are logged in, and when your wife is logged
in and it works, and when you wife is logged in and it doesn't work to
see if there are any changes to the permissions.

the -e in ls will list any access control lists that may be present.


Sandman

unread,
Nov 14, 2012, 7:25:57 AM11/14/12
to
In article <50a38be6$0$36237$c3e8da3$3388...@news.astraweb.com>,
The above doesn't make any sense whatsoever, or I am grossly
misunderstanding you. The permissions of the file wouldn't change
depending on what user is logged in, so the "ls" would naturally
display the same all the time.

Regardless, my wife is an admin user on the machine, like me.


--
Sandman[.net]

David Ritz

unread,
Nov 14, 2012, 11:19:42 AM11/14/12
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday, 14 November 2012 08:29 +0100,
in article <mr-0D3257.08...@News.Individual.NET>,
This post provides more clues, as you've provided the results from
actual trouble shooting. You've narrowed the problem down to Fast
User Switching.

Here are a couple of new thoughts for you.

1) What happens if she goes to the login window, from your User menu
item, and logs in, rather than going directly to her account via
Fast User Switching?

This does not log you out of your account, to which you may return
at your convenience.

Once she's logged in, from the Login Window, I suspect she'll be
able to use Fast User Switching, successfully, without any changes
to her keyboard layout, so long as she doesn't actually logout.
When she wants to leave her login session, she should consider
using the User menu item, to go to the Login Window, rather than
logging out.

2) In the Users & Groups preference pane, there's an option to "Show
input menu in login window" check box. Consider ticking it. This
would allow you to at least see and/or select which keyboard
layout is selected, at login.

Neither of these suggestions are solutions; merely workarounds.

- --
David Ritz <dr...@mindspring.com>
Be kind to animals; kiss a shark.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (Darwin)
Comment: Public Keys: <http://dritz.home.mindspring.com/keys.txt>

iEYEARECAAYFAlCjxJ8ACgkQUrwpmRoS3uu5EQCgrsbxp9M4fLLF+kjHJWiN3phN
NWEAniuPqHzoty6tktIVwM4NTlPSfQZc
=4enl
-----END PGP SIGNATURE-----

Snit

unread,
Nov 14, 2012, 11:25:48 AM11/14/12
to
On 11/14/12 12:29 AM, in article
mr-0D3257.08...@News.Individual.NET, "Sandman" <m...@sandman.net>
wrote:
Did you ever try what I suggested the day you first posted about the
problem. While I do not guarantee it will work it has a pretty good chance.

Of course, when you do try it and it likely works you will say something
else worked. You will never admit my advice is what solved your problem.

Count on it. Your ego, again, has made life harder on you.


--
"Linux desktop is why I got into Linux in the first place. I mean, I
have never, ever cared about really anything but the Linux desktop."
-- Linus Torvalds

Snit

unread,
Nov 14, 2012, 11:28:24 AM11/14/12
to
On 11/14/12 9:19 AM, in article
alpine.OSX.2.00.1...@mako.ath.cx, "David Ritz"
If Sandman tried what I suggested he never said so. It will *likely* work:

In her account's Library look for all files names containing
"com.apple.HIToolbox". Delete them (or move them to a folder on the
desktop). Log out and back in.

Suggested it to him days ago - I believe the first suggestion he got.
Sandman is still mad about a lie I proved he told *years* ago, though, so
his ego is getting in the way of having his problem solved.

Kinda funny.


--
"I started Linux as a desktop operating system. And it's the only area
where Linux hasn't completely taken over. That just annoys the hell out
of me." -- Linus Torvalds

Sandman

unread,
Nov 14, 2012, 11:43:47 AM11/14/12
to
In article <alpine.OSX.2.00.1...@mako.ath.cx>,
David Ritz <dr...@mindspring.com> wrote:

> > 1. Computer boots
> > 2. She logs in
> > = Swedish keyboard!
>
> > 1. Computer boots
> > 2. I log in and my login is active
> > 3. She logs in via fast user switching
> > = US keyboard :(
>
> > 1. Computer boots
> > 2. I log in
> > 3. I pick "login window" from the fast user menu
> > 4. She logs in
> > = US keyboard :(
>
> > 1. I log in and my login is active
> > 2. She logs in via fast user switching (= US keyboard)
> > 3. She changes to Swedish
> > 4. She logs out to login window
> > 5. She logs in
> > = Swedish keyboard!
>
> > 1. She logs in via fast user switching
> > 2. She changes to Swedish
> > 3. I switch back to my login via fast user switching
> > 4. She switch to her login via fast user switching
> > = Swedish keyboard!
>
> 1) What happens if she goes to the login window, from your User menu
> item, and logs in, rather than going directly to her account via
> Fast User Switching?
>
> This does not log you out of your account, to which you may return
> at your convenience.

That's the third example above. I'm logged in, I use the FUS menu to
go to the login window, and then she logs in from there. It still
gives her the wrong keyboard.

> Once she's logged in, from the Login Window, I suspect she'll be
> able to use Fast User Switching, successfully, without any changes
> to her keyboard layout, so long as she doesn't actually logout.
> When she wants to leave her login session, she should consider
> using the User menu item, to go to the Login Window, rather than
> logging out.

The problem I am describing only occurs when she logs in, which she
does from time to time. I usually log her out to save RAM. So usually
when she's using the computer, I'm logged in and she is logged out,
she then uses the FUS menu (either by picking her name or by going via
the login window) and then her keyboard is messed up.

> 2) In the Users & Groups preference pane, there's an option to "Show
> input menu in login window" check box. Consider ticking it. This
> would allow you to at least see and/or select which keyboard
> layout is selected, at login.

I didn't know about that one, I have activated it now.

But I wanted to test some things, and my first thing was to log my
account out and then log her in - and then voila! It worked. She had
Swedish keyboard! Since my account has to be logged in, this was no
viable option, but it was a result. I then logged me in and then when
repeating all the scenarios above, she still had a swedish keyboard.
ALl of a sudden it worked as it should, regardless of FUS or me being
logged in or not.

So I thought maybe me logging out in the first place fixed the login
window, so I restarted the computer but now it just seems to work. She
gets the swedish keyboard and I don't know how I fixed it. I almost
expect the problem to resurface, but it seems to work right now. The
only thing I know I've changed is to add the input information to the
login window, but wtf, that couldn't have done it, could it?

Thanks for all your suggestions either way :)



--
Sandman[.net]

Snit

unread,
Nov 14, 2012, 12:10:39 PM11/14/12
to
On 11/14/12 9:43 AM, in article
mr-24CCD1.17...@News.Individual.NET, "Sandman" <m...@sandman.net>
wrote:

> But I wanted to test some things, and my first thing was to log my
> account out and then log her in - and then voila! It worked. She had
> Swedish keyboard! Since my account has to be logged in, this was no
> viable option, but it was a result. I then logged me in and then when
> repeating all the scenarios above, she still had a swedish keyboard.
> ALl of a sudden it worked as it should, regardless of FUS or me being
> logged in or not.
>
> So I thought maybe me logging out in the first place fixed the login
> window, so I restarted the computer but now it just seems to work. She
> gets the swedish keyboard and I don't know how I fixed it. I almost
> expect the problem to resurface, but it seems to work right now. The
> only thing I know I've changed is to add the input information to the
> login window, but wtf, that couldn't have done it, could it?
>
> Thanks for all your suggestions either way :)

What I suggested:

In her account's Library look for all files names containing
"com.apple.HIToolbox". Delete them (or move them to a folder on the
desktop). Log out and back in.

Have you tried this?
0 new messages