Copying or moving WINE to a new PC

A new PC with different username cause two issues for WINE when copying old PC user files to a new PC.

  1. if your username changed, you have to update the “exec” lines of the .desktop files that reside in ~/.local/share/applications/wine/Programs/ (or create softlinks)
  2. Sometimes the softlinks in ~/.wine/dosdevices don’t survive the copying process (e.g. if your external HDD is NTFS formatted), because some filesystems (NTFS) don’t like filenames like “c:”. So at a minimum if your WINE programs don’t run, and there’s no “c:” in ~/.wine/dosdevices, you need to type:

    ln -s ~/.wine/drive_c ~/.wine/dosdevices/c: