At first, I did not know what exactly this was "undecorating" as there is no explanation anywhere as to the exact intention of this extension. At first I did not see anything as there are ZERO instructions on how to make it do anything. Then I discovered a keyboard short cut--which is supposed to be "Experimental" (clearly, not related to core functionality), and I found that on certain windows, it makes the title bar disappear! Who would have known! Amazing! So it takes some detective work on why exactly you would want this (not exactly great marketing) but once you know, it can be useful to make the title bar disappear.
It does not work on Linux Mint 21 beta:
info t=2022-07-14T19:46:07Z [maximus] startUndecorating
error t=2022-07-14T19:46:07Z [Error: No signal 'maximize' on object 'CinnamonWM']: Failed to evaluate 'enable' function on extension: cinnamon-maximus@fmete
error t=2022-07-14T19:46:07Z
[cinnamon-maximus@fmete]: Extension cinnamon-maximus@fmete: Could not create extension object.
[cinnamon-maximus@fmete]: Error importing extension.js from cinnamon-maximus@fmete
Hi! Great extension! Could you add a setting to turn off automatic undecorating/decorating when maximizing/restoring window? In my use-case I want to do it manually only. I commented out the content of functions "onMaximize" and "onUnmaximize" to get this behavior for now and it works great, but a settings switch would be nice :-)
Also, I could not get the ignore list to work. I added firefox so content of ignored apps had "chromium,firefox" and turned on to use the ignore list. It did not work, even after restarting Cinnamon?
This extension now works good on Linux Mint 19.3, but with an added twist when undecorating (with a hotkey) windows.
When undecorating it removes the titlebar etc, but also adds a quite annoying border around the window that cannot be removed afaik.
How to fix this, please?
Can you please add a mode in which the extension does not undecorate any window.
So the only way to undecorate a window is to use the hotkey or a whitelist.
In the ignore list you can write wildcard for any application ```.+```. In this case you will have ability to undecorate window with hotkey. I think the whitelist isn't higly demand.
What do you mean? I'm not sure I've understood you correctly. Personally, I don't use these buttons, because prefer the keyboard shortcuts (you can set the most suitable combinations for you in `Preferences`->`Keyboard` dialog, tab `Shortcuts`, category `Windows`).
I see the border where the window buttons were, only now they don't have anything, it looks like a black stripe, that will have an update or the problem is my configuration?
Really indispensable extension. Love it!
Anyone who need "Undecorate when tile" option to work, just replace line 102 in
~/.local/share/cinnamon/extensions/cinnamon-maximus@fmete/extension.js
with following (without ---):
---
let maxID = null, minID = null, settingsChangedID = null, changeWorkspaceID = null, grabID = null, tileID = null;
---
This extension really helps to making my old Thinkpad with 1600x900 resolution screen a pleasure to use. First I set up the taskbar to be on the side of the screen, but I still didn't really have enough vertical space, so I gave Cinnammon Maximus a try and it solved my problem!
Note that when enabling the extension I did get a warning that it is not compatible with my version of Cinnammon (3.8 in Linux Mint 19), but it seems to work fine. The entire title bar, including buttons to minimise and close windows are hidden, but if you just remember that alt+f10 toggles maximise, you can get the bar back easily.
Great little extension!
I tried some combinations but just couldn't use this extension to only hide titlebars in one single application (Opera Browser). Can Cinnamon Maximus be used for this purpose?
Ok, I solved by using Devil's Pie 2 .
As found in a comment on a Opera Blog old entry:
-----
use a windows matching utility like Devil's Pie 2 to strip the titlebar.
Install devilspie2 and create a file called ~/.config/devilspie2/opera.lua containing the following:
if (get_window_class()=="Opera") then
undecorate_window();
end
-----
It works.
Log In To Comment!
57 Comments