Page 1 of 1

Log out sound ! Updated for 9.10

PostPosted: Sat Nov 21, 2009 11:33 am
by JOHNNYG
This works in Karmic,jaunty and intrepid ! :D Tested on ULTIMATE EDITION 2.2,2.3,2.4 --(Many times!) But should work on all "Ubuntu" distro's.?

FOR LOGOUT SOUND; please read all before starting;

- If someone has a better way let us know!

STEP 1.

- Open a terminal
- Hint:You can copy and past the commands with out the ">"

> gksu gedit /etc/gdm/PostSession/Default

- Insert the following line in the space between "}" and "exit 0"

> /usr/bin/canberra-gtk-play --id="desktop-logout" --description="GNOME Logout"

- Click save box at top left of window , close window.

STEP 2.

- Open synaptic and type in search > libcanberra

There should be 4 things installed if not install them, if so re-install them

#1 libcanberraO
#2 libcanberra-gtkO
#3 libcanberra-gtk-module
#4 gnome-session-canberra

Edit: I installed everything on the page
Edit#2 If your post session is only 2 lines long, Copy and past that to your favorite text editor and save to your home folder(as a backup), Then delete the old post session, Copy and past the script below to your now empty post session, and save, Then do the synaptic,libcanberra. NOTE sound script is already inserted below.
------------------------------------------------------------------------------------------------------------------------------

#!/bin/sh

PATH="/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH:/bin:/usr/bin"
OLD_IFS=$IFS

gdmwhich () {
COMMAND="$1"
OUTPUT=
IFS=:
for dir in $PATH
do
if test -x "$dir/$COMMAND" ; then
if test "x$OUTPUT" = "x" ; then
OUTPUT="$dir/$COMMAND"
fi
fi
done
IFS=$OLD_IFS
echo "$OUTPUT"
}
/usr/bin/canberra-gtk-play --id="desktop-logout" --description="GNOME Logout"
exit 0

-------------------------------------------------------------------------------------------------------------------------
- Now your logout sound should function; with the default logout.

- Close all open windows and reboot to test.It should work; It worked for me!

Re: Log out sound !

PostPosted: Mon Nov 23, 2009 10:40 am
by JOHNNYG
jrphorbin wrote:JohnnyG,

I haven't tried this yet but will have a go when I get back from the road in a few.
I have a question regarding the app/program used for editing sound. What are you using to do your work there?

Thank you
JR


This is a script I found that was written for intrepid, I am just testing and passing it on ! :D

Re: Log out sound !

PostPosted: Tue Nov 24, 2009 8:31 am
by JOHNNYG
UPDATED! :D