Slack on PinePhone
#1
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/20...on-ubuntu/ in a thread here,  and the author posted an improved method here:  https://www.artificialworlds.net/blog/20...ing-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.
  Reply
#2
(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/20...on-ubuntu/ in a thread here,  and the author posted an improved method here:  https://www.artificialworlds.net/blog/20...ing-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
  Reply
#3
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
  Reply
#4
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/d...ball-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
  Reply
#5
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.
  Reply
#6
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/comm...ahi_linux/.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 30 22,836 Yesterday, 11:18 AM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 217 02-23-2024, 07:27 AM
Last Post: Touchwood
  Struggle to install LibreOffice on the PinePhone Peter Gamma 48 22,672 11-24-2023, 07:02 AM
Last Post: Peter Gamma
  Which word processor to choose for the Pinephone? Peter Gamma 8 1,638 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 99,289 11-17-2023, 08:37 AM
Last Post: Uturn
  Using Signal on PinePhone in mid-2023? dante404 45 11,454 11-17-2023, 04:23 AM
Last Post: Kevin Kofler
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 777 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 1,773 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  What File Manager Options Are There For The Pinephone? pinephoneuser22 7 2,062 10-18-2023, 08:37 AM
Last Post: luppivega
  Does Ubuntu modify a Pinephone SD boot card? Peter Gamma 0 727 10-05-2023, 09:18 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)