MoonPoint Support Logo

 




Advanced Search
August
Sun Mon Tue Wed Thu Fri Sat
           
11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
2026
Months
AugSep
Oct Nov Dec


Thu, Aug 06, 2026 3:29 pm

Registry location for Advanced Diary registration information

The Advanced Diary journaling/diary program from CSoftLab stores its license information in the Windows registry at HKEY_CURRENT_USER\Software\CSoftLab\Advanced Diary. When you install the software, you will have a 30-day trial period and the LicenseCode and LicenseName keys will not have any values set. You can see the values using the Microsoft Windows registry editor regedit.exe.

HKCU values for Advanced Diary registration

If you need to view the license information, you can navigate to the HKEY_CURRENT_USER\Software\CSoftLab\Advanced Diary key in the registry using the registry editor or you can open a command prompt window and issue the following reg query commands.

C:\>reg query "HKCU\SOFTWARE\CSoftLab\Advanced Diary" /v LicenseName

HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary
    LicenseName    REG_SZ    John Doe


C:\Users\Lisa>reg query "HKCU\SOFTWARE\CSoftLab\Advanced Diary" /v LicenseCode

HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary
    LicenseCode    REG_SZ    VN37-H79K-28ZZ-XMMUMM9XX9


C:\>

You can extract the information from the registry by right-clicking on the Advanced Diary entry in the registry and choosing Export and then saving the information to a .reg registry file. That will save all of the registry information for Advanced Diary. You can then delete all but the lines that are like the ones below, if you only need the license entries in the registry.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary]
"LicenseName"="John Doe"
"LicenseCode"="VN37-H79K-28ZZ-XMMUMM9XX9"

You can then import the registry entries after installing Advanced Diary on another system. You can import them by opening the registry editor and choosing Registry and then Import Registry File.

Import 
registry file

Note: if you are transferring the registry keys to an installation of Advanced Diary running under Wine on a Linux system, you can run the registry editor provided by Wine by opening a terminal window and then setting the WINEPREFIX environment variable equal to whatever Wine prefix you have set, if you are using one other than the .wine one, and then running wine regedit. E.g.:

$ export WINEPREFIX="$HOME/.wine-advdiary"
$ wine regedit

If you have saved the registry values to a .reg file, e.g. file.reg, and want to import the values from that file from a command-line interface (CLI), open a command prompt window as an administrator and run reg import "C:\path\to\file.reg". Alternatively, use regedit /s "C:\path\to\file.reg" to import the file silently without a confirmation prompt. To import the registry values from a Windows system into the registry for an instance of Advanced Diary 9.0 running in a Wine prefix named .wine-advdiary on an Ubuntu Linux system, I used the commands below in a terminal window to import a .reg file named AdvancedDiary_LicenseInfo.reg.

$ export WINEPREFIX="$HOME/.wine-advdiary"$ wine regedit /s "$HOME/Documents/AdvancedDiary_LicenseInfo.reg"
$

After doing so, when I clicked on Help and chose About Advanced Diary, I saw it was registered.

Related articles:

  1. Obtaining a command prompt in Windows 11
    Date: August 14, 2023
  2. Windows Reg Query Command
    Date: October 1, 2026
  3. Checking Microsoft Windows proxy server settings
    Date: January 7, 2015
  4. Installing Advanced Diary on a Linux system with Wine
    Date: February 24, 2026
  5. Access violation when installing Advanced Diary 9.0 with Wine on a Linux system
    Date: August 4, 2026
  6. Advanced Diary Active Database and Backup Registry Values
    Date: July 18, 2026

[/os/unix/linux/wine/AdvDiary] permanent link

Wed, Aug 05, 2026 9:21 pm

SSH ServerAliveInterval

If you want to prevent a Secure Shell (SSH) connection being dropped when it has been inactive for several minutes, you can specify a keepalive value. To specify a keepalive value directly from the command line, use the -o flag followed by the ServerAliveIntervaloption

