关于系统信息的问题
Tofloor
poster avatar
stephenjose
deepin
2020-10-14 01:15
Author
请教下,deepin的系统信息是存在哪个位置哪个文件的?
Reply Favorite View the author
All Replies
jingle
deepin
2020-10-14 02:57
#1
cat /etc/os-version  
Reply View the author
stephenjose
deepin
2020-10-14 03:48
#2

再请教下,头部的Deepin logo是存在哪,调用哪里的图片
Reply View the author
jingle
deepin
2020-10-14 05:57
#3
https://bbs.deepin.org/post/203768
再请教下,头部的Deepin logo是存在哪,调用哪里的图片

/usr/share/plymouth/themes/deepin-logo
Reply View the author
stephenjose
deepin
2020-10-15 00:10
#4
https://bbs.deepin.org/post/203768
/usr/share/plymouth/themes/deepin-logo

尝试修改了下,似乎并没有任何变化
1、修改/etc/os-version
重启后,计算机属性的名称依然是社区版,但vi os-version里面是修改过后的内容,修改后没重启则社区版字样有变为修改后的内容
2、替换了/usr/share/plymouth/them/deepin-logo中的所有图片
重启后,计算机属性上面的deepin logo没有发生变化
请问,这是啥原因
Reply View the author
jingle
deepin
2020-10-15 01:13
#5
https://bbs.deepin.org/post/203768
尝试修改了下,似乎并没有任何变化
1、修改/etc/os-version
重启后,计算机属性的名称依然是社区版,但vi ...

为何要修改os-version


https://bbs.deepin.org/user/223313  kankan
Reply View the author
stephenjose
deepin
2020-10-15 01:30
#6
https://bbs.deepin.org/post/203768
为何要修改os-version

出于兴趣,我也是研发人员
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-10-15 01:42
#7
https://bbs.deepin.org/post/203768
出于兴趣,我也是研发人员

/etc/deepin-version
Reply View the author
stephenjose
deepin
2020-10-15 02:42
#8

这个可以了,但是计算机属性头部的deepin logo,我替换了/usr/share/plymouth/deepin-logo中所有的图片,为啥还是没变
Reply View the author
Comments
jingle
2020-10-15 05:15
file:///usr/share/plymouth/themes  我记得是这里,明天问问设计大佬
stephenjose
deepin
2020-10-15 05:25
#9
https://bbs.deepin.org/post/203768
这个可以了,但是计算机属性头部的deepin logo,我替换了/usr/share/plymouth/deepin-logo中所有的图片, ...

里面就两组,loading_x.png    shutdown_x.png
但是这两组图片都是deepin的字样
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-10-15 06:09
#10
https://bbs.deepin.org/post/203768
这个可以了,但是计算机属性头部的deepin logo,我替换了/usr/share/plymouth/deepin-logo中所有的图片, ...

错了
默认是deepin-logo-ssd
你自己看看
sudo plymouth-set-default-theme
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-10-15 06:13
#11
https://gitee.com/deepin-communi ... os-release/main.cpp
系统信息获取位置都在这里了
Reply View the author
stephenjose
deepin
2020-10-16 19:56
#12
https://bbs.deepin.org/post/203768
https://gitee.com/deepin-community-store/dtkcore/blob/master/tools/deepin-os-release/main.cpp
系统信 ...

所以,如果要修改的话,那我应该到哪个位置去修改或者替换这个cpp文件呢?
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-10-16 20:33
#13
https://bbs.deepin.org/post/203768
所以,如果要修改的话,那我应该到哪个位置去修改或者替换这个cpp文件呢? ...

这个是告诉你dtk从哪里读取信息,不是让你改这个
Reply View the author
stephenjose
deepin
2020-10-16 20:50
#14
https://bbs.deepin.org/post/203768
这个是告诉你dtk从哪里读取信息,不是让你改这个

修改了deepin-ssd-logo   没有任何变化
Reply View the author