Signing into Slack-Desktop Not Working on 4.23.0 64-Bit (Ubuntu)

Signing into slack-desktop not working on 4.23.0 64-bit (Ubuntu)

The answer provided by Boon is correct. I wanted to leave comment under that answer but apparently I need 50 points to comment so I can only add new answer...

After digging into the matter it sounds like the kde-open5 from kde-cli-tools is doing some funky lower-casing on first element of URL (slack://A/B/C becomes slack://a/B/C). This sounds like an old bug: https://bugs.kde.org/show_bug.cgi?id=429408

I suspect that slack changed in how they handle the links/links has changed - it aligns with slack upgrade in my case: slack-desktop:amd64 from 4.22.0 to 4.23.0.

Looking at process list:

  • the slack website asks browser to open link with upper case
  • kde-open5 is run with correct link
  • slack is run with lower-cased workspace

I've reported this to slack with all the details so I hope it will be fixed.

Workaround:

Just adding some details to what (Boon suggested)

  1. Run the quick script in bash:
while sleep .1; do ps aux | grep slack | grep -v grep | grep magic; done

  1. Try logging in to slack - accept login attempt in browser

  2. You should see login link in console:

kde-open5 slack://WORKSPACE_ID/magic-login/...
/usr/lib/slack/slack --enable-crashpad slack://workspace_id/magic-login/...

  1. Open the slack with correct link:
/usr/lib/slack/slack --enable-crashpad slack://WORKSPACE_ID/magic-login/...

Slack stuck on Sign-In page

It's definitely a KDE thing.
I have this problem as well, under KDE (on RHEL 8 and on Fedora 35).
It used to work, a few months ago.
Now, no matter what I have tried (including passing the callback URI by command-line, etc.) it simply does not process the login call.
I know there are a few interaction points between the Slack Electron client and the desktop environment (use of the keyring manager for example).
I tried very hard to debug this.

I think the next step would probably be to install older and older versions of the Slack app until I find the point at which it stopped working.

I'm not sure we'll get a ton of support from Slack on this, since RHEL 8 dropped official KDE support.

Browsersync IDE error Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

The CS50 IDE provides a "cloud-based Ubuntu environment", but that means "localhost" according to the browsersync output you're seeing isn't your localhost ― it's the localhost of that cloud environment.

(And the "External" direct IP access will be incorrect too, since it references a local network that your computer isn't attached to.)

The IDE might provide a way for you to access a server that's running in this way, but I suspect a simpler path is to run the start script directly on your local machine.

Sound file to text file-speech recognition for ubuntu, specifically pocketsphinx usage

I want a short list of one dictionary file, language model file, acoustic file listed please, that are compatible with each other.

Install the pocketsphinx-en-us package from the universe/sound section.
(It's available in Ubuntu 18.04 Bionic Beaver and later.
Prior to that, I believe it was called pocketsphinx-hmm-en-hub4wsj.)
This will put the model in /usr/share/pocketsphinx/model/en-us/.

After that, you can run commands like this (there's no need to use sudo):

pocketsphinx_continuous -infile myfile.wav 2>&1 > myspeech.txt | tee out.log | less

Or if you want to specify the folders manually:

pocketsphinx_continuous \
-hmm /usr/share/pocketsphinx/model/en-us/en-us \
-dict /usr/share/pocketsphinx/model/en-us/cmudict-en-us.dict \
-lm /usr/share/pocketsphinx/model/en-us/en-us.lm.bin \
-infile myfile.wav > myspeech.txt

Make sure you have a 16-bit, 16 kHz mono wav file, or convert if necessary:

ffmpeg -i myfile.mp3 -ar 16000 -ac 1 -sample_fmt s16 myfile.wav

You might not have the best accuracy from the generic model.
Here's set #1 of the Harvard Sentences:

One: The birch canoe slid on the smooth planks.
Two: Glue the sheet to the dark blue background.
Three: It's easy to tell the depth of a well.
Four: These days a chicken leg is a rare dish.
Five: Rice is often served in round bowls.
Six: The juice of lemons makes fine punch.
Seven: The box was thrown beside the parked truck.
Eight: The hogs were fed chopped corn and garbage.
Nine: Four hours of steady work faced us.
Ten: Large size in stockings is hard to sell.

and here's the output I got from my recording:

if one half the brcko nude lid on this good length
to conclude ishii to the dark blue background
three it's easy to tell the devil wow
for these days eat chicken leg is a rare dish
five race is often served in round polls
six the juice of the lemons makes flying conch
seven the box was thrown beside the parked truck
eight the hogs griffin chopped coroner and garbage
not in four hours of steady work the stocks
ten large son is in stockings his heart is the good

Related:

  • How to give an input wav file to pocket sphinx
  • Error when running pocketsphinx_continuous: Acoustic model definition is not specified
  • How can we convert .wav file to text by using pocketsphinx?
  • https://askubuntu.com/questions/837408/convert-speech-mp3-audio-files-to-text
  • https://askubuntu.com/questions/161515/speech-recognition-app-to-convert-mp3-to-text
  • https://old.reddit.com/r/linuxquestions/comments/bj54y0/speech_to_text_program/em6b7j9/
  • https://unicom.crosenthal.com/blog/entry/686


Related Topics



Leave a reply



Submit