Wiki source code of Barre de titre OnlyOffice Desktop Editors
Last modified by Mélodie on 2026/04/10 12:25
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | == Problem == | ||
| 2 | |||
| 3 | |||
| 4 | OnlyOffice Desktop Editors draws its own title bar, which prevents the window manager from displaying its usual context menu (sending to another desktop, keeping on top, shading...). | ||
| 5 | |||
| 6 | {{BlankLine/}} | ||
| 7 | |||
| 8 | [[Context menus in the Title Bar>>image:Title-bar-context-menus.png||alt="Context menus in the Title Bar"]] | ||
| 9 | |||
| 10 | == Solution == | ||
| 11 | |||
| 12 | Modify the application's .desktop file to add the ~-~-system-title-bar parameter. | ||
| 13 | |||
| 14 | |||
| 15 | === Procedure === | ||
| 16 | |||
| 17 | Copy the system .desktop file (from {{code language="none"}}/usr/share/applications{{/code}}) to your home directory under {{code language="none"}}/home/<your username>/.local/share/applications{{/code}} | ||
| 18 | |||
| 19 | Open the copied file with a text editor such as gedit, geany, or mousepad, modify the //Exec=// line, and save. | ||
| 20 | |||
| 21 | {{{Exec=/usr/bin/onlyoffice-desktopeditors --system-title-bar %U}}} | ||
| 22 | |||
| 23 | The change will take effect the next time OnlyOffice is launched. | ||
| 24 | |||
| 25 | |||
| 26 | **Note** This local file takes precedence over the system file without modifying it, and survives OnlyOffice updates. |