PDA

View Full Version : [ubuntu] Text-file preview



utnubuuser
February 13th, 2009, 08:05 AM
Hello -- does anybody know if the tool-tip function can be extended to text files?
We've got 'preview' for audio files, and I'm wondering if the tool-tip function can be extended to show the first line or two of text files.

Thanks

SteveDee
February 13th, 2009, 09:21 AM
Hello -- does anybody know if the tool-tip function can be extended to text files?
We've got 'preview' for audio files, and I'm wondering if the tool-tip function can be extended to show the first line or two of text files.

Thanks

You probably know that you can display text in an icon in Nautilus (Edit > Preferences > Preview > Text Files). And I would have thought it could be done via a Nautilus script. Take a look here: http://g-scripts.sourceforge.net/cat-executing.php