LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-01-2010, 02:10 PM   #1
BGuy08085
LQ Newbie
 
Registered: Dec 2005
Location: NJ
Distribution: ubuntu 9.10
Posts: 1

Rep: Reputation: 0
making custom sound themes in ubuntu 9.10


Here's the scenario: Changing themes in ubuntu used to be a pretty straight forward process that almost anyone could do with basic tools.
basically you downloaded the sound you wanted and went to system/preferences/sound and changed the event you wanted to change to the new sound. Ubuntu 9.10 comes along and throws a major wrench in the works. Sure sound preferences is still there, but there's no way to select a specific sound event to change. in fact the only thing you can do is select a sound theme or choose an event sound. there is no way to change the selected theme. The only way i've come across to change a theme is manually. I'll use the starcraft theme available on http://www.gnome-look.org. First off download the file and save it on your desktop. Next it needs to be extracted to a specific location. For systemwide use "/usr/share/sounds" as root and for local user only use "/home/username/.local/share/sounds" username being your home folder. I'm not going to go into specifics on how to extract files where there's plenty of info readily available on how to do that. Once you've extracted the sound theme you can go to system/preferences/sound and click on the dropdown menu and select starcraft and that will change the system sounds. now say for instance that you want to make your own custom sound theme. if you look in the starcraft folder you'll see a sound folder and an index.theme file. the sound folder contains all the sounds for the theme and the index.theme references those files. use gedit to open index.theme

you'll see:

[Sound Theme]
Name=StarCraft
Directories=stereo

[stereo]
OutputProfile=stereo


you would need to change the name line to your custom theme name

[Sound Theme]
Name=Fantasia
Directories=stereo

[stereo]
OutputProfile=stereo

then save the file to your custom theme directory "fantasia" in my case.

your folder should have the index.theme file in it now
notice the Directories=stereo line in the index.theme file
that's where the system will look for the sound files.

you need to make a directory your custom sound theme folder
change to you custom sound theme folder. fantasia in my case
alt+f2 gksudo nautilus /usr/share/sounds/"custom sound folder" for systemwide
alt+f2 nautilus /home/brian/.local/share/sounds/"custom sound folder" for local
right click and select create folder.
name it sounds.
copy your custom sounds there and your done.
keep in mind that you have to rename your sounds to specific file names.

desktop-login.ogg = start up sound
desktop-logout.ogg = logout sound
play around and you'll figure out most of the sounds.

That's essentially where i'm at. my question is for the other events that i can't figure out. is there a way to list events that can be associated with sounds things like minimize maximize ect.
 
Old 03-19-2010, 08:13 AM   #2
timosa
Newbie
 
Registered: Mar 2006
Location: Finland
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
Please, check out the following page for more information

http ://freedesktop.org/wiki/Specifications/sound-theme-spec

The "The Sound Naming Spec" link contains list of standard names.

Timo
 
  


Reply

Tags
howto, ubuntu910



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
custom kernel ubuntu 8.04 no sound Person_1873 Linux - Hardware 1 06-29-2008 11:15 PM
Custom UI Themes Jayla Linux - Newbie 5 11-15-2007 03:39 PM
Making a realtek ALC850 sound chipset work under ubuntu 6.06 Lordandmaker Linux - Newbie 2 02-18-2007 11:29 PM
custom themes lukeleia3 Linux - Software 3 12-03-2004 09:16 AM
custom gnome themes? chiatello Linux - Software 3 07-11-2003 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration