Package Details: slack-electron 4.14.0-1

Git Clone URL: (read-only, click to copy)
Package Base: slack-electron
Description: Slack Desktop (Beta) for Linux, modified to use the system 'electron' package instead of its own
Upstream URL:
Keywords: desktop electron slack
Licenses: custom: Slack
Conflicts: slack-desktop
Provides: slack, slack-desktop
Submitter: whiredplanck
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 11
Popularity: 0.95
First Submitted: 2020-07-05 17:00
Last Updated: 2021-04-02 10:32

Latest Comments

1 2 3 Next › Last »

hpstg commented on 2021-04-26 12:32

The package by default still cannot complete the login procedure, regardless of DE or browser.

djmattyg007 commented on 2021-04-24 01:04

The latest update has made the PKGBUILD significantly more difficult to review.

Why were all references to "slack" updated to "${_product}"? It's longer to write and more difficult to read.

Can you please update the bin script to use '#!/bin/bash' instead of '#!/bin/sh'? Pacman has a hard dependency on bash, so everyone will always have it installed. There's no reason to use '#!/bin/sh' on an Arch Linux system.

pychuang commented on 2021-04-21 20:05

@Koffiepoeder It's working for me. I'm using Sway and simply executed slack --enable-features=UseOzonePlatform --ozone-platform=wayland.

hpstg commented on 2021-04-21 14:23

Still cannot login with the latest PKGBUILD, which looks to have the changes integrated. This is under X11 in Gnome.

Koffiepoeder commented on 2021-04-21 09:48

For those wondering, using this version to get slack to run under wayland did NOT work for me (i.e. changing /user/bin/slack with the chromium flags --enable-features=UseOzonePlatform --ozone-platform=wayland). Kind of expected, but at least worth a try.

pychuang commented on 2021-03-19 18:52

@mvdan A request for making it an orphan package is already pending. Once the request goes through, other users can take over the package and push new changes.

mvdan commented on 2021-03-19 14:46

What can be done to get this package updated and/or integrate @qubidt's changes?

qubidt commented on 2021-02-10 15:52

Updated the PKGBUILD to fix the issues others mentioned. Also updated slack versions and moved the installation directory to /usr/lib to make it more consistent with other electron packages. Not sure which change specifically fixed the issue but I can "sign in" successfully now.

slack-electron AUR diff:

diff --git a/PKGBUILD b/PKGBUILD
index 832ec5a..1a86dfd 100644
@@ -2,7 +2,7 @@
 # Maintainer: Vyacheslav Konovalov <>

 pkgdesc="Slack Desktop (Beta) for Linux, modified to use the system 'electron' package instead of its own"
@@ -14,22 +14,24 @@ provides=('slack' 'slack-desktop')
-            'ee973ec37027e96e140499cb85dd9587c9dab59bea5a240112c3792bd61a5846')
+            '4db11d083626a561129ca40e9cce7cc613c42223f138bb0136c62064c57471fd')

 prepare() {
   bsdtar -xf data.tar.xz

   # Enable slack silent mode and fix icon
-  sed -ri 's|^(Exec=.+/slack)(.+)|\1 -s\2|' $srcdir/usr/share/applications/slack.desktop
-  sed -ri 's/^Icon=.+slack\.png/Icon=slack/' $srcdir/usr/share/applications/slack.desktop
+  sed -ri 's|^(Exec=.+/slack)(.+)|\1 -s\2|' $srcdir/usr/share/applications/${pkgname%-electron}.desktop
+  sed -ri 's/^Icon=.+slack\.png/Icon=slack/' $srcdir/usr/share/applications/${pkgname%-electron}.desktop

 package() {
-  install -Dm755 "$pkgdir/usr/bin/slack"
-  install -Dm644 usr/lib/slack/resources/app.asar -t "$pkgdir/usr/share/slack"
-  cp -r usr/lib/slack/resources/app.asar.unpacked "$pkgdir/usr/share/slack"
+  install -Dm755 "$pkgdir/usr/bin/${pkgname%-electron}"
+  install -dm755 "$pkgdir/usr/lib/${pkgname%-electron}/"
+  cp -dr --no-preserve=ownership usr/lib/slack/resources/* "$pkgdir/usr/lib/${pkgname%-electron}/"
   install -Dm644 usr/share/applications/slack.desktop -t "$pkgdir/usr/share/applications"
   install -Dm644 usr/share/pixmaps/slack.png -t "$pkgdir/usr/share/pixmaps"
-  install -Dm644 "$srcdir/usr/lib/slack/LICENSE" "$pkgdir/usr/share/licenses/slack/LICENSE"
+  install -Dm644 "$srcdir/usr/lib/slack/LICENSE" "$pkgdir/usr/share/licenses/${pkgname%-electron}/LICENSE"
diff --git a/ b/
index 393104d..083824f 100644
--- a/
+++ b/
@@ -1,3 +1,3 @@
-#!/usr/bin/env sh

-exec electron /usr/share/slack/app.asar "$@"
+exec electron /usr/lib/slack/app.asar "$@"

crabvk commented on 2021-02-02 17:38

I had the same problem. Then I quit my job and removed slask. Problem solved.

brando56894 commented on 2021-02-02 14:36

This one won't login for me, after I click "Sign In" it brings me to the website which then tells me to login, which I do, then it tells me it wants to open Slack, and when it does it just opens a new instance telling me to sign in.

I removed this version and installed slack-desktop and it worked perfectly the first time.