You are not logged in.

#1 2008-01-23 15:36:50

tankmcp
Member
From: Tulsa, OK
Registered: 2007-09-17
Posts: 54

no startup/login sound logout/shutdown sound cutoff

I am using Gnome and alsa/esd for sound events.  My problem is that the startup sounds do not play while the gnome splashscreen is opening (or ever) and the shutdown/logoff sound gets cut off (apparently as alsa/esd shuts down).  Is there a way to help them play.

This is obviously not a critical issue, but it does take away some of the polish of the arch experience.

All other sound events play (menus, commands, toggles, email, etc.)

I am up to date on all packages, but this has been a problem over the last six months (ie since I began using Arch).

Offline

#2 2008-01-25 12:33:12

drum
Member
From: Australia
Registered: 2007-04-06
Posts: 128

Re: no startup/login sound logout/shutdown sound cutoff

Hi tankmcp
, I wish I could help as I have a similar Gnome problem but none of my system sounds work until I restart the esd daemon after rebooting.
Even then the sounds only play when clicked on in system/preferences/sound/sounds and not as they are supposed to when using applications etc.
I have esd in my daemons in rc.conf.
I have posted on this topic 4 times without any help.
Hoping this will bring some expert help for us both.
I will be glad to supply any more info.
Thanks
smile


bebop lives

Offline

#3 2008-03-06 20:18:29

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Re: no startup/login sound logout/shutdown sound cutoff

I have the same problem. It's a strange behaviour. ps -A | grep esd tells me that esd is running. Sounds in applications are fine. But GNOME system sounds only work in system/preferences/sound/sounds and not in the situations they should come up.
Is there noone that could help us out here?

Offline

#4 2008-03-06 21:48:51

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: no startup/login sound logout/shutdown sound cutoff

I reckon that this is Gnome Bug 466458 – No sound in session (http://bugzilla.gnome.org/show_bug.cgi?id=466458).  I get no log in sound the first time I log into gnome after starting my computer, though it will play if I log out and then back in again, and the log out sound is always truncated when shutting down from within a gnome session.

EDIT: And I must be bored this evening because I went and applied the fix.  What worked here is the gnome-session-2.20-esd.patch from that
bug report (http://bugzilla.gnome.org/attachment.cg … ction=view) with the gnome-session PKGBUILD from CVS patched like this:

--- PKGBUILD.orig    2008-03-06 22:24:49.000000000 +0000
+++ PKGBUILD    2008-03-06 22:24:49.000000000 +0000
@@ -15,13 +15,15 @@ url="http://www.gnome.org"
 groups=('gnome')
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.20/${pkgname}-${pkgver}.tar.bz2
     gsm-dbus.patch
+    gnome-session-2.20-esd.patch
     gnome.desktop)
 md5sums=('f9d80e12c8fd79efa9786f617ba18bc7' '80f38a9a76938d08e6437fea24c841b3'
-     '152cddde06e16f16641746467f7ff965')
+     '3e95954af94cf557624b8fdbef62d44b' '152cddde06e16f16641746467f7ff965')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
   patch -Np1 -i ${startdir}/src/gsm-dbus.patch || return 1
+  patch -Np1 -i ${startdir}/src/gnome-session-2.20-esd.patch || return 1
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
           --with-reboot-command=reboot --with-halt-command=halt \
           --with-rsh-command=ssh \

Last edited by azleifel (2008-03-06 22:45:10)

Offline

#5 2008-03-16 16:02:05

coiote
Member
Registered: 2008-03-16
Posts: 11

Re: no startup/login sound logout/shutdown sound cutoff

I am with the same problem!
azleifel, This PKGBUILD not working.

How to solve this problem? thanks

Offline

#6 2008-03-18 07:38:50

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: no startup/login sound logout/shutdown sound cutoff

The patch suggested by azleifel works. I can now hear my gnome login and logout sounds.
Thanks azleifel big_smile

coiote, what errors did you encounter while building the package?

Last edited by biloky (2008-03-18 08:36:35)

Offline

#7 2008-03-18 16:16:08

coiote
Member
Registered: 2008-03-16
Posts: 11

Re: no startup/login sound logout/shutdown sound cutoff

biloky wrote:

The patch suggested by azleifel works. I can now hear my gnome login and logout sounds.
Thanks azleifel big_smile

coiote, what errors did you encounter while building the package?

hi, The message is this:

[luka@arch Desktop]$ makepkg -c PKGBUILD
PKGBUILD: line 1: ---: command not found

==> ERRO: An unknown error has occured. Exiting...

thanks

Offline

#8 2008-03-18 21:38:45

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: no startup/login sound logout/shutdown sound cutoff

coiote wrote:
biloky wrote:

The patch suggested by azleifel works. I can now hear my gnome login and logout sounds.
Thanks azleifel big_smile

coiote, what errors did you encounter while building the package?

hi, The message is this:

[luka@arch Desktop]$ makepkg -c PKGBUILD
PKGBUILD: line 1: ---: command not found

==> ERRO: An unknown error has occured. Exiting...

thanks

Sorry if this is a silly comment but what I posted was a patch for the gnome-session PKGBUILD.  It isn't the complete PKGBUILD I used, which was:

# $Id: PKGBUILD,v 1.42 2008/01/10 20:03:09 jgc Exp $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-session
pkgver=2.20.3
pkgrel=1
pkgdesc="The GNOME Session Handler"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
depends=('tcp_wrappers' 'libgnomeui>=2.20.1' 'gnome-control-center>=2.20.3' 'at-spi>=1.20.1')
makedepends=('perlxml' 'pkgconfig')
options=(!emptydirs)
install=gnome-session.install
url="http://www.gnome.org"
groups=('gnome')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.20/${pkgname}-${pkgver}.tar.bz2
    gsm-dbus.patch
    gnome-session-2.20-esd.patch
    gnome.desktop)
md5sums=('f9d80e12c8fd79efa9786f617ba18bc7' '80f38a9a76938d08e6437fea24c841b3'
     '3e95954af94cf557624b8fdbef62d44b' '152cddde06e16f16641746467f7ff965')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  patch -Np1 -i ${startdir}/src/gsm-dbus.patch || return 1
  patch -Np1 -i ${startdir}/src/gnome-session-2.20-esd.patch || return 1
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
          --with-reboot-command=reboot --with-halt-command=halt \
          --with-rsh-command=ssh \
          --with-at-spi-registryd-directory=/usr/lib/at-spi

  make || return 1
  make DESTDIR=${startdir}/pkg GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
  install -d -m755 ${startdir}/pkg/etc/X11/sessions
  install -m644 ${startdir}/src/gnome.desktop ${startdir}/pkg/etc/X11/sessions/gnome.desktop

  mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
  gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
  rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
}

Offline

#9 2008-03-18 23:17:46

coiote
Member
Registered: 2008-03-16
Posts: 11

Re: no startup/login sound logout/shutdown sound cutoff

Thank you, azleifel. This missing the gnome-session.install.

==> ERROR: Timing of installation (gnome-session.install) does not exist.

Thanks

Offline

#10 2008-03-27 03:57:14

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: no startup/login sound logout/shutdown sound cutoff

coiote,

The file gnome-session.install is in ABS. (http://wiki.archlinux.org/index.php/ABS)

What I did was: update my local abs tree (as root); copy the gnome-session folder from /var/abs/extra/gnome to my build folder; apply the patches there; and finally, makepkg.

Offline

Board footer

Powered by FluxBB