LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   getting xmodmap to work for all users? (http://www.linuxquestions.org/questions/fedora-35/getting-xmodmap-to-work-for-all-users-604283/)

harkonen 12-03-2007 09:31 PM

getting xmodmap to work for all users?
 
I'm well on my way to rocking Fedora on my iBook; wifi works, system runs great...except Xmodmap

I have placed the keycodes I wish to alter into /etc/X11/Xmodmap

I have also, for good measure, established a .Xmodmap file in /home/username

This works great for "User A" (ie, the account I established during installation)...but on "User B" (established later through the GUI user & groups menu item), it doesn't work.

"User B" does seem to acknowledge after I created the .Xmodmap file that such a file exists, it just doesn't seem to do anything with it.

Any ideas? Could this be a file permissions thing? Does the /etc/X11/Xmodmap need to be more than read-only by Others?

harkonen 12-04-2007 10:43 AM

not permissions
 
Quote:

Originally Posted by harkonen (Post 2979216)
Could this be a file permissions thing? Does the /etc/X11/Xmodmap need to be more than read-only by Others?

Nope it's not a permissions thing, as far as I can tell. I just tried a chmod on /etc/X11/Xmodmap and still it doesn't work.

JZL240I-U 12-06-2007 04:27 AM

What chmod exactly? Did you also change user and group?

harkonen 12-06-2007 09:35 PM

Quote:

Originally Posted by JZL240I-U (Post 2981868)
What chmod exactly? Did you also change user and group?

Don't really understand how, but I kinda figured it out. In order for it to work, the key marked "fn" must be pressed along with the Apple or the Enter key. This works, now, in both the initial user and the second user accounts. I swear it didn't work before, but then again I have tried a lot of different solutions, so something must have kicked in...but I've lost track of what I did and when this started working this way.

So problem solved. More or less.

(For the record, though, and for the benefit of anyone else running an Apple computer: this is not a perfectly graceful solution to the one-buttonness of an Apple. Controlling exactly what is being right-clicked does not seem to be consistent between all applications. I think an external 3-button mouse is probably the best solution.)

JZL240I-U 12-07-2007 01:11 AM

Quote:

Originally Posted by harkonen (Post 2982769)
...So problem solved. More or less.

Glad to hear it :).

Quote:

Originally Posted by harkonen (Post 2982769)
(For the record, though, and for the benefit of anyone else running an Apple computer: this is not a perfectly graceful solution to the one-buttonness of an Apple. Controlling exactly what is being right-clicked does not seem to be consistent between all applications.

Well, from my experience with linux so far, I'd guess that there is the chance to achieve exactly what you want in several different ways -- I just don't know how :rolleyes:.

Quote:

Originally Posted by harkonen (Post 2982769)
I think an external 3-button mouse is probably the best solution.)

That is always a good idea with linux...


All times are GMT -5. The time now is 08:35 AM.