Skip to content
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

Open focuswriter compressed theme (*.fwtz) #176

Open
olivierkes opened this issue Oct 26, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@olivierkes
Copy link
Owner

commented Oct 26, 2017

Asked on manuskript website: add the ability to open themes like this one: https://jennego.wordpress.com/2012/11/17/focuswriter-theme-speed-of-modernity/

The theme is a compressed ini file containing the background image.

It has to be uncompressed (with gzip.open), then saved as an .ini file, to be opened as a QSetting. See https://github.com/gottcode/focuswriter/blob/master/src/theme_manager.cpp#LC328.

@olivierkes olivierkes added this to the Future milestone Oct 26, 2017

@anicede

This comment has been minimized.

Copy link

commented Nov 9, 2017

gzip did my head in when I tried this, it's entirely possible that I did something wrong, but it wouldn't hand over the background images.

So i installed focuswriter, imported the .fwtz, grabbed the theme files from /.local/share/GottCode/FocusWriter/Themes and put them in the appropriate places in /.local/share/manuskript/manuskript/resources

Just thought I'd make a note of it, in case anyone else was tearing their hair out over it :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.