Re: .xinitrc support on leopard?
Re: .xinitrc support on leopard?
- Subject: Re: .xinitrc support on leopard?
- From: "Smiley, David W. (DSMILEY)" <email@hidden>
- Date: Thu, 27 Mar 2008 15:46:16 -0400
- Thread-topic: .xinitrc support on leopard?
Hey you're right; thanks! No .xinitrc needed; just .Xmodmap
On 3/26/08 2:10 PM, "Harald Hanche-Olsen" <email@hidden> wrote:
> + "Smiley, David W. (DSMILEY)" <email@hidden>:
>
>> I¹m running 10.5.2 and I¹m trying to modify the keyboard mapping in order to
>> use familiar Mac key combinations as shortcuts to interact with X11 based
>> applications. (basically, switch command & control keys around). I¹ve seen
>> instructions on the internet on how to do this with xmodmap. If I manually
>> execute xmodmap while x11 is running then it seems to work okay. I¹d like
>> this to occur automatically, however. I¹m not well versed in X11 but from
>> what I understand, ~/.xinitrc is supposed to be invoked on X11 startup at
>> some point so that I can enter in startup commands applicable for the whole
>> session. In my experience with Leopard, if .xinitrc exists and is
>> non-empty, I can¹t seem to get X11 to work at all, not matter what I put in
>> .xinitrc (even simple echo statements, comments, or whitespace). Can
>> someone suggest to me how to proceed?
>
> Writing your own .xinitrc is not for the faint of heart: You have to
> duplicate a lot of what is in the globalxinitrc file, including
> starting the proper window manager. (It's not that hard, but probably
> beyond the average user.)
>
> If all you wish to do is to modify your keyboard, just create a file
> .Xmodmap in your home directory. The global xinitrc will run xmodmap
> on that file.
>
> I am not sure if this will work with the X11 that came with Leopard,
> though. It's been too long since I used it ... You may wish to go to
>
> http://trac.macosforge.org/projects/xquartz
>
> and grab X11.pkg version 2.1.4 and install that. (Requires reboot.)
>
> - Harald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden