xzxiaoshan 发表于 2019-5-18 12:04:52

去除群晖NAS桌面和控制面板的小红点更新提示

本帖最后由 xzxiaoshan 于 2019-5-18 12:07 编辑

遇到几个奇葩的群友,看不惯有红点提示,非要弄掉(因为是黑裙,所以不能轻易升级系统)。
下面给出一个简单粗暴的方法,那就是把小红点图片换掉!换掉!换掉!

SSH登录群晖,这个不多说,下面的命令拷贝执行即可

# 1、处理控制面板里面系统升级的小红点【4行代码】
cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png.bak
cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png.bak
wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png
wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

# 2、处理控制面板里面系统升级的小红点(侧栏提示)【4行代码】
cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png.bak
cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png.bak
wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png
wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

# 3、直接把桌面的小红点提示也都撸掉【4行代码】
cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png.bak
cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png.bak
wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png
wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png


修改后,直接强制刷新浏览器访问群晖即可。

原贴详见:https://shanhy.blog.csdn.net/article/details/90313297




kingtxf 发表于 2019-5-18 13:03:06

这年头”强迫症患者“还真是多{:7_191:}

panrui 发表于 2019-5-18 14:31:09

这个没两下还真不好操作……,算了我还是继续看小红点。

shit6 发表于 2019-5-24 15:45:01

用切换到root吗?

warmsake 发表于 2019-5-25 12:45:48

本帖最后由 warmsake 于 2019-5-25 12:48 编辑

https://img.pter.club/images/2019/05/25/PWYQFQEAUUHCCX42F.png

6.2不知道问什么没有,文件确实被换了

d2482549 发表于 2019-5-25 19:27:54

我的6.2也试了 好像没搞定

anightwolf 发表于 2019-5-25 19:37:46

wget 后面的地址呢?

anightwolf 发表于 2019-5-25 19:50:02

论坛 把地址隐藏了 大家去原贴 复制命令

anightwolf 发表于 2019-5-25 19:52:24

本帖最后由 anightwolf 于 2019-5-25 19:57 编辑

cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png.bak
cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png.bak
wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png
wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.pngcp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png.bak
cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png.bak
wget -O /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png
wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.pngcp /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png.bak
cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png.bak
wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png
wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png https://raw.githubusercontent.com/xzxiaoshan/files/master/transparent.png

hamtalk 发表于 2019-5-26 10:20:38

当老大,不好意思,现在才来顶一下!其实你这个办法很好用。{:7_206:}

skgfxxw99 发表于 2019-5-26 17:55:59

大家一定要去看原贴,wget -o 那两行命令不完整,要加网址的

skgfxxw99 发表于 2019-5-26 17:57:55

还有一个问题,每个人的DSM版本不同,那个要替换的图片文件所在位置不一定就在贴子里所标的位置

skgfxxw99 发表于 2019-5-26 17:58:29

d2482549 发表于 2019-5-25 19:27
我的6.2也试了 好像没搞定

看一下我的回复

moshouhot 发表于 2019-6-27 17:48:20

本帖最后由 moshouhot 于 2019-6-27 17:49 编辑

6.2.1-23824确实有效 去原网站看代码
页: [1]
查看完整版本: 去除群晖NAS桌面和控制面板的小红点更新提示