帮帮忙 无法用sudo gedit 命令打开文件编辑

Vim、Emacs配置和使用
回复
dragonboo
帖子: 5
注册时间: 2005-12-14 15:57
送出感谢: 0
接收感谢: 0

帮帮忙 无法用sudo gedit 命令打开文件编辑

#1

帖子 dragonboo » 2005-12-19 23:14

执行sudo gedit /etc/environment 后显示结果如下。打开其他文件也是一样
- using device default
- using device default

** (gedit:8328): CRITICAL **: gedit_mdi_set_state: assertion `GEDIT_IS_MDI (mdi)' failed

(gedit:8328): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `BonoboMDI'

** (gedit:8328): CRITICAL **: bonobo_mdi_get_active_child: assertion `BONOBO_IS_MDI (mdi)' failed

(gedit:8328): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `BonoboMDI'

** (gedit:8328): CRITICAL **: bonobo_mdi_get_active_window: assertion `BONOBO_IS_MDI (mdi)' failed

** (gedit:8328): CRITICAL **: gedit_utils_set_status: assertion `BONOBO_IS_WINDOW (win)' failed

** (gedit:8328): CRITICAL **: gedit_prefs_manager_get_int: assertion `gedit_prefs_manager->gconf_client != NULL' failed

** (gedit:8328): CRITICAL **: gedit_prefs_manager_get_bool: assertion `gedit_prefs_manager->gconf_client != NULL' failed

** (gedit:8328): CRITICAL **: gedit_prefs_manager_get_bool: assertion `gedit_prefs_manager->gconf_client != NULL' failed

** (gedit:8328): CRITICAL **: gedit_prefs_manager_get_int: assertion `gedit_prefs_manager->gconf_client != NULL' failed

(gedit:8328): GLib-GObject-WARNING **: invalid uninstantiatable type `glong' in cast to `GObject'

(gedit:8328): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `glong'

(gedit:8328): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
:cry: 我用的是5.10版
jms212
帖子: 80
注册时间: 2005-12-20 0:25
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 jms212 » 2006-02-23 17:13

用root权限就可以编辑,但是启动超慢
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#3

帖子 eexpress » 2006-02-23 19:29

最近好几个相同的帖子。建议搜索。“sudo gedit scim”3个项目。
● 鸣学
回复

回到 “Vim和Emacs”