[arch-general] Content of new text file

Peter Lewis plewis at aur.archlinux.org
Wed Jul 13 19:13:05 EDT 2011


On Wed, 13 Jul 2011, Squall Lionheart wrote:
> > > When using Dolphin in KDE4 to *Create New > Text File...* the new
> > > file is not empty, it contains a space and a newline character.  I
> > > have looked for some kind of setting or template file that controls
> > > this default and have not been successful.  I was wondering if anyone
> > > knows how to modify this behavior or can provide a link to a how to.
> > > My goal here is to simply create an empty file just like if you used
> > > *touch newfile.txt*.
> >
> > Looks like a case for https://bugs.kde.org.
> 
> If it comes down to it being a bug, I'll file a report.  Just want to make
> sure it's not just a template somewhere first.

/usr/share/templates/TextFile.desktop will let you configure it. You can
point the URL variable to your desired template file.

Pete.


More information about the arch-general mailing list