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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Does config.txt do anything?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 12 replies
  • Subscribers 710 subscribers
  • Views 2207 views
  • Users 0 members are here
  • raspberry_pi
Related

Does config.txt do anything?

cityswift
cityswift over 13 years ago

Since I received my Pi 2 months ago I have been trying at intervals to get a decent display on my 15" LCD monitor on CVS. The screen is 4:3 and is 1024*768 pixels and the display I get is 14:9 with a black border at top and bottom and is a few pixels too wide.

 

I can succesfully edit  config.txt, except for  the overscan which does not accept a negative number such as -20, but when I reboot the picture is just the same. Can anyone help?

 

On HDMI the picture is fine.

 

I am perservering because the Pi is a tool with great potential and spending a few months getting to really make it hum will be time well spent.

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    e14 Contributor over 13 years ago

    Hi CitySwift. Its good that you are continuing to learn with your Pi.

     

    This link should give all the information you need to sort out the overscan on your monitor.

     

    http://elinux.org/RPi_config.txt

     

    Don't forget to use sudo nano /boot/config.txt or you wont be able to save the changes. ( or insert your text editor instead of nano)

     

    Good luck

    Ray

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 13 years ago in reply to e14 Contributor

    Hello Cityswift, I have a vague feeling that Config.txt only works for HDMI connections, hopefully someone will be along with a better memory than me to confirm or otherwise.

    Ray also makes a great point about making sure you use Sudo. I tried Vi once but still bear the scars, I'd stick with Nano :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cityswift
    cityswift over 13 years ago in reply to GreenYamo

    Hi Steve  I am using nano as Ray suggests and have no trouble with it. I am beginning to think you are right about config.txt only working on HDMI as the CVS is an analogue signal - but surely this point would be made somewhere in the many RPi dialogues and tutorials?  imageimage

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 13 years ago in reply to cityswift

    According to the RasPi wiki, config.txt does have settings for composite video.   I've never used RasPi composite video -- I find the RCA jack makes a dandy alignment peg for vertically mounting RasPi to improve air flow.  The wiki says that the default settings are "sdtv_mode=0" (Normal NTSC) and "sdtv_aspect=1" (4:3).  I assume you have your monitor set to the correct aspect ratio.  You probably want postive values for "overscan_left" and "overscan_right" to compensate for overscan, or else just adjust the monitor's own settings.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago in reply to GreenYamo

    I tried Vi once but still bear the scars, I'd stick with Nano :-)

    No, no, no, no... You must use emacs. For everything. image

     

    Having lit the blue touchpaper, I think I'll now retire to a very safe distance image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 13 years ago in reply to e14 Contributor

    selsinork wrote:

     

    I tried Vi once but still bear the scars, I'd stick with Nano :-)

    No, no, no, no... You must use emacs. For everything. image

     

    Having lit the blue touchpaper, I think I'll now retire to a very safe distance image

    I used emacs to type in my Ph.D. thesis.  Just hearing the name "emacs" makes me feel tired.

     

    I used "vi" for about a year and never got the hang of it.  More often than not the commands would delete stuff I wanted to keep, so running it always filled me with dread.

     

    There's a controversy about how to pronounce "vi".  Some say it should be pronounced as a single syllable, rhyming with "buy" and "die".  Die you evil program!  Die! Die! Die!  [Sorry, I got carried away.]  Others say it should be pronounced as two syllables: "vee aye".  I like to pronounce it "vee'-uh", after my favorite horror movie Viy (1967), a marvelous Russian film with special effects by FX wizard Aleksandr Ptushko.  In the movie, Viy is a hideous soul-sucking demon.  Works for me.  You don't run "vi" -- you summon it.  image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 13 years ago in reply to johnbeetem

    I don't own a monitor with HDMI, but there are cheap HDMi to DVI cables, or an HDMI to DVI adaptor.

     

    This might help resolve your issue.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • mcb1
    mcb1 over 13 years ago in reply to johnbeetem

    I don't own a monitor with HDMI, but there are cheap HDMi to DVI cables, or an HDMI to DVI adaptor.

     

    This might help resolve your issue.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube