Skip to content

Instantly share code, notes, and snippets.

@asgrim
Last active September 22, 2023 07:06
Show Gist options
  • Save asgrim/1a71b4c6f55a331cf8e7b3352a2095fb to your computer and use it in GitHub Desktop.
Save asgrim/1a71b4c6f55a331cf8e7b3352a2095fb to your computer and use it in GitHub Desktop.
  • If you use Slack via Snap, uninstall it and use the DEB version
  • Edit /usr/share/applications/slack.desktop (likely with sudo)
  • Replace the Exec=/usr/bin/slack %U line with:
Exec=env SLACK_DEVELOPER_MENU=true /usr/bin/slack %U
  • Launch it using the launcher as usual and right click somewhere (e.g. top left) and "Inspect element"
  • Go to the "Console" tab
  • Change the is_unified_user_client_enabled config to false, e.g using:
localStorage.setItem('localConfig_v2',
  localStorage
    .getItem('localConfig_v2')
    .replace(
      /"is_unified_user_client_enabled":true/g,
      '"is_unified_user_client_enabled":false'
    )
)
  • Ctrl + Shift + R to reload
  • Close the dev console
  • Sadly, you have to do this every time you launch Slack for now...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment