Opening files/folders with apps: Set "details" view as default.

Questions about Wine on Linux
Locked
lawlist
Level 2
Level 2
Posts: 17
Joined: Wed Sep 07, 2022 3:56 pm

Opening files/folders with apps: Set "details" view as default.

Post by lawlist »

The default files/folders view for apps when inside the "Open" dialog window is the "list" view. How can I change the default view to "details" and make that persistent between sessions?
lawlist
Level 2
Level 2
Posts: 17
Joined: Wed Sep 07, 2022 3:56 pm

Re: Opening files/folders with apps: Set "details" view as default.

Post by lawlist »

I was unable to locate a user-defined option to select the "details" view as the default, but I was nevertheless able to locate the line in `filedlg.c` responsible for the initial setting of the list view. In the function FILEDLG95_SHELL_Init, change:

fodInfos->ShellInfos.folderSettings.ViewMode = FVM_LIST;

to

fodInfos->ShellInfos.folderSettings.ViewMode = FVM_DETAILS;
Locked