Two types of keyboard shortcuts
Two types of keyboard shortcuts
- Subject: Two types of keyboard shortcuts
- From: robert delius royar <email@hidden>
- Date: Sat, 1 Nov 2003 12:21:22 -0500 (EST)
- Organization: An Apple OS X end user
- Priority: NEW
Is there a way to get both the X11 Applications menu shortcut keys to work
and the Command-Key shortcuts to work inside X11 applications. For example,
to launch Pine I have assigned Shift-Command-M to the Pine startup in the
Applications menu. For X11 to recognize this command more than the first
time I call it, I had to check "Enable key equivalents under X11" in the X11
Preferences dialog. Now, my keyborad equivalent for Paste Clipboard
(Command-V) is not recognized. If I uncheck the "Enable...," then Command-V
pastes, but Shift-Command-M is ignored.
These are the only additions made to the standard ~/.Xmodmap:
clear Shift
clear Lock
clear Control
clear Mod1
add Shift = Shift_L Shift_R
add Lock = Caps_Lock
add Control = Control_L Control_R
add Mod1 = Alt_L Alt_R
And then in ~/.Xresources
Mod1 <KeyPress> C : select-cursor-start() select-cursor-end(PRIMARY,CUT_BUFFER0) \n\
Mod1 <KeyPress> V : insert-selection(PRIMARY,CUT_BUFFER0) \n\
Meta <KeyPress> C : select-cursor-start() select-cursor-end(PRIMARY,CUT_BUFFER0) \n\
Meta <KeyPress> V : insert-selection(PRIMARY,CUT_BUFFER0)
--
rdr
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.