一开始,我在电脑处于挂起模式时断电,试图在 Ubuntu 14.04 上正常运行 Firefox,但 Firefox 却无法启动。我按照这些说明通过重命名 Firefox,但仍然没有结果。我尝试更新、删除、重新安装,但都不起作用。从终端运行它时的错误如下:
(process:12919): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
(firefox:12919): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(firefox:12919): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(firefox:12919): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(firefox:12919): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
Could not create gnome accelerators directory `/home/nautilus/.gnome2/accels': Permission denied
答案1
尝试在命令行中输入以下内容:(假设您的用户名是 nautilus)
sudo chown nautilus /home/nautilus/.gnome2
您将被要求提供密码。这是您用于登录的密码。