cascadium / wsl-windows-toolbar-launcher

Adds linux GUI application menu to a windows toolbar
MIT License
1.21k stars 50 forks source link

wsl-windows-toolbar failed to open #15

Closed kroscek closed 4 years ago

kroscek commented 4 years ago

Using WSL 1, I tried to run it, but it returns an error: (base) lemma@DESKTOP-FNQPG1F:~$ wsl-windows-toolbar 2020-07-19 18:46:28,090[WARNING]: Could not find imagemagick - some xpm icons may not convert correctly Usage: wsl-windows-toolbar [OPTIONS] Try "wsl-windows-toolbar --help" for help.

Error: Invalid value for "--menu-file" / "-f": Could not open file: /etc/xdg/menus/gnome-applications.menu: No such file or directory

fquinner commented 4 years ago

Hi there! Yeah you need a desktop package installed to run the script (its in the prerequisites section of README). It defaults to gnome but you can provide alternative .menu files with the -f argument if you prefer xfce4 etc. Its the menu file that generates the directory structure for the menu.

kroscek commented 4 years ago

Ah okay thanks mate!