终端运行gedit的时候好多log出来,怎么回事?ubuntu没有的!
Tofloor
poster avatar
wzhy90
deepin
2012-09-20 02:06
Author
RT,终端运行gedit,出现好多这样的log
(gedit:14877): Gtk-WARNING **: Theme directory places/128 of theme Deepin has no size field

好像是主题的问题,ubuntu下没有这些log的说

谁会修复?每次用终端编辑文件就看到好多这样的log了,烦
Reply Favorite View the author
All Replies
snyh1010
deepin
2012-09-20 04:36
#1
使用sudo 打开/usr/share/icons/Deepin/index.theme
然后在开始的部分找到以下语句
-------------------------------------------------------------
Directories=actions/16,actions/22,actions/24,actions/32,actions/48,actions/128, actions/scalable,apps/16,apps/22,apps/24,apps/32,apps/48,apps/128,apps/scalable,categories/16,categories/22,categories/24,categories/32,categories/48,          categories/128,categories/scalable,emblems/16,emblems/22,emblems/24,emblems/32, emblems/48,emblems/128,emblems/scalable,mimetypes/16,mimetypes/22,mimetypes/24, mimetypes/32,mimetypes/48,mimetypes/128,mimetypes/scalable,places/16,places/22, places/24,places/32,places/48,places/128,places/scalable
----------------------------------------------------------------------------

去掉其中的mimetypes/128等带128结尾的字段就行了。
Reply View the author
wzhy90
deepin
2012-09-20 05:22
#2
谢谢LS的,终于没有那些log了
Reply View the author
snyh1010
deepin
2012-09-20 07:15
#3
没事, 是deepin当时由于太匆忙,主题文件没有编写好。
这个问题对于使用shell的用户太烦人了,  我也是今天实在受不了了,下午人肉纠错解决的。
Reply View the author