Workaround for darktable popping windows on windows

A user has come up with a way to get rid of the popping windows caused when using Lua on Windows. The link here is to the issue, Prevent terminal windows from popping up during start on Windows · Issue #17193 · darktable-org/darktable · GitHub.

For those who don’t want to read it, it consists of creating a shortcut with the following as the command

C:\Windows\System32\cmd.exe /S /C "start /B "DarkTable CMD" "C:\Program Files\darktable\bin\darktable.exe" > "C:\Users\jeanr\Documents\Darktable\log.txt" 2>&1"

You need to change jeanr to your username. After you create the shortcut, you can go to properties and change the icon to darktable.

What this does is open 1 window and then start darktable. darktable then uses the already open window to access the operating system, therefore no popping windows.

3 Likes

Untested, as currently no Windows machine, but a strategically placed %USERPROFILE% might make this copy-pastable.

1 Like

Maybe I am weird, but having those windows briefly popping up just seems to remind me to be patient and DT is still loading. When I see the last one for LUA scripts pop up I know I am ready to go.

2 Likes

:rofl:

1 Like