Wine woes

Message
Author
skallal
Posts: 258
Joined: Fri Jul 28, 2023 12:47 pm

Wine woes

#1 Post by skallal »

I've been trying to get wine up and running. So far I have the following packages installed: wine-staging, wine-staging-amd64, wineq-staging, and winetricks all under Enabled Repos in MXPI. There two folders ~/.wine and ~/.wine32. The ~/.wine folder has the 3 applications I've tried to install so far: 7-Zip, XmlNotepad, and Agent Ransack. I know for certain XmlNotepd and Agent Ransack are 64 bit apps.

This brings up my perplexing question: how to run both 64 and 32 bit apps in a single setup of wine. I assume that a 64 bit setup should run 32 bit apps just as in real Windows. But I can't find any info. Also I've been able to launch a single app. The 7-Zip app is the closest so far. I've been able to get a command line response. But I really don't need 7-Zip because it has a Linux package already. XmlNotepad and Agent Ransack are more important to me as a developer.

There are environment variables to setup I haven't figured out yet. That is WINEARCH and WINEPREFIX. There's a 32 and bit 64 version of each and only one can be enabled at a time. This is perplexing because and need to run both types of apps with a single setup.

I've tried to execute both XmlNotepad and Agent Ransack from the terminal. Agent Ransack is first:

Code: Select all

