Go Down

Topic: Where is the "Theme" directory? (Read 2188 times) previous topic - next topic

hakanozugurlu

Pls. can somebody tell me, where is the "Theme" directory?

i use 1.8.5
i don't have any thing like "C:\Program Files (x86)\Arduino"
i couldn't find any directory which calls "Theme"

thankyou.

pert

It's under the lib subfolder of your Arduino IDE installation folder.

hakanozugurlu

 :o
Where is it?
i use win10
and couldn't find it.
windows installs the ide
and i don!t know where is it?

pert

Are you using the Windows App Store version of the Arduino IDE?

hakanozugurlu

When i try to download the ide. The Windows App Store installs automaticly.
:(

pert

Windows Apps are hidden away in some read only folder so you won't be able to edit the theme with the Windows App Store version of the Arduino IDE. You need to uninstall it and then install the proper version of the Arduino IDE, which you can download from:
http://www.arduino.cc/en/Main/Software
Click on either the "Windows Installer" link or the "Windows ZIP file for non admin install" link. Don't click on the "Windows app Requires Win 8.1 or 10" link or the "Get" button.

hakanozugurlu


seanspotatobusiness

I regret installing the IDE from the Windows App Store for this reason. I don't want to lose the time I spent setting up the IDE with the libraries I need and the board manager. I did things I don't even remember to get everything working so I'll just have to stick with the searing white background. Arduino should withdraw from the trash Windows App Store that makes the installation folder inaccessible.

pert

I should mention that the Arduino IDE does support the installation of themes to the sketchbook folder. Although it's a bit more initial effort for people who only want to make some modifications to the stock theme, this is actually far superior in the long run because any modifications you make to the theme in the Arduino IDE installation folder are lost every time you update the IDE, while the theme in the sketchbook folder will not be affected by IDE updates.

You have two options for installing themes to the sketchbook:



Direct installation:

Create a subfolder of your sketchbook folder named "theme". You can find the location of the sketchbook folder at File > Preferences > Sketchbook location.
Put the theme directly into the theme folder you created.
Restart the Arduino IDE.

The folder structure should look like this:

{Sketchbook folder}
|_ theme
    |_ syntax
    |    |_ etc...
    |_ theme.txt
    |_ etc...




.zip file installation:

The second option is to put the theme in a .zip file, then put that in the theme subfolder of the sketchbook. The awesome thing about this option is it allows you to have multiple themes installed (each in its own .zip file), and chose which one you prefer via the "Theme" menu of the IDE's File > Preferences dialog. This menu will include the option to select the "Default theme", which is the one installed with the IDE.

There is a sort of tricky thing about this installation option. The theme must be in the root of the .zip file, NOT in a subfolder. Some .zip utilities make that difficult or even impossible (especially the macOS one), but a Windows user won't have any difficulty: just select all the files of the theme, right click, then select Send to > Compressed (zipped) folder from the right click menu.

Let's say you had two themes, one you wanted to show up in the Theme menu as "MyCoolTheme" and another you wanted to show up as "MyOtherCoolTheme", the folder structure should look like this:

{Sketchbook folder}
|_ theme
    |_ MyCoolTheme.zip
    |   |_ syntax
    |   |    |_ etc...
    |   |_ theme.txt
    |   |_ etc...
    |_ MyOtherCoolTheme.zip
        |_ syntax
        |    |_ etc...
        |_ theme.txt
        |_ etc...

After adding the theme zip file to the theme folder, restart the IDE, select the theme from the File > Preferences > Theme menu, then restart the IDE again.

Go Up