3

I have two computers, each with Geany. One has the colour scheme that I like for Python, the other one has some sort of basic scheme with only keywords highlighted. I've looked and looked without any success at filetypes.python and filetypes.common. There's nothing in colorschemes apart from alt.conf.

Where do I find this?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Psionman
  • 3,084
  • 1
  • 32
  • 65

2 Answers2

1

Here's what you do for Geany versions 20 and 21.

  1. Find which version of Geany you have (menu HelpAbout).

  2. Visit this site:
    https://github.com/codebrainz/geany-themes

  3. Scroll to Introduction section and download a file for your Geany version:

  • geany-themes-0.20.zip - for version 20
  • geany-themes-0.21.1.zip - for version 21
  1. Unzip the downloaded file and navigate to its colorschemes directory. You will see a bunch of files with .conf extention. Copy all of them to ~/.config/geany/colorschemes/ (if you're on Ubuntu) or to C:\Users\YourUserName\AppData\Roaming\geany\colorschemes (if you're on Windows)

  2. Then copy all the files from unzipped filedefs directory into your ~/.config/geany/filedefs/ (Ubuntu), or into C:\Users\YourUserName\AppData\Roaming\geany\filedefs (Windows).

If you do not have such directories in your Geany installation you'd want to create them manually.

Launch Geany and enjoy the themes!

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
SimpleBeat
  • 747
  • 1
  • 10
  • 20
  • Thanks. I've looked at these and I must be missing something simple because it doesn't help me to get started – Psionman May 11 '17 at 13:37
  • Just updated the answer. Hope this helps! PS You did check out **View -> Change Color Scheme...** menu, right? – SimpleBeat May 11 '17 at 14:00
  • Can you include [how to actually select a theme](https://pmortensen.eu/world2/2020/03/29/using-geany/) (***without*** "Edit:", "Update:", or similar)? *"menu View → Change Colour Scheme…"*, etc. – Peter Mortensen Sep 05 '20 at 16:38
0

In filetypes.python (can be opened from menu ToolsConfiguration FilesFiletype ConfigurationScripting Languages), section [styling]. Colors are coded in hexadecimal.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
albar
  • 3,020
  • 1
  • 14
  • 27
  • In filetypes.python [styling] it simply says "edit these on the colorscheme.conf file instead". In the colorschemes directory, there is only one file alt.conf and it is the same of both computers. Changing that has no effect – Psionman May 11 '17 at 13:41