Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98718 - skype doesn't play notification sounds
Summary: skype doesn't play notification sounds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 101409 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-11 16:47 UTC by Gabriel Devenyi
Modified: 2005-09-03 05:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Devenyi 2005-07-11 16:47:50 UTC
When using skype, if I call someone, or they call me, there is no ringing sound at my end, similarly for hanging up, there is no sound. During conversations there is no problem. I've missed quite a few calls because I don't hear the notification.

[ebuild   R   ] net-im/skype-1.1.0.20-r1  -arts -esd -static 0 kB


Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-ck3 x86_64)
=================================================================
System uname: 2.6.12-ck3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ffast-math -fomit-frame-pointer -ftracer -fweb -frename-registers -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -ffast-math -fomit-frame-pointer -ftracer -fweb -frename-registers -fforce-addr -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://gentoo.mirrored.ca/"
LDFLAGS=" -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://206.75.218.53/gentoo-portage"
USE="amd64 4kstacks 7zip S3TC X a52 aac acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib cairo ccache cdparanoia cdr chroot codecs crosscompile crypt css cups curl curlwrappers dbus dlloader dpms dvd dvdr dvdread emul-linux-x86 encode escreen exif fam fame ffmpeg fftw flac flash foomaticdb fortran ftp gd gdbm gif gimp gimpprint glitz gmp gnuplot gphoto2 gtk gtk2 idea imagemagick imap imlib imlib2 java javascript jce jikes joystick jp2 jpeg jpeg2k kde kdeenablefinal kdepim latex libsamplerate libwww live lm_sensors logitech-mouse lzo lzw lzw-tiff mad memlimit mime ming mmap mng mozilla moznocompose moznoirc moznomail mozp3p mozsha1 mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn ncurses net network nls no-old-linux no_wxgtk1 nodrm nomac nonfsv4 noreiserfs nowin nptl nptlonly nvidia offensive ogg oggvorbis openal opengl oscar oss pam pcre pda pdf pdflib perl pic plotutils png ppds python qt quicktime rar readline real rtc samba sblive sdl sftplogging sharedmem slang smime sndfile sockets sox speex spell ssl svg sysfs szip tetex theora threads tidy tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb usepackagedmakefiles userlocales uudeview vcd vcdimager vorbis wmf wsconvert xanim xine xinerama xml xml2 xpm xrandr xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 James Le Cuirot gentoo-dev 2005-08-10 10:46:24 UTC
Believe it or not, this actually appears to be because of the file locations and 
has nothing to do with sound systems. I read on the Skype forums that if you 
change to the Skype directory first then it works fine. I was skeptical but it 
actually worked! Replacing the /usr/bin/skype symlink with this does the trick 
just fine.

------------------------

#!/bin/bash

cd /opt/skype
exec ./skype

------------------------

Bug #101409 is a duplicate of this bug.
Comment 2 James Le Cuirot gentoo-dev 2005-08-10 16:25:46 UTC
Okay a few hours later and it's stopped working again!! *kills Skype*
Comment 3 Gustavo Felisberto (RETIRED) gentoo-dev 2005-08-12 17:21:40 UTC
*** Bug 101409 has been marked as a duplicate of this bug. ***
Comment 4 Jouni Rinne 2005-08-13 04:24:42 UTC
You are right, Skype binary (or the 'skype' script in /opt/skype) should NEVER
be called directly, but via a script:

#!/bin/sh
cd /opt/skype
./skype.bin

# or, if you use arts or esd
#./skype

Replace the skype symlink in /usr/bin with the script and make it executable. If
you do not, also the localization refuses to work (in addition to the sounds).
Hopefully someone fixes this on the next ebuild version.
Comment 5 Gustavo Felisberto (RETIRED) gentoo-dev 2005-08-13 12:20:31 UTC
Even if you have the latest version installed please re-emerge as i changed the
wrapper script a bit.
Jouni Rinne: The wrapper script already does those kinds of checks and much more.
Comment 6 Octavio Ruiz (Ta^3) 2005-08-16 05:26:33 UTC
Better solution is running skype in this way:

% SKYPE_RESOURCES_PATH=/opt/skype skype

or

% skype --resources-path /opt/skype

rather than, a cd /opt/skype && ./skype

Gustavo Felisberto: Which wrapper script you are talking about?
lrwxrwxrwx  1 root root 16 Aug 16 07:22 /usr/bin/skype -> /opt/skype/skype
Comment 7 Octavio Ruiz (Ta^3) 2005-08-16 05:28:50 UTC
Ugg sorry, % file /opt/skype/skype
/opt/skype/skype: Bourne-Again shell script text executable.

%-)

Anyway I don't have ringing sounds too. Same arch (amd64).
Comment 8 Gustavo Felisberto (RETIRED) gentoo-dev 2005-08-16 07:18:18 UTC
Well, the problem is that the version 1.2.0.11 did not use our wrapper script.
Our scrit already fixes all those skype issues (and some more). Please wait an
hour or so, emerge sync; emerge skype and try again. Please noice that:
ls -al /usr/bin/skype
lrwxrwxrwx  1 root root 16 Ago 16 17:26 /usr/bin/skype -> /opt/skype/skype

And not:
ls -al /usr/bin/skype
lrwxrwxrwx  1 root root 16 Ago 16 17:26 /usr/bin/skype -> /opt/skype/skype.bin

If all works well please comment so that i can close this bug.
Comment 9 Gustavo Felisberto (RETIRED) gentoo-dev 2005-09-03 05:21:52 UTC
Assuming all went ok.