问题:
今天安装了Anaconda3,它自带有轻型IDE spyder,对于编写一般的Python代码绰绰有余。但是,默认的编辑器的字体比较小,我有意将它设置得大些,不过期间犯了一个错误:
我打开Tools->Preferences->General->Scree resolution->Set a custom high PDI scaling,将其设置为16,点击Apply后,提示重启后方能生效,我就照做了。spyder却没有顺利重启,只是显示了一个特别大的开始界面,接着马上就崩溃了,终端提示:
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
The X11 connection broke: Maximum allowed requested length exceeded (code 4)
XIO: fatal IO error 0 (Success) on X server ":0"
after 893 requests (893 known processed) with 0 events remaining.
试了好多次都这样,包括重装Anaconda3也解决不了问题。