Package Details: slack-desktop 4.11.1-1

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: 464
Popularity: 6.08
First Submitted: 2015-10-19 09:59
Last Updated: 2020-11-12 07:19

Pinned Comments

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.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

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:

    BROWSER=www-browser:links2:elinks:links:lynx:w3m
    if has_display; then
        BROWSER=x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:chromium:chromium-browser:google-chrome:$BROWSER

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:

vim /usr/share/applications/slack.desktop
[Desktop Entry]
...
Exec=env BROWSER=brave /usr/bin/slack -s %U
....

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.

Thornycrackers commented on 2020-11-12 23:08

@victortrac 4.11.x broke the default browser for me. I have Firefox as my default and it was opening all the links in chrome. I downgraded to 4.10.3 and everything is working again.

victortrac commented on 2020-11-12 16:48

@doctorcolossus - I've had similar issues upgrading slack in the past. Wiping out ~/.config/Slack fixed it for me.

victortrac commented on 2020-11-12 16:47

Did 4.11.x break the default browser for anyone? My default browser is brave, but after upgrading to slack 4.11.x, all links started opening in Firefox. All other applications are obeying the mime apps file properly, but slack-dekstop 4.11 completely ignores it. Downgrading to slack-desktop 4.10.x fixes the issue.