Slack Arch



  1. Blackarch Linux
  2. Slack Archive

Package Details: slack-desktop 4.15.0-1

Arch Linux At 10 years old, Arch Linux is a relatively recent addition to the Linux fold. First launched in 2002, Arch was designed as a 'rolling release' operating system. This means that installing software is easier in Arch. As for the config files, Slack scatters them more than Arch does. The thing is that most distros share the location of the config files with Slack, whereas Arch combined most config files into one: /etc/rc.conf. There are some exceptions, such as wireless, fstab etc. 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.

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.08
First Submitted: 2015-10-19 09:59
Last Updated: 2021-04-24 13:03

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.

Blackarch Linux

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

Is missing a dependency: libappindicator-gtk3

Slack archiving

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

yubo56 commented on 2020-11-18 00:19

Blackarch

Slack Archive

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...

Diagram

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.

Arch

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.