Wiki source code of Barre de titre OnlyOffice Desktop Editors
Last modified by Mélodie on 2026/04/10 12:25
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
19.1 | 1 | == Problem == |
| |
1.1 | 2 | |
| |
6.1 | 3 | |
| |
19.1 | 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...). |
| |
1.1 | 5 | |
| |
5.1 | 6 | {{BlankLine/}} |
| 7 | |||
| |
19.1 | 8 | [[Context menus in the Title Bar>>image:Title-bar-context-menus.png||alt="Context menus in the Title Bar"]] |
| |
5.1 | 9 | |
| |
1.1 | 10 | == Solution == |
| 11 | |||
| |
19.1 | 12 | Modify the application's .desktop file to add the ~-~-system-title-bar parameter. |
| |
6.1 | 13 | |
| |
1.1 | 14 | |
| |
19.1 | 15 | === Procedure === |
| |
1.1 | 16 | |
| |
19.1 | 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}} |
| |
1.1 | 18 | |
| |
19.1 | 19 | Open the copied file with a text editor such as gedit, geany, or mousepad, modify the //Exec=// line, and save. |
| |
1.1 | 20 | |
| |
19.1 | 21 | {{{Exec=/usr/bin/onlyoffice-desktopeditors --system-title-bar %U}}} |
| |
1.1 | 22 | |
| |
19.1 | 23 | The change will take effect the next time OnlyOffice is launched. |
| |
1.1 | 24 | |
| |
6.1 | 25 | |
| |
19.1 | 26 | **Note** This local file takes precedence over the system file without modifying it, and survives OnlyOffice updates. |