zackelia/ghidra-dark

Unable to reset theme to default

Yanis-Bouchelaghem opened this issue · 1 comments

Hello

After trying this theme (which can be great at night), I am unable to change the ghidra theme back to default white.
I tried deleting the ghidra folder and reinstalling it but the code browser and the decompiler are still dark :
image

Any help is appreciated.

I managed to fix it.
The python program thankfully makes a backup of the "_code_browser.tcd" file located in "home directory\ .ghidra\ .ghidra_YourVersion_PUBLIC\tools"

Example : C:\Users\Username\ .ghidra\ .ghidra_9.2.1_PUBLIC\tools
(Keep in mind that folders that start with a dot are hidden, make sure to enable "show hidden folders" in your file explorer)
All I had to do was remove the current "_code_browser.tcd" and replace it with the backup found in the same folder.
I'm guessing that simply deleting the whole .ghidra file will also do the trick, ghidra will recreate it on launch. (but you will probably lose some data)

Hope this'll be useful to someone else too.