安装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上的那版好用
总算传上来了
cpu温度显示需要安装lm-sen开头的那个包,包名记不清了,用tab补全一下包名