|
发表于 2009-5-28 23:28:28
|
显示全部楼层
我用LZ的配置文件创建了一个.desktop文件放在./local/share/application/下,果然注销再进入之后发现没有边框了;如果删除这个文件则是没有问题的。
在google里检索了一下./local/share/application/目录,在 https://lists.ubuntu.com/archive ... 8-April/143089.html 发现一些有意思的内容,其中提到
Note: the entries in ~/.local/share/application will take priority over
those in /usr/share/applications/, so you can move the .locals to /usr
if you wish. Or use the new "File Browser (Root)" that you created in
the first part to do it :-)
意思是如果在./local/share/application比/usr/share/applications具有更高的优先级别。
在/usr/share/applications下也有一个metacity.desktop的文件,内容如下:
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Metacity
Name[ar]=مِتسِتي
Name[as]=Metacity
Name[ast]=Metacity
Name[az]=Metacity
Name[be]=Metacity
Name[be@latin]=Metacity
Name[bg]=Metacity
Name[bn]=মেটাসিটি
Name[bn_IN]=Metacity
Name[bs]=Metacity
Name[ca]=Metacity
Name[ca@valencia]=Metacity
Name[cs]=Metacity
Name[cy]=Metacity
Name[da]=Metacity
Name[de]=Metacity
Name[dz]=མེ་ཊ་སི་ཊི།
Name[el]=Metacity
Name[en_CA]=Metacity
Name[en_GB]=Metacity
Name[es]=Metacity
Name[et]=Metacity
Name[eu]=Metacity
Name[fa]=متاسیتی
Name[fi]=Metacity
Name[fr]=Metacity
Name[ga]=Metacity
Name[gl]=Metacity
Name[gu]=મેટાસીટી
Name[ha]=Metaciti
Name[he]=מטאסיטי
Name[hi]=मेटासिटी
Name =Metacity
Name[hu]=Metacity
Name[hy]=Մետասիթի
Name[id]=Metacity
Name[ig]=Metacity
Name[is]=Metacity
Name[it]=Metacity
Name[ja]=Metacity
Name[ka]=Metacity
Name[kn]=ಮೆಟಾಸಿಟಿ
Name[ko]=메타시티
Name[ku]=Metacity
Name[la]=Metacity
Name[lt]=Metacity
Name[lv]=Metacity
Name[mai]=मेटासिटी
Name[mg]=Metacity
Name[mk]=Metacity
Name[ml]=മെറ്റാസിറ്റി
Name[mn]=Metacity
Name[mr]=Metacity
Name[ms]=Metacity
Name[nb]=Metacity
Name[ne]=मेटासिटि
Name[nl]=Metacity
Name[nn]=Metacity
Name[oc]=Metacity
Name[or]=ମେଟାସିଟି
Name[pa]=ਮੈਟਾਸਿਟੀ
Name[pl]=Metacity
Name[pt]=Metacity
Name[pt_BR]=Metacity
Name[ro]=Metacity
Name[ru]=Metacity
Name[sk]=Metacity
Name[sl]=Metacity
Name[sq]=Metacity
Name[sr]=Метасити
Name[sr@latin]=Metasiti
Name[sv]=Metacity
Name[ta]=மெட்டாசிட்டி
Name[te]=మెటాసిటి
Name[th]=Metacity
Name[tk]=Metacity
Name[tr]=Metacity
Name[uk]=Метасіті
Name[vi]=Metacity
Name[wa]=Metacity
Name[xh]=Imetacity
Name[yo]=Metacity
Name[zh_CN]=Metacity
Name[zh_HK]=Metacity
Name[zh_TW]=Metacity
Exec=metacity
NoDisplay=true
# name of loadable control center module
X-GNOME-WMSettingsModule=metacity
# name we put on the WM spec check window
X-GNOME-WMName=Metacity
# back compat only
X-GnomeWMSettingsLibrary=metacity
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=metacity
X-GNOME-Bugzilla-Component=general
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager
X-GNOME-Autostart-Notify=true
我尝试过删除或者修改部分的值,暂时没有找出问题具体是哪一个,不过用/usr/share/applications下的那一份覆盖.local/share/application下的这一份却没有发生窗口修饰器丢失的问题。 |
|