Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-23-2025, 02:33 PM   #16
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 952
Karma: 3501880
Join Date: Jan 2017
Location: Poland
Device: Various
@DiapDealer: Yes, the current version of AppImage would be great.

EDIT:
Unknown lines are saved here:
Code:
                    # unknown
                    lines.append(stripped)
@KevinH: Indeed, I had to merge the saved information (some from the dialog box and the rest, the unknown ones, from the file). Thank you.

Last edited by BeckyEbook; 08-23-2025 at 03:39 PM. Reason: Remove buggy 0.1.2 version.
BeckyEbook is offline   Reply With Quote
Old 08-23-2025, 03:06 PM   #17
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,235
Karma: 211539966
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BeckyEbook View Post
@DiapDealer: Yes, the current version of AppImage would be great.
Happy to get you one. Though I don't think this is a Linux issue at this point:

https://github.com/dougmassay/win-qt...s/tag/v5.212-1

There's a Sigil-2.6.2-x86_64.AppImage asset at that link.

0.1.2 is now preserving my custom/unknown variables. Thanks! But now I notice that unchecking some boxes in the gui (like for SIGIL_SKIP_UPDATE_CHECK) does not remove (or change) that variable in the file. It stays SIGIL_SKIP_UPDATE_CHECK=1.
DiapDealer is offline   Reply With Quote
Old 08-23-2025, 03:43 PM   #18
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 952
Karma: 3501880
Join Date: Jan 2017
Location: Poland
Device: Various
I ran a few tests and I hope that both objectives were achieved: restoring the broken deletion of entries without selection or entered values, and preserving unknown environment variables.

Last edited by BeckyEbook; 08-25-2025 at 02:45 AM. Reason: The newer version of the plugin is in the first post.
BeckyEbook is offline   Reply With Quote
Old 08-24-2025, 08:00 AM   #19
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,235
Karma: 211539966
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
A quick test of 0.1.3 looks great! Thanks!
DiapDealer is offline   Reply With Quote
Old 08-25-2025, 02:55 AM   #20
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 952
Karma: 3501880
Join Date: Jan 2017
Location: Poland
Device: Various
I have published a new version of the plugin in the first post. Feel free to test it.

Here's a planned improvement I hope to add soon: the env-vars.txt file is optional, meaning users can still set environment variables in the traditional way – directly within the system via the command line, another application, or a batch/sh script. My goal is to add a new feature that will display information within a dialog box, letting the user know if a specific Sigil environment variable has been set at the system level instead of in the env-vars.txt file.
BeckyEbook is offline   Reply With Quote
Old Today, 01:12 PM   #21
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 952
Karma: 3501880
Join Date: Jan 2017
Location: Poland
Device: Various
TL;DR: The beta version is available in the second post. Minimum Sigil version: 2.7.6

I’ve just uploaded a new beta version of the Environment Variables Manager plugin. This update is specifically designed to support the latest changes in Sigil 2.7.6 while also introducing several "Quality of Life" improvements to the user interface.

What's New in v0.1.15 (Beta):
Support for Unsetting Variables (Sigil 2.7.6+): Following the recent Sigil update, you can now explicitly "unset" environment variables. The plugin now supports the new tilde (~) prefix. In the dropdown menu, simply select "Unset", and the variable will be removed from the environment upon the next Sigil launch.

Smarter UI Automation:
  • Auto-Check: When you switch a boolean variable to "Set", the checkbox is now automatically checked for you.
  • Auto-Focus & Select: When switching a String or Numeric variable to "Set", the plugin now automatically focuses on that input field and selects the existing text. You can start typing immediately – no extra clicks required!
  • Cleaner Logic: Improved handling of system-level variables (like SIGIL_PREFS_DIR) to prevent redundant saves when no actual changes were made.
  • Refined Tooltips: Building on the great work by @mrprobert, tooltips and labels have been further polished for clarity.

Note for Beta Testers: This version has been tested on my setup, but since it involves new UI logic (signal blocking to prevent feedback loops), I’d appreciate any feedback – especially if you notice any quirks when switching between "Set", "Not set", and "Unset" modes.

The plugin should be stable, but as always with beta software, keep a backup of your env-vars.txt if you have a very complex setup.

Looking forward to your feedback!
BeckyEbook is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil Qt6 and GUI plugin development changes DiapDealer Plugins 26 11-16-2023 11:12 AM
[Plugin] SelfCSS for Sigil WYSIWYG CSS editor byword Plugins 5 08-30-2023 09:44 AM
QT scaling - Ways to change Environment Variables in Windows Comfy.n Calibre 4 08-11-2022 11:20 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
[Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor thiago.eec Development 7 01-09-2019 08:05 PM


All times are GMT -4. The time now is 11:36 PM.


MobileRead.com is a privately owned, operated and funded community.