nicolasfella added a comment.
I did. The usual path fails because the Nautilus window announces itself with Nautilus/nautilus as appId/wmClass, but the name defined in the desktop file is "Files". Other useful entries like StartupWmClass are not set at all. The only indication that "Files" actually is nautilus in the desktop file comes from the Exec line. Same applies to Gedit REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D19744 To: nicolasfella, #plasma, hein, broulik Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart