深度资源管理器和深度启动器尝鲜
Tofloor
poster avatar
jswolf
deepin
2017-05-28 19:03
Author
本帖最后由 jswolf 于 2017-5-29 11:10 编辑


深度资源管理器编译方法:
1.首先下载deepin-system-monitor源码:
  1. git clone https://cr.deepin.io/deepin-system-monitor
Copy the Code
2.安装依赖:
  1. sudo apt-get install libdtkbase-dev libdtkutil-dev libdtksettings-dev libdtksettingsview-dev libdtkwidget-dev libxtst-dev libprocps-dev qt5-default
Copy the Code

3.额外依赖:libnethogs
编译方法请参考:https://github.com/raboof/nethogs,并把libnethogs.h放到deepin-system-monitor/src/目录下
4.编译并运行:
  1. mkdir build && cd build
  2. qmake ..
  3. make
  4. sudo make install
Copy the Code
注意:因为dtk版本问题,需要更改main_window.cpp中this->titlebar()为this->titleBar()
感谢        iamhyc65 的修正,setcap后网络状态正常。
深度启动器编译方法:
1.同步源码:
  1. git clone https://cr.deepin.io/dde/dde-launcher
Copy the Code
2.检查依赖:
  1. cd dde-launcher
  2. dpkg-checkbuilddeps
Copy the Code
3.安装提示缺失的依赖:
4.编译并安装:
  1. mkdir build && cd build
  2. qmake ..
  3. make
  4. sudo make install
Copy the Code
注意:因为dtk版本问题,需要注释miniframe.cpp中setMaskColor(DBlurEffectWidget:arkColor);
存在问题因为注释了暗色,如果桌面背景颜色较浅会看不见启动器文字。


Reply Favorite View the author
All Replies
avatar
arlen
deepin
2017-05-28 20:24
#1
15.4.1 会更新上这些么?
Reply View the author
avatar
sudo_free
deepin
2017-05-28 20:56
#2
资源管理器 的编译,请按照老王Github上提供的方法,都是没问题的;除了make后面那条,他漏了个setcap没加

https://github.com/manateelazycat/deepin-system-monitor
https://github.com/raboof/nethogs.git(按照这里的提示使用setcap)
Reply View the author
avatar
la******ng@outlook.com
deepin
2017-05-28 21:12
#3
期待可以快点在 Arch 上看到啊啊啊!!
Reply View the author
avatar
He8617439
deepin
2017-05-28 21:15
#4
这功能到还真不错的。
Reply View the author
avatar
linyk
deepin
2017-05-28 21:58
#5
看样子成品应该会不错
Reply View the author
avatar
方老四
deepin
2017-05-28 22:26
#6
本帖最后由 fangling 于 2017-5-28 15:51 编辑

很不错,坐等内侧。“系统”菜单改成"系统工具",字数和上面一样;“关机”改成图标更好,对应上面的头像。
Reply View the author
avatar
185******15
deepin
2017-05-29 00:20
#7
有点屌呀。。。。。。装来看看
Reply View the author
avatar
jswolf
deepin
2017-05-29 19:06
#8
https://bbs.deepin.org/post/140166
期待可以快点在 Arch 上看到啊啊啊!!

Arch自己玩也可以啊,我就是arch啊
Reply View the author
avatar
qw373027727
deepin
2017-05-30 00:03
#9
建议发布一个编译好安装包,类似绿色软件
    大部分人不知道怎么源码安装软件
Reply View the author
avatar
cybo0o
deepin
2017-05-31 16:51
#10
好期待哟
Reply View the author