$ wine ~/.wine/drive_c/Program\ Files/Mythicsoft/Agent\ Ransack/AgentRansack.exe
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.14 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\SearchLib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\DirTraverseLib.dll") not found
0114:err:module:import_dll Library DirTraverseLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\SearchLib.dll") not found
0114:err:module:import_dll Library SearchLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\AgentRansack.exe") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\SearchLib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\DirTraverseLib.dll") not found
0114:err:module:import_dll Library DirTraverseLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\SearchLib.dll") not found
0114:err:module:import_dll Library SearchLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\UIExtLib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\DirTraverseLib.dll") not found
0114:err:module:import_dll Library DirTraverseLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\UIExtLib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\UIExtLib.dll") not found
0114:err:module:import_dll Library UIExtLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\AgentRansack.exe") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\AgentRansack.exe") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\SearchLib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\DirTraverseLib.dll") not found
0114:err:module:import_dll Library DirTraverseLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\SearchLib.dll") not found
0114:err:module:import_dll Library SearchLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\UIExtLib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\DirTraverseLib.dll") not found
0114:err:module:import_dll Library DirTraverseLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\UIExtLib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\UIExtLib.dll") not found
0114:err:module:import_dll Library UIExtLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\ConfigUILib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\SearchLib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\DirTraverseLib.dll") not found
0114:err:module:import_dll Library DirTraverseLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\SearchLib.dll") not found
0114:err:module:import_dll Library SearchLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\ConfigUILib.dll") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\ConfigUILib.dll") not found
0114:err:module:import_dll Library ConfigUILib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\AgentRansack.exe") not found
0114:err:module:import_dll Library elscore.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\TextFuncLib.dll") not found
0114:err:module:import_dll Library TextFuncLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\DirTraverseLib.dll") not found
0114:err:module:import_dll Library DirTraverseLib.dll (which is needed by L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\AgentRansack.exe") not found
0114:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files\\Mythicsoft\\Agent Ransack\\AgentRansack.exe" failed, status c0000135
Looks like there's a long list of missing DLLs.

And for XmlNotepad:

Code: Select all

wine ~/.wine/drive_c/Program\ Files\ \(x86\)/LovettSoftware/XmlNotepad/XmlNotepad.exe
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.14 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:err:actctx:next_xml_elem wrong closing element L"assembly" for L"application"
0024:fixme:actctx:parse_manifest_buffer failed to parse manifest L"C:\\Program Files (x86)\\LovettSoftware\\XmlNotepad\\XmlNotepad.exe.manifest"
0118:err:actctx:next_xml_elem wrong closing element L"assembly" for L"application"
0118:fixme:actctx:parse_manifest_buffer failed to parse manifest L"C:\\Program Files (x86)\\LovettSoftware\\XmlNotepad\\XmlNotepad.exe.manifest"
0118:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.7.2" not implemented
0118:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.7.2" not implemented
0118:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

Unhandled Exception:
System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <System.Windows.Forms.ApplicationConfigurationSection> (C:\Program Files (x86)\LovettSoftware\XmlNotepad\XmlNotepad.exe.config line 6)
  at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00007] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, System.Boolean overrideAllowed, System.Boolean root) [0x00135] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, System.Boolean overrideAllowed) [0x00007] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x000ce] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.Configuration.Load () [0x00043] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x0005d] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00056] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x0000d] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (System.Configuration.ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x0001f] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x0000e] in <49c2eef72dcd4a54821213b795fa8e00>:0 
   --- End of inner exception stack trace ---
  at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x0002a] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00005] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Net.Configuration.DefaultProxySectionInternal.GetDefaultProxy_UsingOldMonoCode () [0x00000] in <331a7abd357340168112f46654bda93e>:0 
  at System.Net.Configuration.DefaultProxySectionInternal.GetSection () [0x00015] in <331a7abd357340168112f46654bda93e>:0 
  at System.Net.WebRequest.get_InternalDefaultWebProxy () [0x00022] in <331a7abd357340168112f46654bda93e>:0 
  at System.Net.WebRequest.get_DefaultWebProxy () [0x00000] in <331a7abd357340168112f46654bda93e>:0 
  at XmlNotepad.XmlProxyResolver..ctor (System.IServiceProvider site) [0x00021] in <010614f5e0b44a6a847f0b798c29396d>:0 
  at XmlNotepad.FormMain..ctor (XmlNotepad.SettingsLocation location) [0x0007c] in <3956fe1817a544bda2001193d630b14e>:0 
  at (wrapper remoting-invoke-with-check) XmlNotepad.FormMain..ctor(XmlNotepad.SettingsLocation)
  at XmlNotepad.Program.Main (System.String[] args) [0x000de] in <3956fe1817a544bda2001193d630b14e>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <System.Windows.Forms.ApplicationConfigurationSection> (C:\Program Files (x86)\LovettSoftware\XmlNotepad\XmlNotepad.exe.config line 6)
  at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00007] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, System.Boolean overrideAllowed, System.Boolean root) [0x00135] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, System.Boolean overrideAllowed) [0x00007] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x000ce] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.Configuration.Load () [0x00043] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.Configuration.Init (System.Configuration.Internal.IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x0005d] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00056] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x0000d] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (System.Configuration.ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x0001f] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x0000e] in <49c2eef72dcd4a54821213b795fa8e00>:0 
   --- End of inner exception stack trace ---
  at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x0002a] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00005] in <49c2eef72dcd4a54821213b795fa8e00>:0 
  at System.Net.Configuration.DefaultProxySectionInternal.GetDefaultProxy_UsingOldMonoCode () [0x00000] in <331a7abd357340168112f46654bda93e>:0 
  at System.Net.Configuration.DefaultProxySectionInternal.GetSection () [0x00015] in <331a7abd357340168112f46654bda93e>:0 
  at System.Net.WebRequest.get_InternalDefaultWebProxy () [0x00022] in <331a7abd357340168112f46654bda93e>:0 
  at System.Net.WebRequest.get_DefaultWebProxy () [0x00000] in <331a7abd357340168112f46654bda93e>:0 
  at XmlNotepad.XmlProxyResolver..ctor (System.IServiceProvider site) [0x00021] in <010614f5e0b44a6a847f0b798c29396d>:0 
  at XmlNotepad.FormMain..ctor (XmlNotepad.SettingsLocation location) [0x0007c] in <3956fe1817a544bda2001193d630b14e>:0 
  at (wrapper remoting-invoke-with-check) XmlNotepad.FormMain..ctor(XmlNotepad.SettingsLocation)
Near the top it mentions "NETFramework,Version=v4.7.2" not implemented which makes perfect sense. I have the .NET Framework 4.7.2 installed on Windows 10 along with many other versions.

This should be enough to start with and hopefully not too much. Again I have several questions about wine basics especially 32 vs 64 bit app hopefully in a single setup.

And here's my obligatory QSI:

Code: Select all

System:
  Kernel: 6.4.9-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable hpet=disable rcupdate.rcu_expedited=1
    BOOT_IMAGE=/boot/vmlinuz-6.4.9-1-liquorix-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23_x64 Libretto July 24  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: Gateway model: DX4850 serial: <superuser required> BIOS: American Megatrends
    v: P01-A3 date: 02/11/2011
