Topic: Logout sound?
I had one with ubuntu, but now its gone in #!...is this on purpose? Is there a way to get it back?
CrunchBang Linux Forums » Help & Support (Stable) » Logout sound?
I had one with ubuntu, but now its gone in #!...is this on purpose? Is there a way to get it back?
It is on purpose, I believe the only sound in a standard #! installation is the 'crunch' at login.
You'll have to wait for someone more knowledgeable than me to tell you how to add a logout sound.
There is no logout sound provided with CrunchBang, except maybe the sound of silence as your system's fans shutoff! ![]()
You could maybe edit your GDM configuration files to included one?
There is no logout sound provided with CrunchBang, except maybe the sound of silence as your system's fans shutoff!
I have a Dell Mini...I have no fans ![]()
You cannot win 'em all! ![]()
Is there a way to add a logout sound in openbox?
I am not sure about this, as I have not tested it, but in theory it should be possible to string a few commands together like so:
play /path/to/logout.wav > /dev/null 2>&1 && gdm-control --shutdown && openbox --exit^ would require sox package for audio playback.
If it's a wav file you can use aplay instead of play. It comes with alsa, so you've probably got it already.
If it's not a WAV file, it can be translittered into a WAV. I just tried aplay in a terminal, and apparently it just needs the filename & path; it doesn't need any redirect at the end.
EDIT: Here's what's working for me on my Mini. The purple sounds are in #! by default (part of Pidgin I think?)
# Shutdown
def shutdown(self, widget):
os.system("gdm-control --shutdown && openbox --exit && aplay /usr/share/sounds/purple/logout.wav")I tried it with the aplay command at the front of the string, but that caused the logout dialog to hang on the screen until the logout sound had finished playing. The way it's written above, the sound plays while the shutdown splash starts. I suppose technically aplay should have a -q switch, but since it isn't running in a terminal...
Last edited by pvsage (2010-02-25 06:51:28)
Install espeak and you can have a shutdown message
espeak "goodbye $(whoami)"or something...
(Jaunty's espeak needs a bug workaround though: http://crunchbanglinux.org/forums/post/43321/#p43321 )
Posts [ 10 ]
CrunchBang Linux Forums » Help & Support (Stable) » Logout sound?
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.