Skip to content

Unable to get file association working #15

@balaji-dutt

Description

@balaji-dutt

Hi,

I'm trying to open .org mode files using programs installed in WSL2 on Windows 10. I have tried this with both emacs and then for debugging with gedit but this does not seem to work. I have also tried switching the Graphical Backend between GWSL and wslg but there's no change.

Here is what I'm doing:

  • Set file association for .org in OpeninWSL to gedit:
    image

  • Set file association for .org file in Windows Explorer to "OpeninWSL"
    image

  • Double click on a file hobbies.org in Windows Explorer.

  • What I expect to see

    • A gedit window will open with the file.
  • What happens instead:

    • I see the popup animation showing ".org >>> gedit" but nothing happens afterwards.
  • Logs:

2023-04-07 11:43:12,112 - OpenInWSL 1.7 MSIX - INFO - RUN TEST: emacs28 '/path/to/projects/hobbies.org'
2023-04-07 11:43:56,570 - OpenInWSL 1.7 MSIX - INFO - RUN TEST: emacs28 '/path/to/projects/hobbies.org'
2023-04-07 11:44:45,612 - OpenInWSL 1.7 MSIX - INFO - RUN TEST: gedit --new-window '/path/to/projects/hobbies.org'
2023-04-07 11:46:10,243 - OpenInWSL 1.7 MSIX - INFO - RUN TEST: gedit '/path/to/projects/hobbies.org'
2023-04-07 11:51:14,586 - OpenInWSL 1.7 MSIX - INFO - RUN TEST: gedit '/path/to/projects/hobbies.org'
Version Info Ubuntu 22.04 running in WSL2/Windows 10 Open in WSL: 1.7 MSIX GWSL: 1.4.5 (Store)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions