Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pulseaudio and i3-gaps [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
braz2kuk
n00b
n00b


Joined: 26 Apr 2007
Posts: 60

PostPosted: Fri May 03, 2019 1:59 pm    Post subject: Pulseaudio and i3-gaps [Solved] Reply with quote

Hi,

I am using i3-gaps with 5.0.9 and when first loading the system if i launch a browser or spotify i get no sound, it's only after i launch pavucontrol and then launch a browser or spotify do i get audio. Therefore as i understand pulseaudio is not getting launched with i3, is there a way to spawn pulseaudio when launching i3?

Also is this normal behaviour?

Thanks


Last edited by braz2kuk on Fri May 03, 2019 3:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5785
Location: Removed by Neddy

PostPosted: Fri May 03, 2019 2:11 pm    Post subject: Reply with quote

I am using awesomeWM and I have this in my startup script to mitigate what you are experiencing (run start-pulseaudio-x11)
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23553
Location: here

PostPosted: Fri May 03, 2019 2:12 pm    Post subject: Reply with quote

I'm not sure but try to add start-pulseaudio-x11 in your .xinitrc
man start-pulseaudio-x11:
NAME
       start-pulseaudio-x11 - PulseAudio Sound Server X11 Startup Script

SYNOPSIS
       start-pulseaudio-x11 [pulseaudio options]

DESCRIPTION
       This  script  starts  pulseaudio  (if  not  already  running) and loads modules to publish access credentials to the PulseAudio server in the X11 root window and to synthesize X11 media key events on cork/uncork
       requests. Additionally it registers PulseAudio to the X11 Session Manager.

       All arguments are directly passed to pulseaudio.

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
braz2kuk
n00b
n00b


Joined: 26 Apr 2007
Posts: 60

PostPosted: Fri May 03, 2019 3:41 pm    Post subject: Reply with quote

Guys thanks this has solved my issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum