Why aren't my MATLAB preferences saved on Linux?
174 views (last 30 days)
Show older comments
Shervin Sahba
on 15 Sep 2022
Answered: Batuhan Baserdem
on 30 Dec 2022
I'm using R2022b on Linux. On first boot, I switched my keyboard shortcuts to Windows style and turned on font anti-aliasing. These affects persist between sessions.
Now, however, whatever changes I make to the preferences do not persist. e.g. If I switch the font size to 12, it reverts to 10. If I change the theming, it reverts.
Running `prefsdir` in MATLAB always shows the same directory, `~/.matlab/R2022b`, so I don't think it has trouble finding the directory. The only error that pops up when I launch `matlab` from terminal is related to libcanberra, but that's a sound library.
Any ideas? Am I missing something obvious? I'd really like to have persistant preferences. Thanks.
3 Comments
Chris
on 21 Sep 2022
Nice. Seems like it may get some attention as a bug too, looking at the other post.
Accepted Answer
Shervin Sahba
on 21 Sep 2022
Edited: Shervin Sahba
on 2 Dec 2022
8 Comments
Antonio Javier Barragán Piña
on 18 Dec 2022
It worked for me in a Linux Mint with MATLAB 2022b.
The code export TMPDIR=~/.matlab/R2022b/; is just needed when you want to change the settings.
More Answers (1)
Batuhan Baserdem
on 30 Dec 2022
This fix is not working for me; coupled with another bug that vcs integration causes matlab to crash; matlab is completely unusable for me; unless I act quick enough to open preferences and disable vcs integration on every launch. Really annoying.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!