Part of September's purchases will go towards curing childhood cancer. Read more
Dracula Icon

GtkSourceView

Dracula Theme for GtkSourceView
gtksourceview - Theme Preview

GtkSourceView

GtkSourceView is a GNOME library that provides syntax highlighting for GNOME Builder and GNOME Text Editor.

Install using Git

  1. Clone the gtksourceview repository:

    git clone https://github.com/dracula/gtksourceview.git
  2. Move into the cloned repository:

    cd ./gtksourceview
  3. Create the directory gtksourceview-5/styles if it does not exist in $HOME/.local/share:

    mkdir -p $HOME/.local/share/gtksourceview-5/styles
  4. Finally, create a symbolic link from the local repository to GtkSourceView’s styles folder:

    ln -s $PWD/dracula.xml $HOME/.local/share/gtksourceview-5/styles

Install manually

  1. Download the gtksourceview archive and extract it.

  2. Create the directory gtksourceview-5/styles if it does not exist in $HOME/.local/share.

  3. Move the dracula.xml file from the extracted archive to GtkSourceView’s style folder $HOME/.local/share/gtksourceview-5/styles

Activating theme

  1. Navigate to GNOME Builder -> Preferences -> Appearance, or GNOME Text Editor -> Preferences -> Appearance.
  2. Select Dracula as the application theme.

If you do not see the Dracula in the theme overview, make sure that you have activated dark style in the application or in GNOME Shell.