[Desktop Entry] Type=Application Name=Wonder Ink GenericName=Lesson Comment=The Wonder Ink lesson for this room Exec=/usr/local/bin/classroom-wonderink Icon=ekklesia-wonderink Terminal=false Categories=Education; StartupNotify=true # How the panel knows that the window on screen belongs to this launcher. # # It used to be chrome-app.wonderink.org__-Default, which is the app id # Chrome derives from an --app URL. Wonder Ink is no longer a Chrome # window: it is the classroom's own tabbed shell, which tells Wayland its # app id by naming this desktop entry. Read back from KWin on a running # session — class=[ekklesia-wonderink], desktopFile=[ekklesia-wonderink] — # rather than assumed, because a mismatch here is not an error anywhere, # it is silently two buttons on the panel instead of one. StartupWMClass=ekklesia-wonderink # One window, and pressing the panel button again brings it forward rather # than starting a second one. The shell enforces this itself as well: two # processes on one Chromium profile directory would fight over its lock. X-GNOME-SingleWindow=true