CPU:
  Info: model: Intel Core i5-2300 bits: 64 type: MCP arch: Sandy Bridge gen: core 2 level: v2
    built: 2010-12 process: Intel 32nm family: 6 model-id: 0x2A (42) stepping: 7 microcode: 0x2F
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
    L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1701 high: 1781 min/max: 1600/2801 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1690 2: 1693 3: 1781 4: 1641 bogomips: 22349
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Acer Incorporated ALI driver: i915 v: kernel arch: Gen-6 code: Sandybridge
    process: Intel 32nm built: 2011 ports: active: VGA-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:0102 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: VGA-1 model: Asus VE278 serial: <filter> built: 2012 res: 1920x1080 hz: 60 dpi: 82
    gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes: max: 1920x1080
    min: 720x400
  API: OpenGL v: 3.3 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 2000 (SNB GT1)
    direct-render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Acer Incorporated ALI 6
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403
  API: ALSA v: k6.4.9-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.77 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel 82579V Gigabit Network vendor: Acer Incorporated ALI driver: e1000e v: kernel
    port: f080 bus-ID: 00:19.0 chip-ID: 8086:1503 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 737.86 GiB used: 121.72 GiB (16.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT480BX500SSD1 size: 447.13 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 054 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 840 Series size: 232.89 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 6B0Q scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: SanDisk model: Ultra size: 57.84 GiB block-size:
    physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 447.13 GiB size: 439.04 GiB (98.19%) used: 121.72 GiB (27.7%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 77.4 MiB (1.9%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 3009 pm: dpkg pkgs: 2990 libs: 1719 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 19
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://la.mirrors.clouvider.net/debian bookworm-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://la.mirrors.clouvider.net/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
    1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
  Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list
    1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/11/prod bullseye main
  Active apt repos in: /etc/apt/sources.list.d/mono-official-vs.list
    1: deb https://download.mono-project.com/repo/debian vs-buster main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mirrors.ocf.berkeley.edu/mx-packages/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/scootersoftware.list
    1: deb [signed-by=/usr/share/keyrings/scootersoftware-keyring.gpg] https://www.scootersoftware.com/ bcompare4 non-free
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/winehq-bookworm.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/debian bookworm main
Info:
  Processes: 325 Uptime: 5d 35m wakeups: 90 Memory: 15.54 GiB used: 4.29 GiB (27.6%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

User avatar
bin
Posts: 68
Joined: Sun Aug 30, 2009 1:53 am

Re: Wine woes

#2 Post by bin »

Slightly complicated - many 32 bit applications don't actually demand a 32 bit prefix. If you have one that does then you have no choice.

I assume you have tried by creating a WINEARCH=win64 prefix and then installing your 32 bit app?

I have 4 wine prefixes - one for each application I use. I think one is definitely 32 bit, the others are 64. I just copy them across whenever I change or upgrade distro.

As you're using wine-staging there may be other factors at play. I install wine32 and wine64 but I don't know if staging pulls in wine32 or not.

You have ample memory so not sure what the issue is with running separate prefixes?

skallal
Posts: 258
Joined: Fri Jul 28, 2023 12:47 pm

Re: Wine woes

#3 Post by skallal »

bin wrote: Wed Aug 30, 2023 2:06 am Slightly complicated - many 32 bit applications don't actually demand a 32 bit prefix. If you have one that does then you have no choice.

I assume you have tried by creating a WINEARCH=win64 prefix and then installing your 32 bit app?

I have 4 wine prefixes - one for each application I use. I think one is definitely 32 bit, the others are 64. I just copy them across whenever I change or upgrade distro.

As you're using wine-staging there may be other factors at play. I install wine32 and wine64 but I don't know if staging pulls in wine32 or not.

You have ample memory so not sure what the issue is with running separate prefixes?
Thanks for your reply! My post was way too detailed.

I figured out 32 vs 64 bit on wine. My prefix is:

Code: Select all

export WINEPREFIX=~/.wine
and my WINEARCH is:
export WINEARCH=win64
Yet I'm able to run 32 bit Windows apps anyway and 64 bits as well. I was looking for a way to both 32 and 64 bit apps at the same time. Prefixes are secondary. I was under a false impression it would be necessary to switch prefixes on the fly to run both types of apps. Fortunately that wasn't the case. I'm very new to wine and didn't know how to ask the proper questions.

Notepad++ is 32 bits. It does have a 64 bit version but is limited with fewer plugins, so I use the 32 bit version instead. Also have 7-Zip and XML Notepad installed as 64 bit apps. XML Notepad is the one useful app for me. It requires the .NET Framework to be installed and it seems to work well.

The Agent Ransack app mentioned in my initial post is a non starter. A Google search reveals others have tried and failed to make it work under wine. It's a shame as it's a very useful utility.

That said I'm not impressed by wine in general. Most applications will NOT run in it. It's a game of chance at best. I have several MS branded games that won't work at all.

txm0523
Posts: 148
Joined: Sat Oct 06, 2018 5:34 pm

Re: Wine woes

#4 Post by txm0523 »

I have one application I use that is Windows based. I had problems after installing Wine from the repositories and it never ran correctly. I uninstalled all Wine files from my computer that were installed through repositories. What I did was install Wine from their website. Here is the link: https://wiki.winehq.org/Debian. The application I use is 32 bit based and my computer is 64 bit. Follow the instructions verbatim and once installed, your application / program should run, that is, as long as the program / application is supported by Wine. You can check their ( Wine ) repository for the application you want to install and see the status. Hope this works for you.

User avatar
FullScale4Me
Posts: 1012
Joined: Fri Jan 08, 2021 11:30 pm

Re: Wine woes

#5 Post by FullScale4Me »

Why have you installed wine-staging, wine-staging-amd64, wineq-staging, and winetricks and not just Wine?

I have 1 Windows program that I still use, Xenu Link Sleuth. I open MX Package Installer and in the Popular application open the Misc category and select "Wine" and *nothing* else.

In Thunar I get a right click "open With Wine Windows Program Loader" and it runs that program's installer toot sweet with no issues.

I'd tried all those others you mentioned when I was on Lubuntu. Most times they, like you sent me down the (blind) failure alley.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
FullScale4Me
Posts: 1012
Joined: Fri Jan 08, 2021 11:30 pm

Re: Wine woes

#6 Post by FullScale4Me »

When I installed XmlNotepad it went thru the install fine. Running it gave the error below.

Code: Select all

wine: failed to open "C:\\\\users\\\\mike\\\\AppData\\\\Roaming\\\\Microsoft\\\\Windows\\\\Start\\": c0000135
I went to /home/mike/.wine/drive_c/users/mike/AppData/Roaming/Microsoft/Windows/ and created the missing "Start" folder. It then the below opened.

Image

Hmmm, missing more than a few critical bits based on running it on Windows 11 in Virtual Box.

Running it in terminal on MX 23 Xfce gives a whole screen of errors, early on was:

Code: Select all

 .NETFramework,Version=v4.7.2" not implemented
Wine 8.12 & Mono 8.0.0
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

skallal
Posts: 258
Joined: Fri Jul 28, 2023 12:47 pm

Re: Wine woes

#7 Post by skallal »

FullScale4Me wrote: Sat Sep 02, 2023 11:09 pm Why have you installed wine-staging, wine-staging-amd64, wineq-staging, and winetricks and not just Wine?

I have 1 Windows program that I still use, Xenu Link Sleuth. I open MX Package Installer and in the Popular application open the Misc category and select "Wine" and *nothing* else.

In Thunar I get a right click "open With Wine Windows Program Loader" and it runs that program's installer toot sweet with no issues.

I'd tried all those others you mentioned when I was on Lubuntu. Most times they, like you sent me down the (blind) failure alley.
I installed XMLNotepad from https://microsoft.github.io/XmlNotepad/#install/ and then go to the Standalone Installer button and click which takes you to https://lovettsoftwarestorage.blob.core ... dSetup.zip. Save and extract XmlNotepadSetup.zip to a folder. It should contain an XmlNotepadSetup.msi file. That's the file I install from. It's a 64 bit application. Then I run wine uninstaller from the terminal. Yes I know uninstaller sounds counter intuitive. Ignore the programs to remove and click the Install button instead. Navigation with the open file dialog and select the XmlNotepadSetup.msi file. This should install XMLNotepad in wine.

This worked for me with the installation of wine I currently have. Hopefully it work for you...

User avatar
FullScale4Me
Posts: 1012
Joined: Fri Jan 08, 2021 11:30 pm

Re: Wine woes

#8 Post by FullScale4Me »

skallal wrote: Sun Sep 03, 2023 3:13 am I installed XMLNotepad from https://microsoft.github.io/XmlNotepad/#install/ and then go to the Standalone Installer button and click which takes you to https://lovettsoftwarestorage.blob.core ... dSetup.zip. Save and extract XmlNotepadSetup.zip to a folder. It should contain an XmlNotepadSetup.msi file. That's the file I install from. It's a 64 bit application. Then I run wine uninstaller from the terminal. Yes I know uninstaller sounds counter intuitive. Ignore the programs to remove and click the Install button instead. Navigation with the open file dialog and select the XmlNotepadSetup.msi file. This should install XMLNotepad in wine.

This worked for me with the installation of wine I currently have. Hopefully it work for you...
Thanks for the reply as it may help others reading for solutions here in the future.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
m_pav
Developer
Posts: 1736
Joined: Sun Aug 06, 2006 3:02 pm

Re: Wine woes

#9 Post by m_pav »

Regarding wine prefixes, a utility called winetricks used to be the way forward, but it has not risen with the tide and as such has fallen behind and lost much of its usefulness. The better implementation is now an app called bottles. Bottles has been around for some time, but it's received some love recently and it does a better job or assigning prefixes to wine.
I found a bottles in the Flatpacks tab of MXPI. Bottles includes the ability to install additional windows packages expected by applications, such a dotnet which I think is needed by XMLEditor. Winetricks used to do this too, but as I said above, it's no longer useful.

XMLNotepad used to be really well supported in Wine around 2010-2013 but there's no current details of how successful it is in modern times.
You've got plenty of RAM in your machine, processors a bit old but still capable so why not install Windows 7 as a virtual machine and use XMLNotepad from within? VirtualBox is the easiest but I think Virt-Manager has slightly better hardware integration. Both are in the popular apps tab of MXPI.

I have Windows 7 in a VirtualBox VM I created in 2014 with 2 processors and 4GB allocated RAM. I set VirtualBox to share a folder between my MX Linux host and the Windows VM and when I'm in the Win7 VM, I simply open a drive letter that takes me to the shared folder so host integration is easy.

Do you think a VM might be worth considering? It would certainly take the woes out of wine and it's transportable in that you can use it through many Host OS upgrades, as I have done in the 7-8 years since I first built the VM.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

skallal
Posts: 258
Joined: Fri Jul 28, 2023 12:47 pm

Re: Wine woes

#10 Post by skallal »

m_pav wrote: Mon Sep 04, 2023 8:00 pm Regarding wine prefixes, a utility called winetricks used to be the way forward, but it has not risen with the tide and as such has fallen behind and lost much of its usefulness. The better implementation is now an app called bottles. Bottles has been around for some time, but it's received some love recently and it does a better job or assigning prefixes to wine.
I found a bottles in the Flatpacks tab of MXPI, but as I'm not much of a wine user, I can't say if its the app being talked about in the gaming circles or not. Keep in mind that much development of wine has been on the gaming front, followed by popular Windows apps.

XMLNotepad used to be really well supported in Wine around 2010-2013 but there's no current details of how successful it is in modern times.
You've got plenty of RAM in your machine, processors a bit old but still capable so why not install Windows 7 as a virtual machine and use XMLNotepad from within? VirtualBox is the easiest but I think Virt-Manager has slightly better hardware integration. Both are in the popular apps tab of MXPI.

I have Windows 7 in a VirtualBox VM I created in 2014 with 2 processors and 4GB allocated RAM. I set VirtualBox to share a folder between my MX Linux host and the Windows VM and when I'm in the Win7 VM, I simply open a drive letter that takes me to the shared folder so host integration is easy.

Do you think a VM might be worth considering? It would certainly take the woes out of wine and it's transportable in that you can use it through many Host OS upgrades, as I have done in the 7-8 years since I first built the VM.
I actually have XML Notepad working in wine! And the copyright is dated 2023. There's a GitHub project with small updates in the past 2 months. Of course that doesn't mean it's a cutting edge app. And XML is getting replaced by JSON. I like XML Notepad for helping me create XPath queries.

The only thing about a Windows VM is getting the key. Plus Windows 7 is NOT supported. I already have a Windows 10 Pro machine here anyway. One of the reasons I've been looking at Linux recently is that my Windows 10 machine will be obsolete in 2 years when Microsoft pulls the plug on Windows 10 support. My Windows 10 PC cannot officially run Windows 11 without workarounds. And there's no guarantee Microsoft won't disallow those workarounds in the future. A friend told me older CPUs have security issues and that's why Microsoft is requiring newer CPUs for Windows 11. I'm NOT holding my breath for Microsoft to come up with a solution for older PCs in the next 2 years. Windows 11 is the first time Microsoft didn't grandfather existings PCs with a new Windows release. Hence this is why I'm exploring Linux. I first played with Linux back in 1994 but have mainly been a Windows user.

Here is a screenshot of the XML Notepad about box. You can see it's still being maintained.
AboutXmlNotepad.jpg
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “Software / Configuration”