Really weird question about text files.
How do I create new .txt files with a right click in Bazzite?
I'm strange in that I tend to write a lot, and traditionally my preferred program to write in was notepad. Not plus, not a .doc, not an .rtf, the original .txt notepad. Old-old school. Bazzite seems fine opening the files I already have, but I don't know how to make new ones.
Solution:Jump to solution
don't need the
\ s if you use 's or "s (touch ~/Templates/'Empty text file.txt')26 Replies
Extensions aren’t real
Just create any file and change the extension
If you're in the file manager, you can right click -> create new, text file
And if you don't like kate then kwrite is even simpler
(both are editors)
If you're on gnome, you have to create a template first in ~/Templates FYI. Just an empty file called "Empty.txt" is enough. After that you can create new Empty.txt files anywhere
ah sorry, I was talking about KDE with the Dolphin file manager
I'm in the gnome variant, yeah. When I right click on the desktop, and select 'new document' I get pic related.
Would creating a new 'empty.txt' template work for creating a new empty text file?

I think that's what amel is saying
I am guessing in the terminal, you could run a command like
touch ~/Templates/Empty.txtYep exactly
I will attempt to do so now. I'm a neophyte at linux, so if I don't say anything for ten minutes, I set my rig on fire.
Lol you can just open text editor
And immediately save an empty file to the Templates folder; and then it will work :upswagold:
I don't know how to do that.
Example






Just
touch ~/Templates/Empty\ Text\ File.txt in terminalSolution
don't need the
\ s if you use 's or "s (touch ~/Templates/'Empty text file.txt')Que?

need capital T for Templates
Capital letters matter on Linux, that's one difference compared to Windows

It worked! Thank you!
@Michael_P_Giffin and if you're curious about learning Linux details a little more, you might think "what does the
touch command do?"
To find out, in a terminal you can run man touch. This means "show me the manual for the 'touch' command." When you are finished reading the manual, you can quit by pressing 'q'
Long story short: The touch command can be used to create an empty file. It is useful in this case because you wanted to make a placeholder file in Templates.Thank you, very much,.
From now on, you can right click and use the menu, no terminal magic required. 🙂
no prob :upswagold: you can create any template that way, it's very nifty
It’s a til moment for me as well
I believe it was Confucius who said 'a wise teacher learns as much from teaching as their students do'.
Indeed