Unable to change IDE theme

Answered

I was able to change the theme for the IDE but now I can't select the option.

 

If I change it on the gear, it doesn't work.

 

 Is there any config file that I can modify? Or what can I do?

 

1
10 comments

What is the version of IntelliJ IDEA and OS in use? 

Typically, the select box is grayed out in case "Sync with OS" checkbox is set: 

0

I'm running IntelliJ on Manjaro Linux, and the IntelliJ version is 2021.3.2 (Installed with toolbox).

I don't know why I don't have "Sync with OS" option in my Appearance menu

0

It is not yet implemented on Linux. 

Do you sync your settings with an IDE on Windows? 

Could be related to https://youtrack.jetbrains.com/issue/IDEA-283945

0

That's it! You are totally right, I removed the sync and now I'm able to change theme again.

Thanks!

0

I have the same problem with `2023.1` on Ubuntu.

I do not sync with Windows but during the first start I selected sync with OS (which is dark) and now I can't change the IDE theme, it is stuck to DarK

1

Please attach information from "Help | About" (click on "Copy" and paste data here)

0

You can delete "~/.config/JetBrains/IntelliJIdea<version>" to reconfigure IDEA. Similar actions may be useful for other JetBrains products as well.

0

You can be less distructive simply changing the autodetect attribute of component node to false in the file ~/.config/JetBrains/{ide-version}/options/laf.xml, something like:

<application>
  <component name="LafManager" autodetect="false">
    <laf class-name="com.intellij.ide.ui.laf.IntelliJLaf" themeId="JetBrainsLightTheme" />
    <preferred-light-laf class-name="com.intellij.ide.ui.laf.IntelliJLaf" themeId="ExperimentalLight" />
    <preferred-dark-laf class-name="com.intellij.ide.ui.laf.darcula.DarculaLaf" themeId="f92a0fa7-1a98-47cd-b5cb-78ff67e6f4f3" />
  </component>
</application>

 

6

Thanks Marco Sacchi it worked nice for me ! Some feature here may need to be adjusted.

0

Same issue after uninstalling the plugin "Auto Darkmode", the fix of Marco Sacchi worked flawlessly, thanks !

0

Please sign in to leave a comment.