Skip to content

So I accidentally deleted my .config/pulse/ folder. Pulseaudio no longer works.

$ pulseaudio --start

W: [pulseaudio] authkey.c: Failed to open cookie file '/home/user/.config/pulse/cookie': No such file or directory  
W: [pulseaudio] authkey.c: Failed to load authorization key  '/home/user/.config/pulse/cookie': No such file or directory  

Tried reinstalling pulseaudio, no dice. Help?

4 points13 comments
Open on Reddit
About this post
Posted
Archived
Score
4 · 100% up
Kind
Text
ID
2htnr2

Author

45
posts
191
comments
10
media
View profile

14 comments

Have you tried completely resetting Pulse?

$ rm -rf /tmp/pulse* ~/.pulse* ~/.config/pulse
$ pulseaudio -k
$ pulseaudio --start
5 points

No dice, now I get the warnings twice in a row!

2 points

EDIT: Is pulse actually running, or will it not start up at all?

After clearing all of the above files again, what's the output of pulseaudio -kv; pulseaudio --start -v?

1 points

If you're a gnomer, i would say try as follow :

  • Create a new user
  • Connect as that new user,
  • Check the sounds works
  • copy the folder in your profile
  • reboot
  • check that it works and remove the other profile

I never did that, but it's worth a try.

1 points

The desktop environment would have nothing to do with this

1 points

hmm, so we're reaching the limit of what I know here.

So how are the default profile files initialized in the first place ? I've never search deeper as it always worked for me.

1 points

Uninstall and reinstall it? There's probably a pacman setting to let you break things. Otherwise, this will simply be very painful (but you won't delete your pulse files again!).

1 points

Tried already, as mentioned.

1 points
unknown author

Deleted before we saved it.

1 points

I don't have pulseaudio installed, so I can't verify this, but it would have to be able to re-create that directory for new users to be able to use audio. Do you have an asoundrc? Does it reference pulse audio?

1 points

try creating blank versions of those files and see how pulse treats them upon launch

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.