diff --git a/.gitattributes b/.gitattributes index 0198fdf1..1ea1ff51 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,6 @@ * text eol=lf +*.reg text eol=crlf + *.png binary *.gif binary diff --git a/contrib/README.md b/contrib/README.md index 5ea04b38..25a5e3d6 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -9,6 +9,9 @@ * assumes the webserver and copyparty is running on the same server/IP * modify `10.13.1.1` as necessary if you wish to support browsers without javascript +### [`explorer-nothumbs-nofoldertypes.reg`](explorer-nothumbs-nofoldertypes.reg) +disables thumbnails and folder-type detection in windows explorer, makes it way faster (especially for slow/networked locations (such as copyparty-fuse)) + # OS integration init-scripts to start copyparty as a service * [`systemd/copyparty.service`](systemd/copyparty.service) diff --git a/contrib/explorer-nothumbs-nofoldertypes.reg b/contrib/explorer-nothumbs-nofoldertypes.reg new file mode 100644 index 00000000..c1869510 --- /dev/null +++ b/contrib/explorer-nothumbs-nofoldertypes.reg @@ -0,0 +1,31 @@ +Windows Registry Editor Version 5.00 + +; this will do 3 things, all optional: +; 1) disable thumbnails +; 2) delete all existing folder type settings/detections +; 3) disable folder type detection (force default columns) +; +; this makes the file explorer way faster, +; especially on slow/networked locations + + +; ===================================================================== +; 1) disable thumbnails + +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"IconsOnly"=dword:00000001 + + +; ===================================================================== +; 2) delete all existing folder type settings/detections + +[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags] + +[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU] + + +; ===================================================================== +; 3) disable folder type detection + +[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell] +"FolderType"="NotSpecified"