In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to edit the raspberry pie configuration file, which is concise and easy to understand. I hope you can learn something through the detailed introduction of this article.
Overview
During startup, raspberry pie reads some configuration parameters from SD. These parameters are stored in the config.txt file. This file is stored in SD and is directly visible under Windows. Therefore, you can modify the configuration file from Windows PC, Mac, Linux PC or send yourself directly from raspberry.
This configuration file contains important parameters for setting up the monitor. If there is a serious problem with the connected monitor, you need to connect the SD card to the PC to modify the configuration file. If the connected monitor works and you just want to make minor adjustments, it will be convenient to modify the file directly on the raspberry pie.
Edit under Windows PC
If the monitor connected to the raspberry pie shows nothing, and you have a Windows computer on hand, the most effective way:
Turn off the raspberry pie and unplug the power and SD card.
Insert the SD card into your computer's SD card interface or card reader and wait for the folder to open automatically.
If the folder does not open automatically, open my computer and then open the SD disk.
Look for a file named config (possibly config.txt).
If the file exists, open it with Notepad. If you can't find it, create one with Notepad. Note: do not use WordPad or Word to edit.
Under XP, right-click in the folder space and select New-text document. Then change the file name from New text document to config).
Open config.txt with Notepad and add the configuration parameters you need.
Save the file (click the menu [File], [Save])
Exit Notepad
Turn on my computer. Right-click the disk of the SD card and select "safe remove".
Unplug the SD card and insert it into the raspberry pie.
Edit under OSX
If the monitor connected to the raspberry pie shows nothing, you have a MAC machine on hand, the most effective way:
Turn off the raspberry pie and unplug the power and SD card.
Insert the SD card into the SD card slot of the MAC machine and wait for the desktop to display.
Open the SD card in Finder.
Look for a file named config (possibly config.txt).
If the file exists, open it with TextEdit. If not, use Textedit to create a new file in plain text format.
Add the configuration parameters you need.
Save the file as "config" and exit TextEdit.
Drag the SD card to the trash bin in Finder or click the pop-up button on the window to pop up the SD card.
Unplug the SD card and insert it into the raspberry pie.
Edit directly under raspberry pie
If the connected monitor is working properly, you only want to make minor adjustments, which is the most convenient method.
Restart the raspberry pie and enter your user name and password.
Use the command line to edit the configuration file
Sudo nano / boot/config.txt
Enter the configuration parameters you need
Save the edited file
Press Ctrl+x, press y, press enter.
After exiting the editor, restart using the command line
Sudo reboot
Note: if your changes do not take effect after reboot. It is usually a rare problem caused by the type of SD card. In this case, you can only use the above method to edit the configuration under Windows/Linux/OSX PC.
Profile exampl
The following example shows how to reduce the display size to prevent text from overflowing the edge of the screen.
Overscan_left=20overscan_right=20overscan_top=20overscan_bottom=20 the above content is how to edit the raspberry pie configuration file, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.