image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old January 13th, 2003, 05:32 PM
btoneill's Avatar
keeper of the cheese
 
Join Date: Jul 2002
Location: Minneapolis, MN
Posts: 797
Thanks: 0
Thanked 0 Times in 0 Posts
btoneill is on a distinguished road
Lightbulb FAQ on Apple's X11 server

I have created a FAQ on Apple's X11 server with many questions asked here, and on other sites and mailing lists. You can get to it at http://www.misplaced.net/fom/X11. This is still a work in progress, so any suggestions or additions are welcome.

Brian
__________________
UNIX is simple and coherent, but it takes a true genius (or a programmer at any rate) to understand and appreciate its simplicity -- Dennis Ritchie
Reply With Quote
  #2  
Old January 14th, 2003, 01:12 PM
StarBuck's Avatar
Tech
 
Join Date: Sep 2000
Location: United Kingdom
Posts: 240
Thanks: 0
Thanked 0 Times in 0 Posts
StarBuck is on a distinguished road
Thanks for the FAQ

Thanks for posting the FAQ very helpful you might be able to help what does the .cshrc file do and does it effect X11 ?

Keep up the work

Cheers
Reply With Quote
  #3  
Old January 14th, 2003, 03:56 PM
usin UNIX since '92
 
Join Date: Oct 2000
Location: Barcelona, Catalonia - Spain
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
dani++ is on a distinguished road
Yeah, there is the lifesaver xmodmap directive to make the Alt key really work on international keyboards.

there is also more useful info and tidbits.


dani++
Reply With Quote
  #4  
Old January 15th, 2003, 03:03 AM
rhg rhg is offline
Registered User
 
Join Date: Dec 2002
Location: Velbert, Germany
Posts: 220
Thanks: 0
Thanked 0 Times in 0 Posts
rhg is on a distinguished road
I say "thank you", too!

I extended your suggestion about how to enable a foreign keyboard mapping a bit.

Instead of manually invoking
/Applications/X11.app/Content/MacOS/X11 -keymap Deutsch.keymapping
from the command line you can manipulate the X11 executable so that it starts with your keyboard mapping:

1) in Terminal, become superuser:

sudo bash --login

2) change to the X11 executable directory:

cd /Applications/X11.app/Content/MacOS/

3) rename the original executable

mv X11 X11.bin

4) create the following shell script, e.g. with the vi editor:

#! /bin/sh
$(dirname $0)/X11.bin -keymap Deutsch.keymapping

This will invoke the original X11 executable with the appropriate keyboard mapping (which is the german mapping in my case).

5) name this script "X11" as the original executable name and make it executable:

chmod +x X11

This way you can conveniently double-click the X11 icon in /Applications or put it into the dock. X11 will then start with the appropriate keyboard mapping.

If you want the ssh-agent to run this is also very simple, just prepend the 2nd line in the shell script with /usr/bin/ssh-agent, such as:

#! /bin/sh
/usr/bin/ssh-agent $(dirname $0)/X11.bin -keymap Deutsch.keymapping
Reply With Quote
  #5  
Old January 15th, 2003, 07:02 AM
Registered User
 
Join Date: Jul 2002
Location: Weston, CT
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
fetlock is on a distinguished road
Re: FAQ on Apple's X11 server

Quote:
Originally posted by btoneill
I have created a FAQ on Apple's X11 server with many questions asked here, and on other sites and mailing lists. You can get to it at http://www.misplaced.net/fom/X11. This is still a work in progress, so any suggestions or additions are welcome.

Brian
Many thanks, Brian. This is a big help!!
__________________
Ken Frazier
--
PowerMac G4, 1.2 GHZ, DP; eMac G4 700 1 GB; iBook G3 500 640 MB; Canon N670U scanner; VST Firewire 6 GB; Firefly 5 GB. Assorted Lexmark printers.
OS X 10.2.6; Win 98; Linux (Love my Macs!)
Reply With Quote
  #6  
Old January 15th, 2003, 07:55 AM
sao sao is offline
member
 
Join Date: Aug 2001
Location: Singapore
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
sao is on a distinguished road
btoneill,

I suggest you also give them the location of your FAQs in your post at the Apple X11-users list as several people got puzzled by it:

http://lists.apple.com/mhonarc/x11-users/mail2.html

Quote:
For those that may be interested, I have setup an Unoffical FAQ with
questions/answers for Apple's X11. The FAQ is catered more towards new X11
users, but hopefully can be of benefit to all. Some of the information
is covered in this lists FAQ, but alot of it is not. I'm welcome to any
suggestions/additions/etc that anyone may have.

Thanks,
Brian

PS: Please no religious arguments about the "right" way to do something
that may be on the FAQ that you disagree with.

--
btoneill@misplaced.net

------------------------------------------------

<< I suggest that you tell us where it is... KeS >>

------------------------------------------------

<< Any clue as to where your FAQ is -- an URL, perhaps? >>

James Bucanek

------------------------------------------------
Cheers...
__________________
Somewhere, over the rainbow,
way up high...
Reply With Quote
  #7  
Old January 15th, 2003, 08:03 AM
btoneill's Avatar
keeper of the cheese
 
Join Date: Jul 2002
Location: Minneapolis, MN
Posts: 797
Thanks: 0
Thanked 0 Times in 0 Posts
btoneill is on a distinguished road
There was an update with the URL sent out on Monday after I got home and realised I botched the cut-n-paste I ofcourse was none too happy with myself when I got home and realised it after it hit the list (some 1-2 hours later, damn that list is slow...)

Brian
__________________
UNIX is simple and coherent, but it takes a true genius (or a programmer at any rate) to understand and appreciate its simplicity -- Dennis Ritchie
Reply With Quote
  #8  
Old January 25th, 2003, 02:39 PM
110001001011100101011
 
Join Date: Nov 2000
Location: Grenoble, France
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
cbaron is on a distinguished road
Thanks for FAQ, and thanks to rhg for that tip, I can now use X11 with french keymapping.

Quote:
Originally posted by rhg

1) in Terminal, become superuser:

sudo bash --login

2) change to the X11 executable directory:

cd /Applications/X11.app/Content/MacOS/

3) rename the original executable

mv X11 X11.bin

4) create the following shell script, e.g. with the vi editor:

#! /bin/sh
$(dirname $0)/X11.bin -keymap Deutsch.keymapping

This will invoke the original X11 executable with the appropriate keyboard mapping (which is the german mapping in my case).

5) name this script "X11" as the original executable name and make it executable:

chmod +x X11

[/b]
__________________
--
"old" B&W G3 400Mhz - 512MB mem - 18+75GB hd - Radeon 7000 ME 32MB DDR - DVD+RW
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
apples x11 cekuhnen Unix & X11 1 May 4th, 2003 02:56 PM
Running the Fluxbox Window manager on Apple's X11 willmac Unix & X11 2 May 1st, 2003 08:17 AM
Apple's X11 in rooted mode willmac Unix & X11 2 May 1st, 2003 05:29 AM
[HOWTO] - Run the Fluxbox Window manager on Apple's X11 willmac HOWTO & FAQs 0 April 30th, 2003 03:53 PM
BASIC X11 Questions chief Unix & X11 9 January 12th, 2003 12:07 PM


All times are GMT -5. The time now is 07:19 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.