Ubuntu20.04上切换系统声音( by quqi99)

作者:张华 发表于:2020-07-07
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明

自从irccloud切换到mattermost之后, 消息来了, 不能自定义声音文件了, 默认的系统提示声太小, 想着定制化系统声音, 如下:

1, Download 'Smooth' sound theme from - https://www.gnome-look.org/p/1187979/
2, tar -xf Smooth_v1.2.tar.gz && sudo cp -r Smooth /usr/share/sounds/
3, gsettings set org.gnome.desktop.sound theme-name Smooth #or use dconf-editor to select 'org/gnome/desktop/sound/theme-name'
4, gsettings reset org.gnome.desktop.sound theme-name  #reset to default value 'Yaru'

其它设置
1, turn off the beep only in bash tab-complete
bash -c ‘cat > ~/.inputrc’ << EOF
set bell-style none
EOF
bind -f ~/.inputrc #to reload it

2, turn off the beep in vim as well
bash -c ‘cat >> ~/.vimrc’ << EOF
set belloff=all
EOF

bash -c ‘cat >> /etc/vim/vimrc’ << EOF
set vb t_vb=
EOF

你可能感兴趣的:(Linux,Application)