widget- / slack-black-theme

A darker, more contrasty, Slack theme.
Apache License 2.0
1.75k stars 410 forks source link

Can't find or modify ssb-interop.js on Ubuntu 18.04 #68

Open andriisivak opened 6 years ago

andriisivak commented 6 years ago
  1. Locate ssb-interop.js on Ubuntu 18.04 screenshot from 2018-09-10 15-45-25
  2. sudo vi /snap/slack/6/usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js
  3. Can't modify any of these files: read-only.

I think, that I must modify another source in Ubuntu 18.04.

RobertLHarris commented 6 years ago

I didn't use the snap, but:

{0}:/home/robert/RLH-Env/Slack>ls -la /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js -rw-r--r-- 1 robert root 7670 Sep 10 10:16 /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js

What do you get with "find / -iname ssb-interop.js -ls" ?

andriisivak commented 6 years ago

screenshot from 2018-09-11 17-56-22

andriisivak commented 6 years ago

it seems that these files are temporary. and I must to find another main source

Oregand commented 5 years ago

Any joy on this @rodrian ?

andriisivak commented 5 years ago

@Oregand I uninstalled Slack and installed it again without snap. I could find ssb-interop.js and was able to apply the dark scheme. but the central window still had a white background. and I was forced to remove the dark scheme. so sorry

Oregand commented 5 years ago

@rodrian

Thats no problem, I tried the same steps and ended up with a similar result and so hand to uninstall the theme too. More trial and error is needed.

Thank you so much for getting back to me!

stantonxu commented 5 years ago

I just noticed that in the more recent update of Slack on Mac, this file doesn't exist any longer. So the workaround of appending a eventlistener at the bottom of ssb-interop.js file is no longer valid.

Meantime, Slack just released the dark mode officially supported versions of iOS and Andriod, saying MacOS version for it will come later.

lysandroc commented 5 years ago

I have the same problem @stantonxu from Linux with Slack v4.0.0