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

遇到几个奇葩的群友,看不惯有红点提示,非要弄掉(因为是黑裙,所以不能轻易升级系统)。

下面给出一个简单粗暴的方法,那就是把小红点图片换掉!换掉!换掉!

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

# 1、处理控制面板里面系统升级的小红点

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、处理控制面板里面系统升级的小红点(侧栏提示)

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、直接把桌面的小红点提示也都撸掉

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

重启

如果后悔了想还原怎么办

cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png.bak /usr/syno/synoman/webman/modules/AdminCenter/images/default/1x/badge_control_panel.png

cp /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png.bak /usr/syno/synoman/webman/modules/AdminCenter/images/default/2x/badge_control_panel.png

cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png.bak /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_notification_num.png

cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png.bak /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_notification_num.png

cp /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png.bak /usr/syno/synoman/synoSDSjslib/images/default/1x/dsm5_badge_num.png

cp /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png.bak /usr/syno/synoman/synoSDSjslib/images/default/2x/dsm5_badge_num.png

你可能感兴趣的:(去除群晖NAS桌面和控制面板的小红点更新提示)