PINE64
Slack on PinePhone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Slack on PinePhone (/showthread.php?tid=14883)



Slack on PinePhone - Adam Seline - 09-13-2021

I got a pinephone and am playing around setting it up.  Presently on mobian,  which is solid overall.  There is one big thing I'd really like to have on my phone,  which is the ability to get slack notifications and send messages.  I know,  I can do this on desktop,  but I'm in some slack channels (including work) I'd like to be able to use on the go.

I saw this method:  https://www.artificialworlds.net/blog/2018/06/08/using-matrix-to-connect-to-slack-from-an-irc-client-on-ubuntu/ in a thread here,  and the author posted an improved method here:  https://www.artificialworlds.net/blog/2018/06/15/connecting-to-slack-from-an-irc-client-using-slirc/.

Before I go that route,  just want to check and see if you all have found any other ways to do this.  I am open to changing the os, if there is a distro that makes this easier.


RE: Slack on PinePhone - lacriz - 02-22-2022

(09-13-2021, 07:58 PM)Adam Seline Wrote: I got a pinephone and am playing around setting it up.  Presently on mobian,  which is solid overall.  There is one big thing I'd really like to have on my phone,  which is the ability to get slack notifications and send messages.  I know,  I can do this on desktop,  but I'm in some slack channels (including work) I'd like to be able to use on the go.

I saw this method:  https://www.artificialworlds.net/blog/2018/06/08/using-matrix-to-connect-to-slack-from-an-irc-client-on-ubuntu/ in a thread here,  and the author posted an improved method here:  https://www.artificialworlds.net/blog/2018/06/15/connecting-to-slack-from-an-irc-client-using-slirc/.

Before I go that route,  just want to check and see if you all have found any other ways to do this.  I am open to changing the os, if there is a distro that makes this easier.

Hi Adam,

sorry for this late reply. I found your post searching for slack here, so here we go:

I just tried to use slack in Firefox on the pine phone.
In theory, it should be possible to do that without problems (slack is a pure web / electron application, I am able to see all of slack in firefox on my mac).
In practice, when I enter https://slack.com/signin I always get redirected to the slack android download page.

I suspect this is due to some firefox useragent being tweaked (I am on postmarketOS). So far, I can not use Slack in Firefox Sad


RE: Slack on PinePhone - nickolas - 05-01-2022

As I have understood, we have the problems with GPU drivers or GPU acceleration. I have tried to install slack-desktop/electron/wayland and other applications, but no one worked. I am attaching the mistakes from Manjaro OS (wayland/factory and xorg/phosh) here, also, I have tried to use Mobian (phosh).
slack wayland errors:
gpu_init.cc(457)] Passthrough is not supported, GL is egl, ANGLE is
error:gl_factory.cc(146)] Requested GL implementation is not available
I have tried to use --use-gl=desktop (it isn't supported) and --use-gl=egl (it doesn't work), other attributes didn't achieve success, for example: --enable-features=UseOzonePlatform --ozone-platform=wayland, --ozone-platform=Xwayland, --ignore-gpu-blocklist, --enable-gpu-rasterization, --enable-zero-copy, --disable-gpu-driver-bug-workarounds, --enable-accelerated-video-decode, --enable-features=VaapiVideoDecoder.
When I tried to build chromium with VAAPI and nodejs from AUR I saw the next message:
linux/unbundle:default)ninja: build stopped: subcommand failed
failed obj/third_party/breakpad/client/exception_handler.o.d
Also, I have tried to install npm (by npm), gn packages, but it didn't help.
In manjaro phosh I received the next mistake:
unhandledpromiserejectionwarning error asar slack
unable to find Electron app at /usr/lib/slack/app.asar
usr/lib/electron17/resourses/default_app.asar/main.js
When I have install asar and did symbolic link to default config, I have seen the next:
authorization required, but no authorization protocol specified slack-electron
I accomplished xhost + and got stuck:
manjaro failed to connect to the bus: could not parse server address: unknown address (examples of valid types are tcp and on unix unix)
dbus is running and I don't see any problems, also, I attempted to launch it directly DISPLAY:=0 sudo slack --no-sandbox / DISPLAY:=0 slack
When I have attempt to launch slack in Angelfish or Firefox, I always get redirected to the slack android download page as was written above.
However, if I use chromium I can open the web page of slack and sign in, but it's uncomfortable and not ready to use, you need a keyboard for it, screen resolution is terrible and so on.

Does anybody have some success with slack here?

P.S. I use pinephone pro


RE: Slack on PinePhone - nickolas - 01-04-2023

I have found the answer how we can use Slack with Pinephone Pro now. We can't use it in Linux system because we don't have video drivers with 3d-aceleration but we can install waydroid (android 11) in mobian and start it there.
I am going to put the links with details here:
1) https://wiki.mobian.org/doku.php?id=waydroid I used method 2
2) https://askubuntu.com/questions/675154/dpkg-buildpackage-dpkg-source-no-upstream-tarball-found
it's going to fix the mistakes from the point 1
3) https://github.com/casualsnek/waydroid_script waydroid script for google certification
4) https://www.google.com/android/uncertified/ site where you can certify your device if needed


RE: Slack on PinePhone - hall - 03-23-2023

For the browser, change the user agent string (in Firefox it's the `general.useragent.override` setting in the `about:config` page) to some desktop value (e.g., I used the first entry from https://www.useragents.me) then load https://app.slack.com/client.


RE: Slack on PinePhone - nickolas - 12-20-2023

Ferdium contains the app Slack inside itself. But it still could be better. There are some problems with the other languages on the keyboard. You can find the information about it and Singlebox (I didn't find it for Mobian, but you can find it in AUR from Archlinux here: https://aur.archlinux.org/packages/singlebox-appimage) in Reddit: https://www.reddit.com/r/AsahiLinux/comments/10n8kst/how_to_run_slack_on_asahi_linux/.