How to Install Ghost Writer in Ubuntu 16.04

To Install Ghost Writer in Ubuntu 16.04

Ghostwriter is a markdown and distraction free text editor created by John Gruber. It is an open source and supports custom CSS data-style sheets for HTML preview. Installation of Ghost Writer in Ubuntu 16.04 is explained in this article.

Features

  • Full-screen mode
  • Focus mode
  • Theme creator
  • Spell checker
  • Live word counter
  • MultiMarkdown

Installation of Ghost Writer

First add the repository files with below command to install Ghost Writer.

root@linuxhelp:~# add-apt-repository ppa:wereturtle/ppa
 Ubuntu package archive for http://github.com/wereturtle/
 More info: https://launchpad.net/~wereturtle/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpzycz258l/secring.gpg'  created
gpg: keyring `/tmp/tmpzycz258l/pubring.gpg'  created
gpg: requesting key 9B3CCB19 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpzycz258l/trustdb.gpg: trustdb created
gpg: key 9B3CCB19: public key " Launchpad PPA for wereturtle"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

Next update the added repository with following command.

root@linuxhelp:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu xenial InRelease   
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]    
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]   
Hit:5 http://ppa.launchpad.net/gns3/ppa/ubuntu xenial InRelease                
Hit:6 http://ppa.launchpad.net/me-davidsansome/clementine/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/mystic-mirage/komodo-edit/ubuntu xenial InRelease
Hit:8 http://ppa.launchpad.net/starws-box/deadbeef-player/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu xenial InRelease      
Hit:10 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease    
Get:11 http://ppa.launchpad.net/wereturtle/ppa/ubuntu xenial InRelease [18.1 kB]
Ign:12 https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04  InRelease
Hit:13 https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04  Release
Get:14 http://ppa.launchpad.net/wereturtle/ppa/ubuntu xenial/main amd64 Packages [624 B]
Get:16 http://ppa.launchpad.net/wereturtle/ppa/ubuntu xenial/main i386 Packages [620 B]
Get:17 http://ppa.launchpad.net/wereturtle/ppa/ubuntu xenial/main Translation-en [524 B]
Fetched 210 kB in 3s (56.7 kB/s)     
Reading package lists... Done
W: https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04/Release.gpg: Signature by key 4497DA50FBD0158CCFD1996CEE611E131C42E360 uses weak digest algorithm (SHA1)
root@linuxhelp:~#

Now run the below command to install the Ghost Writer.

root@linuxhelp:~# apt-get install ghostwriter
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-28
  linux-headers-4.4.0-28-generic linux-image-4.4.0-21-generic
  linux-image-4.4.0-28-generic linux-image-extra-4.4.0-21-generic
  linux-image-extra-4.4.0-28-generic
.
.
.
.
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libqt5concurrent5:amd64 (5.5.1+dfsg-16ubuntu7.1) ...
Setting up ghostwriter (1.4.0-0ppa1~xenial1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
root@linuxhelp:~#

To open the installed ghost writer text editor, run the below command.

root@linuxhelp:~# ghostwriter

Now the text editor will display as given below.

Then create new file by selecting File -> New options in menu bar.

Here type your contents as you wish.

After editing the content, save the file by selecting File -> Save As option in the menu bar.

Next select the location to save and then type file name. Then select file type and click Save option.

To change themes, select Settings -> Themes.

Here select your theme and click Close option.

Now the editor theme has been changed.

If you want to change font, select Settings -> Font option.

Here you can change your font data-style and size. Click OK option to save changes.

Tag : Text Editor
FAQ
Q
What PPA to be added for stable Linux version?
A
For Ghost Writer use PPA"add-apt-repository ppa:wereturtle/ppa" for installation.
Q
Does Ghost Writer support Drag & Drop functionality?
A
Ghost Writer supports a Drag and drop functionalities.
Q
Does Ghost Writer support on Mac?
A
No. It’s a free Markdown editor for Windows and Linux only.
Q
what are all the formats does Ghost Writer supports for exporting?
A
Ghost Writer will automatically detect their installation, allowing you to export to HTML, Word, ODT, PDF, and more.
Q
Is Ghost Writer open source?
A
Ghost Writer comes as an open source to all the community.