Commit 597434d9 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Set StartupWMClass in desktop file

Used by non-Plasma unixoid X-based shells to map windows to desktop files
e.g. in launcher UIs, which do not know about _KDE_NET_WM_DESKTOP_FILE and
instead expect (one of) the WM_CLASS entries to match the basename of the
desktop file by default. StartupWMClass overwrites that default.
parent f87b86a4
......@@ -2,6 +2,7 @@
[Desktop Entry]
Type=Application
Exec=kapptemplate
StartupWMClass=kapptemplate
Icon=kapptemplate
X-DocPath=kapptemplate/index.html
GenericName=KDE Template Generator
......
[Desktop Entry]
Name=%{APPNAME}
Exec=%{APPNAMELC}
Icon=%{APPNAMELC}
Type=Application
Name=%{APPNAME}
GenericName=A Simple KDE Application
Icon=%{APPNAMELC}
Exec=%{APPNAMELC}
StartupWMClass=%{APPNAMELC}
[Desktop Entry]
Type=Application
Name=%{APPNAME}
Exec=%{APPNAMELC}
GenericName=A Simple Application written with KDE Frameworks
Icon=%{APPNAMELC}
Type=Application
Exec=%{APPNAMELC}
StartupWMClass=%{APPNAMELC}
X-DocPath=%{APPNAMELC}/index.html
GenericName=A Simple Application written with KDE Frameworks
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment