§GtkSourceView
GtkSourceView is a GNOME library that provides syntax highlighting for GNOME Builder and GNOME Text Editor.
§Install using Git
-
Clone the
gtksourceviewrepository:git clone https://github.com/dracula/gtksourceview.git -
Move into the cloned repository:
cd ./gtksourceview -
Create the directory
gtksourceview-5/stylesif it does not exist in$HOME/.local/share:mkdir -p $HOME/.local/share/gtksourceview-5/styles -
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
-
Download the
gtksourceviewarchive and extract it. -
Create the directory
gtksourceview-5/stylesif it does not exist in$HOME/.local/share. -
Move the
dracula.xmlfile from the extracted archive to GtkSourceView’s style folder$HOME/.local/share/gtksourceview-5/styles
§Activating theme
- Navigate to
GNOME Builder -> Preferences -> Appearance, orGNOME Text Editor -> Preferences -> Appearance. - Select
Draculaas 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.
