当前位置:首页 > linux教程 > 列表

解决安装 Plasma 5 的错误 plasmashell closed unexpected问题

发布:smiling 来源: PHP粉丝网  添加日期:2015-04-22 14:05:50 浏览: 评论:0 

KDE Plasma 5是一套由KDE所编写的图形接口壳层,是KDE Plasma 4的继承者,最初稳定版本于2014年7月15日发布了,下面我们来看看小编在安装Plasma 5碰到plasmashell closed unexpected错误问题解决办法了.

最近盯上 Plasma 5,于是就在我的 openSUSE 13.2 上安装,先是按照 openSUSE 说明添加两个库:

  1. $ sudo zypper ar -f http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.2/ 
  2. $ sudo zypper ar -f http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_13.2/ 

接着安装 Plasma 5:

$ sudo zypper in plasma5-session

安装 plasma 5 过程中会卸载掉许多 KDE 4 相关的内容,别怕,如果有冲突,通常选 1 然后回车确认就对了.

重启系统

进入系统后,随即有个窗口报错:

  1. We are sorry, plasmashell closed unexpectedly. You cannot report this error, because plasmashell does not provide a bug reporting address. 
  2. Detais: 
  3. Executable: plasmashell PID: 1536 Signal: Aborted (6) Time: 1/23/15 14:31:50 

也可以点击看图片.

注意:图中的窗口关掉后桌面只是一片空白,但因为我的 KDE 的窗口管理器用的是 xmonad,所以仍然可以调用出 konsole,通过命令行操作、打开 Firefox、连接网络等.

找了许多材料,没什么效果,最后跑 KDE 论坛发贴,但整天下来都没人回复,只好自己再接再厉,最后运气女神终于同情了我.

解决办法

查看上面添加的两个库的对应 ID:$ zypper lr

我的结果如下:

  1. sam@orchid:~|master⚡⇒  zypper lr 
  2. #  | Alias                                  | Name                                   | Enabled | Refresh 
  3. ---+----------------------------------------+----------------------------------------+---------+-------- 
  4.  1 | Firefox                                | Firefox                                | Yes     | Yes     
  5.  2 | Framewordks5                           | Frameworks5                            | Yes     | Yes     
  6.  3 | Java:packages                          | Java:packages                          | Yes     | Yes     
  7.  4 | M17N                                   | M17N                                   | Yes     | Yes     
  8.  5 | MargueriteSu                           | MargueriteSu                           | Yes     | Yes     
  9.  6 | Mozilla                                | Mozilla                                | Yes     | Yes     
  10.  7 | Node.js                                | Node.js                                | Yes     | Yes     
  11.  8 | PackMan_Essentials                     | PackMan_Essentials                     | Yes     | Yes     
  12.  9 | X11:Bumblebee                          | X11:Bumblebee                          | Yes     | Yes     
  13. 10 | X11_WindowManagers                     | X11_WindowManagers                     | Yes     | Yes     
  14. 11 | devel:languages:nodejs                 | devel:languages:nodejs                 | Yes     | Yes     
  15. 12 | dvd                                    | dvd                                    | Yes     | Yes     
  16. 13 | games:tools                            | games:tools                            | Yes     | Yes     
  17. 14 | google-chrome                          | google-chrome                          | Yes     | Yes     
  18. 15 | google-webdesigner                     | google-webdesigner                     | Yes     | Yes     
  19. 16 | home:Mailaender:branches:Java:packages | home:Mailaender:branches:Java:packages | Yes     | Yes     
  20. 17 | home:opensuse_zh                       | home:opensuse_zh                       | Yes     | Yes     
  21. 18 | home:ralflangb1:composer2distribution  | home:ralflangb1:composer2distribution  | No      | Yes     
  22. 19 | home:ruiabreuferreira                  | home:ruiabreuferreira                  | Yes     | Yes     
  23. 20 | home:ykoba                             | home:ykoba                             | Yes     | Yes     
  24. 21 | libdvdcss                              | libdvdcss                              | Yes     | Yes     
  25. 22 | mono-project                           | mono-project                           | Yes     | Yes     
  26. 23 | openSUSE:13.2:NON-OSS                  | openSUSE:13.2:NON-OSS                  | Yes     | Yes     
  27. 24 | openSUSE:13.2:OSS                      | openSUSE:13.2:OSS                      | Yes     | Yes     
  28. 25 | qt5                                    | qt5                                    | Yes     | Yes     
  29. 26 | repo-source                            | openSUSE-13.2-Source                   | Yes     | Yes     
  30. 27 | repo-update                            | openSUSE-13.2-Update                   | Yes     | Yes     
  31. 28 | repo-update-non-oss                    | openSUSE-13.2-Update-Non-Oss           | Yes     | Yes     
  32. 29 | security                               | security        --phpfensi.com                       | Yes     | Yes     
  33. 30 | utilities                              | utilities                              | Yes     | Yes     
  34. 31 | zh                                     | zh   

更新软件:$ sudo zypper dup --from 2 --from

这里,我强制要求软件从 ID 为 2 和 25 的库升级,最后重启系统,能正常进入 Plasma 5 了,当然,以上仅是我个人情况,如果你也碰上,并恰巧通过搜索引擎来到这一篇,请仅做参考,如果你因此搞坏了系统,本人不打算心怀歉意.

Tags: Plasma 5错误 plasmashell

分享到: