Software & AppsOperating SystemLinux

How To Fix Slack Not Starting on Ubuntu 20.04 After Firefox Update

Ubuntu 16

In this article, we’ll explore how to troubleshoot and fix the issue of Slack not starting on Ubuntu 20.04 after a Firefox update. This problem can be frustrating, but with a few steps, we can help you get Slack back up and running.

Quick Answer

If Slack is not starting on Ubuntu 20.04 after a Firefox update, there are several solutions you can try. You can downgrade Slack to a previous version, use Slack with Chromium as a workaround, download an older version of Slack from the website, or check for any issues with your Nvidia video card drivers.

Understanding the Problem

After updating Firefox on Ubuntu 20.04, you might encounter an issue where Slack refuses to start. The console output may display error messages related to logging and a JavaScript error when trying to access help information.

Solution 1: Downgrading Slack

One of the most straightforward solutions is to downgrade Slack to a previous version. Some users have reported that version 4.26.1 works well.

To downgrade, you’ll need to use the following command:

sudo apt install slack-desktop=4.26.1

In this command, sudo allows you to run the command with administrative privileges. apt is the package handling utility in Ubuntu, install is the command to install a package, and slack-desktop=4.26.1 specifies the package to install, in this case, Slack version 4.26.1.

Solution 2: Using Slack with Chromium

If downgrading Slack doesn’t resolve the issue, you can try using Slack with Chromium as a workaround.

To do this, you can create a desktop file with the following content:

[Desktop Entry]
Name=Slack on Chromium
Exec=/usr/bin/chromium-browser --app=https://app.slack.com/client
Icon=slack
Type=Application
Categories=Network;WebBrowser;
StartupWMClass=crx_mpognobbkildjkofajifpdfhcoklimli

This command creates a file that allows you to run Slack in Chromium. The Exec line specifies the command to execute when you click on the desktop icon, which in this case is starting Chromium and opening Slack.

Solution 3: Downloading an Older Version of Slack

Another option is to download an older version of Slack directly from the Slack website. You can find the version number on the Slack release notes page.

Once you’ve identified the version you want, replace the $version placeholder in the following URL with the version number:

https://downloads.slack-edge.com/linux_releases/slack-desktop-$version-amd64.deb

After downloading the older version, you can install it using the following command:

sudo dpkg -i slack-desktop-$version-amd64.deb

In this command, dpkg -i is used to install a package, and slack-desktop-$version-amd64.deb is the package you’ve just downloaded.

Solution 4: Checking the Nvidia Video Card Drivers

If none of the above solutions work, it’s worth checking if there are any issues with your Nvidia video card drivers. Some users have reported that updating these drivers solved their problem with Slack.

To update your Nvidia drivers, you can use the following command:

sudo apt-get install nvidia-driver-$version

Replace $version with the latest version number.

Conclusion

In this article, we’ve explored several solutions to the problem of Slack not starting on Ubuntu 20.04 after a Firefox update. We hope these solutions help you get Slack running smoothly again. Remember, it’s always a good idea to keep your system and applications updated to the latest versions to avoid potential issues.

How can I check my current version of Slack?

To check your current version of Slack, open Slack and click on your workspace name in the top left corner. Then, click on "Preferences" in the dropdown menu. In the preferences window, scroll down to the "Version" section to see the current version of Slack you are using.

Can I use a different web browser instead of Firefox or Chromium to run Slack?

Yes, you can use other web browsers to run Slack. However, it is recommended to use either Firefox or Chromium as they are officially supported by Slack. Using other web browsers may result in compatibility issues or limited functionality.

How can I update my Nvidia video card drivers?

To update your Nvidia video card drivers, you can use the following command in the terminal:

sudo apt-get install nvidia-driver-$version

Replace $version with the latest version number available. It is recommended to check the Nvidia website or consult the documentation for your specific video card model to ensure you are installing the correct driver version.

Is it necessary to downgrade Slack after a Firefox update?

Downgrading Slack is not always necessary after a Firefox update. It is recommended to try other solutions mentioned in this article first, such as using Slack with Chromium or checking your Nvidia video card drivers. Downgrading Slack should be considered as a last resort if other solutions do not work for you.

Leave a Comment

Your email address will not be published. Required fields are marked *