Skip to content

Instantly share code, notes, and snippets.

@skoji
Created November 2, 2015 03:34
Show Gist options
  • Select an option

  • Save skoji/6778eb42312bc846573e to your computer and use it in GitHub Desktop.

Select an option

Save skoji/6778eb42312bc846573e to your computer and use it in GitHub Desktop.
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

skoji commented Nov 2, 2015

Copy link
Copy Markdown
Author

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

@innocarpe

innocarpe commented Nov 17, 2017

Copy link
Copy Markdown

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

@leviathandeathsroke

Copy link
Copy Markdown

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

@gsamat

gsamat commented Dec 29, 2017

Copy link
Copy Markdown

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

@marlonmantilla

Copy link
Copy Markdown

Slack was crashing and this helped a lot! thanks!

@curious3

Copy link
Copy Markdown

Also need to remove

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

@joshwisely

Copy link
Copy Markdown

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

@rhenning

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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

@steve-ross

Copy link
Copy Markdown

Never-mind... slack is down.

@igitthatalot

igitthatalot commented Aug 20, 2018

Copy link
Copy Markdown

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

lbenka commented Nov 27, 2018

Copy link
Copy Markdown

this got me out of connection loop, thanks!

@AskFeeds

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Tx :)

@nachiket

nachiket commented Nov 8, 2019

Copy link
Copy Markdown

This was useful to me when a group changed to two-factor auth and wouldn't let me sign back in. Was stuck in an infinite loop of login with a tiny time window to remove workspace which never seemed to work out. What a painful process, Slack!

@kephin

kephin commented Oct 8, 2020

Copy link
Copy Markdown

nice! thanks for help

@tsaiyan

tsaiyan commented May 26, 2021

Copy link
Copy Markdown

700 mb released, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment