不太喜欢dde,安装gnome
Tofloor
poster avatar
mcaoser
deepin
2020-12-12 02:44
Author



总算传上来了

cpu温度显示需要安装lm-sen开头的那个包,包名记不清了,用tab补全一下包名

Reply Favorite View the author
All Replies
mcaoser
deepin
2020-12-12 02:46
#1

安装gnome:
sudo apt install gnome
中间有一选择对话框,选择下面一项
安装完成后注销
出现的画面,选择下面右边“深度”图标,然后选择第一个gnome,输入密码登录

-----------------------
添加清华 软件源

source.list 中添加如下行:
(或者:
sudo mkdir /etc/apt/sources.list.d/qinghua.list
vim /etc/apt/sources.list.d/qinghua.list):


以下才是添加的内容:

# tsinghua source

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free

以上才是添加的内容
-------------------------------
安装gnome-tweak-tool:

sudo apt install gnome-tweak-tool
安装完成后的名称叫“优化”



-------------
用“软件”这个程序安装一些插件:
dash to panel
dash to dock
上面两个可以自己配置,dash to panel还可以导入导出配置

desktop icon
------------

安装conky和conky-manager:
到官方下载conky-manager的2.4版本,后缀为.run的那个,运行安装就行了
我桌面上的是自定义的一个,方法及内容为:
cd ~/.conky/
新建一个文件夹my-conky并进入文件夹新建一个文件my-conky
写入以下代码:

#default_color white
#double_buffer yes
no_buffers yes
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 76

double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 200 750
maximum_width 406
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 0
gap_y 0
cpu_avg_samples 2
override_utf8_locale no
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no
use_xft yes
xftfont WenQuanYi Zen Hei:pixelsize=12
override_utf8_locale yes
use_spacer no
minimum_size 200 750
TEXT

