WineHQ

Docklight Scripting

Docklight / Docklight Scripting V2.2.8 from 11/2016 runs on Linux as described in the Docklight News blogs.

Application Details:

Version: 2.2
License: Shareware
URL: https://docklight.de
Votes: 0
Latest Rating: Silver
Latest Wine Version Tested: 6.0

Maintainers: About Maintainership

Free Download Docklight Scripting V2.2

Test Results

Selected Test Results

What works

* serial communication (RS232 / tty / serial ports / "COM ports" in Windows terminology)

* TCP, UDP 



What does not

* may crash on application exit.

Workarounds

* Ignore / close error on application exit

What was not tested

* HID 

* Named Pipes


Hardware tested

Graphics:

  • GPU: Intel
  • Driver: unknown

Additional Comments

The more recent V2.3 version has problems with the tty / COM port communication, which are currently investigated.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 20.04 "Focal" (+ variants like Kubuntu)Mar 10 20216.0Yes Yes YesSilverOliver Heggelbacher 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

Installing & using Docklight Scripting on Ubuntu, Step-by-Step

TLDR;

Use a 32-bit WINEPREFIX and winetricks vb6run richtx32 comdlg32ocx comctl32ocx wsh57.

For details see also the related Docklight News article

1 Example Installation for Ubuntu 20.04 LTS

1.1 Prepare: winehq.org and winetricks environment

Make sure 32 bit architecture is available:

~$ sudo dpkg --add-architecture i386

Install WineHQ 6.0 stable:

~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key

~$ sudo apt-key add winehq.key

~$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

~$ sudo apt install --install-recommends winehq-stable

Create a separate 32 bit WineHQ prefix for Docklight, with the required VB6 runtime packages and controls:

~$ sudo apt install winetricks

~$ winetricks arch=32 prefix=docklight32

~$ export WINEPREFIX=~/.local/share/wineprefixes/docklight32

~$ winetricks vb6run richtx32 comdlg32ocx comctl32ocx wsh57

TIP: When the Wine Mono Installer appears, use Cancel - it is not required. For the Wine Gecko Installer, choose Install, or the Docklight Help will not work correctly. 

1.2   Prepare: Serial port mapping and access rights

From https://wiki.winehq.org/Wine_User's_Guide#Serial_and_Parallel_Ports

“Make sure you have the needed rights to access your computer's serial and parallel ports. On Linux, a user must typically be a member of the sys or dialout group to access serial ports”

~$ sudo usermod -a -G dialout $USER~$ sudo reboot

Use the ~/.wine/dosdevices/ folder for finding out how the Linux /dev/tty files are mapped to Windows COM ports as used by Docklight. For example, use this to find ttyUSB type devices like ftdichip.com hardware:

~$ ls -l ~/.wine/dosdevices/ | grep USB

lrwxrwxrwx 1 wolf wolf 12 Mar 10 09:32 com33 -> /dev/ttyUSB0

1.3   Install Docklight

Download Docklight Scripting V2.2

https://docklight.de/download/docksc22.zip

or Docklight V2.2

https://docklight.de/download/docklt22.zip

and extract the DocklightScriptingSetup.exe file (or DocklightSetup.exe) from the .zip archive.

Make sure the WINEPREFIX is correctly set (see earlier) and run Setup.exe:

~$ export WINEPREFIX=~/.local/share/wineprefixes/docklight32

~$ wine $HOME/Downloads/DocklightScriptingSetup.exe

Confirm all installation defaults


1.4   Use Docklight

Start Docklight Scripting (or Docklight) from the new icon appearing in the Ubuntu unity menu.

Or find out the launch command from the .desktop shortcut file

~$ cat ~/.local/share/applications/wine/Programs/'Docklight Scripting V2.2'/'Docklight Scripting.desktop'

[Desktop Entry]

Name=Docklight Scripting

Exec=env WINEPREFIX="/home/wolf/.local/share/wineprefixes/docklight32" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/wolf/.local/share/wineprefixes/docklight32/dosdevices/c:/ProgramData/Microsoft/Windows/Start\\ Menu/Programs/Docklight\\ Scripting\\ V2.2/Docklight\\ Scripting.lnk

Type=Application

StartupNotify=true

Path=/home/wolf/.local/share/wineprefixes/docklight32/dosdevices/c:/Program Files/FuH/Docklight Scripting V2.2

Icon=4813_Docklight_Scripting.0

StartupWMClass=docklight_scripting.exe



Comments

Back