On 6/26/23 16:13, Dick Steffens wrote: > Here's another one that I don't know what to call it. In Xubuntu 20.04, > when I create a file with Right-click - file type, I would get a text > box where, for example, a new text file would show up with something > like "Plain Text" highlighted and .txt not highlighted. I could then > just type the name I want the file to have without having to type .txt. > That is not what I'm getting with Xubuntu 22.04. The text box has > everything highlighted, so I have to remember to add the .txt. > > Is this a feature, or the loss of a feature? And if it's a feature, how > to I set it to act like it did in 20.04? >
Dick, Linux does not rely or use extensions as heavily as Windows - a legacy of various DOS, whether IBM, MS, CP/M etc. They are not necessary and usage will vary between DEs and DE versios (KDE, Xfce, etc), what program or file manager generates the file, and not the particular Linux distro installed. Syslogs for example historically end in .log for convenience instead of .txt or nothing. Interesting article to learn about Linux file types: https://www.baeldung.com/linux/file-extensions-meaning Being an old fossil myself from the CP/M and [MS,IBM]DOS days, I tend to explicitly give my files the old timey extensions, disregarding whatever the default (unless mandated by the program), so I can easily tell who is what in a file listing. In my distro, I've used Xfce for many an age, and it is the unmodified upstream source. Right-click on desktop or in Thunar just presents Create Document -> Empty File -> file name dialog. The created file is always text regardless of extension provided. TL;DR: Xubuntu may have added or modified the right-click with Thunar custom actions and/or file templates. Look for a $HOME/Templates or /etc/Templates, for example. If you create an empty "new file.txt" in $HOME/Templates, it will show up as a choice in Thunar and Xfce desktop right-click->create document. -Ed
