問題:Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine"
解決方案:總體辦法就是缺什麼,yum什麼。
fedora下 :#yum install gtk-murrine-engine
ubuntu 下:$ sudo apt-get install gtk-murrine-engine
問題: Theming engine 'unico'
not found
解決方案:
fedora 下:#yum install gtk-unico-engine.i686
問題:以root身份運行gedit出錯
# gedit
(gedit:8195): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
** (gedit:8195): WARNING **: Could not connect to session bus
解決方案: 以root身份運行GUI程式,需要之前使用的是su --login root或su -,而不是僅僅用su。
To run GUI apps as root, you now need a root login shell:
Code:
su --login root
or in short formCode:
su -
Note the space and dash after su
this provides an entire root environment rather than just changing user.
問題:tar: Exiting with failure status due to previous errors
解決方案:切換到root再次執行。原文:http://blog.csdn.net/maoyanxiaohu/article/details/7920370
問題:gedit 中文亂碼
系統:fedora 17
gedit版本: 3.4.2
解決方案:將GB18030放在前面就行了。
命令列方式: gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'UTF-8', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"
問題:virtual box
啟動出錯
參考資料 : http://blog.csdn.net/zhangxizhicn/article/details/6729596
錯誤提示為:
Error:
Failed to create the VirtualBox COM object.
The application will now terminate.
Start tag expected, '<' not found.
Location: '/home/xxxx/.VirtualBox/VirtualBox.xml', line 1 (0), column 1.
/home/vbox/vbox-3.1.0/src/VBox/Main/VirtualBoxImpl.cpp[420] (nsresult VirtualBox::init()).
"xxxx"=你的使用者名稱
解決方案:
刪除/home/xxxx/.VirtualBox/VirtualBox.xml,然後就可以進入virtualbox,但是發現原來的虛擬機器不見了。
別急,點擊菜單中的Machine--> Add 然後找到 xxx.vbox ,開啟就可以了。