启动器打开变成空白了
Tofloor
poster avatar
子非鱼
deepin
2014-09-09 16:32
Author
小白求助,看图,没记得乱捣鼓什么啊,就没了,求怎么破?
DeepinScreenshot20140909082042.png
还有个更严重的问题,在商店自动换了个软件源(自动选的),然后一键更新,进行到貌似是更新linux-image什么之类的,系统就没反应了,只能强制重启。。重启后在终端下apt-get操作也不能用了,提示:E: dpkg 被中断,您必须手工运行 sudo dpkg --configure -a 解决此问题。然后我就执行了,到一半的时候又重复上面的杯具了。困惑啊。。
Reply Favorite View the author
All Replies
1 / 2
To page
cxbii
deepin
2014-09-09 17:46
#1
先执行命令:
rm -rf  ~/.config/launcher
解决启动器的问题

linux-image这个是内核,安装的过程比较慢,因为需要解压很多东西。
你执行:
sudo dpkg --configure -a
一直等待就好,还有,你可以上传下输出,我帮你确定下是否是真的卡住了
Reply View the author
子非鱼
deepin
2014-09-09 18:31
#2
先执行命令:
rm -rf  ~/.config/launcher
解决启动器的问题

linux-image这个是内核,安装的过程比较慢,因为需要解压很多东西。
你执行:
sudo dpkg --configure -a
一直等待就好,还有,你可以上传下输出,我帮你确定下是否是真的卡住了
我刚重试了下,更新好了 ~但启动器还是空白滴。。 ops:
Reply View the author
cxbii
deepin
2014-09-09 19:03
#3
[quote]先执行命令:
rm -rf  ~/.config/launcher
解决启动器的问题

linux-image这个是内核,安装的过程比较慢,因为需要解压很多东西。
你执行:
sudo dpkg --configure -a
一直等待就好,还有,你可以上传下输出,我帮你确定下是否是真的卡住了
我刚重试了下,更新好了 ~但启动器还是空白滴。。 ops:[/quote]
启动器这个需要你注销下才会生效
Reply View the author
子非鱼
deepin
2014-09-09 19:44
#4
[quote][quote]先执行命令:
rm -rf  ~/.config/launcher
解决启动器的问题

linux-image这个是内核,安装的过程比较慢,因为需要解压很多东西。
你执行:
sudo dpkg --configure -a
一直等待就好,还有,你可以上传下输出,我帮你确定下是否是真的卡住了
我刚重试了下,更新好了 ~但启动器还是空白滴。。 ops:[/quote]
启动器这个需要你注销下才会生效[/quote]
可是我注销重启都试了米有用呢?
Reply View the author
cxbii
deepin
2014-09-10 02:14
#5
新建个新账户,然后用新账户看看
Reply View the author
子非鱼
deepin
2014-09-10 04:16
#6
新建个新账户,然后用新账户看看
亲,新建的账号可以显示,旧的依然不行
Reply View the author
cxbii
deepin
2014-09-10 18:58
#7
[quote]新建个新账户,然后用新账户看看
亲,新建的账号可以显示,旧的依然不行[/quote]
恩。。。如果你不怕旧账户的部分软件配置丢失而解决问题的话,你可以执行:
  1. rm -rf   ~/.config
Copy the Code
Reply View the author
子非鱼
deepin
2014-09-10 21:00
#8
亲,照你说的做了,问题还是无解,还有没其它配置文件我能删的?其它账号正常,应该不是程序的错啊。。
Reply View the author
cxbii
deepin
2014-09-12 17:42
#9
亲,照你说的做了,问题还是无解,还有没其它配置文件我能删的?其它账号正常,应该不是程序的错啊。。
/tmp/dde-launcher.log

把这个文件上传下吧
Reply View the author
子非鱼
deepin
2014-09-13 04:25
#10
dde-launcher.log
Reply View the author
cxbii
deepin
2014-09-15 19:30
#11
dde-launcher.log
好的,已经告诉开发者了。
Reply View the author
cxbii
deepin
2014-09-15 20:47
#12

/usr/share/dde/resources//launcher/js/launcher.js
文件发上来来吧、
还有需要知道dde的版本,查询命令是

dpkg -p dde-workspace | grep -i version

