element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) MAC alt key mappings in x11?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 179 subscribers
  • Views 464 views
  • Users 0 members are here
Related

MAC alt key mappings in x11?

autodeskguest
autodeskguest over 17 years ago

Hi Everyone,

   I tried searching, but can't seem to find anyone else with this

problem...  I recently purchased a mac running leopard.  The alt key

doesn't map properly to eagle.  I can't seem to use any short cuts that

require it (really annoying).  I opened /EAGLE-X11/bin/Xmodmap and found:

 

!! Definitions necessary to have the Alt key passed

!! correctly to X11 applications on Mac OS X:

clear Mod1

keycode 66 = Alt_L

keycode 69 = Alt_R

add Mod1 = Alt_L

add Mod1 = Alt_R

 

Is this correct for the newest version of OSX?  Are there any other

settings I need to change in order to utilize the alt key?  Thanks,

 

David

 

  • Sign in to reply
  • Cancel
  • Richard_H
    Richard_H over 17 years ago

    David Gal schrieb:

    Hi Everyone,

      I tried searching, but can't seem to find anyone else with this

    problem...  I recently purchased a mac running leopard.  The alt key

    doesn't map properly to eagle.  I can't seem to use any short cuts that

    require it (really annoying).  I opened /EAGLE-X11/bin/Xmodmap and found:

     

    !! Definitions necessary to have the Alt key passed

    !! correctly to X11 applications on Mac OS X:

    clear Mod1

    keycode 66 = Alt_L

    keycode 69 = Alt_R

    add Mod1 = Alt_L

    add Mod1 = Alt_R

     

    Is this correct for the newest version of OSX?  Are there any other

    settings I need to change in order to utilize the alt key?  Thanks,

     

    David

     

    Here a part of the installation guide:

     

     

    In order to allow the Alt key to be passed to EAGLE (as well as

    other X11 applications) you need to enter

     

    cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap

     

    in the "Terminal" window.

     

    Disable the options

     

      Input/Follow system keyboard layout

      Input/Emulate three button mouse

     

    of the X-Server's preferences.

    Therefore you have to click on the X11 icon in the "Dock".

    Goto the X11 menu bar on top of your screen and do a right mouse

    click on the X11 menu. Select Preferences and disable the options

    mentioned above.

     

    If you don't see the "Dock" while X11 is running it started in

    full screen mode automatically. Please use a "command - option - A"

    keystroke to leave this mode.

    Close the "Terminal" window now.

     

     

    Does this help?

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

    CadSoft Support -- hotline@cadsoft.de

    FAQ: http://www.cadsoft.de/faq.htm

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 17 years ago

    Richard Hammerl wrote:

    David Gal schrieb:

    Hi Everyone,

      I tried searching, but can't seem to find anyone else with this

    problem...  I recently purchased a mac running leopard.  The alt key

    doesn't map properly to eagle.  I can't seem to use any short cuts that

    require it (really annoying).  I opened /EAGLE-X11/bin/Xmodmap and found:

     

    !! Definitions necessary to have the Alt key passed

    !! correctly to X11 applications on Mac OS X:

    clear Mod1

    keycode 66 = Alt_L

    keycode 69 = Alt_R

    add Mod1 = Alt_L

    add Mod1 = Alt_R

     

    Is this correct for the newest version of OSX?  Are there any other

    settings I need to change in order to utilize the alt key?  Thanks,

     

    David

     

    Here a part of the installation guide:

     

     

    In order to allow the Alt key to be passed to EAGLE (as well as

    other X11 applications) you need to enter

     

    cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap

     

    in the "Terminal" window.

     

    Disable the options

     

      Input/Follow system keyboard layout

      Input/Emulate three button mouse

     

    of the X-Server's preferences.

    Therefore you have to click on the X11 icon in the "Dock".

    Goto the X11 menu bar on top of your screen and do a right mouse

    click on the X11 menu. Select Preferences and disable the options

    mentioned above.

     

    If you don't see the "Dock" while X11 is running it started in

    full screen mode automatically. Please use a "command - option - A"

    keystroke to leave this mode.

    Close the "Terminal" window now.

     

     

    Does this help?

     

     

    Hi Richard,

       Yes this helps.  Thanks.  Is there an easy way to avoid having to

    type the cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap every

    time I want to open eagle?  In order for me to get proper keymappings I

    need to do this every time...  Thanks,

     

    David

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 17 years ago

    Richard Hammerl wrote:

    David Gal schrieb:

    Hi Everyone,

      I tried searching, but can't seem to find anyone else with this

    problem...  I recently purchased a mac running leopard.  The alt key

    doesn't map properly to eagle.  I can't seem to use any short cuts that

    require it (really annoying).  I opened /EAGLE-X11/bin/Xmodmap and found:

     

    !! Definitions necessary to have the Alt key passed

    !! correctly to X11 applications on Mac OS X:

    clear Mod1

    keycode 66 = Alt_L

    keycode 69 = Alt_R

    add Mod1 = Alt_L

    add Mod1 = Alt_R

     

    Is this correct for the newest version of OSX?  Are there any other

    settings I need to change in order to utilize the alt key?  Thanks,

     

    David

     

    Here a part of the installation guide:

     

     

    In order to allow the Alt key to be passed to EAGLE (as well as

    other X11 applications) you need to enter

     

    cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap

     

    in the "Terminal" window.

     

    Disable the options

     

      Input/Follow system keyboard layout

      Input/Emulate three button mouse

     

    of the X-Server's preferences.

    Therefore you have to click on the X11 icon in the "Dock".

    Goto the X11 menu bar on top of your screen and do a right mouse

    click on the X11 menu. Select Preferences and disable the options

    mentioned above.

     

    If you don't see the "Dock" while X11 is running it started in

    full screen mode automatically. Please use a "command - option - A"

    keystroke to leave this mode.

    Close the "Terminal" window now.

     

     

    Does this help?

     

     

    Hi Richard,

       Yes this helps.  Thanks.  Is there an easy way to avoid having to

    type the cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap every

    time I want to open eagle?  In order for me to get proper keymappings I

    need to do this every time...  Thanks,

     

    David

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 17 years ago

    David Gal schrieb:

    Richard Hammerl wrote:

    David Gal schrieb:

    Hi Everyone,

      I tried searching, but can't seem to find anyone else with this

    problem...  I recently purchased a mac running leopard.  The alt key

    doesn't map properly to eagle.  I can't seem to use any short cuts that

    require it (really annoying).  I opened /EAGLE-X11/bin/Xmodmap and

    found:

     

    !! Definitions necessary to have the Alt key passed

    !! correctly to X11 applications on Mac OS X:

    clear Mod1

    keycode 66 = Alt_L

    keycode 69 = Alt_R

    add Mod1 = Alt_L

    add Mod1 = Alt_R

     

    Is this correct for the newest version of OSX?  Are there any other

    settings I need to change in order to utilize the alt key?  Thanks,

     

    David

     

    Here a part of the installation guide:

     

     

    In order to allow the Alt key to be passed to EAGLE (as well as

    other X11 applications) you need to enter

     

    cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap

     

    in the "Terminal" window.

     

    Disable the options

     

      Input/Follow system keyboard layout

      Input/Emulate three button mouse

     

    of the X-Server's preferences.

    Therefore you have to click on the X11 icon in the "Dock".

    Goto the X11 menu bar on top of your screen and do a right mouse

    click on the X11 menu. Select Preferences and disable the options

    mentioned above.

     

    If you don't see the "Dock" while X11 is running it started in

    full screen mode automatically. Please use a "command - option - A"

    keystroke to leave this mode.

    Close the "Terminal" window now.

     

     

    Does this help?

     

     

    Hi Richard,

      Yes this helps.  Thanks.  Is there an easy way to avoid having to type

    the cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap every time

    I want to open eagle?  In order for me to get proper keymappings I need

    to do this every time...  Thanks,

     

    David

     

     

    Normally it should be enough to do it once.

    Doesn'T exist  a file named .Xmodmap in your home directory?

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

    CadSoft Support -- hotline@cadsoft.de

    FAQ: http://www.cadsoft.de/faq.htm

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 17 years ago in reply to Richard_H

    Richard Hammerl wrote:

    David Gal schrieb:

    Richard Hammerl wrote:

    David Gal schrieb:

    Hi Everyone,

      I tried searching, but can't seem to find anyone else with this

    problem...  I recently purchased a mac running leopard.  The alt key

    doesn't map properly to eagle.  I can't seem to use any short cuts that

    require it (really annoying).  I opened /EAGLE-X11/bin/Xmodmap and

    found:

     

    !! Definitions necessary to have the Alt key passed

    !! correctly to X11 applications on Mac OS X:

    clear Mod1

    keycode 66 = Alt_L

    keycode 69 = Alt_R

    add Mod1 = Alt_L

    add Mod1 = Alt_R

     

    Is this correct for the newest version of OSX?  Are there any other

    settings I need to change in order to utilize the alt key?  Thanks,

     

    David

    Here a part of the installation guide:

     

     

    In order to allow the Alt key to be passed to EAGLE (as well as

    other X11 applications) you need to enter

     

    cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap

     

    in the "Terminal" window.

     

    Disable the options

     

      Input/Follow system keyboard layout

      Input/Emulate three button mouse

     

    of the X-Server's preferences.

    Therefore you have to click on the X11 icon in the "Dock".

    Goto the X11 menu bar on top of your screen and do a right mouse

    click on the X11 menu. Select Preferences and disable the options

    mentioned above.

     

    If you don't see the "Dock" while X11 is running it started in

    full screen mode automatically. Please use a "command - option - A"

    keystroke to leave this mode.

    Close the "Terminal" window now.

     

     

    Does this help?

     

     

    Hi Richard,

      Yes this helps.  Thanks.  Is there an easy way to avoid having to type

    the cat /Applications/EAGLE-X11/bin/Xmodmap >> $HOME/.Xmodmap every time

    I want to open eagle?  In order for me to get proper keymappings I need

    to do this every time...  Thanks,

     

    David

     

    Normally it should be enough to do it once.

    Doesn'T exist  a file named .Xmodmap in your home directory?

     

     

    It seems as if Leopard doesn't automatically read the .Xmodmap.

     

    This must be done from your user .xinitrc

     

    So you can do this to get a default .xinitrc that will load the .Xmodmap

    file:

     

    cat /usr/X11/lib/X11/xinit/xinitrc >> ~/.xinitrc

     

    (the cat and the >> will append the contents of the sample xinitrc file

    to whatever you have there, if anything; if you had other stuff in there

    you'll have to edit the file).

     

    If you already have a .xinitrc file you can add the lines:

     

    if [ -f "$HOME/.Xmodmap" ]; then

       xmodmap "$HOME/.Xmodmap"

    fi

     

    to get the X server to use your .Xmodmap file.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • tehn@monome.org
    tehn@monome.org over 17 years ago in reply to autodeskguest

    Ned Konz wrote:

     

    It seems as if Leopard doesn't automatically read the .Xmodmap.

     

    This must be done from your user .xinitrc

     

    So you can do this to get a default .xinitrc that will load the .Xmodmap

    file:

     

    cat /usr/X11/lib/X11/xinit/xinitrc >> ~/.xinitrc

     

    (the cat and the >> will append the contents of the sample xinitrc file

    to whatever you have there, if anything; if you had other stuff in there

    you'll have to edit the file).

     

    If you already have a .xinitrc file you can add the lines:

     

    if [ -f "$HOME/.Xmodmap" ]; then

      xmodmap "$HOME/.Xmodmap"

    fi

     

    to get the X server to use your .Xmodmap file.

     

    thanks for the hints, but i'm having the same problem.

     

    os x 10.5.2 fresh install on a macbook.

     

    it seems that X11 is mapped properly:

     

    salt:~ tehn$ xmodmap

    xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

     

    shift       Shift_L (0x40),  Shift_R (0x44)

    lock        Caps_Lock (0x41)

    control     Control_L (0x43),  Control_R (0x46)

    mod1        Alt_L (0x42),  Alt_R (0x45)

    mod2        Meta_L (0x3f),  Meta_R (0x47)

    mod3

    mod4

    mod5

     

     

    still no alt love in eagle. any ideas?

     

     

    much appreciated.

     

    brian

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube