[11.x x32/x64] Any Linux users here? A visual bug on Wine
Moderators: Stefan2, Hacker, petermad
[11.x x32/x64] Any Linux users here? A visual bug on Wine
I hope everyone knows that TC runs well on Wine under Unix-like systems (and provides a lot of functionality absent in Linux alternatives). However, it has an annoying visual bug in Dark mode on such systems.
The menu bar is dark only under the menu items (Files .. Start and Help), between these sections it remains white. This bug does not depend on the system (Linux Mint, KDE Linux, ElementaryOS, Ubuntu, FreeBSD), on the desktop environment (KDE, Cinnamon, Gnome), on the graphic platform (X11 or Wayland) and on the Wine version (9.0, 10.x, 11.0, 11.5). Both 32-bit and 64-bit versions of TC are affected in the same exact way. Any thoughts?
Image: https://i.ibb.co/VWwvjGXb/4830.jpg
The menu bar is dark only under the menu items (Files .. Start and Help), between these sections it remains white. This bug does not depend on the system (Linux Mint, KDE Linux, ElementaryOS, Ubuntu, FreeBSD), on the desktop environment (KDE, Cinnamon, Gnome), on the graphic platform (X11 or Wayland) and on the Wine version (9.0, 10.x, 11.0, 11.5). Both 32-bit and 64-bit versions of TC are affected in the same exact way. Any thoughts?
Image: https://i.ibb.co/VWwvjGXb/4830.jpg
We are not so S.M.A.R.T. as we imagine...
Re: [11.x x32/x64] Any Linux users here? A visual bug on Wine
ADD: the same bug exists on ReactOS as well!
We are not so S.M.A.R.T. as we imagine...
Re: [11.x x32/x64] Any Linux users here? A visual bug on Wine
[TC 10.50b7]Darkmode Mainmenu Wine-7.9 Debian 11 within subforum "TC Behaviour which will not be changed"
- ghisler(Author)
- Site Admin

- Posts: 53139
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [11.x x32/x64] Any Linux users here? A visual bug on Wine
Unfortunately Wine ignores the custom menu background. However, there is a trick you can use with a fixed size window:
1. Go to menu Configuration - Options - Language
2. If you use internal English, change the menu file name manually to wcmd_eng.mnu
3. Click on "Edit"
4. Write the following between the lines STARTMENU and HELP_BREAK:
POPUP " "
END_POPUP
It should then look like this:
5. Save the file, but don't close it yet
6. Click on APPLY in Total Commander
7. If the menu is split into two lines, remove some spaces. If there is still white background, add some spaces
8. When done, there will still be a small gap you can't fix. Just adjust the Total Commander width until it's gone, and choose menu Configuration - Save position.
1. Go to menu Configuration - Options - Language
2. If you use internal English, change the menu file name manually to wcmd_eng.mnu
3. Click on "Edit"
4. Write the following between the lines STARTMENU and HELP_BREAK:
POPUP " "
END_POPUP
It should then look like this:
Code: Select all
STARTMENU
POPUP " "
END_POPUP
HELP_BREAK6. Click on APPLY in Total Commander
7. If the menu is split into two lines, remove some spaces. If there is still white background, add some spaces
8. When done, there will still be a small gap you can't fix. Just adjust the Total Commander width until it's gone, and choose menu Configuration - Save position.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin

- Posts: 53139
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [11.x x32/x64] Any Linux users here? A visual bug on Wine
I have made some more tests on Linux to change the menu bar color, but nothing worked. SetMenuInfo with parameter MIM_BACKGROUND is unfortunately being ignored.
Moderator message from: ghisler(Author) » 2026-04-06, 10:02 UTC
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [11.x x32/x64] Any Linux users here? A visual bug on Wine
I experimented also a bit more and didn't find a complete solution, but only a workaround that mitigates the display problem and is easier to configure than other suggestions:
Removing HELP_BREAK *) (so that the help moves closer to the starter) moves the light area all the way to the right, which is a significant improvement in appearance.
By inserting several shorter
POPUP " "
END_POPUP
added _behind_ the help menü popup, you can gradually reduce the size of the light area.
Using several shorter ones makes it easier to achieve (almost) complete coverage with a dark background.
*) The main function of HELP_BREAK was always to move the menu point "Right" (as it exists in Norton Commander) to the far right. But even I stopped using the "Right" menue one decade or so...
Removing HELP_BREAK *) (so that the help moves closer to the starter) moves the light area all the way to the right, which is a significant improvement in appearance.
By inserting several shorter
POPUP " "
END_POPUP
added _behind_ the help menü popup, you can gradually reduce the size of the light area.
Using several shorter ones makes it easier to achieve (almost) complete coverage with a dark background.
*) The main function of HELP_BREAK was always to move the menu point "Right" (as it exists in Norton Commander) to the far right. But even I stopped using the "Right" menue one decade or so...

