Build the Slack Chat Desktop App for all Linux Distributions with nodejs

What is the Slack – Chat ?

Original Text from Wikipedia

Slack is a cloud-based team collaboration tool co-founded by Stewart Butterfield, Eric Costello, Cal Henderson, and Serguei Mourachov. Slack began as an internal tool used by their company, Tiny Speck, in the development of Glitch, a now defunct online game. While no longer using an IRC backend, Slack offers a lot of IRC-like features: persistent chat rooms (channels) organized by topic, as well as private groups and direct messaging (again, historically based on IRC). All content inside Slack is searchable, including files, conversations, and people. Slack integrates with a large number of third-party services and supports community-built integrations.Major integrations include services such as Google Drive, Trello, Dropbox, Box, Heroku, Crashlytics,GitHub, Runscope and Zendesk.

Original Comment at the Slack Webpage
Team communication for the 21st century.
On the Wikipedia page can you read it has support for all Linux Distributions. But at the official Slack Download page ( https://slack.com/downloads )  you see only Ubuntu and Fedora packages to download .. Other systems? – Not  of course yet
What is the difference between working with Slack in a Web Browser or with a Desktop App? There are no differences but the Desktop App is faster.

This slideshow requires JavaScript.

For Ubuntu and Fedora you can download it from here:
When you use a other Linux Distribution do the following:

nodejs Setup

Pisi Linux:

1.
sudo pisi it nodejs

Arch Linux:

1.
pacman -S NPM nodejs

FreeBSD and OpenBSD:

1.
2.
3.
4.
/ Usr / ports / www / node
cd / usr / ports / www / node-devel / && make install clean
pkg_add-node-devel
pkg install node

For Gentoo:

1
emerge nodejs

For NetBSD:

1.
2.
cd / usr / pkgsrc / lang / nodejs && make install
PCI is -y install nodejs

for openSUSE and SLE:

1.
2.
3.
4.
sudo zypp ar \
  http: // download .opensuse.org / repositories / devel : / languages : / nodejs / opensuse_13 .1 / \
  Node.js
sudo zypp is in nodejs nodejs-devel

Slack (plaidchat) Setup

We download and install now the Slack Chat:

1.
npm install -g plaidchat

In some distributions the installation manager  require an authorization (sudo).

Finally, let’s start  slack. Terminal:

1.
plaidchat

Create a .desktop file and a shortcut for Slack

Open a Text Editor create a new file and add the following text in it:

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
[Desktop Entry]
Name = Slack
Comment = Linux Desktop interior of Slacker app
Exec = plaidchat
Icon = / usr / lib / node_modules / plaidchat / app / images / app-32 .png
Terminal = 0
Type = Application
X-multipleargs = True
Encoding = UTF-8
Categories = Network;

After it, save we the file that we have created as slack.desktop, then copy we with the Terminal command the slack.desktop file in the / usr / share / applications directory’s.

1.
sudo cp slack.desktop to / usr / share / applications /

 

The original Post is written in Turkish Language and you can found it here: linuxdiyari.com

It was written by Sami Babat, many thanks for it

Advertisements