If you have ever had any doubts about how to change the Sound login of Deepin, their Notifications, The sound when logging off, remove a sound, down the volume, I cut it or something else this is an appropriate entry for that purpose, could go expanding depending on the contributions that go by in the comments.
Sounds using Deepin are audio files like any other, with the peculiarity that audio format is ".wav".
These sounds belong to an audio theme, so it might be possible to create different sound themes, Deepin has only one audio track available located at:
With this theme sound work to make our modifications, different sounds are in the directory "stereo".
Here is a list of the sounds I admit, if anyone knows where sound others, I appreciate your contributions:
- audio-volume-change.wav- Equivalent to the sound you hear when you raise and lower the volume of the system and applications.
- camera-shutter.wav- Represents the sound you hear when taking a screenshot.
- desktop-login.wav- Equivalent to logon sound.
- desktop-logout.wav - Sound equivalent to logoff.
- device-added.wav- Represents the sound you hear when you insert a device.
- device-removed.wav- Represents the sound heard when removing a device.
- dialog-error.wav- This is the sound heard after jumping a window showing error.
- message.wav- is equivalent to the sound heard when a notification arrives.
- trash-empty.wav- It's the sound you hear when you empty the trash.
- x-Deepin-app-sent-to-desktop.wav- Equivalent to the sound heard from the dock when sent to desktop application (an icon of it is created).
Known this, we recommend making a copy of the theme sounds Deepin (not to damage anything) and work audio in isolation, outside the main directory, ie, will enter "/ usr / share / sounds» will copy the folder "Deepin "and attach it to the desktop.
Within our "Deepin" folder we copied to the desktop, enter a "stereo" and here begins the magic that we'll see later.
LEARNING TO TURN OFF SOUND EFFECT FROM TERMINAL LEAVING AN ENDORSEMENT
There are many ways to let some sound useless, here we will use an easy, simple and quick example, it is made from the terminal with an instruction command and works directly on the main directory.
cd /usr/share/sounds/deepin/stereo && sudo mv desktop-login.wav desktop-login.wav.bak && sudo touch desktop-login.wav
This instruction command does the following: In the directory "stereo" of "/ usr / share / sounds / Deepin" once there, renames the target sound (In this case the login "Desktop- login.wav ') adding a ".bak" after its extension ".wav" (that to Deepin can not recognize it as an audio file), making the file remains as "desktop-login.wav.bak" and finally creates a new audio file completely empty with the name "desktop-login.wav" so when you start Deepin session will try to play but being emptied not ring.
The original file renamed to ".wav.bak" in this case is as a backup for when they want to reverse the changes you have made and restore the sound logon to use this statement:
cd /usr/share/sounds/deepin/stereo && sudo rm desktop-login.wav && sudo mv desktop-login.wav.bak desktop-login.wav
This example can use it to silence any sound Deepin and have a backup of the original in the same folder "stereo".
LEARNING TO OFF WITH dconf-A SOUND EDITOR
Another less technical way to disable a sound is using dconf-editor, a simple, powerful and dangerous application (playing so not because) to customize Linux.
To install the application will open a terminal and post the instruction
sudo apt install dconf-editorThen we will open the application from the launcher Deepin or by typing the name of the package in the same terminal. Following this path 'path'
/com/deepin/dde/sound-effect/ We find the area where work on the application.
On this route are all sound effects system and switches that will enable us off effects, as in my case in the preceding image I disabled both the login and the closing of the session.
TRIMMING AN EXISTING Deepin SOUND WITH AUDACITY
"Audacity" is an excellent application for managing audio, we can work with it to cut existing sounds DeepinWe can install it from the store Deepin or the terminal by instruction
sudo apt install audacity
Once the application is open, drag the audio file from the backup folder you have created on the desktop to the timeline of "Audacity" as shown in the preceding image.
Then we find the point we want to start selecting our sound right click.
To increase the accuracy of sound starting point we can get closer to the peaks of audio pressing the combination Control + ScrollWhile you turn the "Scroll" up more will approach, on the other hand, the more you turn it down, smaller peaks will be. *expect peaks reach their lowest point before climbing for greater precision sound start.
Note that, once selected the starting point, depending on the side where the cursor is, an arrow will appear, with this arrow can stretch or contract a selection.
Select everything we do not like and delete. (You can do this by pressing Suppress orDelete).
Then we will have been with the remainder of the audio at the beginning of the timing chain and will export the audio file to the desktop modified under the ".wav" extension.
The next step is to put the file export of "Audacity" in / usr / share / sounds / Deepin / stereo.
We can do it from terminal as follows:
cd Desktop && sudo mv desktop-login.wav/usr/share/sounds/deepin/stereo
Also this process can be done manually by opening the file browser and follow the directory path "PATH" that corresponds, in the directory "stereo" must open the browser in a new window as administrator and drag the file you have modified desktop to "stereo" folder.
REDUCE THE VOLUME OF AN EXISTING AUDIO
To do so, we load our sound effect "Audacity" as we have done before.
We search the section 'effects' which serves to amplify the audio, as shown in the picture.
I will go trying to get the volume that suits our taste, what we do is turn down the decibel (Db) to the audio track to make it less strident, also have the button to preview your changes at all times, then proceed as previously shown, we will export as ".ogg" and we will move to the appropriate route.
GET NEW AND REPLACED SOUND EFFECTS EXISTING
Any sound you like, you can use it to replace existing note to be short sounds no more than five seconds preferably and if they are not in ".ogg" format must convert either opening the audio to "Audacity" and exporting it as ".ogg" or using some other audio format converter.
IMPORTANT:Do not forget the sounds have always backed up somewhere, you'll move from the desktop to a place that will not bother you.
Previously, audio files Deepin were ".ogg" and is for that reason that I have illustrative images, but completely ignore that format and focus on the future, focus on "wav".
I hope to serve you, until we meet again to read!