 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

19th August 2012, 12:57 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 1,386

|
|
|
About sound on login / logout / shutdown
Hi all,
Fedora 17 64bit
No login and logout sound.
Login sound
---------------
following file found missing.
/usr/share/sounds/freedesktop/stereo/desktop-login.ogg
Where can I download it?
I have no idea of logout sound. Please help. TIA
B.R.
satimis
|

19th August 2012, 01:19 PM
|
 |
Registered User
|
|
Join Date: Jan 2011
Location: /home
Posts: 267

|
|
|
Re: About sound on login / logout / shutdown
It's not a bug..it's a feature...
__________________
regards, Thomas
|

19th August 2012, 01:20 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 1,718

|
|
|
Re: About sound on login / logout / shutdown
Try
Code:
yum --releasever=11 install sound-theme-freedesktop
|

19th August 2012, 04:09 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 1,386

|
|
|
Re: About sound on login / logout / shutdown
]
Quote:
Originally Posted by george_toolan
Try
Code:
yum --releasever=11 install sound-theme-freedesktop
|
# yum --releasever=11 install sound-theme-freedesktop
Code:
Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
http://ovirt.org/releases/stable/rpm/Fedora/11/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://ovirt.org/releases/stable/rpm/Fedora/11/repodata/repomd.xml
Trying other mirror.
Error: failure: repodata/repomd.xml from ovirt-stable: [Errno 256] No more mirrors to try.
---------- Post added at 11:09 PM ---------- Previous post was at 11:05 PM ----------
Quote:
Originally Posted by Smoking Tux
|
# rpm-Uvh - force http://mirror.yandex.ru/fedora/russi...c11.noarch.rpm
Code:
bash: rpm-Uvh: command not found...
# rpm -Uvh - force http://mirror.yandex.ru/fedora/russi...c11.noarch.rpm
Code:
Retrieving http://mirror.yandex.ru/fedora/russianfedora/releases/11/RFRemix/i386/os/Packages/sound-theme-freedesktop-0.2-3.fc11.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
error: skipping http://mirror.yandex.ru/fedora/russianfedora/releases/11/RFRemix/i386/os/Packages/sound-theme-freedesktop-0.2-3.fc11.noarch.rpm - transfer failed
I'm running 64bit Fedora 17 here.
Thanks
B.R.
satimis
Last edited by satimis; 19th August 2012 at 04:07 PM.
|

19th August 2012, 04:22 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 1,718

|
|
|
Re: About sound on login / logout / shutdown
|

19th August 2012, 04:45 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 1,386

|
|
|
Re: About sound on login / logout / shutdown
Quote:
Originally Posted by george_toolan
|
Clicked the second link to install the package
Code:
Failed to install file
Unknown error. Please refer to the detailoed report and report in your distribution bug tracker
More detail
Can't install /tmp/sound-theme-freedesktop-0.2-3.fc11.noarch.rpm as no transaction
Download the file;
sound-theme-freedesktop-0.2-3.fc11.noarch.rpm on /Downloads
# yum install sound-theme-freedesktop
Code:
Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
Package sound-theme-freedesktop-0.7-4.fc17.noarch already installed and latest version
Nothing to do
Shall I remove this package including dependencies completely? If YES, then HOW. TIA
B.R.
satimis
|

19th August 2012, 04:46 PM
|
 |
Registered User
|
|
Join Date: Jan 2011
Location: /home
Posts: 267

|
|
|
Re: About sound on login / logout / shutdown
Quote:
|
Error: failure: repodata/repomd.xml from ovirt-stable: [Errno 256]No more mirrors to try.
|
Try to disable this ovirt-repo, temorarily at least:
Code:
# yum --releasever=11 install sound-theme-freedesktop --disablerepo=ovirt-stable
respectively, if package sound-theme-freedesktop is already installed:
Code:
# yum --releasever=11 downgrade sound-theme-freedesktop --disablerepo=ovirt-stable
__________________
regards, Thomas
|

19th August 2012, 05:08 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 1,386

|
|
|
Re: About sound on login / logout / shutdown
Quote:
Originally Posted by Smoking Tux
Try to disable this ovirt-repo, temorarily at least:
Code:
# yum --releasever=11 install sound-theme-freedesktop --disablerepo=ovirt-stable
respectively, if package sound-theme-freedesktop is already installed:
Code:
# yum --releasever=11 downgrade sound-theme-freedesktop --disablerepo=ovirt-stable
|
# yum --releasever=11 downgrade sound-theme-freedesktop --disablerepo=ovirt-stable
Code:
Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
updates/metalink | 2.6 kB 00:00
updates | 4.5 kB 00:00
updates/primary_db | 6.6 MB 00:16
fedora/group_gz | 370 kB 00:00
updates/group_gz | 374 kB 00:00
fedora/primary_db | 10 MB 00:23
Resolving Dependencies
--> Running transaction check
---> Package sound-theme-freedesktop.noarch 0:0.2-3.fc11 will be a downgrade
---> Package sound-theme-freedesktop.noarch 0:0.7-4.fc17 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Downgrading:
sound-theme-freedesktop noarch 0.2-3.fc11 fedora 769 k
Transaction Summary
================================================================================
Downgrade 1 Package
Total download size: 769 k
Is this ok [y/N]: y
Downloading Packages:
sound-theme-freedesktop-0.2-3.fc11.noarch.rpm | 769 kB 00:02
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID d22e77f2: NOKEY
Public key for sound-theme-freedesktop-0.2-3.fc11.noarch.rpm is not installed
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
The GPG keys listed for the "Fedora 11 - x86_64" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: sound-theme-freedesktop-0.2-3.fc11.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
Failed. Still no login sound even after reboot
B.R.
satimis
|

19th August 2012, 05:18 PM
|
 |
Registered User
|
|
Join Date: Jan 2011
Location: /home
Posts: 267

|
|
|
Re: About sound on login / logout / shutdown
Try:
Code:
# yum --releasever=11 downgrade sound-theme-freedesktop --disablerepo=ovirt-stable --nogpgcheck
__________________
regards, Thomas
|

19th August 2012, 06:14 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 1,386

|
|
|
Re: About sound on login / logout / shutdown
Quote:
Originally Posted by Smoking Tux
Try:
Code:
# yum --releasever=11 downgrade sound-theme-freedesktop --disablerepo=ovirt-stable --nogpgcheck
|
# yum --releasever=11 downgrade sound-theme-freedesktop --disablerepo=ovirt-stable --nogpgcheck
Code:
Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
adobe-linux-x86_64 | 951 B 00:00
adobe-linux-x86_64/primary | 1.2 kB 00:00
adobe-linux-x86_64 2/2
Resolving Dependencies
--> Running transaction check
---> Package sound-theme-freedesktop.noarch 0:0.2-3.fc11 will be a downgrade
---> Package sound-theme-freedesktop.noarch 0:0.7-4.fc17 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Downgrading:
sound-theme-freedesktop noarch 0.2-3.fc11 fedora 769 k
Transaction Summary
================================================================================
Downgrade 1 Package
Total size: 769 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : sound-theme-freedesktop-0.2-3.fc11.noarch 1/2
Cleanup : sound-theme-freedesktop-0.7-4.fc17.noarch 2/2
Verifying : sound-theme-freedesktop-0.2-3.fc11.noarch 1/2
Verifying : sound-theme-freedesktop-0.7-4.fc17.noarch 2/2
Removed:
sound-theme-freedesktop.noarch 0:0.7-4.fc17
Installed:
sound-theme-freedesktop.noarch 0:0.2-3.fc11
Complete!
$ gnome-session-properties
[check] GNOME Login Sound
-> Save
-> Logout -> Login
Login sound comes back.
But still no logout sound. Performed following steps;
$ gnome-session-properties
-> Add
GNOME Login Sound
Command: (having tried 3 versions)
/usr/bin/canberra-gtk-play --id="desktop-logout" --description="GNOME Logout"
/usr/share/sounds/freedesktop/stereo/desktop-logout.ogg
/usr/bin/canberra-gtk-play --id="desktop-logout" --description="GNOME Logout" /usr/share/sounds/freedesktop/stereo/desktop-logout.ogg
-> Save
Logout -> Login -> Logout
Still no logout sound
Edit:
Code:
$ /usr/bin/canberra-gtk-play --id="desktop-logout" --description="GNOME logout"
it works with sound played.
B.R.
satimis
Last edited by satimis; 19th August 2012 at 07:25 PM.
|

19th August 2012, 10:12 PM
|
 |
Registered User
|
|
Join Date: Jan 2011
Location: /home
Posts: 267

|
|
|
Re: About sound on login / logout / shutdown
Quote:
Originally Posted by satimis
Edit:
Code:
$ /usr/bin/canberra-gtk-play --id="desktop-logout" --description="GNOME logout"
it works with sound played.
|
..that's one possibility, another one is to simply execute:
Code:
$ /usr/share/gnome/shutdown/libcanberra-logout-sound.sh
As far as I know it should be enough to add one of these commands to "/etc/gdm/PostSession/Default" to execute them at logout. However, in my case this file obviously will be completely ignored, and I've absolutly no clue why. Maybe there is one hardcorestillremainedwithgnomeuser  in this forum who is able to give some useful hint.
Since I'm not a Gnome user (anymore) I'm out at this point, sry..
__________________
regards, Thomas
|

19th August 2012, 11:19 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,107

|
|
|
Re: About sound on login / logout / shutdown
Even if it is played on logout, nothing says that pulse audio will still be around to pass it on. The user interface server is supposed to be terminated on logout, so it may not be there for anything to be played.
Another thing - the server may not yet be ready to function during login, so login sounds may also get lost...
|

20th August 2012, 01:51 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 1,386

|
|
|
Re: About sound on login / logout / shutdown
Quote:
Originally Posted by Smoking Tux
..that's one possibility, another one is to simply execute:
Code:
$ /usr/share/gnome/shutdown/libcanberra-logout-sound.sh
As far as I know it should be enough to add one of these commands to "/etc/gdm/PostSession/Default" to execute them at logout.
|
Still no chance.
Quote:
However, in my case this file obviously will be completely ignored, and I've absolutly no clue why. Maybe there is one hardcorestillremainedwithgnomeuser in this forum who is able to give some useful hint.
Since I'm not a Gnome user (anymore) I'm out at this point, sry..
|
I don't know why Fedora 17 makes this basic desktop feature so complicate. Anyway lot of thanks for your support.
B.R.
satimis
---------- Post added at 08:51 AM ---------- Previous post was at 08:42 AM ----------
Quote:
Originally Posted by jpollard
Even if it is played on logout, nothing says that pulse audio will still be around to pass it on. The user interface server is supposed to be terminated on logout, so it may not be there for anything to be played.
Another thing - the server may not yet be ready to function during login, so login sounds may also get lost...
|
I don't think Fedora 17 is user friendly for desktop. Just for curiosity I pursue the login and logout sound. I install Fedora 17 on this spare HD for testing Ovirt, the cloud.
I'll stop here together with my intent exploring "rotation desktop". It is quite simple on Ubuntu.
Thanks
B.R.
satimis
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 20:39 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|