summaryrefslogtreecommitdiff
path: root/sysui/desktop/menus/base.desktop
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-06-06 18:28:07 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-06-06 18:35:20 +0200
commit4d479ebf1511fd0c2b8bff0f6aa26305709aa338 (patch)
treee679416a81df2f917327a42756da87e998d6873d /sysui/desktop/menus/base.desktop
parent3106ed122c927c2a732cc92b2ee5f5066d27d5f8 (diff)
add StartupWMClass= to .desktop files (bnc#777070)
The actual purpose is to help Plasma taskbar associate taskbar items with .desktop files for the purpose of creating launchers. LibreOffice's WM_CLASS handling is rather broken, but the class part of it usually ends up being 'libreoffice-<component>', which however doesn't match names of .desktop files or executables. I fear renaming .desktop files would cause too much breakages in various places that expect the current names, so adding StartupWMClass will help Plasma match them. Change-Id: Ia946307b429d9a7c00408b2b508726fdc88908ac
Diffstat (limited to 'sysui/desktop/menus/base.desktop')
-rwxr-xr-xsysui/desktop/menus/base.desktop1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysui/desktop/menus/base.desktop b/sysui/desktop/menus/base.desktop
index 57562602dc01..d21293db3868 100755
--- a/sysui/desktop/menus/base.desktop
+++ b/sysui/desktop/menus/base.desktop
@@ -31,6 +31,7 @@ X-GIO-NoFuse=true
Keywords=Data;SQL;
InitialPreference=5
X-Ayatana-Desktop-Shortcuts=X-New
+StartupWMClass=libreoffice-base
[X-New Shortcut Group]
UnityQuicklist=New Database
Exec=libreoffice --base %%FILE%%