最后是否添加了除系统默认以外的前提程序作为开机启动程序了呢?
Reply View the author
子非鱼
deepin
2014-09-16 00:49
#13
dde版本:Version: 2.1+20140828011408~2b1799b52c
launcher.js
怎么查看开机启动的程序?是有加了几个开发用的服务,mysql,php-fpm,nginx,用户的启动项肿么看?launcher没法用,也找不到相关程序了。。
Reply View the author
cxbii
deepin
2014-09-16 18:58
#14
dde版本:Version: 2.1+20140828011408~2b1799b52c
launcher.js
怎么查看开机启动的程序?是有加了几个开发用的服务,mysql,php-fpm,nginx,用户的启动项肿么看?launcher没法用,也找不到相关程序了。。
开发者说你先把~/.config/autostart下的文件备份一下,然后将他们删除,如果重启电脑看看launcher是否能正常启动,可能是启动文件含有特殊字符导致的。
Reply View the author
子非鱼
deepin
2014-09-16 19:27
#15
现实比较残酷,~/.config/autostart下面神马也没有。。
Reply View the author
cxbii
deepin
2014-09-16 22:49
#16
现实比较残酷,~/.config/autostart下面神马也没有。。
你的问题比较诡异。。。
在两个账户下运行:
dbus-send --session --print-reply --dest=com.deepin.SessionManager /com/deepin/StartManager com.deepin.StartManager.AutostartList
然后把输出上传下吧,并且标记下哪个是有问题的账户
Reply View the author
子非鱼
deepin
2014-09-17 01:13
#17
这是有问题的
  1. kevin@kevin-pc:~$ dbus-send --session --print-reply --dest=com.deepin.SessionManager /com/deepin/StartManager com.deepin.StartManager.AutostartList
  2. method return sender=:1.1 -> dest=:1.49 reply_serial=2
  3.    array [
  4.       string "/etc/xdg/autostart/deepin-menu.desktop"
  5.       string "/etc/xdg/autostart/dde-dock-applets-autostart.desktop"
  6.       string "/etc/xdg/autostart/fcitx-ui-sogou-qimpanel.desktop"
  7.       string "/etc/xdg/autostart/fcitx-autostart.desktop"
  8.       string "/etc/xdg/autostart/user-dirs-update-gtk.desktop"
  9.       string "/etc/xdg/autostart/pulseaudio.desktop"
  10.       string "/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop"
  11.       string "/etc/xdg/autostart/deepin-launcher.desktop"
  12.    ]
Copy the Code
这是没问题的
  1. vivian@kevin-pc:~$ dbus-send --session --print-reply --dest=com.deepin.SessionManager /com/deepin/StartManager com.deepin.StartManager.AutostartList
  2. method return sender=:1.1 -> dest=:1.56 reply_serial=2
  3.    array [
  4.       string "/etc/xdg/autostart/deepin-menu.desktop"
  5.       string "/etc/xdg/autostart/dde-dock-applets-autostart.desktop"
  6.       string "/etc/xdg/autostart/fcitx-ui-sogou-qimpanel.desktop"
  7.       string "/etc/xdg/autostart/fcitx-autostart.desktop"
  8.       string "/etc/xdg/autostart/user-dirs-update-gtk.desktop"
  9.       string "/etc/xdg/autostart/pulseaudio.desktop"
  10.       string "/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop"
  11.       string "/etc/xdg/autostart/deepin-launcher.desktop"
  12.    ]
Copy the Code
PS:我怎么看着是一样的哩?
Reply View the author
hehethegreat
deepin
2014-09-17 01:51
#18
正常的, 原生ubuntu Unity也有这种毛病,生个级就这样了,换个账号就好。
Reply View the author
cxbii
deepin
2014-09-17 08:08
#19
这是有问题的
  1. kevin@kevin-pc:~$ dbus-send --session --print-reply --dest=com.deepin.SessionManager /com/deepin/StartManager com.deepin.StartManager.AutostartList
  2. method return sender=:1.1 -> dest=:1.49 reply_serial=2
  3.    array [
  4.       string "/etc/xdg/autostart/deepin-menu.desktop"
  5.       string "/etc/xdg/autostart/dde-dock-applets-autostart.desktop"
  6.       string "/etc/xdg/autostart/fcitx-ui-sogou-qimpanel.desktop"
  7.       string "/etc/xdg/autostart/fcitx-autostart.desktop"
  8.       string "/etc/xdg/autostart/user-dirs-update-gtk.desktop"
  9.       string "/etc/xdg/autostart/pulseaudio.desktop"
  10.       string "/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop"
  11.       string "/etc/xdg/autostart/deepin-launcher.desktop"
  12.    ]
Copy the Code
这是没问题的
  1. vivian@kevin-pc:~$ dbus-send --session --print-reply --dest=com.deepin.SessionManager /com/deepin/StartManager com.deepin.StartManager.AutostartList
  2. method return sender=:1.1 -> dest=:1.56 reply_serial=2
  3.    array [
  4.       string "/etc/xdg/autostart/deepin-menu.desktop"
  5.       string "/etc/xdg/autostart/dde-dock-applets-autostart.desktop"
  6.       string "/etc/xdg/autostart/fcitx-ui-sogou-qimpanel.desktop"
  7.       string "/etc/xdg/autostart/fcitx-autostart.desktop"
  8.       string "/etc/xdg/autostart/user-dirs-update-gtk.desktop"
  9.       string "/etc/xdg/autostart/pulseaudio.desktop"
  10.       string "/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop"
  11.       string "/etc/xdg/autostart/deepin-launcher.desktop"
  12.    ]
Copy the Code
PS:我怎么看着是一样的哩?
明天告诉开发者哈
Reply View the author
kosl90
deepin
2014-09-17 22:59
#20
你好,我是dock目前的维护者。鉴于干脆面已经受不了了,我就直接上吧。

根据你提供的log来看,是在/usr/share/dde/resources/launcher/js/launcher.js第1282行报的语法错误导致,所以我推测是有问题的账户开机启动的程序包含某些元字符或者奇怪的字符导致,但是结果却是两个账户的开机启动程序没有区别。鉴于你这个问题比较奇葩,所以我决定教你改代码==

请你使用root权限来更改/usr/share/dde/resources/launcher/js/launcher.js文件。

具体的改法是将1282行替换成一下代码:
var isMatch = false;
try {
  isMatch = el.match("" + basename + "$");
} catch(e) {
  console.log(el + " match " + basename + ": "+ e);
  isMatch = false;
}
return isMatch;

之后请将日志再次传到论坛上,谢谢。
Reply View the author
1 / 2
To page