Answer the question
In order to leave comments, you need to log in
How to run an application without a terminal, but with additional settings?
Through the terminal, I launch a discord with additional settings that remove microphone noise, but how can I set this up by default, for example, for the entire system or at least for one application?
Here is the command:
In `/etc/pulse/default.pa` specified the following configuration:
PULSE_PROP="filter.want=echo-cancel" discord
load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource
load-module module-echo-cancel source_name=discord sink_name=discord
set-default-source discord
Answer the question
In order to leave comments, you need to log in
The easiest way to set this variable is in ~/.profile (for a specific user) or /etc/environment (for everyone).
export PULSE_PROP="filter.want=echo-cancel"
And reboot the system. After that, you can launch Discord as usual through the GUI.
Well, for example, by creating an icon on the desktop
https://losst.ru/dobavlenie-yarlyka-v-ubuntu
In the line Exec=/path/to/executable/file, you can write anything, any parameters, incl. the path to bash that runs the script with the desired application and all the settings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question