Cinnamon Maximus 0.3.2

UUID: cinnamon-maximus@fmete
Score: 34

Download



Extension : Cinnamon-Maximus            Version      : v0.3.1
Desktop   : Cinnamon                    Release Date : 22 Nov 2014.
Author    : Fatih Mete                  Email        : fatihmete@live.com

This is Maximus GNOME Shell extension ported to Cinnamon. You need xprop and xwininfo package (on linuxmint already installed)

This extension tested on Cinnamon 2.4 (Linux Mint 17, Arch Linux)

Some features:

  1. Cinnamon 2.6 Support
  2. Undecorate windows when maximized or (if you want) tiled
  3. You can undecorate all windows (experimental, known issue 1)
  4. You can add aplications in blacklist. Extension ignores this app when its window maximized.

Known Issues:

  1. UI problem with latest version gnome applications (gnome-system-monitor 3.12, gedit 3.12), And when you close this option, you have close and re-open all windows for decorete all.

 

Change Log:

0.3.2

  • Added only Cinnamon 2.6 support.

0.3

  • Added Undecorate when TILED&SNAPPED
  • Added Undecorate for All Windows (experimental)

 

0.2

  • Ported latest version of Gnome Shell maximus-estension
  • Fix F11 fullscreen issue on some applications (firefox, gedit)
  • Added blacklist option


0.1

  • Initial release.

About The Author

fmete

Application developer at Linux Mint Turkey

Applets and Extesions:

Window Buttons with Title

Color Picker

Cinnamon Maximus


44 Comments

  1. dimsil says:

    1 week ago

    understood =) nice extensions!

  2. dimsil says:

    1 week ago

    need help, does not start log file http://pastebin.com/k1dhE0fj

  3. lestcape says:

    1 month ago

    fmete thanks for the update. I can not get a more clean implementation of this... Some time i considered merge your code with the global menu, but i think will be a pretty buggy thing... I want to see some day a better support of this in cinnamon... I also considered implement this in python (outside cinnamon), but also i don't want continue resolving the thing outside cinnamon.

  4. fmete says:

    1 month ago

    @senu thanks for feedback.

  5. senu says:

    1 month ago

    I tested it on cinnamon-2.6 and works fine. Could you update the extension metadata to include "2.6"? Thanks for the awesome extension!

  6. fmete says:

    1 month ago

    @lestcape @mohammad-sn @Darlan @baronleonardo thanks for feedbacks and suggestions. Now i am working on extension. i will update extension short time later

  7. Darlan says:

    1 month ago

    Hi! I'm using this extension for a few time and his works ok with the cinnamon native personalization options, but now I'm trying to use with new Windows Borders (Ambiance Blackout) and when the window open maximized, they disappear. I just can view she again if I minimize and maximize with for the traditional controls. How I'm fix it?

  8. baronleonardo says:

    2 months ago

    wine apps have problem with this applet the titlebar is still there!!!

  9. lestcape says:

    3 months ago

    This work, is tested, and not need xid or the GdkX11: const Gdk = imports.gi.Gdk; let screen = Gdk.Screen.get_default() let mywin = screen.get_active_window(); mywin.set_decorations(Gdk.WMDecoration.BORDER); mywin.move(0,0); mywin.process_all_updates(); mywin.unref(); You don't need mywin.move(0,0); when you do mywin.set_decorations(Gdk.WMDecoration.ALL); on the oposite behavior. Just could set in a code like this: https://github.com/linuxmint/Cinnamon/blob/0b9656aab9bb20462406a5428f990e777e36a0fe/js/ui/windowManager.js#L432 And for more warranties, this could help: global.gdk_screen.get_display().sync(); when the windows change the decoration.

  10. lestcape says:

    3 months ago

    mohammad-sn, but will not be more easy: xid = cinnamon_wind.get_xwindow() //Added recently to instrospection. let window = GdkX11.X11Window.foreign_new_for_display( Gdk.Display.get_default(), xid ); window.set_decorations(Gdk.WMDecoration.BORDER); Where cinnamon_wind is the current maximixed windows, that we can get for global.screen.get_workspace_by_index(index)

  11. mohammad-sn says:

    3 months ago

    fmete, declaring tileID variable in line 102, would fix disabling issues. Also in latest version of cinnamon, .decorated property of CSD apps is set to false, and the extension works fine with CSDs without any changes, I think you can empty list of known issues now :)

  12. mohammad-sn says:

    3 months ago

    7MileStyle, after removing this extension, to have to close all open windows and restart cinnamon (from troubleshoot menu) to changes take effect.

  13. 7MileStyle says:

    3 months ago

    I added this to mint and used the hide window decorations option. Now I can't disable it. Even if I uninstall the extension the window titles and control buttons are gone when maximized. I have tried restoring cinnamon to default using the trouble shoot option. What do I do?

  14. mohammad-sn says:

    4 months ago

    Hi fmete, thanks for the extension. Like your extension, Gnome's CSD apps use _MOTIF_WM_HINTS (but set to '0x2, 0x0, 0x0, 0x0, 0x0') i added the code below to your extension's "onWindowAdded" function and now it works fine and supports CSD. let id = guessWindowXID(win); let mwmhints = GLib.spawn_command_line_sync('xprop -id ' + id + ' _MOTIF_WM_HINTS'); let sha = mwmhints[1].toString().indexOf('0x2, 0x0, 0x0, 0x0, 0x0') == -1; win._maximusDecoratedOriginal = sha && (win.decorated !== false || false);

  15. splarv says:

    4 months ago

    Thanks for this extention. I found a bug. The "undecorated" windows still have a border, but don't change the colour of the border when windows become active. This will be usefull in the tiling mode.

  16. lestcape says:

    4 months ago

    fmete: https://github.com/linuxmint/muffin/commit/a6a4518148c09fe774110b8a331c5f228ee3f745

  17. fmete says:

    5 months ago

    @katfly thanks for feedback, you can use "Window Buttons with Title" (http://cinnamon-spices.linuxmint.com/applets/view/184) aplet.

  18. katfly says:

    5 months ago

    Really thanks for your great work! I'm using Mint 17.1 (Cinnamon 2.4). Thanks to this extension, I can get rid of annoying title bars and control my windows by some buttons on dock. Hope there are min/max/close/move buttons on the panel at the top in the future..

  19. fmete says:

    5 months ago

    Sorry @mroova i wirte wrong row number, change row 212.

  20. fmete says:

    5 months ago

    @mroova thanks for feedback. this issue cause from themes coding. Can you testing possible solution with your theme? Firstly open extension.js (~/.local/share/cinnamon/extensions/cinnamon-maximus@fmete/extension.js). Find row 255 ( it looks " '0x2, 0x0, 0x1, 0x0, 0x0']; " ) after change it as "'0x2, 0x0, 0x0, 0x0, 0x0'];". Please write result there. Thanks

  21. mroova says:

    7 months ago

    First of all, thank You for a great extension. I've been using it for some time on Linux Mint 17.1 and it does the job very well. Unfortunately I've experienced the problem mentioned by pablocinquini and tareco: The buttons disappear when the window is maximized but the titlebar remains. I've tried using the themes You suggested - Ambiance & Radiance Colors Suite - but it didn't solve the problem. Other themes I tried without success - greybiance, Mint-XP (GTK3, GTK2 and metacity included), nightfall (a compact theme) - all from cinnamon-spices.linuxmint.com/themes. Some themes are working correctly e.g.: AgingGorilla DeLorean-Dark, Mint-X. I hope You can look into it. Thx again.

  22. herdem says:

    7 months ago

    Many thanks fmete. I have made a wrong assumption by installing this as an applet. Now it works like a charm after installing as extension. Now I am not losing any screen space for obsolete title bars.

  23. fmete says:

    7 months ago

    @herdem are you install this extension manually? You have to install extension in "/home/erdem/.local/share/cinnamon/extensions/" path.

  24. herdem says:

    7 months ago

    Unfortunately, I cannot activate the applet. "There was a problem loading the selected item, and it has been disabled." In glass.log: error t=2014-12-06T10:51:53.007Z [Applet "cinnamon-maximus@fmete"]: File not found: /home/erdem/.local/share/cinnamon/applets/cinnamon-maximus@fmete/applet.js error t=2014-12-06T10:51:53.008Z Could not load applet cinnamon-maximus@fmete

  25. lemongrass says:

    8 months ago

    I'm using it with Linux Mint 17.1 Cinnamon 2.4. But there is a problem in combination with autohide the panel. When the panel is showing up instead of beeing in front of the Window the window is also moving up. It's slow and stuttering. Hope you understand what I mean. Please try it yourself! Thanks very much for this extension!

  26. fmete says:

    8 months ago

    @pelo i have just added cinnaon 2.4 support, thanks for feedback. @tareco extension not comptaible some themes like ubuntu theme (ambiance and radiance), its cause themes metacity coding, may be you can try another theme (ambiance and radiance alternative: http://gnome-look.org/content/show.php/Ambiance+&+Radiance+Colors+Suite?content=147891 ) sorry, thanks for feedback. @bodqhrohro undecorate all option is experimental, so it isn't tested yet. Thanks for feedback, i will try to fix this issue.

  27. tareco says:

    8 months ago

    the buttons disappear when window is maximized but titlebar remains: https://i.imgur.com/JWReBaV.jpg Cinnamon 2.2.13 w/ Ubuntu 14.04

  28. bodqhrohro says:

    8 months ago

    With "undecorate all windows" option Atril usually crashes Cinnamon on startup. Adding Atril to exclusion list does not help. Cinnamon 2.2.16 on Debian 8.

  29. pelo says:

    8 months ago

    I very much like this extension but it no longer works with Cinnamon version 2.4.0. I use Arch and recently updated to this version. Hope to see an update soon.

  30. fmete says:

    1 year ago

    @pablocinquini, extension doenst work correctly some themes., it cause themes metacity coding. Extension remove titlebar, I think in some themes, title bar identified as control buttons so title bar appeared. Extension works corretly with offical mint theme and many of themes. Sorry, it isn't bug. nevertheless i try to found better solution for this issue.

  31. pablocinquini says:

    1 year ago

    linux mint 17. not work with ambiance theme. ??

  32. fmete says:

    1 year ago

    @botchy, i think it cause from any other thing. i disabled cinnamon-maximus and replaced cinnamon, after opened smplayer (version 14.3.0) . when i press ctrl+c, decoration still appears and stays.

  33. botchy says:

    1 year ago

    @fmete I noticed one more thing. I'm using smplayer with the default skin and when I'm changing between normal and compact mode (ctrl+c) the decoration reappears and stays.

  34. botchy says:

    1 year ago

    @fmete thanks. it's perfect :)

  35. fmete says:

    1 year ago

    i see @botchy, i added undecorate all windows option. i hope it is useful for you. thanks your feedback.

  36. botchy says:

    1 year ago

    @fmete, I like the idea of having the title and the buttons only on the panel. I use a lot of windows with max height but not maxmized, so it helps me have some more space in the windows :)

  37. fmete says:

    1 year ago

    @botchy, i can add this feature next version, but i wondering, why do you want this option? because, windows looks like that window manager (muffin, metacity) doenst work.

  38. botchy says:

    1 year ago

    you should add an option to undecorate only maximized windows or undecorate all windows. otherwise it's perfect :)

  39. fmete says:

    1 year ago

    thanks, @frere, i just updated applet, i fix F11 problem in some applications (gedit, firefox), now i am testings for any bug. I will remove undecorate option window-buttons-and-title applet. For maximus option need this extension.

  40. frere says:

    1 year ago

    I just installed LMDE and have been running circles around Maximus for hours before finding this excellent solution! - Install through LMDE Software Manager > buggy (window minimizes instead of maximizing with hidden titlebar) - Install of "Maximus Cinnamon Extension" > not working (as announced here!) - Tried a whole bunch of complicated solutions to no avail Now everything seems to be running smoothly on my 12" laptop, excellent! Thank you much and lots of good vibes...

  41. fmete says:

    1 year ago

    vayth, window button with title applet undecoration option same this extension. This extension only undecorate window, maybe some users don't want to use window button with title applet. This extension for they.

  42. vayth says:

    1 year ago

    what is in this extension that's not in the window button with title applet?

  43. robrobinbin says:

    1 year ago

    thumbs up!

  44. zagortenay333 says:

    1 year ago

    Awesome!