Maximus Cinnamon Extension 5

UUID: maximus-cinnamon@mathematical.coffee.gmail.com
Score: 24

Website  Download



This is Maximus GNOME Shell extension ported to Cinnamon.

I only changed the metadata.json file, extension works in Cinnamon without any changes.

All credits go to its original author. (See website: https://bitbucket.org/mathematicalcoffee/maximus-gnome-shell-extension/overview)

 

This extension hides a window's titlebar when maximized, could be great on small screens with Cinnamon Window buttons extension and a top panel.

Screenshot shows it in action, you can see GEdit with German localization and no titlebar.

About The Author

ebbes

Cinnamon on Linux Mint 13 (Notebook) and Fedora 17 (Desktop)


28 Comments

  1. antoniovazquezblanco says:

    5 months ago

    I've installed the extension to try it but since I didn't really wanted it I uninstalled it. The thing is that gedit changed and I'm not able to get it back. Any hint on this? Thanks in advance.

  2. mflopez says:

    8 months ago

    Thanks to pxfx and lohibolg for the explanation and solution! It finally works, I was really missing this extension

  3. mowgli-kun says:

    8 months ago

    It seems this extension doesn't work well pefectly with apps that use GNOME's new Headerbars. It just creates an "extra" window border that's hidden on maximize. OP, I hope you'll fix this extension so it ignores apps that use Headerbars, since they don't need any titlebar-hiding. Nonetheless, thank you for the excellent extension; a real space-saver! =)

  4. frogy says:

    8 months ago

    With the previous Cinnamon version I was using Maximus from the software repositories (not as cinnamon extension). It works without problems. With the current Cinnamon 2.0 I have the problem that was mentioned from others. So I uninstalled the Maximus (software repositories) and installed the Maximus as extension (from the Extensions menu). I follow the instructions (thank you lohhibolg for the details) and the result wasn't as expected. The solution doesn't work with all themes. With Vimix theme the decoration goes away but the space of the decoration is there. Whats the point of Maximus then LOL. It works with other themes but leaves a small border (about 2px), not so elegant. I give up. Thanks again.

  5. lohibolg says:

    8 months ago

    To get this working in Cinnamon 2.0 do the following: After installing this from System Setting/Extensions -> Go to ~/.local/share/cinnamon/extensions/maximus-cinnamon@mathematical.coffee.gmail.com/ Open extension.js file and edit line 136 to this: '0x2, 0x0, 0x2, 0x0, 0x0']; (originally '0x2, 0x0, 0x0, 0x0, 0x0']; ). Then save and exit. Next open metadata.json from the same directory and add 2.0 in the cinnamon-version. Like this : "cinnamon-version": [ "1.4", "1.5", "1.5.1", "1.5.2", "2.0" ], Source: http://www.infofreako.info/2014/01/maximus-cinnamon-extension-5-working-with-cinnamon-2-0/

  6. frogy says:

    9 months ago

    Which are the two files that need to be altered? I read the post in the link but I can find the files you mention.

  7. christian_l says:

    9 months ago

    Thanks pxfx, that mostly solves the problem for me! My windows have a tiny bit of border left around them now, but other than that, you're solution works fine.

  8. pxfx says:

    10 months ago

    crap, that didn't format well, read this in a nicer format and in colour at http://www.infofreako.info/2014/01/maximus-cinnamon-extension-5-working-with-cinnamon-2-0/

  9. pxfx says:

    10 months ago

    As Christian_I I also found that this extension did not work under Cinnamon 2.0. (Although officially it never work under 1.8, unless you added the version number in the metadata.json file). But in Cinnamon 2.0 it really was broken, as previously described when windows were maximised the whole window disappeared. After a bit of investigation and a quick read on the script, I found that all this does is call xprop with _MOTIF_WM_HINTS 32c 0x2,0x0,0x0,0x0,0x0 when a window was maximised, basically turning off the window decoration, conversely re-enabled the windows decoration when un-maximising with _MOTIF_WM_HINTS 32c 0x2,0x0,0x1,0x0,0x0. Which used to work, but now is broken. So I don't know if this a bug in Cinnamon 2.0, to me it feels like one, I would think you should be able to have a window maximised and be able to turn off it's window decoration and still see it (Cinnamon developments confirm whether if is an undocumented feature, I would raise a bug request but can't find the bug tracker for cinnamon) TO FIX: change on character from a 0 to 2, at line 136 from function undecorate(win) { /* Undecorate with xprop */ let id = guessWindowXID(win), cmd = ['xprop', '-id', id, '-f', '_MOTIF_WM_HINTS', '32c', '-set', '_MOTIF_WM_HINTS', '0x2, 0x0, 0x0, 0x0, 0x0']; <<<<<<<<<<< THIS LINE to function undecorate(win) { /* Undecorate with xprop */ let id = guessWindowXID(win), cmd = ['xprop', '-id', id, '-f', '_MOTIF_WM_HINTS', '32c', '-set', '_MOTIF_WM_HINTS', '0x2, 0x0, 0x2, 0x0, 0x0']; This will change the window decoration to a window without title or buttons, and the great thing is it's still visible when maximised. So to get this two script extension to work under Cinnamon 2.0 you need to alter both files as described. Maybe it's time for this spice to be updated He who controls the spice controls the universe. - Dune

  10. christian_l says:

    11 months ago

    I have a similar problem to mflopez. When windows are maximized automatically upon restart or maximized manually for the first time after opening, they just vanish. I can unmaximize them, move the window, and then maximize them again, and that fixes the problem. But of course it would be great if it worked right from the start. It seems the gnome-shell extension that this version is based on underwent a few updates since this port has been made. I can't figure out how to do the port myself, looks like it's not that easy anymore. I'd appreciate it if somebody could figure this out. (Fedora 20 beta with cinnamon-2.0.13, recently upgraded from Fedora 19 which had the same problem)

  11. luansilas says:

    1 year ago

    How to install that? You say simply change the metadata.. ok. I changed but.. and now? What I do with the package? Where I have to put than? I don't know how to install this thing. Can someone help-me? It will be better if you put a instructions on the descriptions.. thanks a lot.

  12. mflopez says:

    1 year ago

    Seems to be not working with Nemo+Cinnamon 2.0.2. Every time I start Nemo, the window is there but you can't see it. If I hold ctrl and drag the window out of the "maximized" mode, it shows normally. But as soon as you maximize Nemo, it's no longer there (but you can still see the icon on the panel). So far I discovered this problem with Nemo, will update if I see same error on other programs

  13. Nami says:

    1 year ago

    Is it possible this Applet could be updated for Mint 14 "Nadia" with Cinnamon 1.6.7? There is no extensions folder anymore and dropping it into applets and renaming the file results in missing "main" errors. Thanks!

  14. al-dias says:

    1 year ago

    For use in Cinnamon 1.6.7 or newer versions, edit metadata.json "cinnamon-version": [ "1.4", "1.5", "1.5.1", "1.5.2" , "1.6.7" ],

  15. Verix says:

    1 year ago

    Awesome extension, thank you!

  16. cherep says:

    2 years ago

    great extension! But it does not fully work with Kile on my LM14 64bit. Cinnamon 1.6.7 freezes after I resize Kile back and forth. Solved adding 'Kile' to the WMLIST following https://bitbucket.org/mathematicalcoffee/maximus-gnome-shell-extension/overview.

  17. mto8 says:

    2 years ago

    Thanks kyla :D

  18. kyla says:

    2 years ago

    This worked for me (posted by dmo60 in a comment on another extension): "Run 'cinnamon --version' and check if your version is included in the metadata.json file." I just added my version and now maximus works again.

  19. mto8 says:

    2 years ago

    Don't work in cinnamon 1.6

  20. kyla says:

    2 years ago

    Something in a recent update broke this for me. I'm using the Romeo repository, so I suspect it's something related to cinnamon 1.6. Any ideas?

  21. economicist says:

    2 years ago

    Looks like a great idea. But can anyone tell me how to install it? Where do I put the zip file or its contents? I'm totally stumped on this one.

  22. Verix says:

    2 years ago

    What's the difference between this and getting Maximus from the repos? I have the repo Maximus and it works fine.

  23. abnvolk says:

    2 years ago

    Yay! 5 star!

  24. abnvolk says:

    2 years ago

    Yay! 5 star!

  25. ebbes says:

    2 years ago

    Updated extension for Cinnamon versions 1.4 up to 1.5.2.

  26. conejodesigner says:

    2 years ago

    Pretty cool, using along with cinnamon windows button applet

  27. m0n9oose says:

    2 years ago

    what is this?

  28. welshtramp says:

    2 years ago

    works great, just need the title bar applet fixed and it will work great with that, thanks for porting