Command Line Syntax

Run the following command to send a keepalive packet every 60 seconds:

ssh -o ServerAliveInterval=60 user@hostname

Advanced Keepalive Control

For more robust protection against drops, combine the interval with ServerAliveCountMax. This defines how many consecutive keepalive messages can go unanswered before the client disconnects.

ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=3 user@hostname

Making It Permanent (Optional)

If you get tired of typing this out every time, you can save it to your local configuration:

[/network/ssh] permanent link

Tue, Aug 04, 2026 9:27 pm

Access violation when installing Advanced Diary 9.0 with Wine on a Linux system

I needed to install the Advanced Diary diary/journaling program from CSoftLab on an Ubuntu Unix system. The application is developed only for Microsoft Windows, so to get it to work on an Ubuntu Linux system I used Wine, which is free and open-source software that allows one to run applications developed for the Microsoft Windows operating system (OS) on Linux systems. I started the installation from a terminal window after creating and initializing a Wine prefix for it. But when I clicked on Install, I saw the message "Invalid operation in GDI+ (Code: 2)". When I canceled the installation and closed the window associated with it, I saw an error window stating "The setup files are corrupted. Please obtain a new copy of the program." I had encountered the same "Invalid operation in GDI+ (Code: 2)" problem many months ago (the setup file wasn't actually corrupted, so I could ignore that message) when I installed a previous version of Advanced Diary, version 8.0, on another system using Wine — see Installing Advanced Diary on a Linux system with Wine — and remembered that I had used a shell script then to install additional software for Wine that would alleviate that problem. I needed Winetricks installed, so I verified I had already installed it on this system with the which command (you can install it with sudo apt install winetricks, if it is not installed). I used winetricks to install gdiplus and core fonts for Windows applications. That resolved the problem with the "Invalid operation in GDI+ (Code: 2)", but then I saw a "Access violation at address 75D947DC in module 'qcap.dll'. Read of address 5F505353" message every time I started Advanced Diary.

[ More Info ]

[/os/unix/linux/wine/AdvDiary] permanent link

Sat, Aug 01, 2026 8:27 pm

Making an optical drive accessible to a guest OS running in VirtualBox

I needed to make an optical disc drive accessible to a Windows virtual machine (VM) running in VirtualBox on an Ubuntu Linux system. The drive was attached to the host operating system (OS) via a USB connection. One way to make a USB optical drive connected to a Linux host available to a Windows VM is to pass through the host optical drive. With the VM running, I could select Devices and then the optical drive connected to the host operating system, "Host Drive PIONEER BD-RW BDR-XS07U (sr0)". Since I had seen a recommendation to use a USB passthrough method instead, though, as while passing through the host optical drive works well for ordinary CD/DVD access, unusual discs or software that communicates directly with the hardware are less likely to be problematic if one uses the USB passthrough method, instead, I chose the USB passthrough option. To do so, I verified that the logged in user account was in the vboxusers group by issuing the command grep vboxusers /etc/group in a terminal window. If it isn't, you can add the account to that group using sudo usermod -aG vboxusers $USER. I also verified that the USB 3.0 Controller option was enabled by selecting the Windows 10 VM in VirtualBox and clicking on Settings and then selecting USB. I then made the Pioneer Blu-ray drive accessible inside the Windows VM by clicking on Devices at the top of the running Windows VM window and then selecting Pioneer Corporation Pioneer Blu-ray Drive [0100]. I then was able to see the blu-ray drive in the Windows File Explorer.

[ More Info ]

[/os/virtualbox] permanent link

Fri, Jul 31, 2026 9:18 pm

Creating and using a Wine prefix on an Ubuntu Linux system

A Wine prefix is a directory that acts like a separate Windows installation. Each prefix has its own registry, installed programs, libraries, and configuration, providing a way to isolate applications and configure Wine in a way that is optimal for a particular Windows application or set of applications without affecting other Windows applications that you need to run on the system. To create a new Wine prefix, take the following steps:

Create a new Wine prefix

Open a terminal window.
  1. Choose a location for the new prefix. For example:

    export WINEPREFIX="$HOME/.wine-myapp"

  2. Initialize the prefix:

    WINEPREFIX="$HOME/.wine-myapp" wineboot

    Wine will create the directory and initialize a fresh Windows environment.

[ More Info ]

[/os/unix/linux/wine] permanent link

Wed, Jul 22, 2026 11:41 pm

Viewing and setting the display turn off time using powercfg

You can view the current setting for a Microsoft Windows system to turn off the attached screen by typing "power settings" in the Windows "Type here to search" field and selecting "Power & sleep settings".

Power 
and sleep settings

Settings on a desktop system running Windows 10

Alternatively, you can see the current screen timeout power off settings from a command-line interface (CLI) using the command powercfg /query SCHEME_CURRENT SUB_VIDEO VIDEOIDLE from a PowerShell or command prompt window.

C:\>powercfg /query SCHEME_CURRENT SUB_VIDEO VIDEOIDLE
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced)
  GUID Alias: SCHEME_BALANCED
  Subgroup GUID: 7516b95f-f776-4464-8c53-06167f40cc99  (Display)
    GUID Alias: SUB_VIDEO
    Power Setting GUID: 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e  (Turn off display after)
      GUID Alias: VIDEOIDLE
      Minimum Possible Setting: 0x00000000
      Maximum Possible Setting: 0xffffffff
      Possible Settings increment: 0x00000001
      Possible Settings units: Seconds
    Current AC Power Setting Index: 0x00000258
    Current DC Power Setting Index: 0x0000012c


