2

So, is there a graphical text reader or editor that automatically refreshes its text if the file is completely changed outside of it?

I found that gedit detects file changes but refresh is not automatic, requiring interaction.

Also, evince could do it but does not work with plain text files.

1
  • FWIW kate also requires interaction. Commented May 22, 2014 at 5:00

2 Answers 2

0

Sublime text2 is a very good editor which will suit your requirements.

Refer to the answers for this question. I have used it in windows though not in Linux environment. However, I see from here that it is available for Linux systems too.

1
  • I am making a script that will use it and as Sublime is paid, ppl may not want to buy it :( Commented May 21, 2014 at 3:02
0

I found a way using evince, it is a bit slow hack, I would rather prefer a plain text reader..

basically, put this on a loop that check if the text file changed:

enscript -f "Times-Roman14" "TextFileThatChanges.txt" -p "ConvertedTo.pdf"

The font option is just to make it more readable.

evince will automatically detect and reload the changed pdf file!

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.