Disabling Google Search in Lister

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
Mackus
Junior Member
Junior Member
Posts: 2
Joined: 2021-02-22, 22:43 UTC

Disabling Google Search in Lister

Post by *Mackus »

Is there a way to disable "search for selected text in google" in lister's context menu?

I looked both in TC config and in lister's.

I've found little information something called Contextmenu1 to be used in wincmd.ini, but it either doesn't do what I need or I don't know how to use.

When browsing confidential information I'd rather not accidentally send it to internet because my hand slipped.
User avatar
Gral
Power Member
Power Member
Posts: 762
Joined: 2005-01-26, 15:12 UTC

Re: Disabling Google Search in Lister

Post by *Gral »

Add or change

Code: Select all

Contextmenu1=
line under [Lister] section of WINCMD.INI (main INI file).
Mackus
Junior Member
Junior Member
Posts: 2
Joined: 2021-02-22, 22:43 UTC

Re: Disabling Google Search in Lister

Post by *Mackus »

It worked, but not immediately.

Turns out that just because one told TC to keep settings in same directory as his exe doesn't mean he'll actually do it, so it didn't work when I changed the ini in it's directory. But when I edited settings in ghisler's appdata directory, adding the line worked.
User avatar
Gral
Power Member
Power Member
Posts: 762
Joined: 2005-01-26, 15:12 UTC

Re: Disabling Google Search in Lister

Post by *Gral »

First of all, always check which INI file is used - "Help" - "About Total Commander"

You can set INIs files by these methods:

1) command line parameters (higher priority)

Code: Select all

totalcmd.exe /i=name.ini /F=ftpname.ini
From help:
/i=name.ini Use a different INI file name.ini instead of wincmd.ini to save settings.
/F=ftpname.ini Use a different INI file name.ini instead of wcx_ftp.ini to save settings for built-in FTP client.
2) UseIniInProgramDir=
From help:
UseIniInProgramDir=0 This variable will only be read if the wincmd.ini is located in the same dir as the program. It must be put in wincmd.ini directly, RedirectSection has no effect on this variable.
It is the sum of the following values:
1: Use wincmd.ini in program dir if no other location is set via registry or parameters
2: Use wcx_ftp.ini in program dir if no other location is set via registry or parameters
4: Override registry settings (but not command line parameters)
3) Registry settings.
Post Reply