C:\>

[ More Info ]

[/os/windows/win10] permanent link

Tue, Jul 21, 2026 1:06 pm

Installing GVIM with winget

My preferred text editor is gVim, which is available for Linux, macOS, MS-DOS and Microsoft Windows systems as well as other operating systems. It is free and open-source software. I've been using personal computers since the early days of MS-DOS and have used the vi text editor on which it is based for decades, so I've learned many of the keyboard shortcuts which make it a powerful text editor and which make it easier for me to modify text files more quickly than I could navigating through menu entries in a graphical user interface (GUI). So I usually install it on Microsoft Windows systems that I will be using regularly. You can download an installation file from the website of the developer, Bram Moolenaar or on Windows 10 or later versions of Windows, you can use Microsoft's package manager utility, winget. To install the application using winget, you can open a command prompt window or PowerShell window and issue the command winget install vim.vim. Note: on a Windows 10 system (version 22H2), I found that the command was not available from a command prompt or PowerShell window with administrator privileges, only from windows opened with standard account privileges.

C:\>winget install vim
Multiple packages found matching input criteria. Please refine the input.
Name            Id              Source
---------------------------------------
Vim             vim.vim.nightly winget
Vim             vim.vim         winget
Vim Cheat Sheet 9WZDNCRDMCWR    msstore

C:\>winget install vim.vim
Found Vim [vim.vim] Version 9.2.0758
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/vim/vim-win32-installer/releases/download/v9.2.0758/gvim_9.2.0758_x64_signed.exe
  ██████████████████████████████  12.7 MB / 11.7 MB
Successfully verified installer hash
Starting package install...
Successfully installed

C:\>

[/software/editors/vi] permanent link

Mon, Jul 20, 2026 9:05 am

Installing Jellyfin as a Snap package on an Ubuntu Linux system

Jellyfin is a free and open-source media server application. It can be installed on an Ubuntu Linux system as a Snap package through the App Center.

Install Jellyfin Server

Alternatively, you can install the software from a terminal window with the command sudo snap install itrue-jellyfin.

$ sudo snap install itrue-jellyfin
[sudo: authenticate] Password:               
itrue-jellyfin 10.11.11+ubu2604 from Isaac True (itrue) installed
$

