Skip to main content

Slackfix Wrapper Script

Project description

Slackfix

Wrapper script, attempts to execute Slack with the correct URI argument.

The electron environment in Tumbleweed seems to suffer from a flaw similar to kde-open5 [1], that results in Slack failing to open the workspace correctly. It mangles the host part of the URI into lowerspace, which is Slack's undoing.

Background

Generic URL handling is defined in RFC 3986: URI Generic Syntax, where section 3.2.2 says: "The host subcomponent is case-insensitive"). The electron environment appears to conform with that in newer releases.

The simplest place to solve this would be also on the Slack side by accepting a lower case host part of the internal slack:// URI, or it shouldn't use any host part at all (slack:///...).

Since they are aware of this issue since several month, we cannot rely on a fix provided anytime soon [3], so here's a (hopefully) suitable antidote.

External resources

[1] KDE issue: https://bugs.kde.org/show_bug.cgi?id=429408 [2] https://www.rfc-editor.org/rfc/rfc3986 [3] With the usual outcome: we do not support openSUSE Tumbleweed, use the snap packages! Needless to say, they suffer from the same issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slackfix-0.1.2.tar.gz (11.6 kB view details)

Uploaded Source

File details

Details for the file slackfix-0.1.2.tar.gz.

File metadata

  • Download URL: slackfix-0.1.2.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.28.2 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.16

File hashes

Hashes for slackfix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 02da78c14e2b375d8debde00535f9c4609bf8e8fadd80453c27aba29654a6a34
MD5 f0d41831bb329c4b876890c446e6c023
BLAKE2b-256 2e19c02b93725cc0fc2b72510e289be225daccfff26f85b5bf4a1354fa6106c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page