11

I realize this may be a stupid question, but I can't find the answer anywhere. Where is the .texsprofile file for TeXStudio? If it doesn't exist by default, where should I place it when I create it? I'm trying to use one of the themes in this article, but I can't figure out how to make it work. Any help would be appreciated. Thanks!

  • Windows, or linux or mac? – user11232 Nov 9 '14 at 22:07
11

This is only for windows.

You have to place .texsprofile in C:\Users\<your name>\AppData\Roaming\texstudiowhere <your name> is to be read as it is in your computer. Then in TeXstudio go to OptionsLoad Profile

enter image description here

Clicking Load Profile opens this window:

enter image description here

Select the profile, click Open and restart TeXstudio.

  • You can see some of the profile given in the linked answer stored in the above screen shot. :) – user11232 Nov 9 '14 at 22:15
  • To add to this answer, if you have some particular settings (e.g., personalized shortcuts) and you want to keep them, you can save your current profile, add the syntax highlighting data from that link under the [format] section in your profile file and then load it back as Harish has shown. – Pouya Nov 9 '14 at 22:24
  • Following same steps, you'll find that the *.texsprofile files are stored in ~/.config/texstudio/ on Unix. – ebosi Apr 11 '16 at 12:38
  • 1
    The .texsprofile file mentioned here is actually .txsprofile file. It is also noticeable in the second screenshot. – Vladimir S. Mar 19 '17 at 8:56
1

The official FAQ "where are the settings stored" help page can be found here

https://github.com/texstudio-org/texstudio/wiki/Frequently-Asked-Questions#where-are-the-settings-stored

NOTE By default the *.txsprofile settings are supposed to be in the same folder with (alongside) the TeXstudio.ini plus other config files including any system theme customising *.qss see How to change color of scrollbar?

"The settings are stored in a file called texstudio.ini. The default paths are:

Linux/Unix/Mac: ~/.config/texstudio/texstudio.ini
Windows: %APPDATA%\texstudio\texstudio.ini
Portable Version: config/texstudio.ini relative to the TeXstudio executable.
   (Pre 2.12.: located directly in the directory of the TeXstudio executable.)

You can find out the actual path via

Help -> Check LaTeX Installation.

The resulting report contains a section called "Setting file".
Note: TeXstudio has to be closed while editing texstudio.ini. Otherwise the changes won't have any effect and will be overwritten when TeXstudio is closed."

  • 2
    It would be nice to not only post a link but also include the essential information in your answer. This way your answer will still be helpful to future users in case the link is no longer available. – user36296 Jan 15 at 12:35
  • @samcarter Done, was that your down vote? – user170109 Jan 15 at 12:52
  • Thanks for your edit! No, the downvote was not from me and I just upvoted to compensate it :) – user36296 Jan 15 at 12:59
  • @samcarter I was surprised and quakers to suggest it , thanks for the heads up and consideration – user170109 Jan 15 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.