Results 1 to 5 of 5

Thread: Question about libcanberra and system sounds

  1. #1
    Join Date
    Apr 2010
    Location
    Chicago, IL
    Posts
    171

    Default Question about libcanberra and system sounds

    I'm running 11.4 with GNOME, and by default there are no login/logoff or shutdown noises. I didn't really care, until I finally noticed it and realized that it was kind of weird, and a little lacking in character.

    The login sound was enabled in startup applications, but running the command in a terminal said that the requested sound file wasn't found.

    After some searching, I found that the system sounds are in /usr/share/sounds/freedesktop/stereo; sure enough, there was no "desktop-login" sound. There is a file called "service-login.oga", but that's not what canberra was looking for, since the command defaults to "desktop-login".

    Is this a bug that it defaults to the wrong one? On a related note, I tried symlinking desktop-login.oga to point to service-login.oga, and it solved the error, but I still didn't hear any sound play.

    Guess I'm just a little confused about how openSUSE (or GNOME more likely) handles system sounds like login, and why it's having trouble playing.

    Thanks for any help or insight. =)

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Question about libcanberra and system sounds

    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Feb 2010
    Location
    Upstate New York, USA
    Posts
    480

    Default Re: Question about libcanberra and system sounds

    Quote Originally Posted by caf4926 View Post
    I have the same problem as the OP: no sound(s) at Gnome login or logout. The sound files are conspicuous by their absence, and the suggestion in Gnome Sound Preferences provides no solution, although it does correctly adjust the alert sound volume.

    The closest filename was "login.wav" in /usr/share/sounds.
    Lap: Gateway NV79, i5-430, 4GB, 2 x 500GB HD, Intel GMA HD
    openSUSE Leap 15.0 x64 + 42.3 x64, KDE 5.15.3, Ubuntu 16.04 LTS, Windows 7

    Test:: openSUSE 15.0, KDE Plasma, Windows/XP/SP3 guest.

  4. #4
    Join Date
    Apr 2010
    Location
    Chicago, IL
    Posts
    171

    Default Re: Question about libcanberra and system sounds

    Okay, I've confirmed that canberra works, and I can create a login sound by symlinking a file to /usr/share/sounds/freedesktop/stereo/desktop-login.oga, but that's still odd that there's nothing there by default.

  5. #5
    Join Date
    Jul 2008
    Location
    Palmas, Tocantins - Brasil
    Posts
    22

    Default Re: Question about libcanberra and system sounds

    Quote Originally Posted by kog13 View Post
    Okay, I've confirmed that canberra works, and I can create a login sound by symlinking a file to /usr/share/sounds/freedesktop/stereo/desktop-login.oga, but that's still odd that there's nothing there by default.
    Same problem with openSUSE 12.1 (gnome 3.2). Kde works normally!
    Thanks for the workaround:
    Code:
    HOME-LINUX:/usr/share/sounds # cd freedesktop/stereo/
    HOME-LINUX:/usr/share/sounds/freedesktop/stereo # ln -s service-login.oga desktop-login.oga
    Should I report a bug?

    regards,

    Gilberto

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •