Jump to content

Filelist icons

From TotalcmdWiki

Icons can be displayed in the file windows to find files faster. There are various options to change the icon displaying. Some of them can be changed in the configuration dialog others have to be manually changed in the main settings file.

Basic icon configuration

To set the icon configuration naviagte to the display page in the configuration dialog. There is a group "Show symbols to the left of the filename". These options are mainly to adapt Total Commander to your computers performance. You have to choose one of the four basic options:

  • All associated + EXE/LNK (slow, 32-bit only)
  • All
  • Only standard symbols
  • No symbols
  • To improve the performance on slow media one of the following options may be of interest for you:
  • EXE/LNK not on floppy
  • EXE/LNK not on net
Configuration page where to set up the basic icon settings.
All associated + EXE/LNK (slow, 32-bit only)
All
Only standard symbols
No symbols

These settings are represented in various settings in your main settings file:

[Configuration]
; Show all icons (default).
Showicons=2
; Show only standard icons.
Showicons=1
; Don't display any icons.
Showicons=0

[Configuration]
;ShowEXEandLNKicons are only valid if ShowIcons is 2
;Don't show all icons and icons from executables and shortcuts 
ShowEXEandLNKicons=0
; Show all icons and icons from executables and shortcuts.
ShowEXEandLNKicons=1
;Show all icons and icons from executables and shortcuts but not from floppy disc (default).
 ShowEXEandLNKicons=2
 
[Configuration]
;IconsOnNet is only valid if  ShowEXEandLNKicons is not zero (and Showicons is 2)
; Show icons from executables and shortcuts on net drives (default).
IconsOnNet=1
; Do not show icons from executables and shortcuts on net drives 
IconsOnNet=0


Icon size

The icon size can be changed in the configuration dialog on the "Font" page. You are not limited to the standard sizes 16x16 and 32x32. You may enter a value of choice. These settings are saved resultion-specific. Changes will be applied to the current display resolution only. If you change your display resolution you'll face the default icon sizes.

Configuration page where to set up the filelist icons size.

These settings are saved in your main settings file. Please consider that the given INI file sections are just placeholders for the display resultion-specific sections.

[Resolution-specific]
; Icon size 16 bit version in points (default=10).
Iconsize=10
[Resolution-specific]
; Icon size 32 bit version in pixels (default=16).
Iconsize32=16

Overlay icons

To display overlay icons navigate to the display page in the configuration dialog. To display overlay icons activate the checkbox "Show overlay icons, e.g. for links".

Icon loading behavior

Loading icons for executable and shortcut files can be time consuming. When entering a directory these icons can be loaded in a delayed way. While the filelist is displayed almost immediately as if you had chosen the "All" option icons of executable and shortcut files are loaded in background (=1). If you deactivate (=0) the setting the file list is displayed when all icons even from executable and shortcut files were loaded. The default value is activated (=1).

Main configuration file setting:

[Configuration]
; Load icons from executable and shortcut files in foreground.
IconsInThread=0
; Load icons executable and shortcut files in background.
IconsInThread=1

Folder-specific icons

By default Total Commander shows folder icons taken from an internal library or a user-defined icon library. Using IconsSpecialFolders Total Commander displays the same icons as Explorer. This includes displaying of folder-specific icons. Enabling this settings is not enough. In addition it's required to set the Read-Only or System attribute.

[Configuration]
; Disable folder-specific icons.
IconsSpecialFolders=0 
; Enable folder-specific icons on local drives.
IconsSpecialFolders=1
; Enable folder-specific icons on network drives.
IconsSpecialFolders=2
; Enable folder-specific icons on all drives (default).
IconsSpecialFolders=3

File-specific icons

File-specific icons may represent the contents of a file in a graphical way. Unlike thumbnails these icons typically have to represent the contents even smaller then thumbnails do. File-specific icons are usually provided by an application that executes the default action for corresponding filetype.

You have to edit your main settings file to change this setting.

[Configuration]
; Disable file-specific icons.
ShellExtIcons=0
; Enable file-specific icons (default value).
ShellExtIcons=1

Customize filelist icons

To customize your filelist icons you have to create an icon library. An icon library is an icl file which contains a collection of icons. To use the icon library you have to edit your main settings file.

[Configuration]
; Path to an icon library containing filelist icons
IconLib=%APPDATA%\Total Commander\Filelist libraries\My Filelist icons.icl

The filelist icon library in detail (for more info see this thread on the forum):

example index description icon sizes Windows equivalent
0 icon for main windows and system tray (big) 16x16 and 32x32
1 closed directories (big) 16x16 and 32x32 Shell32.dll, 4.ico
2 was used for batch files, now 3 is used instead (big) 16x16 and 32x32
3 standard icon for programs (big) 16x16 and 32x32 Shell32.dll, 3.ico
4 standard icon for files (big) 16x16 and 32x32 Shell32.dll, 1.ico
5 shared directories (big) 16x16 and 32x32
6 opened directories (big) 16x16 and 32x32
7 opened archive files 16x16 and 32x32
8 closed archive files 16x16 and 32x32 imageres.dll, 174.ico
9 hidden and system files (big) 16x16 and 32x32
10 Parent directories (big) 16x16 and 32x32
11 hidden and system directories (big) 16x16 and 32x32
12 used when no icon can be loaded for a .lnk file, e.g. in archives 16x16 and 32x32
13 closed directories (small) 16x16 Shell32.dll, 4.ico
14 standard icon for files (small) 16x16 Shell32.dll, 1.ico
15 hidden and system directories (small) 16x16
16 shared directories (small) 16x16
17 opened directories (small) 16x16
18 hidden and system files (small) 16x16
19 was used for batch files, now 20 is used instead (small) 16x16
20 standard icon for programs (small) 16x16 Shell32.dll, 3.ico
21 text encoded files (big) 32x32
22 text encoded files (small) 16x16
23 file compare window icon 16x16 and 32x32
24 lister window icon 16x16 and 32x32
25 ? 16x16 and 32x32
26 synchronize window (at the bottom) 16x16
27 ftp connection 16x16, 24x24 and 32x32
28 ftps connection 16x16, 24x24 and 32x32
29 ftp connection (encrypted with main password) 16x16, 24x24 and 32x32
30 ftps connection (encrypted with main password) 16x16, 24x24 and 32x32
31 CRC checksums files 16x16 and 32x32
32 synchronize window icon 16x16 and 32x32
33 for the entry ftp on the desktop (cm_OpenDesktop) 16x16 and 32x32
34 reloading thumbs (folders) 16x16, 24x24 and 32x32
35 reloading thumbs (files) 16x16, 24x24 and 32x32
36 pause for taskbar preview during file operations (Windows 7 and up) 16x16 and 32x32
37 play for taskbar preview during file operations (Windows 7 and up) 16x16 and 32x32
38 search - plugin property: integer 16x16
39 search - plugin property: string 16x16
40 search - plugin property: date 16x16
41 search - plugin property: time 16x16
42 search - plugin property: boolean 16x16
43 search - plugin property: multiple choice 16x16
44 search - plugin property: full text search fields 16x16
45 overlay icon for currently folder in the tree and directory history (big) 16x16, 24x24, 32x32 and 64x64
46 overlay icon for currently folder in the tree and directory history (small) 16x16
47 shared files overlay icon (big) 16x16 and 32x32 Shell32.dll, 29.ico
48 shared files overlay icon (small) 16x16 Shell32.dll, 29.ico
49 hidden files overlay icon (big) 16x16 and 32x32
50 hidden files overlay icon (small) 16x16
51 synchronize - plugin property: text 16x16
52 file/folder shortcut overlay icon (small) 16x16 imageres.dll, 163.ico
53 file/folder shortcut overlay icon (big) 16x16, 24x24, 32x32 and 48x48 imageres.dll, 174.ico
54 one drive overlay icon - files in the cloud (small) 16x16 imageres.dll, 1404.ico
55 one drive overlay icon - files in the cloud (big) 16x16, 32x32 and 48x48 imageres.dll, 1404.ico
56 file compare window (at the bottom) 16x16, 24x24 and 32x32
57 one drive overlay icon - local file (small) 16x16 imageres.dll, 157.ico
58 one drive overlay icon - local file (big) 16x16, 32x32 and 48x48 imageres.dll, 157.ico


An example icon library can be found on the official addons page.


Back to Configuration