반응형
# sudo apt-get install --reinstall ubuntu-sounds ubuntu-touch-sounds
# sudo vi /usr/share/gnome/autostart/libcanberra-login-sound.desktop
[Desktop Entry]
Type=Application
Name=GNOME Login Sound
Comment=Plays a sound whenever you log in
Exec=/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
OnlyShowIn=GNOME;Unity;
AutostartCondition=GSettings org.gnome.desktop.sound event-sounds
X-GNOME-Autostart-Phase=Application
X-GNOME-Provides=login-sound
X-GNOME-Autostart-enabled=true <-- false에서 true로 변경
NoDisplay=true
저장
참고: shutdown 사운드 관련 <- 관련 내용 확인하고 건드려 봤으나 작동하지 않아서 좌절(스크립트 직접 실행하면 소리는 나옴 -0-)
# sudo vi /usr/share/gnome/shutdown/libcanberra-logout-sound.sh
#!/bin/sh
/usr/bin/canberra-gtk-play --id="desktop-logout" --description="GNOME Logout" --file=/usr/share/sounds/ubuntu/stereo/desktop-logout.ogg
저장
반응형
'OS > Linux' 카테고리의 다른 글
[Linux] Terminal Session KILL (0) | 2021.08.17 |
---|---|
[CentOS 7] Runlevel 변경 (0) | 2021.07.04 |
[RHEL] How to activate your no-cost Red Hat Enterprise Linux subscription (0) | 2021.04.02 |
[Linux] CentOS 대체 준비 (0) | 2021.01.15 |
[Ubuntu 18.04] IDLE Python IDE Installation (0) | 2020.05.24 |