Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Offer a 'Preferences' option to turn off 'generic' icons in 'ListView' #26
FOR NOTICEABLY BETTER PERFORMANCE of Caja in directories of thousands
A shortcoming of Nautilus/Caja (that I notice more on my netbook computers
The slowness on my desktop computer is only noticed in
Directory filename lists, for directories containing around 300 files (like
NOT SO on netbook installations (Intel Atom or AMD C60 processor,
It takes about 5 or 10 seconds (or more) to display a list of about 200 filenames.
Even though I have used the 'Edit > Preferences > Preview' path of
to 'Never', it takes 5-plus seconds for the directory filenames list,
I am pretty sure that a lot of the slowdown is due to Nautilus and Caja
Those icon files (typically in /usr/share/icons subdirectories) are about
Compare that to the 8-bits (one byte) that the 'ls -F' command uses to
It takes over 100 times the bits --- for an icon image versus a single
I would be quite happy to do without the little icons (and ASCII character
The little triangle to the left of directory names is enough to indicate directories
And I do not need the little globe icons and page icons (etc. etc.) to
And even if I do not provide a suffix, I can usually tell what type of file
So, PLEASE, Caja (and Nautilus) developers, ADD AN OPTION to the
(This might even convince Xfce and LXDE desktop users to change
An EXTERNAL REFERENCE:
This is a long page, but you can find several images that illustrate this request
referenced this issue
May 8, 2015
If showing the icon is causing a slowdown enough for the user to feel, then it it must be a matter of handling the icon incorrectly, i.e., by loading it independently for each item being listed. A directory of a thousand files probably will have files of a relatively small number of different types, so the actual number of icons loaded will be very low. Maybe 1-10 different icons.
On slower machines, it can take a significant amount of time just to load the file list. Comparing the time in Caja with a sorted directory listing would be more useful than just timing Caja. By the seat of my pants, on this machine (4-core), Caja takes about a second to load a directory with 2500 files. "time ls -l" on the same directory: "real 0m0.991s". So I'm not sure that this really would cause a significant improvement.
I still, however, would like the option to remove generic icons, but instead of showing no icons, have it show thumbnails like in icon view with fallback to generic icons if there are no thumbnails for the file type.