Is there any way to make "pactl" command permanent?

Hello, this is my first post here. I've recently started linux (kde neon) and one thing I like in windows is to push my volume past the max through EQ. On linux I didn't find anything at first but after some googling I discovered the "pactl" command, now the problem is I can't make it stick. Meaning whenever I type,

pactl set-sink-volume 0 150%

It increases the volume like I want it to but if I just turn down the volume just a bit it defaults back to 100%, I guess what I want to do is to make the max 150% and everything in between. Any help regarding this will be appreciated, Thanks in advance!

Posted Dec 12, 2016, 4:38 AM UTC

86
_-Justin-_•

After you get it set the way you like it try sudo alsactl store. Alternatively, try adding your pactl command to ~/.xinitrc

1
Syborg49OP•

Sorry, tried that; didn't work. It seems to default to 100%

1
[deleted]•

[deleted]

1
Syborg49OP•

I'm sorry I'm a bit new to all these, Can you tell me where can I find this "xinitrc" or how do I add "execstartpre=/usr/bin/sleep 30" ?

1
_-Justin-_•

sorry.. that execstartpre was to another post.. dunno why it showed up here instead.. .xinitrc is a startup script in your home folder. You may need to make it. Actually may need to use .xsessionrc instead since it appears most display managers don't run .xinitrc on login. You could also set it up in your startup applications.

1
cod3r__•

pulse config file is /etc/pulse/daemon.conf

Might see if there is a way to permanently set the parameters in that file.

man page for said file: http://manpages.ubuntu.com/manpages/trusty/man5/pulse-daemon.conf.5.html

Also seems to be this file: /usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common

Found something on google that may sort of relate to you: https://askubuntu.com/questions/589245/i-need-help-configuring-pulseaudio-equalizer-default-pa

1
KotelOne•

Make a script that check once a min or sec for the level of the volume and then in the cript make it change to full whenever it drops down... I think it could do the work..not sure though if this is effective in terms of resources..

0