set volume at login [SOLVED]

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Giorgio
Level 2
Level 2
Posts: 52
Joined: Wed Feb 08, 2017 2:49 am
Location: Italy

set volume at login [SOLVED]

Post by Giorgio »

Normally volume at login is at value it has at logoff.
If volume is high sound at login can be disturbing specially if you're not alone.
Is there a way to set volume at login at say 20 % or 30 % regardless volume at logoff.
Last edited by LockBot on Sun May 28, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
vimes666
Level 6
Level 6
Posts: 1229
Joined: Tue Jan 19, 2016 6:08 pm

Re: set volume at login

Post by vimes666 »

Yes you can.
Go to <menu><preferences><startup-applications> and click Add.
Give it a name so you remember what it was for and use this command in the command field:

Code: Select all

pactl set-sink-volume 0 20%
click Add and close.
Reboot and check it.
If you think the issue is solved, edit your original post and add the word solved to the title.
Giorgio
Level 2
Level 2
Posts: 52
Joined: Wed Feb 08, 2017 2:49 am
Location: Italy

Re: set volume at login [SOLVED]

Post by Giorgio »

Thanks, it works.
Giorgio
Level 2
Level 2
Posts: 52
Joined: Wed Feb 08, 2017 2:49 am
Location: Italy

Re: set volume at login [SOLVED]

Post by Giorgio »

I discovered a bug: in Startup Application window there is Run now key that should allow checking the command. But pressing it force volume to 0 % instead to level in the command.
vimes666
Level 6
Level 6
Posts: 1229
Joined: Tue Jan 19, 2016 6:08 pm

Re: set volume at login [SOLVED]

Post by vimes666 »

I discovered a bug
Indeed you did :)
Feel free to report it to the Gnome project.
If you think the issue is solved, edit your original post and add the word solved to the title.
Giorgio
Level 2
Level 2
Posts: 52
Joined: Wed Feb 08, 2017 2:49 am
Location: Italy

Re: set volume at login [SOLVED]

Post by Giorgio »

Locked

Return to “Hardware Support”