New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preferences that are set for extraterm are not persistent #138

Closed
krishnakumarg1984 opened this Issue Dec 9, 2018 · 5 comments

Comments

2 participants
@krishnakumarg1984
Copy link

krishnakumarg1984 commented Dec 9, 2018

I am running both cygwin and extraterm from a network drive labelled the home drive (H:) by our ICT. This way I get reproducible access to a set of command line and packages on every machine in the campus (all computers run Windows 10).

I make a lot of adjustments to the appearance setting such as the colorscheme, font size etc., and then when I log in the next day (irrespective of whether from the same machine or another one), the settings all seem to revert to the defaults. Clearly, it is painful to reconfigure the settings again, only to discover that they are once again ephemeral.

How can I make the configurations persistent?

@sedwards2009

This comment has been minimized.

Copy link
Owner

sedwards2009 commented Dec 10, 2018

If you change some settings, exit Extraterm, and then immediately run it again, do you have the correct settings? On Windows Extraterm will place its config file in c:/Users/<username>/AppData/Roaming/extraterm/extraterm.json. It sounds like your ICT set up is just wiping that directory all the time.

What I could do is add a command line option to Extraterm to specify where to place this temp directory and also the config file. And/or I could add a small config file to the Extraterm installation files to do the same thing. Then you could configure that file and make a true "portable" version of Extraterm for yourself and your campus environment.

@krishnakumarg1984

This comment has been minimized.

Copy link

krishnakumarg1984 commented Dec 10, 2018

@sedwards2009 your explanation makes sense to me. Yes, the campus computers are set to wipe the entire C-drive and restore a university-preconfigured image overnight. All public computers on the campus (library, training rooms, etc.) automatically reboot at 12:15 AM each night. Only the H: drive allocated to each student/staff to store their files is persistent during their affiliation with the university.

While you make this enhancement for a truly portable setup, is there any temporary workaround for persistently placing the config file?

@krishnakumarg1984 krishnakumarg1984 changed the title Preferences that are set for extraterm is not persistent Preferences that are set for extraterm are not persistent Dec 10, 2018

@krishnakumarg1984

This comment has been minimized.

Copy link

krishnakumarg1984 commented Dec 10, 2018

If you change some settings, exit Extraterm, and then immediately run it again, do you have the correct settings?

@sedwards2009
yes. Till the computers reboot overnight and get restored with a custom win10 image of the university for the next day.

@sedwards2009

This comment has been minimized.

Copy link
Owner

sedwards2009 commented Dec 10, 2018

The closest thing to a work around is probably manually managing and copying that directory in AppData/Roaming. :-/

sedwards2009 added a commit that referenced this issue Dec 29, 2018

sedwards2009 added a commit that referenced this issue Dec 31, 2018

sedwards2009 added a commit that referenced this issue Dec 31, 2018

@sedwards2009

This comment has been minimized.

Copy link
Owner

sedwards2009 commented Jan 2, 2019

Just released in 0.40. See section "Changing where the configuration settings are stored" in the guide.

@sedwards2009 sedwards2009 added the fixed label Jan 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment