Aur Slack



Package Details: slack-desktop 4.15.0-1

Package Actions

  • View PKGBUILD / View Changes
Git Clone URL: https://aur.archlinux.org/slack-desktop.git (read-only, click to copy)
Package Base: slack-desktop
Description: Slack Desktop (Beta) for Linux
Upstream URL: https://slack.com/downloads
Licenses: custom
Submitter: ogarcia
Maintainer: ogarcia
Last Packager: ogarcia
Votes: 491
Popularity: 12.04
First Submitted: 2015-10-19 09:59
Last Updated: 2021-04-24 13:03

Install the pidgin-sipe AUR package. If you are unable to connect, try editing the User Agent value in the Advanced preferences tab. Further details can be found in the faq page of the SIPE wiki. Install the purple-skypeweb or purple-skypeweb-git AUR package. Install the slack-libpurple-git AUR package.

  • The links still opened in Firefox and caused Firefox to crash for some reason. Uninstalling Firefox made Slack unable to open links at all. So I tried the slack-electron package thinking that maybe the Slack team just borked their bundled electron build. Sure enough, slack-electron opens links in google-chrome just like I wanted it to.
  • If you enable AUR support, it is usually wise to also select, 'Check for updates from AUR' so software you install from AUR won't become outdated. Checking for 'development package' updates will allow updates on.-git packages which are built from the latest source code to also be updated. The 'Build directory' is where AUR packages will be built.
  • There are different ways you can install Slack on your system. Slack is available as an AUR package and snap package. Both are easy to follow. However, the AUR method is a bit risky as you need the help of an AUR helper to automate the updating process.

Dependencies (9)

  • alsa-lib(alsa-lib-x205ta, alsa-lib-git, alsa-lib-minimal-git, alsa-lib-a52pcm)
  • gtk3(gtk3-cosy, gtk3-adwaita-3-32-git, gtk3-git, gtk3-ubuntu, gtk3-no_deadkeys_underline, gtk3-patched-filechooser-icon-view, gtk3-typeahead, gtk3-classic)
  • nss(nss-hg)
  • xdg-utils(mimi-git, sx-open, busking-git, xdg-utils-git, linopen, xdg-utils-terminal-true-git, xdg-utils-mimeo, xdg-utils-handlr, xdg-utils-slock, mimi-bachoseven-git, mimejs-git)
  • libappindicator-gtk3(libappindicator-gtk3-ubuntu, libappindicator-bzr)(optional) – Systray indicator support
  • org.freedesktop.secrets (keepassxc-kde-fix, gnome-keyring-git, bitw-git, pass-secrets-git, keepassxc-git, gnome-keyring, keepassxc)(optional) – Keyring password store support

Sources (2)

ogarcia commented on 2020-02-06 11:44

Please, don't ask for add lsb-release as dependency. In Arch Linux this package is not needed to run Slack Desktop.

And before asking for any other dependency as make or patch or whatever, please read the wiki.

nhumrich commented on 2021-04-20 16:51

@alecmev I had the same issue. It appears to be an issue with firefox, not electron. Setting the environment variable GDK_BACKEND=wayland for firefox when I launch it seemed to fix the issue for me.

alecmev commented on 2021-03-31 14:09

Can't open links as of a week or two ago. Discord works, so this isn't an Electron and/or Wayland issue. My default browser is Firefox, and I have $BROWSER set to firefox, and xdg-open works fine by itself. Every time I click on a link in Slack, a new sh /usr/bin/xdg-open process is spawned, and they all stay there even after terminating Slack. Any pointers?

jbmorgado commented on 2020-11-30 11:06

Arch Aur Slack-desktop

Is missing a dependency: libappindicator-gtk3

Without this, it doesn't show the notification indicator in the status bar on Gnome.

yubo56 commented on 2020-11-18 00:19

I figured out the problem with the browser issue, Slack tries to xdg-open but the xdg-mime query (L827 of /usr/bin/xdg-open on my system) returns

/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en-US) brave-browser.desktop

Seems like some dingus at Slack decided to set the locale to 'en-US' instead of 'en_US' like all our locale.gen's support

The workaround is the same, just set the BROWSER manually, since xdg-open falls back to BROWSER if it can't find the correct *.desktop file to open the file (and it can't because the 'warning' in the message above is part of the desktop filename returned, which obviously will fail to parse). xdg-open by default falls back to a few default web browsers if it can't find an app, L928-930 on my system:

This also explains why everybody saw firefox being used instead of their default browsers, or google-chrome. Not sure why this doesn't affect slack-electron...

alexz commented on 2020-11-17 23:32

Why is it called Beta ? So confusing, really sounds like the nightly-build, where in fact is the latest stable build ... confusing

Tilley commented on 2020-11-17 19:36

Setting the browser environment variable to fix the Firefox link bug didn't work for me. The links still opened in Firefox and caused Firefox to crash for some reason. Uninstalling Firefox made Slack unable to open links at all. So I tried the slack-electron package thinking that maybe the Slack team just borked their bundled electron build. Sure enough, slack-electron opens links in google-chrome just like I wanted it to. Hope this helps someone else.

lira commented on 2020-11-13 23:05

@goddva, thanks for the reply and workaround.

For someone who might need:

goddva commented on 2020-11-13 18:23

@victortrac @Thornycrackers @lira - I had the same issue with Slack not using my default browser. A quick look of processing spawning, I do see that it uses xdg-open <URL>. But all my settings are correct, so it should open in Chrome... but no luck.

However, Slack do use the BROWSER environment variable if its set, so a BROWSER=google-chrome slack would be my workaround until it gets fixed, or I do have more time to see what really happens...

crystal_pepsi commented on 2020-11-13 11:04

After the install, slack doesn't seem to launch at all - I'm not really sure how to proceed here. I tried installing 4.10.3, but that didn't launch on my system either!

EDIT: Deleted my ~/.config/slack then tried again - slack now launches

lira commented on 2020-11-13 00:14

4.11.x broke the default browser for me too. I have the brave as my default and it was opening all the links in firefox. I downgraded to 4.10.3 and everything is working again.

Package Details: slack-electron 4.14.0-1

Package Actions

  • View PKGBUILD / View Changes
Git Clone URL: https://aur.archlinux.org/slack-electron.git (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: https://slack.com/downloads
Keywords:
Licenses: custom: Slack
Conflicts: slack-desktop
Provides: slack, slack-desktop
Submitter: whiredplanck
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 11
Popularity: 1.23
First Submitted: 2020-07-05 17:00
Last Updated: 2021-04-02 10:32
Aur slack

Dependencies (2)

Play In The Air Slackers

  • electron(electron-ozone, electron-beta-bin, electron-nightly-npm)
  • libappindicator-gtk3(libappindicator-gtk3-ubuntu, libappindicator-bzr)(optional) – for notification indicator in the status bar on GNOME

Sources (2)

djmattyg007 commented on 2021-04-24 01:04

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

Aur Slack

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

Can you please update the slack.sh 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.

Aur Slack

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

Aur slack login

@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

Aur Slack Vs

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.

Aur Slack Free

slack-electron AUR diff:

crabvk commented on 2021-02-02 17:38

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

Aur Slack

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.

djmattyg007 commented on 2021-01-28 03:44

Using '#!/usr/bin/env sh' in the shebang is pointless, because bash is a hard dependency of pacman. Everyone will always have it installed, so you may as well just refer directly to /bin/bash.