summaryrefslogtreecommitdiff
path: root/sysui/desktop/menus/writer.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:38:33 +0200
commitecde9ba00dcf8c1bf3413afd0281236e9429148f (patch)
tree3a08e17fe4cf161621f38b04d1e23a09ba4db6bb /sysui/desktop/menus/writer.desktop
parent1ab4d286d46d6c8f68f314c5bc449200584c5867 (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/writer.desktop')
-rwxr-xr-xsysui/desktop/menus/writer.desktop1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysui/desktop/menus/writer.desktop b/sysui/desktop/menus/writer.desktop
index 1eef64e0a722..202dabacc96d 100755
--- a/sysui/desktop/menus/writer.desktop
+++ b/sysui/desktop/menus/writer.desktop
@@ -31,6 +31,7 @@ X-GIO-NoFuse=true
Keywords=Text;Letter;Fax;Document;OpenDocument Text;Microsoft Word;Microsoft Works;Lotus WordPro;OpenOffice Writer;CV;odt;doc;docx;rtf;
InitialPreference=5
X-Ayatana-Desktop-Shortcuts=X-New
+StartupWMClass=libreoffice-writer
[X-New Shortcut Group]
UnityQuicklist=New Document
Exec=libreoffice --writer %%FILE%%