On 12-11-17 05:01 PM, Andrej N. Gritsenko wrote:
>      Hello!
>
> Stephan Sokolow has written on Saturday, 17 November, at 16:36:
>> So, let me get this straight. GNOME somehow managed to get the Nautilus
>> templates folder into ~/.config/user-dirs.dirs alongside stuff that's
>> actually used by more than one application in the same desktop
>> environment like the desktop, documents, downloads, pictures, and music
>> folders?
>
> Precisely. It's XDG_TEMPLATES_DIR statement in that file.

I should have phrased that differently. What I had trouble believing was 
XDG_TEMPLATES_DIR is in a state of "Use it as intended, break your file 
manager" limbo.

>
> Exactly. Each file in ~/Templates will be added by Nautilus to the 'New'
> submenu. I've implemented it such way pcmanfm will show only one file per
> file type (i.e. only one LibreOffice text doc or only one JPEG file) and
> it's why I do some filtering which caused the beforementioned effect.
>

Do you have a clear plan for how the user will select the one to appear? 
(Hopefully, something less amateurish than how, in the 2000s, all the 
Windows users were sticking "!!" at the beginning of their torrents' 
README files to game the explorer.exe sorting algorithm)

Also, have you given any thought to potential alternative 
implementations that could overcome that "one entry per type" 
limitation? (eg. Suppose I wanted multiple .txt templates and I wasn't 
using Vim+SnipMate for that)

>> Given that I've never seen a file manager other than Nautilus that
>> supports parsing a ".hidden" file to hide non-dotfiles, I tend to blame
>> GNOME developers' NIH syndrome whenever I see a non-hidden folder in my
>> homedir getting regenerated but I don't actually expect to see such an
>> impression confirmed in a standard.
>
> GNOME ways are sometimes very out of common sense. That's why I prefer to
> avoid GNOME ways sometimes. :)

Agreed, though I'd definitely love it if ".hidden" started to get used 
outside Nautilus so I could have the option of hiding things I almost 
never visit and only in the terminal (like /proc and /sys) from my GTK+ 
Open/Save dialogs and PCManFM. It'd make for a much cleaner experience.

...not to mention allowing me to hide things like ~/espeak-data while I 
wait to see if devs are going to actually fix reported use-of-filesystem 
bugs.


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Pcmanfm-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop

Reply via email to