... I think due to the use of Gnome3 newer Ubuntu seems to by default now require a .desktop file to use something other than this in the dock:

I tried a bunch of Qt stuff and none of it worked. At some point I stumbled upon a post that mentioned .desktop with StartupWMClass could fix it and indeed this seems to work:
~/.local/share/applications/mne-python.desktop
[Desktop Entry]
Type=Application
Version=1.5
Name=MNE-Python
StartupWMClass=MNE-Python
Icon=/home/larsoner/python/mne-python/mne/icons/mne_default_icon.png
SingleMainWindow=true
NoDisplay=true

@hoechenberger our installers currently add files like mne-python-180_prompt-mne.desktop but I'm not sure if it's possible to have them create a separate linux-only file, do you?
Either way, we could consider adding a note about this to our install docs somewhere as well.
... I think due to the use of Gnome3 newer Ubuntu seems to by default now require a
.desktopfile to use something other than this in the dock:I tried a bunch of Qt stuff and none of it worked. At some point I stumbled upon a post that mentioned
.desktopwithStartupWMClasscould fix it and indeed this seems to work:~/.local/share/applications/mne-python.desktop
@hoechenberger our installers currently add files like
mne-python-180_prompt-mne.desktopbut I'm not sure if it's possible to have them create a separate linux-only file, do you?Either way, we could consider adding a note about this to our install docs somewhere as well.