leixiaozeng
2014-04-25 04:31 deepin
虽然吧,没装,但是还是支持一下滴,,以后吧,这种贴要多发,小白做多了经验足了,一升级,就成大虾了,,,,
Reply Like 0 View the author
刚才试了,结果最后一步目录下面没有main.py,有dtalk.py,运行无任何显示
没找着main.py啊,怎么回事儿
安装了如何登录呢?我用deepin 的论坛帐号一直登录不了
~/Documents/deepin-talk-master$ sudo apt-get install qtdeclarative5-dev qtdeclarative5-qtquick2-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
qtdeclarative5-qtquick2-plugin : Depends: qtdeclarative-abi-5-2-1
E: Unable to correct problems, you have held broken packages.
出现了这该死的提示。。。。。。肿么办啊,楼主。。。。
Popular Events
More
看到很多人问咋安装深谈,其实没有那么复杂了,不过个人建议还是等官方的安装包出来以后再说咯,毕竟目前deepin团队还忙于deepin2014的bug修复,估计没太有时间和精力来完善深谈了,目测有很多bug,不过界面很漂亮,希望小白在折腾的时候,不要对深谈抱怨太多……
首先,下载深谈的 zip包……
https://github.com/linuxdeepin/deepin-talk/archive/master.zip 这个就不用多说了吧,记得确保在linux环境下哈
下载后,解压缩
DeepinScreenshot20140420215821.png
到解压缩后的目录(如上图,要看到 src那个文件夹哈),在空白处右键,在终端中打开
输入 sudo gedit ./src/dtalk/controls/panel.py 回车
找到
def __init__(self):
super(Panel, self).__init__()
- self.setMinimumSize(QtCore.QSize(336, 780))
QtWidgets.qApp.focusWindowChanged.connect(self.onFocusWindowChanged)
self.setIcon(QtGui.QIcon(":/images/common/logo.png"))
self.setTitle("Deepin Talk")
将 self.setMinimumSize(QtCore.QSize(336, 780))
替换为
self.setMinimumSize(QtCore.QSize(336, 550))
self.resize(336, 700)
这个是修正深谈不能自由缩放的bug,也是社区的大神给提出的解决方案哈
修正后,保存,关闭。
在深度终端中 执行
sudo apt-get install python-setuptools
sudo apt-get install python-sip python-pyqt5
sudo apt-get install qtdeclarative5-dev qtdeclarative5-qtquick2-plugin
sudo apt-get install qtdeclarative5-controls-plugin qtdeclarative5-window-plugin
sudo apt-get install libqt5graphicaleffects5 qtdeclarative5-dialogs-plugin
sudo apt-get install git
git clone https://github.com/lovesnow/sleekxmpp.git
cd sleekXMPP
sudo python setup.py install
sudo easy_install peewee
sudo apt-get install python-imaging python-xlib
sudo apt-get install python-dnspython python-pyasn1 python-pyasn1-modules
其中部分包可能已经安装好了,反正只要装好即可。
到刚才那个目录下 ,进入 src 目录,双击下 main.py,选择 运行,即可
DeepinScreenshot20140420215821.png
ok,用自己的gmail账户邮箱和密码就可以登陆了,顺便说下,我的gmail 是 [email protected] 有空可以加我测试哈