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-refresh-on-file-change

>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.

-- 
Little Girl

There is no spoon.
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to