Skip to main content

Properly open Logfiles in RMS Express on Linux

··342 words·2 mins

Do you use Winlink regularly? Did you ever looked into the logfiles directory?

Most users won’t need to look into the logfiles. Usually. But someone may be interested in them just out of curiosity or someone may have to look something up, maybe an abnormal behaviour of the program or why the recent update failed.

The Error #

Anyhow, you may end up opening this screen here and might not get what you wanted. At least when you use RMS Express with wine on a linux computer.

winlink program with logwindow opened

Per default you may get this error message.

error message “invalid hadnle”

The solution #

You may have to register .log files to a program that opens up as default application. We do that with the Windows-Registry-Editor regedit.exe.

Shared video

There are two solutions that I have thought of.

First, we declare .log files as text documents and handle them as normal .txt documents. We open these files with the built-in editor notepad.exe.

As second solution, we create a new entry for .log files and declare them as logfile. We open these files with our native text-editor built into Gnome.

textfile approach (notepad.exe) #

Create a textfile with the ending .reg like openlogs.reg.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.log]
@="txtfile"
"Content Type"="text/plain"

After saving the file, import it into the windows registry like this:

$ wine regedit openlogs.reg

This should work instantly.

Download this file.

logfile approach (native text-editor) #

Also create a textfile with the ending .reg, but fill it with these contents:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.log]
@="logfile"
"Content Type"="text/plain"

[HKEY_CLASSES_ROOT\logfile]
@="Logfile Document"

[HKEY_CLASSES_ROOT\logfile\shell]

[HKEY_CLASSES_ROOT\logfile\shell\open]

[HKEY_CLASSES_ROOT\logfile\shell\open\command]
@="\"winebrowser\" \"%1\""

Load this into the registry:

$ wine regedit openlogs_native.reg

Also this should work instantly. Opening the logs should open your application on your linux computer that usually opens .log files. That is gnome-text-editor on my computer.

Download this file.

The end #

Have you ever clicked on the Log menu in VARA or VARA FM? Well, that works without those registry tweaks… I’m just saying 😄

Dominic Reich
Author
Dominic Reich
40, male, he/him, construction worker since 2016, electrician before, likes tech stuff and nature. Amateur radio operator since 2019. Uses this website as a digital notebook.

Related Posts

  • Running Winlink and VARA on Linux // 2021, October 3
    A quick and dirty summary of my Winlink installation on my linux laptop.
  • Running N1MM Logger+ on Linux // 2021, August 12
    This is my attempt to properly install N1MM Logger+ on my main computer running Manjaro/Ubuntu Linux.
  • FLEcli on OpenBSD // 2023, September 24
    Quickly create ADIF or CSV files to import into any logging program later. Also creates logfiles for the SOTA program.
  • Win10, Grub 2 and UEFI // 2021, August 8
    I finally got my broken Grub configuration fixed. Booting Windows from Grub wasn’t very hard back in the days, but the old “version” doesn’t work with the newer UEFI-typed computers. Now… looking at it… it does not look very complicated either ;-)
  • AirDrop on Linux? // 2025, March 9
    This is my method of using something similar as AirDrop on my Linux and Android devices. The thumbnail was created with Google AI (Imagen 3).