Hi group,
Linux user here.. MXLinux. I use Geany almost only as an html-editor. I've been using an old version of Epiphany a.k.a. Web as the live preview, because it automatically updated each time a save was made in the source code in Geany. But it was not very stable and slowed down a lot. For the moment I use Firefox as the preview engine. It's okay, but there's no auto-refresh, so I have to hit the FF refresh button after each change.
In older Geany information there was talk about a Geany html plugin that had a html preview. That plugin seems to be removed.
I found an unofficial package on the web, downloaded it, but there the joy ended: It seemed to be source code, needing compiling, something that is far beyond my knowledge. It was called "webkit-preview" or something similar.
Hope I described my situation enough and hope to read how you experts have solved this.
Gratefully!Bert
Verzonden met [Proton Mail](https://proton.me/) beveiligde e-mail.
On Sat, Jul 23, 2022 at 5:42 AM Bert Vercauteren via Users users@lists.geany.org wrote:
Hi group,
Linux user here.. MXLinux. I use Geany almost only as an html-editor. I've been using an old version of Epiphany a.k.a. Web as the live preview, because it automatically updated each time a save was made in the source code in Geany. But it was not very stable and slowed down a lot. For the moment I use Firefox as the preview engine. It's okay, but there's no auto-refresh, so I have to hit the FF refresh button after each change.
In older Geany information there was talk about a Geany html plugin that had a html preview. That plugin seems to be removed.
I found an unofficial package on the web, downloaded it, but there the joy ended: It seemed to be source code, needing compiling, something that is far beyond my knowledge. It was called "webkit-preview" or something similar.
Hope I described my situation enough and hope to read how you experts have solved this.
No expert here (I would love to know how to write html code by the way!!) but I can assure you that compiling source code and installing it is not that difficult.
https://www.makeuseof.com/compile-install-software-from-source-linux/
One reasonably well written set of instructions. There are many many more such.
Search for linux + source code + compiling
(Caution - - - occasionally one runs into 'dependency hell' or where you seek to compile and an error happens - - - you need more tools installed - - - I have had it where there were 6 different levels of dependencies and I had to install some 30 odd other packages just to get the one package that I wanted to run - - - - -but it did run! (That was a very very difficult install and most are very straight forward!))
I would suggest that you try doing the compiling and installation steps.
Dunno how the forum here leaders would view further questions but I for one would suggest that if you can't get the job done - - - well then - - - come back and ask more questions whilst providing what you have done and what isn't working. (Hopefully that behavior is allowed - - - question of the list maintainers)
HTH
There was Webhelper in Geany-plugins that provided a preview, but unfortunately building Geany/plugins won't help, the Webhelper plugin has never been updated to support the GTK3 version of the libraries needed to provide a preview.
There was a PR to update it back in 2016 or thereabouts, but it switched to GTK3 and abandoned GTK2, and it was judged too early for that to happen. That PR has bitrotted and nobody has updated it, contributions are welcome.
Cheers Lex
On Sat, 23 Jul 2022 at 20:55, o1bigtenor o1bigtenor@gmail.com wrote:
On Sat, Jul 23, 2022 at 5:42 AM Bert Vercauteren via Users users@lists.geany.org wrote:
Hi group,
Linux user here.. MXLinux. I use Geany almost only as an html-editor. I've been using an old version of Epiphany a.k.a. Web as the live preview, because it automatically updated each time a save was made in the source code in Geany. But it was not very stable and slowed down a lot. For the moment I use Firefox as the preview engine. It's okay, but there's no auto-refresh, so I have to hit the FF refresh button after each change.
In older Geany information there was talk about a Geany html plugin that had a html preview. That plugin seems to be removed.
I found an unofficial package on the web, downloaded it, but there the joy ended: It seemed to be source code, needing compiling, something that is far beyond my knowledge. It was called "webkit-preview" or something similar.
Hope I described my situation enough and hope to read how you experts have solved this.
No expert here (I would love to know how to write html code by the way!!) but I can assure you that compiling source code and installing it is not that difficult.
https://www.makeuseof.com/compile-install-software-from-source-linux/
One reasonably well written set of instructions. There are many many more such.
Search for linux + source code + compiling
(Caution - - - occasionally one runs into 'dependency hell' or where you seek to compile and an error happens - - - you need more tools installed - - - I have had it where there were 6 different levels of dependencies and I had to install some 30 odd other packages just to get the one package that I wanted to run - - - - -but it did run! (That was a very very difficult install and most are very straight forward!))
I would suggest that you try doing the compiling and installation steps.
Dunno how the forum here leaders would view further questions but I for one would suggest that if you can't get the job done
- well then - - - come back and ask more questions whilst
providing what you have done and what isn't working. (Hopefully that behavior is allowed - - - question of the list maintainers)
HTH _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
I use livereload for this. It runs as a service in the background, and a browser extension connects to it and does the automatic updating. Works on both Firefox and Chrome.
/ Emil
Den 2022-07-23 kl. 12:42, skrev Bert Vercauteren via Users:
Hi group,
Linux user here.. MXLinux. I use Geany almost only as an html-editor. I've been using an old version of Epiphany a.k.a. Web as the live preview, because it automatically updated each time a save was made in the source code in Geany. But it was not very stable and slowed down a lot. For the moment I use Firefox as the preview engine. It's okay, but there's no auto-refresh, so I have to hit the FF refresh button after each change.
In older Geany information there was talk about a Geany html plugin that had a html preview. That plugin seems to be removed.
I found an unofficial package on the web, downloaded it, but there the joy ended: It seemed to be source code, needing compiling, something that is far beyond my knowledge. It was called "webkit-preview" or something similar.
Hope I described my situation enough and hope to read how you experts have solved this.
Gratefully! Bert
Verzonden met Proton Mail https://proton.me/ beveiligde e-mail.
Users mailing list --users@lists.geany.org To unsubscribe send an email tousers-leave@lists.geany.org
Hey there,
Bert Vercauteren via Users wrote:
I use Geany almost only as an html-editor. I've been using an old version of Epiphany a.k.a. Web as the live preview, because it automatically updated each time a save was made in the source code in Geany. But it was not very stable and slowed down a lot. For the moment I use Firefox as the preview engine. It's okay, but there's no auto-refresh, so I have to hit the FF refresh button after each change.
My approach to this is to use the "Execute" button instead of the "Save" button in the Geany toolbar any time I make changes (you can customize the toolbar to add that button if it's not already there).
The "Execute" button saves the code and launches or refreshes the page in its default browser. When I click that button, my code is saved and and the page is opened in Firefox if it's not already open or refreshed in Firefox if it's already open.
It works similarly in languages like Python or Bash, etc., opening the terminal instead of Firefox when the "Execute" button is pressed. The difference in the terminal is that there's no refresh, so the code is run fresh each time.
It's an absolutely glorious feature. I'd be lost without it.
Glad I've joined this group! Thank you all for your useful replies!
@ olbigtenor: ypu almost convinced met to overcome my 10 years-old fear of compiling... that long ago a good friend also persuaded me to start compiling...Long story short: I never succeeded. But I knew much less about Linux back then. I've bookmarked your link, that's a start..Writing html is easy, trust me... I even run a little website about it. I don't want to spam this forum, but if you're interested, let me know how I can send you a link to it.
@ Emil Axelsson: That looks like a very good solution. I installed the Firefox add-on , but could not yet get the background service running. The add-on told me to use "Guard livereload" for my OS, until LiveReload 2 becomes available for it. Did not get any further.
@ Lex Trotman,: yes "webhelper" was the name. Thank you also for the detailed background history.
That PR has bitrotted and nobody has updated it, contributions are welcome.
I'm not so sure you would welcome my contribution ;)
@ Little Girl: Yes, it's indeed a glorious feature. I too discovered it not too long ago. But I stopped using it when I saw that each 'execute' forced a new browser tab to open, to display the latest version of your work. Or did you find a workaround for this?( 'execute' doing its work in the 1 opened browser tab? ) Thank You! ------- Original Message ------- Op zaterdag 23 juli 2022 om 12:42 schreef Bert Vercauteren via Users users@lists.geany.org:
Hi group,
Linux user here.. MXLinux. I use Geany almost only as an html-editor. I've been using an old version of Epiphany a.k.a. Web as the live preview, because it automatically updated each time a save was made in the source code in Geany. But it was not very stable and slowed down a lot. For the moment I use Firefox as the preview engine. It's okay, but there's no auto-refresh, so I have to hit the FF refresh button after each change.
In older Geany information there was talk about a Geany html plugin that had a html preview. That plugin seems to be removed.
I found an unofficial package on the web, downloaded it, but there the joy ended: It seemed to be source code, needing compiling, something that is far beyond my knowledge. It was called "webkit-preview" or something similar.
Hope I described my situation enough and hope to read how you experts have solved this.
Gratefully!Bert
Verzonden met [Proton Mail](https://proton.me/) beveiligde e-mail.
Hey there,
Bert Vercauteren via Users wrote:
@ Little Girl: Yes, it's indeed a glorious feature. I too discovered it not too long ago. But I stopped using it when I saw that each 'execute' forced a new browser tab to open, to display the latest version of your work. Or did you find a workaround for this?( 'execute' doing its work in the 1 opened browser tab? ) Thank You!
That doesn't happen here. For me, it refreshes the page if it's already open in the browser, and it does that without fail even if a different tab is open at the time.
I'm not sure if it's a Geany setting or a Firefox setting that would need to be tweaked, but I suspect it's one of the Firefox settings, because although Geany knows which browser I use (in the "Tools" section of its settings), it doesn't instruct the browser in any way. I believe all it does is pass a known file-type to its associated tool and then takes its hands completely off of it. It's then up to Firefox to decide what to do with what was passed to it.
I have no tab-managing or page-managing extensions in Firefox. Just an ad-blocker, a sidebar-notes extension, and an internet-search tool. And to tell you the truth, I don't see any setting inside of Firefox or Geany that would instruct Firefox to open a page in a new tab if it's already open. The closest thing I've got is a check-mark in the "Open links in tabs instead of new windows" option in Firefox in the "Tabs" section of its "General" settings, but that couldn't possibly be it.
It might be a bug related to your add-ons or extensions: https://support.mozilla.org/en-US/questions/927036 https://support.mozilla.org/en-US/questions/800744
Hopefully someone else will jump in with something you can try, because this is such a convenient solution that it would be a shame to not be able to use it.
Hi Little Girl, hi Emil,
Thanks again. Despite your elaborate answer, I was not able to solve this. I stopped all add-ons and started different setup settings. Whatever I try Geany "Execute" keeps forcing FF to open the file in-a-new-tab. My Firefox version is 102.01 (64 bits). Could the FF version play a role? I would very much love to get this working, as it is so much simpler than other solutions, tho I will definitely try Emil's proposal if we can't get this running.
Verzonden met Proton Mail beveiligde e-mail.
------- Original Message ------- Op zaterdag 23 juli 2022 om 20:56 schreef Little Girl littlergirl@gmail.com:
Hey there,
Bert Vercauteren via Users wrote:
@ Little Girl: Yes, it's indeed a glorious feature. I too discovered it not too long ago. But I stopped using it when I saw that each 'execute' forced a new browser tab to open, to display the latest version of your work. Or did you find a workaround for this?( 'execute' doing its work in the 1 opened browser tab? ) Thank You!
That doesn't happen here. For me, it refreshes the page if it's already open in the browser, and it does that without fail even if a different tab is open at the time.
I'm not sure if it's a Geany setting or a Firefox setting that would need to be tweaked, but I suspect it's one of the Firefox settings, because although Geany knows which browser I use (in the "Tools" section of its settings), it doesn't instruct the browser in any way. I believe all it does is pass a known file-type to its associated tool and then takes its hands completely off of it. It's then up to Firefox to decide what to do with what was passed to it.
I have no tab-managing or page-managing extensions in Firefox. Just an ad-blocker, a sidebar-notes extension, and an internet-search tool. And to tell you the truth, I don't see any setting inside of Firefox or Geany that would instruct Firefox to open a page in a new tab if it's already open. The closest thing I've got is a check-mark in the "Open links in tabs instead of new windows" option in Firefox in the "Tabs" section of its "General" settings, but that couldn't possibly be it.
It might be a bug related to your add-ons or extensions: https://support.mozilla.org/en-US/questions/927036 https://support.mozilla.org/en-US/questions/800744
Hopefully someone else will jump in with something you can try, because this is such a convenient solution that it would be a shame to not be able to use it.
-- Little Girl
There is no spoon. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Hey there,
Bert Vercauteren via Users wrote:
Thanks again. Despite your elaborate answer, I was not able to solve this. I stopped all add-ons and started different setup settings. Whatever I try Geany "Execute" keeps forcing FF to open the file in-a-new-tab.
That's maddening and it shouldn't be happening.
My Firefox version is 102.01 (64 bits). Could the FF version play a role? I would very much love to get this working, as it is so much simpler than other solutions, tho I will definitely try Emil's proposal if we can't get this running.
I doubt it's a version thing. I was running a very outdated copy of Ubuntu MATE as my operating system for the past several years until recently. That had an older version of Geany and Firefox in it (I don't remember the versions). The behavior as I've described it is how it's always worked for me.
I now have this setup and nothing has changed: * Kubuntu 22.04 LTS * Firefox 102.0.1 (64-bit) * Geany 1.38
The Ubuntu team even switched to a Snap version of Firefox instead of one that's installed through the package manager and that didn't make any difference.
Just out of curiosity, what do you have in Geany's "Browser" field in Edit -- Preferences -- Tools? Mine just says Firefox with no quotes around it, no additional percents, dashes, or other letters or characters, etc. If yours has anything but just Firefox, maybe that's causing it.
A couple of other things to try:
* Create a new user in your operating system and try using Geany's "Execute" button as that user to see if the issue persists or vanishes.
* Create a virtual machine and try using Geany's "Execute" button in it to see if the issue persists or vanishes.
If either or both of those work, it's likely some sort of configuration somewhere in your current environment. I'm not sure exactly how one would go about gently and elegantly chasing it down from there, but it would be a start.
Thanks again for all your help Little Girl.
Whatever I tried, "execute" opens a new tab. Also tried two different web-browsers ( Librewolf and Wexond), same behavior.
I then realized I might as well click the browser's refresh button in stead of the Geany execute/run, they are only inches apart.That button refreshes in the same tab..
But my plan was to not having to click any button at all while writing. Saving is already auto. For the moment I added a Firefox add-on "Tab reloader", recommended by Mozilla. It simply refreshes the tab every 10 seconds. Those 10 seconds is my choice, it could also be set much slower, like e.g. Once every century... :)
In the Geany prefs I always had "/opt/firefox/firefox" for the browser. Changing that to "Firefox" worked (surprisingly) but made no difference in the browser's behavior.
I give up for now. I can live with the "Tab reloader" solution for the moment. Let's hope someone competent can reincarnate the Web helper plugin or build a new html preview for Geany.
Thanks again! Bert
------- Original Message ------- Op zondag 24 juli 2022 om 03:49 schreef Little Girl littlergirl@gmail.com:
That's maddening and it shouldn't be happening.
My Firefox version is 102.01 (64 bits). Could the FF version play a role? I would very much love to get this working, as it is so much simpler than other solutions, tho I will definitely try Emil's proposal if we can't get this running.
I doubt it's a version thing. I was running a very outdated copy of Ubuntu MATE as my operating system for the past several years until recently. That had an older version of Geany and Firefox in it (I don't remember the versions). The behavior as I've described it is how it's always worked for me.
I now have this setup and nothing has changed:
- Kubuntu 22.04 LTS
- Firefox 102.0.1 (64-bit)
- Geany 1.38
The Ubuntu team even switched to a Snap version of Firefox instead of one that's installed through the package manager and that didn't make any difference.
Just out of curiosity, what do you have in Geany's "Browser" field in Edit -- Preferences -- Tools? Mine just says Firefox with no quotes around it, no additional percents, dashes, or other letters or characters, etc. If yours has anything but just Firefox, maybe that's causing it.
A couple of other things to try:
- Create a new user in your operating system and try using
Geany's "Execute" button as that user to see if the issue persists or vanishes.
- Create a virtual machine and try using Geany's "Execute"
button in it to see if the issue persists or vanishes.
If either or both of those work, it's likely some sort of configuration somewhere in your current environment. I'm not sure exactly how one would go about gently and elegantly chasing it down from there, but it would be a start.
-- Little Girl
There is no spoon. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Hey there,
Bert Vercauteren via Users wrote:
Whatever I tried, "execute" opens a new tab. Also tried two different web-browsers ( Librewolf and Wexond), same behavior.
That's a shame.
I then realized I might as well click the browser's refresh button in stead of the Geany execute/run, they are only inches apart.That button refreshes in the same tab..
The other down-side to that is that you'd then have to click the "Save" button in Geany to save the change and then click the browser's "Refresh" button, which is two clicks. It may not seem like much to some folks, but to those of us who like things to just happen, it's an ongoing annoyance and the little things really do matter.
But my plan was to not having to click any button at all while writing. Saving is already auto.
Oh. I just saw this. I hadn't realized that automatic saving was even possible, but then again, I'd be afraid of it. My luck, I'd accidentally do something horrible to a file and it would obligingly help me to do the dirty deed.
Once upon a time, I was participating in NaNoWriMo and got totally "into the zone" and wrote my heart out for a couple of hours non-stop with the program I was using dutifully auto-saving the work for me. It was the best, most inspired writing I've ever done in my life and I felt practically reborn when I finished and came up for air. Somehow, though, something went terribly wrong with the auto-saves and everything I'd written was gotten rid of. I was left with the file in the same state it had been in when I began and nothing but a memory of that writing experience. There were no backups and there was no such thing as Ctrl+z, so it was all officially lost. I tried to rewrite it, but didn't get back into the zone and my second attempt wasn't nearly as good. As a result, the only way I'd ever dare use auto-save would be if it made incremental backups each time or at specific intervals just in case.
Then again, your mention of it makes me thing it might not be a bad idea to set it up as a supplement to my current method of being fanatic about manually backing up my work. After all, we humans are fallible and it's entirely possible that I might get caught up in something or be interrupted and not realize I had missed a save.
For the moment I added a Firefox add-on "Tab reloader", recommended by Mozilla. It simply refreshes the tab every 10 seconds. Those 10 seconds is my choice, it could also be set much slower, like e.g. Once every century... :)
Interesting. The suggestion by Emil Axelsson to use the livereload package in combination with the LiveReload add-on inside of the browser might work even better for you since it would reload only when the file changes. If I understand how it works, it watches the file that you point it at and immediately refreshes the browser any time that the file changes. It's in the Ubuntu repositories. I'm not sure if you'd find it in the MXLinux repositories or not, but you can get it from the developer on the https://github.com/blaise-io/live-reload#readme page.
This page may also have one or more useful alternatives on it: https://stackoverflow.com/questions/1346716/how-do-i-make-firefox-auto-refre...
In the Geany prefs I always had "/opt/firefox/firefox" for the browser. Changing that to "Firefox" worked (surprisingly) but made no difference in the browser's behavior.
Yeah, I've seen it with %u and a few other options as well at times, but this time around, it auto-detected to just "firefox" and seems to work just fine. I guess as long as we've got it on the path, that's all that's needed.
I give up for now. I can live with the "Tab reloader" solution for the moment. Let's hope someone competent can reincarnate the Web helper plugin or build a new html preview for Geany.
It might happen. I'm glad you've at least got a solution in place even if it's not quite the one you'd been looking for.
hi again Little Girl,
------- Original Message ------- Op dinsdag 26 juli 2022 om 20:57 schreef Little Girl littlergirl@gmail.com:>
But my plan was to not having to click any button at all while writing. Saving is already auto.
Oh. I just saw this. I hadn't realized that automatic saving was even possible, but then again, I'd be afraid of it. My luck, I'd accidentally do something horrible to a file and it would obligingly help me to do the dirty deed.
It has been available in Geany for a long time as a plugin but I remember an article by the Geany Devs explaining why they did not really like it... It had a humorist sort of title, something like " Everything you never wanted to know about saving" or something like that. The auto-save interval was set to 5 minutes, if I remember correctly. I tried to make that much shorter, but had to stop at 5 seconds...anything shorter caused instability. That was before version 1.38, which I only found some weeks ago. In the new version, I can speed up the interval to 1 sec! That's close to instantaneous.
Then again, your mention of it makes me thing it might not be a bad idea to set it up as a supplement to my current method of being fanatic about manually backing up my work. After all, we humans are fallible and it's entirely possible that I might get caught up in something or be interrupted and not realize I had missed a save.
Yes, that's one of the powerful aspects of auto-saving. If you would be able to combine it with a sync service that lets you roll back to an earlier save-point in your work, it would be virtually indestructible and very reliable.
For the moment I added a Firefox add-on "Tab reloader", recommended by Mozilla. It simply refreshes the tab every 10 seconds. Those 10 seconds is my choice, it could also be set much slower, like e.g. Once every century... :)
Interesting. The suggestion by Emil Axelsson to use the livereload package in combination with the LiveReload add-on inside of the browser might work even better for you since it would reload only when the file changes. If I understand how it works, it watches the file that you point it at and immediately refreshes the browser any time that the file changes. It's in the Ubuntu repositories. I'm not sure if you'd find it in the MXLinux repositories or not, but you can get it from the developer on the https://github.com/blaise-io/live-reload#readme page.
I would of course have preferred LiveReload as Emil Axelsson suggested. I tried but did not succeed to get the background service running. I tend to be a little impatient, but a browser add-on should just work out of the box imo. TaB reloader is the only one recommended by Firefox, it has 71.673 users, compared to 990 for Live Reload...that's telling something too.
I give up for now. I can live with the "Tab reloader" solution for the moment. Let's hope someone competent can reincarnate the Web helper plugin or build a new html preview for Geany.
Thank you Little Girl! Bert
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
It has been available in Geany for a long time as a plugin but I remember an article by the Geany Devs explaining why they did not really like it... It had a humorist sort of title, something like " Everything you never wanted to know about saving" or something like that.
I don't think I said anything negative about the plugin autosave in that wiki article, except perhaps that it makes all the disadvantages of the saving methods (the whole point of the article) happen more often, and if backup is set will fill up the disk if the user doesn't clean up every so often, although thats less a problem with modern disk sizes than it was back in 2013 when that was written (sigh! feels olde).
The auto-save interval was set to 5 minutes, if I remember correctly. I tried to make that much shorter, but had to stop at 5 seconds...anything shorter caused instability.
That was before version 1.38, which I only found some weeks ago. In the new version, I can speed up the interval to 1 sec! That's close to instantaneous.
AFAIK nothing changed in Geany in that area, but maybe the background libraries improved.
...
I would of course have preferred LiveReload as Emil Axelsson suggested. I tried but did not succeed to get the background service running. I tend to be a little impatient, but a browser add-on should just work out of the box imo. TaB reloader is the only one recommended by Firefox, it has 71.673 users, compared to 990 for Live Reload...that's telling something too.
Or maybe change browsers ;-P 1,000,000+ users https://chrome.google.com/webstore/detail/easy-auto-refresh/aabcgdmkeabbnlee... or 400,000+ users https://chrome.google.com/webstore/detail/auto-refresh-plus-page-mo/hgeljhfe...
Cheers Lex
Hey there,
Bert Vercauteren via Users wrote:
Op dinsdag 26 juli 2022 om 20:57 schreef Little Girl:
Oh. I just saw this. I hadn't realized that automatic saving was even possible, but then again, I'd be afraid of it.
It has been available in Geany for a long time as a plugin but I remember an article by the Geany Devs explaining why they did not really like it... It had a humorist sort of title, something like " Everything you never wanted to know about saving" or something like that.
I've experienced the negative side of auto-saving for myself, so I can identify with anyone who has also ironically lost data by saving data.
The auto-save interval was set to 5 minutes, if I remember correctly. I tried to make that much shorter, but had to stop at 5 seconds...anything shorter caused instability. That was before version 1.38, which I only found some weeks ago. In the new version, I can speed up the interval to 1 sec! That's close to instantaneous.
That sounds bullet-proof to me. In fact, I've never heard of any program offering such solid protection.
Then again, your mention of it makes me thing it might not be a bad idea to set it up as a supplement to my current method of being fanatic about manually backing up my work. After all, we humans are fallible and it's entirely possible that I might get caught up in something or be interrupted and not realize I had missed a save.
Yes, that's one of the powerful aspects of auto-saving. If you would be able to combine it with a sync service that lets you roll back to an earlier save-point in your work, it would be virtually indestructible and very reliable.
True, although I wouldn't even mind doing it manually. It's the preservation of precious data that would be most important to me and it sounds like that would be a way to achieve it. Perhaps I'll give this auto-save thing a whirl in combination with my manual saves in the next round of NaNoWriMo this coming November.
I would of course have preferred LiveReload as Emil Axelsson suggested. I tried but did not succeed to get the background service running. I tend to be a little impatient, but a browser add-on should just work out of the box imo.
That's true, except that it's not just a browser extension, so there's more to it. This video demonstrates its use (with Chrome, but it would work with Firefox the same way) if you want to give it another try:
https://www.youtube.com/watch?v=sUY06rWklXU
TaB reloader is the only one recommended by Firefox, it has 71.673 users, compared to 990 for Live Reload...that's telling something too.
That's definitely something to take into consideration, but it's not necessarily an equal comparison since they each have a different purpose. One only does incremental refreshes at specific intervals while the other only does refreshes whenever the source file(s) change.
I'm using Ubuntu, so these instructions may not work directly for you.
I just installed livereload using
npm install livereload
(I.e. you need to have npm https://nodejs.org/en/download/ installed first.)
The program then ends up in node_modules/.bin/livereload
To start the service, just run that program, passing the directory containing the HTML files as arguments.
Hope this helps :)
/ Emil
Den 2022-07-23 kl. 20:20, skrev Bert Vercauteren via Users:
@ Emil Axelsson: That looks like a very good solution. I installed the Firefox add-on , but could not yet get the background service running. The add-on told me to use "Guard livereload" for my OS, until LiveReload 2 becomes available for it. Did not get any further.
On 2022-07-23 03:42, Bert Vercauteren via Users wrote:
Hi group,
Solutions come and go but I've been using inotify-tools for a decade or two. I made an "on_save command" function that does whatever I want in the shell.
Firefox never liked opening a file in a single tab however. I think you can change the setting for every link, but not just one local file. Ctrl+W is your friend. I save the Ctrl+S keystroke on Geany by enabling the plugin? setting that saves on any loss of focus.
If you are doing this a lot, maybe a browser extension would be better. I used one maybe five years ago but it was obsoleted by the firefox plugin change at that time.
Hi Geany User,
Thanks for your ideas,
Best regards, Bert
Verzonden met Proton Mail beveiligde e-mail.
------- Original Message ------- Op dinsdag 26 juli 2022 om 03:51 schreef Geany User geany-users@mgmiller.net:
On 2022-07-23 03:42, Bert Vercauteren via Users wrote:
Hi group,
Solutions come and go but I've been using inotify-tools for a decade or two. I made an "on_save command" function that does whatever I want in the shell.
Firefox never liked opening a file in a single tab however. I think you can change the setting for every link, but not just one local file. Ctrl+W is your friend. I save the Ctrl+S keystroke on Geany by enabling the plugin? setting that saves on any loss of focus.
If you are doing this a lot, maybe a browser extension would be better. I used one maybe five years ago but it was obsoleted by the firefox plugin change at that time.
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org