#${font LCD:style=Bold:pixelsize=40}${alignc}${time %H:%M:%S}
${font LCD:style=Bold:pixelsize=50}${alignc}${time %H:%M}
${font LCD:style=Bold:pixelsize=20}${time %Y年%b%d日 星期%a}${alignc}
${font WenQuanYi Zen Hei:pixelsize=14}
#${color #98c2c7}姓名: ${color}$alignr XXXX
#${color #98c2c7}邮箱: ${color}$alignr 可自己填写
${color #98c2c7}内核: ${color}$alignr$kernel
${color #98c2c7}已开机: ${color}$alignr$uptime

${color #98c2c7}CPU使用率: ${color}$cpu%
$cpubar
CPU1 温度: $alignr${exec sensors | grep 'Core 0' | cut -c17-24}
CPU2 温度: $alignr${exec sensors | grep 'Core 1' | cut -c17-24}

${color #98c2c7}CPU占用:${color}
${top name 1} ${alignr}${top cpu 1}
${top name 2} ${alignr}${top cpu 2}
${top name 3} ${alignr}${top cpu 3}
# ${top name 4} ${alignr}${top cpu 4}
# ${top name 5} ${alignr}${top cpu 5}
# ${top name 6} ${alignr}${top cpu 6}

${color #98c2c7}物理内存:${color}${alignr}$mem / $memmax
${membar}

${color #98c2c7}根分区: ${color}${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
#${color #98c2c7}Home分区: ${color}${alignr}${fs_free /home} / ${fs_size /home}
#${fs_bar 4 /home}

${color #98c2c7}网络使用:${color}
#wlp3s0可以改为wlan0或eth0等硬件名,用命令ip a可查询
下载速度:$alignr${downspeed wlp3s0}/s
上传速度:$alignr${upspeed wlp3s0}/s
${downspeedgraph wlp3s0 324D23 77B753}


-------------------------
还有些问题:
dde的主题跟gnome有问题,表现在dde自带的应用上。
gnome-shell的这版desktop icon插件没有我以前在centos上的那版好用



Reply View the author
thepoy
deepin
2020-12-12 02:54
#2

这是什么脑回路,安装deepin后再装gnome,绝了

Reply View the author
mcaoser
deepin
2020-12-12 03:03
#3
thepoy

这是什么脑回路,安装deepin后再装gnome,绝了

深度的应用商店做的好,目前国内第一

Reply View the author
lcw0268
deepin
2020-12-12 03:21
#4

理解。楼主喜欢gnome.

我喜欢plasma.

Reply View the author
SamLukeYes
deepin
2020-12-12 03:24
#5
mcaoser

深度的应用商店做的好,目前国内第一

因为 AUR 不算国内的[开心]

Reply View the author
lcw0268
deepin
2020-12-12 03:25
#6

啊,看楼主发的仓库地址,我急忙复制,粘帖时才发现,

楼主你换系统源了。

Reply View the author
mcaoser
deepin
2020-12-12 03:33
#7
lcw0268

啊,看楼主发的仓库地址,我急忙复制,粘帖时才发现,

楼主你换系统源了。

不知道算不算换,我是增加了一个list文件,将内容复制到里面的,以前的没有改动

Reply View the author
mcaoser
deepin
2020-12-12 03:49
#8

dde下面,发送到桌面的快捷方式图标,在gnome-shell的desktop icon中显示会有问题,可能是兼容性问题,所以我在桌面上新建了一个文件夹,将这些有问题的图标移到这个文件夹中去了,这个文件夹打开后,又都是正常的,这也可以让回到dde环境时还可以用这些快捷方式 。另外这个desktop-icon插件在移动桌面图标时有些问题,暂不知道原因,以前在centos里很正常,可能是版本不同

Reply View the author
mcaoser
deepin
2020-12-12 04:53
#9

桌面上移动图标不太顺畅,是由于dash to panel引起,关一下dash to panel,调整图标后再开dash to panel,或一直不用dash to panel即可

Reply View the author
SamLukeYes
deepin
2020-12-12 08:40
#10
mcaoser

不知道算不算换,我是增加了一个list文件,将内容复制到里面的,以前的没有改动

这已经算是混用软件源了,再去掉 deepin 的源你就是 debian 了[开心]

Reply View the author
Ziggy
deepin
2020-12-12 19:31
#11

混用源,很容易玩坏依赖的[鼓掌]

Reply View the author
mcaoser
deepin
2020-12-12 20:46
#12
Ziggy

混用源,很容易玩坏依赖的[鼓掌]

玩坏了再重装嘛,deepin本就不稳定,折腾是必须的

Reply View the author
lcw0268
deepin
2020-12-13 00:43
#13
mcaoser

不知道算不算换,我是增加了一个list文件,将内容复制到里面的,以前的没有改动

你添加的是debian上一个版本的源,这是肯定的。我用的就是debian系统,看熟了。

你添加的是低版本的源,应该不会出现问题。如果你把版本换成

bullseye

可能就大把更新。

之后就可能进入不了桌面。

再之后就没有了。

Reply View the author
mcaoser
deepin
2020-12-13 02:04
#14
lcw0268

你添加的是debian上一个版本的源,这是肯定的。我用的就是debian系统,看熟了。

你添加的是低版本的源,应该不会出现问题。如果你把版本换成

bullseye

可能就大把更新。

之后就可能进入不了桌面。

再之后就没有了。

误打误撞的,我对debian系不熟悉。使用还没什么大问题。我不知deepin v20是基于debian的哪个版本开发的,如果使用同版本的源,问题应该挺少吧。加了这个源后,gnome的“软件”中出现了很多应用可以下载安装

Reply View the author
lcw0268
deepin
2020-12-13 04:15
#15
mcaoser

误打误撞的,我对debian系不熟悉。使用还没什么大问题。我不知deepin v20是基于debian的哪个版本开发的,如果使用同版本的源,问题应该挺少吧。加了这个源后,gnome的“软件”中出现了很多应用可以下载安装

deepin ,ubuntu都是debian系系统。

其他的红帽,opensuse,很多不是.

Reply View the author
mcaoser
deepin
2020-12-13 09:28
#16
lcw0268

deepin ,ubuntu都是debian系系统。

其他的红帽,opensuse,很多不是.

我看到最新的20.1Beta(1005)用的就是debian10.6的仓库,所以问题应该不会太大


https://bbs.deepin.org/post/207813

Reply View the author
mcaoser
deepin
2020-12-13 09:44
#17

再次修改过的自定义conky配置:


#default_color white
#double_buffer yes
no_buffers yes
update_interval 1.0 #刷新时间为1秒
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 76

double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 200 750
maximum_width 406
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 0
gap_y 0
cpu_avg_samples 2
override_utf8_locale no
uppercase no #设置为yes使所有英文字母变为大写
use_spacer no
use_xft yes
xftfont WenQuanYi Zen Hei:pixelsize=12
override_utf8_locale yes
use_spacer no
minimum_size 200 750
TEXT

#${font LCD:style=Bold:pixelsize=40}${alignc}${time %H:%M:%S}
${font LCD:style=Bold:pixelsize=50}${alignc}${time %H:%M}
${font LCD:style=Bold:pixelsize=20}${alignc}${time %Y年%b%d日 星期%a}
${font WenQuanYi Zen Hei:pixelsize=14}
#${color #98c2c7}姓名: ${color}$alignr XXXX
#${color #98c2c7}邮箱: ${color}$alignr 可自己填写
${color #98c2c7}内核: ${color}$alignr$kernel
${color #98c2c7}已开机: ${color}$alignr$uptime

${color #98c2c7}CPU使用率: ${color}$cpu%
#$cpubar #cpubar默认高度为5
#${cpubar cpu0 3,} #默认高度调为3,cpu0为每一个核心,逗号后面为空表示宽度最宽
${alignc}${cpubar cpu0 5,50} ${cpubar cpu1 5,50} ${cpubar cpu2 5,50} ${cpubar cpu3 5,50}
CPU1 温度: $alignr${exec sensors | grep 'Core 0' | cut -c17-24}
CPU2 温度: $alignr${exec sensors | grep 'Core 1' | cut -c17-24}
#${color}${cpugraph 0 32,200 104E8B ffffff} #CPU占用的历史记录
${color}${cpugraph 0 ffffff ffffff}
${color #98c2c7}CPU占用:${color}
${top name 1} ${alignr}${top cpu 1}
${top name 2} ${alignr}${top cpu 2}
${top name 3} ${alignr}${top cpu 3}
# ${top name 4} ${alignr}${top cpu 4}
# ${top name 5} ${alignr}${top cpu 5}
# ${top name 6} ${alignr}${top cpu 6}

${color #98c2c7}物理内存:${color}${alignr}$mem / $memmax
#${membar} #membar默认高度为5
${membar 3} #默认高度调为3

${color #98c2c7}根分区: ${color}${alignr}${fs_free /} / ${fs_size /}
#${fs_bar 5 /} #fs_bar高度设为5
${fs_bar 3 /} #fs_bar高度设为3
#${color #98c2c7}Home分区: ${color}${alignr}${fs_free /home} / ${fs_size /home}
#${fs_bar 5 /home}

${color #98c2c7}网络使用:${color}
#wlp3s0可更换成自己的网卡名,如wlan0,eth0等。下同
下载速度:$alignr${downspeed wlp3s0}/s
上传速度:$alignr${upspeed wlp3s0}/s
${downspeedgraph wlp3s0 324D23 77B753}
${color #98c2c7}内网IP: ${color}${alignr}${addr wlp3s0}

Reply View the author
心平气和
deepin
2020-12-13 20:24
#18

这样软件商店还可以用吗

Reply View the author
mcaoser
deepin
2020-12-13 20:56
#19
心平气和

这样软件商店还可以用吗

可以使用,因为深度的源还在

Reply View the author
mcaoser
deepin
2020-12-16 02:37
#20

更改gnome下默认的文件管理器:

在~/.config/mimeapps.list的
[Default Applications]字段下修改
inode/directory=org.gnome.Nautilus.desktop

Reply View the author