Can I synchronize my host DE and Wine configuration?
-
- Newbie
- Posts: 2
- Joined: Tue Oct 10, 2023 6:33 pm
Can I synchronize my host DE and Wine configuration?
I use KDE Plasma. It comes with a Font KCM. I'd like to automatically at least synchronize my font and/or font size between Wine and the DE, and later, colours too. Has anyone done this yet? https://github.com/microsoft/winget-pkg ... 1756341456 demonstrates the differences between the host DE and Wine.
Re: Can I synchronize my host DE and Wine configuration?
There are several places where you can change the (default) fonts:
- winecfg → Desktop Integration → Item
- wine regedit → HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes → "MS Shell Dlg" and "MS Shell Dlg 2"
Change "Tahoma" to the font of your choice.
Since "Tahoma" is the default font, you can also replace it with your own font wherever "Tahoma" is used.
(No idea if this has any negative side effects in games or other applications.)
- wine regedit → HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
Create a new "String Value" with the name "Tahoma" and your font as data
- winecfg → Desktop Integration → Item
- wine regedit → HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes → "MS Shell Dlg" and "MS Shell Dlg 2"
Change "Tahoma" to the font of your choice.
Since "Tahoma" is the default font, you can also replace it with your own font wherever "Tahoma" is used.
(No idea if this has any negative side effects in games or other applications.)
- wine regedit → HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
Create a new "String Value" with the name "Tahoma" and your font as data
-
- Newbie
- Posts: 2
- Joined: Tue Oct 10, 2023 6:33 pm
Re: Can I synchronize my host DE and Wine configuration?
Thank you. I'm going to use those Registry paths to create a PowerShell Core 7 .ps1 script which shall use the $IsLinux and $IsWindows automatic variables to determine whether it's being run from Windows or Linux, and simply run it first from my Linux host's instance of PowerShell and then the Wine installation of PowerShell in order to synchronize them from host to Wine.