kfnx1981
deepin
2016-11-13 21:33 搜索nvidia dpi,找到网页Lubuntu change fonts DPI when using proprietary Nvidia driver http://www.techytalk.info/lubunt ... tary-nvidia-driver/
Recently during my Lubuntu 12.10 Quantal Quetzal review I've noticed that after installing proprietary Nvidia driver my fonts were a little too small. Since I've discovered the problem was in fonts DPI value, in this article I'll show you how to specify your fonts DPI manually inside your xorg.conf.
Proprietary Nvidia drivers are smart enough to access your monitor EDID to detect it's panel DPI settings. Unfortunately that DPI makes my fonts too small because I like my fonts at standard 96 DPI. Most desktop environments come with GUI tool where you can specify your font size and DPI. LXDE from Lubuntu unfortunately doesn't have this tool so you must specify your fonts DPI manually inside your xorg.conf.
I'll assume you have your proprietary Nvidia driver installed. First thing you must do is to generate default xorg.conf like this:
sudo nvidia-xconfig --no-use-edid-dpi
This will generate default xorg.conf and disable use of DPI info acquired from your monitor EDID. Now you are free to specify your desired DPI by placing following inside section "Monitor" of your /etc/X11/xorg.conf:
Option "DPI" "96 x 96"
You can change DPI value from 96 to your desired value. Changes should be noticeable after reboot.————————————————————
我没安装xconfig,直接sudo su密码 nvidia-settings,在保存前可点击预览编辑,在里面同样有Option那几行 添加就可以了。应该效果一致吧。再打开wps就不提示dpi不对称了。注意第一次打开wps默认选择忽略再次提示,要试验的话就取消对号。
Recently during my Lubuntu 12.10 Quantal Quetzal review I've noticed that after installing proprietary Nvidia driver my fonts were a little too small. Since I've discovered the problem was in fonts DPI value, in this article I'll show you how to specify your fonts DPI manually inside your xorg.conf.
Proprietary Nvidia drivers are smart enough to access your monitor EDID to detect it's panel DPI settings. Unfortunately that DPI makes my fonts too small because I like my fonts at standard 96 DPI. Most desktop environments come with GUI tool where you can specify your font size and DPI. LXDE from Lubuntu unfortunately doesn't have this tool so you must specify your fonts DPI manually inside your xorg.conf.
I'll assume you have your proprietary Nvidia driver installed. First thing you must do is to generate default xorg.conf like this:
sudo nvidia-xconfig --no-use-edid-dpi
This will generate default xorg.conf and disable use of DPI info acquired from your monitor EDID. Now you are free to specify your desired DPI by placing following inside section "Monitor" of your /etc/X11/xorg.conf:
Option "DPI" "96 x 96"
You can change DPI value from 96 to your desired value. Changes should be noticeable after reboot.————————————————————
我没安装xconfig,直接sudo su密码 nvidia-settings,在保存前可点击预览编辑,在里面同样有Option那几行 添加就可以了。应该效果一致吧。再打开wps就不提示dpi不对称了。注意第一次打开wps默认选择忽略再次提示,要试验的话就取消对号。
Reply Like 0 View the author


中文 


这问题在其他linux也存在,不知道各位怎么解决的?