[ More Info ]

[/network/web/server/jellyfin] permanent link

Sun, Jul 19, 2026 8:53 pm

Importing Winamp playlists into Audacious

The Winamp media player was developed to run on Microsoft Windows operating systems. The last stable release of the software was released about three years ago on April 26, 2023. If you need a native Linux alternative to Winamp, Audacious is a free and open-source audio player that has a GTK-based interfrace (GTKUI),but which can also be configured with a Winamp-like interface and which supports Winamp 2 skins, i.e., Winamp .wsz files (a type of ZIP archive file). You can also migrate Winamp playlists into Audacious; it supports the standard .m3u and .m3u8 playlist formats, though you will need to modify the Windows-style file paths to be Linux-style file paths. To use Winamp playlists on a Linux system, such as an Ubuntu system, you can take the following steps.

  1. Locate your Winamp playlists, which are .m3u or .m3u8 files typically located in C:\Users\username\AppData\Roaming\Winamp\Plugins\ml\playlists where username is the relevant username. You can view the contents of that directory from a command prompt window using the command dir %appdata%\Winamp\plugins\ml\playlists since %appdata% is an environment variable pointing to the account's AppData\Roaming directory.

    A list of the playlists is contained in the playlists XML file. In that file, which can be viewed in a text editor such as the Windows Notepad, you will see data like the following:

    <?xml version="1.0" encoding="UTF-16"?>
    <playlists playlists="35">
    <playlist filename="plf8064.m3u8" title="Moonzic (Top Favorite Mix)" id="{8B45286F-9CF9-4A14-9045-F27EDC1ED72B}" songs="217" seconds="0"/>

    The first line above shows the version of XML in use is 1.0 and the character encoding is UTF-16. The next lines shows that, in this case, there are 35 playlists. The next line shows the filename of 1 of the 35 playlists and the title for the playlist in Winamp.

  2. If the music files, e.g., the .mp3 files referenced in the playlists are not accessible from the Linux system, copy them to a location that is accessible from the Linux system. If you preserve a similar folder structure, if you need to copy or move the files, editing the playlists files will be easier. E.g., if the Winamp playlists contain paths like:

    C:\Users\Alice\Music\Artist\Album\song.mp3

    You could have a similar folder structure on Linux like the following:

    /home/alice/Music/Artist/Album/song.mp3

  3. Edit the playlists files. You could use a global find and replace function in a text editor or you could update all of the files at once with sed (short for stream editor), which you can run from a Terminal window. Sed will likely already be present on a Linux system. You can verify that by using the which command, i.e., which sed, which will show you the location of the program, if it is present. Sed is also available for Microsoft Windows systems at sed for Windows. A sed command like the one below, if executed from the directory where the playlist files are located, could be made to make the needed changes if the the Windows and Linux file paths were like the ones above.

    sed -i 's|C:\\Users\\Alice|/home/alice|g; s|\\|/|g' *.m3u8

    • The -i tells sed to edit files in place, i.e., to make the changes to the specified file rather than create a new file.
    • The commands sed will use are enclosed in single quotes.
    • The s at the beginning of the command instructs sed to perform a substitution. The vertical bar is being used to separate the old string from the new replacement string. Another character could be used, such as a colon, etc.
    • The string to be replaced, C:\\Users\\Alice is placed within the first pair of vertical bars. Each backslash must be preceded by another backslash because the backslash character has a special meaning — it is an escape character. If you have a period in the replacement string, you should also precede it with a backslash, since the period (.) has a special meaning in a regular expression, also. The replacement string is enclosed within the second set of vertical bars.
    • The g that follows the 4th vertical bar indicates it is a "global" replacement operation, i.e., it should occur everywhere the original string occurs in the file.
    • The semicolon separates the first command from a second one, which indicates any backslashes in the file should be replaced with forward slashes. I.e., the backslashes that occur later in each line should also be replaced.
    • The *.m3u8 indicates that the sed commands should be applied to all .m3u files in the directory.
  4. After updating the .m3u8 files, within Audacious, click on Playlist and select Import.
  5. Navigate to the location of the playlist then select one by clicking on it and then click on the Import button.
  6. The playlist name, e.g., plf68B in the example below, will match the filename for the .m3u/.m3u8 file. You can rename it to match the name for the playlist in Winamp by opening the Winamp playlists.xml file, which will be in the same directory as the playlist .m3u8 files, in a text editor or web browser and looking for the corresponding entry, e.g.:

    <playlist filename="plf68B.m3u8" title="Disney Classic Tunes" id="{AAD2A93E-93E9-442B-B24C-88D0BFBB4607}" songs="44" seconds="8231"/>

    Right-click on the playlist name in Audacious and choose Rename.

