![]() |
#16 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 856
Karma: 3461504
Join Date: Jan 2017
Location: Poland
Device: Various
|
|
![]() |
![]() |
![]() |
#17 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,795
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
SIGIL_USES_DARK_MODE maybe defunct, but SIGIL_PREFS_DIR is definitely active, I occasionally swap in "_AppData/Sigil/Prefs_default". BR PS: I assume use of the env-vars.txt file is optional. Last edited by BetterRed; Yesterday at 06:48 PM. |
|
![]() |
![]() |
![]() |
#18 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,675
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() Of course. The file does not exist by default. Last edited by DiapDealer; Yesterday at 07:37 PM. |
|
![]() |
![]() |
![]() |
#19 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,828
Karma: 169712582
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,675
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm loving this. So simple, so handy.
|
![]() |
![]() |
![]() |
#21 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,872
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Quote:
FWIW, I have tried to fix up the sigil-user-guide for future Sigil 2.6.2 release, with info on the env-vars.txt file. So if anyone is interested in vetting it and adding to it, please start by grabbing things from our sigil-user-guide repo master. I tried to add in the force native dialogs env var that was previously missing, remove some duplication and add a second advanced topics chapter on python function replace. Please take a peek and let me know if any changes are needed. I hope to officially release it in sync with Sigil 2.6.2. |
|
![]() |
![]() |
![]() |
#22 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 856
Karma: 3461504
Join Date: Jan 2017
Location: Poland
Device: Various
|
Thank you for your kind words.
SIGIL_PREFS_DIR is not Linux Only, although that is what the sigil-user-guide mentions. I will add in the plugin a special support for this variable, which will not be read from env-vars.txt file but simply by os.getenv(). |
![]() |
![]() |
![]() |
#23 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,872
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Okay, I updated the user guide and tried to better describe SIGIL_PREFS_DIR.
Should we rename SKIP_SIGIL_ to SIGIL_SKIP_ or just leave it as is? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sigil does'nt load txt-files | ikkethuis | Sigil | 1 | 01-11-2021 01:46 PM |
Filename to File Tag and Setting File Dorectory | anonymust | Library Management | 3 | 11-07-2015 07:42 PM |
shebang problem "/usr/bin/env python2" | klonuo | Development | 2 | 10-21-2011 11:08 AM |
How can i convert HTML or txt file to EPUB file ? | guguqiaqia | ePub | 7 | 05-28-2010 09:15 PM |
Problem & fix to Windows dev env setup | ShellShock | Calibre | 6 | 12-07-2008 10:13 AM |