Sorry, this isn't really an "issue", but I could not find an answer anywhere.
Is it possible to set the Geany theme from command line (in linux) while geany is running? If not, is it possible between Geany restarts?
(Background is that I'm trying to switch seamlessly between night and day mode, and Geany is my last holdout on that :D)
Thanks!
Depends what you mean by "theme", except for the editor all of Geany gets its theme from the GTK theme, and changes when the theme is changed on the desktop (at least here on Linux Mint 20).
The "colour scheme" that controls the editor isn't controllable from the desktop, no desktop theme has colours specified for the syntactic elements of 20+ programming languages. So it is set by `Menu->View->Change Colour Scheme...`, which you can change while Geany is running, but not from the command line.
So it is set by `Menu->View->Change Colour Scheme...`, which you can change while Geany is running, but not from the command line.
Well, you can't *readily*, but it's easy enough to either use a separate configuration directory (Geany's `-c` switch) or write a short `sed` command to alter the configuration before starting.
…Or possibly write a small plugin that would change the color scheme depending on the time, or some other global setting.
Well, you can't readily, but it's easy enough to either use a separate configuration directory (Geany's -c switch) or write a short sed command to alter the configuration before starting.
These of course need Geany stop and restart, they can't be done while Geany is running.
…Or possibly write a small plugin that would change the color scheme depending on the time, or some other global setting.
And this needs coding, pull requests on the geany-plugins repository welcome :grin:
github-comments@lists.geany.org