最近系统由SUSE10.3换到了11.2.确实漂亮了不少。但是我的显示器是19寸宽屏的。在11.2下设置1440x900的分辨率颇费了一番功夫。在1
最近系统由SUSE10.3换到了11.2.确实漂亮了不少。但是我的显示器是19寸宽屏的。在11.2下设置1440x900的分辨率颇费了一番功夫。
在10.3设置宽屏分辨率安装好驱动后。只要选择vsea 1440x900即可。但是在11.2下却不可以。在网上搜索了半天终于找到解决方法了。
1. 首先安装nvdia驱动
我的是nvdia 8400GS的显卡,到nvdia的官网上就可以找到对应的linux驱动了
然后在init 3模式下安装。
sh nvdia.sh 即可
2. 按照好后输入以下命令
sax2 -r -m 0=nvidia
利用sax2进行设置,这时会弹出个对话框,然后选择显示器之类的。就是和10.3一样了。
注意这个时候显示器选择vesa下的1440X900@60模式,然后下面的分辨率选择1440X900
点击确定,会弹出个对话框,问你要不要测试!不要测试,因为这个时候测试很有可能会说模式不支持。
点击保存即可。
3. 修改xorg.conf
修改/etc/X11/xorg.conf
修改之前记得备份
cp /etc/X11/xorg.conf
在xorg.conf中的这一段中会有类似的:
Section "Monitor"
HorizSync 30-70
VertRefresh 30-70 //类似于这样的
EndSection
将这两个修改的大点,我的是30-90.只是个方位影响不大
并在EndSection后面加一句:
Modeline “1440x900” 106.5 1440 1520 1672 1904 900 901 904 932 +hsync +vsync
(以上一串可以用命令gtf 1440 900 60 看到)
保存退出
进去图形界面,打开显卡驱动的界面.这个时候会发现分辨率选项中多了个1440x900
选择它,并点击应用!
注意还有个按钮式保存到x文件中千万不要点击,,不让的话很有个能就会出现模式不支持黑屏的。
好了。到这里一切就都OK了!

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters

MySQloffersechar, Varchar, text, Anddenumforstringdata.usecharforfixed-Lengthstrings, VarcharerForvariable-Length, text forlarger text, AndenumforenforcingdataAntegritywithaetofvalues.

Optimizing MySQLBLOB requests can be done through the following strategies: 1. Reduce the frequency of BLOB query, use independent requests or delay loading; 2. Select the appropriate BLOB type (such as TINYBLOB); 3. Separate the BLOB data into separate tables; 4. Compress the BLOB data at the application layer; 5. Index the BLOB metadata. These methods can effectively improve performance by combining monitoring, caching and data sharding in actual applications.

Mastering the method of adding MySQL users is crucial for database administrators and developers because it ensures the security and access control of the database. 1) Create a new user using the CREATEUSER command, 2) Assign permissions through the GRANT command, 3) Use FLUSHPRIVILEGES to ensure permissions take effect, 4) Regularly audit and clean user accounts to maintain performance and security.

ChooseCHARforfixed-lengthdata,VARCHARforvariable-lengthdata,andTEXTforlargetextfields.1)CHARisefficientforconsistent-lengthdatalikecodes.2)VARCHARsuitsvariable-lengthdatalikenames,balancingflexibilityandperformance.3)TEXTisidealforlargetextslikeartic

Best practices for handling string data types and indexes in MySQL include: 1) Selecting the appropriate string type, such as CHAR for fixed length, VARCHAR for variable length, and TEXT for large text; 2) Be cautious in indexing, avoid over-indexing, and create indexes for common queries; 3) Use prefix indexes and full-text indexes to optimize long string searches; 4) Regularly monitor and optimize indexes to keep indexes small and efficient. Through these methods, we can balance read and write performance and improve database efficiency.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

WebStorm Mac version
Useful JavaScript development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Notepad++7.3.1
Easy-to-use and free code editor
