N
N
Nikolai Dmitrievich2021-11-21 07:45:10
linux
Nikolai Dmitrievich, 2021-11-21 07:45:10

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


But they do not help and you have to run through the terminal

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergio, 2021-11-21
@Gxth_Nikolai

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.

A
AlexVWill, 2021-11-21
@AlexVWill

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 question

Ask a Question

731 491 924 answers to any question