System: Windows 7 32bit
TXS: 2.9.4
According to https://sourceforge.net/p/texstudio/wiki/Frequently%20Asked%20Questions/#where-are-the-settings-stored settings are stored in %APPDATA%\texstudio\texstudio.ini. On my system %APPDATA% is defined and mentioned .ini exists. There are further lots of .cwl files and other TXS settings files (wordCount.usage, packageCache.dat, etc.). However, there is a similar looking folder at %LOCALAPPDATA%\VirtualStore\Program Files\TeXstudio\. This is used by my default user account. The other one is used when I run TXS as admin.
Summarized:
User "me" uses
%LOCALAPPDATA%\VirtualStore\Program Files\TeXstudio\
c:\Users\me\AppData\Local\VirtualStore\Program Files\TeXstudio\
User "admin" uses
%APPDATA%\texstudio\texstudio.ini
c:\Users\me\AppData\Roaming\texstudio\
Note: AppData\Roaming\texstudio\ is write- and readable by user "me".
Can it possibly be an issue caused by a non-capitalized driver letter? OwnCloud (also a QT application) had a similar issue: https://github.com/owncloud/client/issues/2591#issuecomment-66314835
No case issue:
Last edit: NotDifficult 2015-05-22
Did you copy the portable version to your Program Files folder? Or did you manually put a
texstudio.ininext to the executable?What probably happens is this. TeXstudio finds
texstudio.ini next to texstudio.exe. This is the indication for a portable installation, so TXS tries to save all settings to that folder. But Windows protects write access to Program Files and redirects the writing to the VirtualStore.%APPDATA%\texstudio\texstudio.iniis proabaly from an earlier installation.There is no
texstudio.ininext to mytexstudio.exe.%APPDATA%\texstudio\texstudio.iniis writeable using my user account.I noticed that I installed TS using npacked -> https://npackd.appspot.com/
Could that cause an issue? Why would my elevated user account use a different settings directory?
Maybe you could just add a note to https://sourceforge.net/p/texstudio/wiki/Frequently%20Asked%20Questions/#where-are-the-settings-stored
Note: Windows might redirect the settings folder to %LOCALAPPDATA%\VirtualStore\Program Files\TeXstudio\
Last edit: NotDifficult 2015-07-03
I don't know if npackd just uses the default installer that we provide, or if it just installs a version of our portable version or it uses a customized installer routine. It may be the cause of your issue. Did you install TXS as "me" or as "admin"?
With "admin" I am referring to "me" when it is elevated (Right click: Run as Admin). Npackd runs as admin, so that is how TXS was installed.
Is there any other method to make TXS run as portable version besides placing a
texstudio.ininext totexstudio.exe? Because there surely is no ini file...No. So maybe it's not in portable mode. Anyway, you can also check the location of
texstudio.inibyHelp -> Check Latex Installation. Somewhere further down, there's an entrySetting file. What does it say for "admin and "me".Your are right! TS is running in portable mode (at least as normal user).
admin:
C:\Users\admin\AppData\Roaming\texstudio\texstudio.inime:
C:\Program Files\TeXstudio\texstudio.inibut that file does not exist:
C:\>dir C:\Program Files\TeXstudio\texstudio.iniThe system cannot find the path specified.If you cannot reproduce it, it was probably
unpackdwhich messed up the installation somehow. Thanks for your support!Looking up the settings path is very helpful. Maybe worth a note
here? -> https://sourceforge.net/p/texstudio/wiki/Frequently%20Asked%20Questions/#where-are-the-settings-stored
I cannot reproduce this here. Anyway, if you want to fix it, you can simply move the content from
%LOCALAPPDATA%\VirtualStore\Program Files\TeXstudio\to
C:\Users\me\AppData\Roaming\texstudio\.Done.