Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
remove Slack settings (OS X)
rm -rf ~/Library/Application\ Support/Slack/
rm -rf ~/Library/Containers/com.tinyspeck.slackmacgap/
rm -rf ~/Library/Preferences/com.tinyspeck.slackmacgap.plist
rm -rf ~/Library/Saved\ Application\ State/com.tinyspeck.slackmacgap.savedState
rm ~/Library/Safari/LocalStorage/*slack*
@skoji

This comment has been minimized.

Copy link
Owner Author

commented Nov 2, 2015

When Slack.app causes kernel panic, this worked for me.

@innocarpe

This comment has been minimized.

Copy link

commented Nov 17, 2017

This isn't working now... 🤔 (2.9.0) I had kernel panic now 😭

@leviathandeathsroke

This comment has been minimized.

Copy link

commented Dec 15, 2017

Saved me from an infinite loop of nonsense where my entire window was a connection error... but I was connected.

@gsamat

This comment has been minimized.

Copy link

commented Dec 29, 2017

Saved me from slow typing on MacOS, thank you very much!

@marlonmantilla

This comment has been minimized.

Copy link

commented Jan 30, 2018

Slack was crashing and this helped a lot! thanks!

@curious3

This comment has been minimized.

Copy link

commented Mar 24, 2018

Also need to remove

rm ~/Library/Preferences/com.tinyspeck.slackmacgap.helper.plist

@joshwisely

This comment has been minimized.

Copy link

commented Apr 4, 2018

In linux, Ubuntu specifically, the Slack config files are stored here:
~/.config/Slack

@rhenning

This comment has been minimized.

Copy link

commented Jun 18, 2018

Simply removing prefs didn't fix my Slack connection woes. This cleaned up all of the local bits and bobs and got things going again. Thanks! 👍

@steve-ross

This comment has been minimized.

Copy link

commented Jun 27, 2018

Didn't work for me... still in a re-connect loop

@steve-ross

This comment has been minimized.

Copy link

commented Jun 27, 2018

Never-mind... slack is down.

@igitthatalot

This comment has been minimized.

Copy link

commented Aug 20, 2018

Worked great when a users OSX version of slack was downloading all files as message.html for some reason. This script gives you a clean slate and fixed the issue. thanks.

@lbenka

This comment has been minimized.

Copy link

commented Nov 27, 2018

this got me out of connection loop, thanks!

@AskFeeds

This comment has been minimized.

Copy link

commented May 14, 2019

From 10.11 onwards, macOS protects certain folders by using SIP (System Integrity Protection). It may not be able to 'rm' the kext from terminal.

I still use the manual way to remove the Slack desktop app from Mac, following these steps:
~/Library/Application Support/Slack
~/Library/Saved Application State/com.tinyspeck.slackmacgap.savedState/
~/Library/Preferences/com.tinyspeck.slackmacgap.plist/
~/Library/Preferences/com.tinyspeck.slackmacgap.helper.plist/
~/Library/Logs/Slack/
The ~/Library/Caches/ and ~/Library/Containers/ directories can also contain Slack service files.

@stantronic

This comment has been minimized.

Copy link

commented Oct 14, 2019

Tx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.