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
    About the element14 Community
  • 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
Forum Startup configuration
  • 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 2 replies
  • Subscribers 181 subscribers
  • Views 568 views
  • Users 0 members are here
  • startup
  • eagledir
  • .eaglerc
Related

Startup configuration

Former Member
Former Member over 15 years ago

I'm keeping my hardware design in a version control system. Therefore I'd like Eagle to find my schematics, boards, etc. in my project's repository. In keeping with good version control habits, I's also like to keep tool support (in Eagle's case, that means libraries, scripts, etc.) in my project's repository

 

However, I see no easy way to configure Eagle to use the files in my project repository. Sure, you can use the Options/Directories dialog to point Eagle there, but what if you're working on multiple projects? That's really not very convenient.

 

When I initially saw the "$EAGLEDIR" I thought (granted I should have read the help first!) Eagle used this environment variable in the search path. This would be the ideal way (IMO) to manage such a scenario - then all you have to do is change the $EAGLEDIR variable to point where you want it. Alas, that's not the way Eagle and $EAGLEDIR works.

 

So, is there a good way to accomplish this startup configuration? I just started using Eagle, so I very well may be missing something obvious.

 

--Randy

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 15 years ago

    I should add that it is possible (I think) to do this with $HOME, but for other reasons one usually doesn't want to modify the HOME environment variable from it's correct path (your home directory).

     

    It would be nice(TM) for Eagle to simply allow the use of any environment variable in these directory path specifications. E.g., I could "export LOCAL_EAGLE=/home/fancygadget" and then specify "$LOCAL_EAGLE/lbr$ as my Libraries path.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 15 years ago in reply to Former Member

    Hi Randy,

     

    you can set the path with the SET command. All the so-called eaglerc options can be set directly.

    Syntax looks like this:

    Directories.Cam  '/home/tmp/ric';
    Directories.Dru   '/home/ric/cs/eagle/eagle-5.10.0/dru/';
    Directories.Epf   /home/tmp/ric;
    Directories.Lbr  $EAGLEDIR/lbr;
    Directories.Scr  $EAGLEDIR/scr;
    Directories.Ulp  /home/ric/cs/eagle/eagle-5.10.0/ulp;

     

    You can run a script after starting EAGLE with the SCRIPT command, or even better, start EAGLE with option -S that specifies a script which will be read while starting EAGLE from the command line. Example:

    eagle -Smyscript.scr

     

    Hope this helps.

    Richard

    • 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