Re: XQuartz v2.3.2.1 Questions
Re: XQuartz v2.3.2.1 Questions
- Subject: Re: XQuartz v2.3.2.1 Questions
- From: email@hidden
- Date: Thu, 5 Feb 2009 16:22:28 -0500
Jeremy Huddleston <email@hidden> wrote
on 02/05/2009 01:04:19 PM:
>
> On Feb 5, 2009, at 04:40, email@hidden wrote:
>
> >
> >
> >
> > Jeremy Huddleston <email@hidden> wrote on 02/04/2009
09:42:29
> > PM:
> >
> >>
> >> On Feb 4, 2009, at 18:00, email@hidden wrote:
> >>
> >>> Jeremy Huddleston <email@hidden> wrote on
02/04/2009 06:43:30
> >>> PM:
> >>>
> >>>>>> Yeah, but you should NOT do that. Instead,
create a directory
> >>>>>> (~/.xinitrc.d) and fill it with executable
files that you want to
> >>>>>> get
> >>>>>> sourced by the system xinitrc (see /usr/X11/lib/X11/xinit/
> >>>>>> xinitrc.d/
> >>>>>> 98-
> >>>>>> user.sh)
> >>>>>
> >>>>> If I want a remote window manager to take control
when X11
> >>>>> starts up
> >>>>> (don't want twm or quartz-wm to start), how would
you recommend
> >>>>> doing so
> >>>>> without making a private .xinitrc file or editing
the system-wide
> >>>>> /usr/X11/lib/X11/xinit/xinitrc file to remove
the startup of the
> >>>>> local
> >>>>> window manager and other "nice programs"
(i.e. xclock, xterm)?
> >>>>
> >>>> See this link:
> >>>>
> >>>>> http://xquartz.macosforge.org/trac/wiki/X11-
> >>>> UsersFAQ#WantanotherX11.appserver
> >>>>
> >>>
> >>> I was able to create a copy of the X11.app and get it
to start
> >>> with my
> >>> "xmodmap" commands and "xterm" command
in a shell script in
> >>> /usr/X11/lib/X11/xinit/xinitrc.d, however, it appears
that even
> >>> though I
> >>> made a copy of X11.app, the preference settings (i.e.
Full-screen
> >>> mode)
> >>> are common between both X11 server applications.
> >>
> >> You forgot to change the CFBundleIdentifier in Info.plist.
See:
> >>
> >>
> > http://xquartz.macosforge.org/trac/wiki/X11-
> UsersFAQ#WantanotherX11.appserver
> >
> >>
> > No, I didn't forget to change the CFBundleIdentifier in Info.plist.
> > As a
> > matter of fact, I created a shell script that checks the environment
> > variable, X11_PREFIX_DOMAIN and it took the correct actions for
this
> > copy
> > of the X11.app (named X11-OpenVMS-CDE.app)and the default actions
> > occurred
> > when I launch the supplied X11.app. However, the menu bar
still
> > displays
> > just "X11" when I have launched the "X11-OpenVMS-CDE"
copy
>
> That's expected becasue you presumably didn't change that in the
> Info.plist. If you want to change that, you need to edit the
> Info.plist again to make that change.
So would this change be to the following value in
Info.plist?
<key>CFBundleName</key>
<string>X11</string>
Or to this value (or both)?
<key>CFBundleGetInfoString</key>
<string>X11</string>
>
> > and changes to
> > preferences from the menu bar in either the "X11" or
"X11-OpenVMS-CDE"
> > affect both applications.
>
> That shouldn't be the case. What preferences are you seeing
in both
> that are identical? What's your CFBundleIdentifier for the new
bundle?
I was mistaken on this. My apologies. I
thought the "Full-screen mode" setting was carrying over from
one to the other. However, additional testing convinces me I was
incorrect.
Here is the CFBundleIdentifier setting in the new
bundle:
<key>CFBundleIdentifier</key>
<string>org.x.X11.OpenVMS-CDE</string>
>
> >> You should really not heed to change your keymaps. I'm
still not
> >> sure
> >> why you're doing that.
> >>
> > The reason for changing the keymap is because there are numerous
X11
> > applications on OpenVMS platforms I support that make use of
keypad
> > function keys (PF1-PF4 which on a standard PC keyboard are NumLock,
> > "/",
> > "*", and "-") in combination with the other
keypad keys (0-9, ".",
> > "+",
> > "Enter", which map to KP_0, KP_1, ... KP_0, KP_Decimal,
KP_Enter,
> > etc.).
>
> >
> > On an external Mac keyboard, the "Clear" key is in
the position of the
> > "NumLock" and, by default, generates an "Escape".
I want this to
> > generate
> > "KP_F1". On the Mac external keyboard, the keypad
"0", "1", "2",...
> > "9"
> > keys generate "KP_1", "KP_2", "KP_3",..."KP_9"
keysyms. I need to
> > have
> > equivalents on the builtin keyboard. That is why I was
trying to
> > find a
> > way to combine the "fn" key with the "1",
"2",..., "9" keys on the
> > keyboard
> > to generate "KP_1",...>
>
> You should be able to by using the laptop's numlock (sometimes Fn-F6,
> I think) and pressing the appropriate key on the laptop keyboard.
>
>
I tried fn-F6 (actually fn with all other keys and
can't get a NumLock generated). For example, I press fn-F6-1 in combination
hoping to get "KP_F1" generated while running xev, however, all
I get is "1". Please note that I did go into System Preferences->Keyboard
& Mouse and check the checkbox for "Use all F1, F2, etc. keys
as standard function keys...". This was so I wouldn't have to
do fn-F1 to get the standard function key instead of the multimedia dimming
adjustment. Now I have to use fn-Fx to get the appropriate multimedia
function when I want it. I don't know if this would have any bearing
on my inability to get a NumLock sequence to work with the number keys
to generate KP_1, KP_2, etc.
> ForwardSourceID:NT00064B96 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden