本帖最后由 xz_xiaoshan 于 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 wget -O /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.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 wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.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 wget -O /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png
修改后,直接强制刷新浏览器访问群晖即可。
原贴详见:https://shanhy.blog.csdn.net/article/details/90313297
|