[ More Info ]

[/software/audio_video/Audacious] permanent link

Sat, Jul 18, 2026 5:40 pm

Advanced Diary Active Database and Backup Registry Values

Advanced Diary is a journaling/diary application for Microsoft Windows systems developed by CSoftLab. It stores the location of the currently active datbase in the Windows registry at HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Databases in the key Database0. You can query the value from a command prompt using the reg query command reg query "HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Databases" /v Database0. You can change the value from a command-line interface (CLI) using the reg add command.

C:\>reg query "HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Databases" /v Database0

HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Databases
    Database0    REG_SZ    Protocol=Local*Database=C:\Users\Alice\Documents\Advanced Diary\diary.dndb


C:\>

It stores the settings for automatic backups at HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options. The default option settings when no automatic backup has been set are shown below.

C:\>reg query "HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options" | find "AutoBackup"
    AutoBackup    REG_DWORD    0x0
    AutoBackupPath    REG_SZ
    AutoBackupMode    REG_DWORD    0x0
    AutoBackupTime    REG_BINARY    4F5555555555D53F

C:\>

You can change the backup settings in the program by selecting Tools, then Options, then Backup from the Advanced Diary menu bar.

Advanced Diary backup options

The registry settings when automatic backups have been turned on with a backup location specified and the default backup options left in place, e.g., every day, are shown below.

C:\>reg query "HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options" | find "AutoBackup"
    AutoBackup    REG_DWORD    0x1
    AutoBackupPath    REG_SZ    P:\alice\Advanced Diary Backups\
    AutoBackupMode    REG_DWORD    0x0
    AutoBackupTime    REG_BINARY    4F5555555555D53F

C:\>

When you turn on the backup option, the next time you start the program you will see a AutoBackup window prompting you to OK a backup. if you leave the "Confirm before running AutoBackup" option checked.

Advanced Diary backup options

The "AutoSave" option is stored in the registry at AutoSave under HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options. The default value is zero. With "AutoSave entry ever 5 minutes" turned on the value will be "1" as shown below.

C:\>reg query "HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options" /v AutoSave

HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options
    AutoSave    REG_DWORD    0x1


C:\>

The value in minutes for the interval at which automatic saves are performed is stored in the AutoSaveInterval key. The key that controls whether the user is prompted to confirm backups is stored in the BackupConfirmation key. A value of "0" indicates that confirmation is not required.

C:\>reg query "HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options" /v AutoSaveInterval

HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options
    AutoSaveInterval    REG_DWORD    0x5


C:\>reg query "HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options" /v BackupConfirmation

HKEY_CURRENT_USER\SOFTWARE\CSoftLab\Advanced Diary\Options
    BackupConfirmation    REG_DWORD    0x0


C:\>

Related articles:

  1. Obtaining a command prompt in Windows 11
    Date: August 14, 2023
  2. Remotely Enabling Remote Desktop Protocol From the Command Line
    Date: April 11, 2009
  3. Checking Microsoft Windows proxy server settings
    Date: January 7, 2015

[/os/windows/software/journaling/AdvDiary] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo