Cinnamon Maximus

by fmete

UUID: cinnamon-maximus@fmete
Score: 38
Last edited: 2 months ago
Last commit: 91f3d2db0a5ef16ffaee55f2a89a5bbd3aaae8ce



Undecorate windows its maximised.

56 Comments

-
7 months ago
This extension makes everything look nicer. Great job.

My only problem is with chrome, as I am definitely using the experimental option "Undecorate all Windows" and I can't seem to be able to blacklist chrome. (I've tried all these in the Blacklist Apps field: chromium,Chrome,google-chrome,google-chrome-stable,chrome. Even when opening from a .desktop file with the same name). Blacklisted or not, chrome opens with an additional border that looks weird (indeed there are no close-min-max controls, but still this additional ugly border is there). Please help.

I guess the "whitelist" suggestion is also a good idea that would probably solve my problem here.
-
7 months ago
What would be nice from my point of view is if it was possible to set maximus to ignore all application windows except those white listed. I have a small number of apps that I need to have full screen with no decorations (like VirtualBox where using maximus makes it like running full screen, but with the ability to easily move to other workspaces), plus a few others that it's nice to have that way. The rest of the apps I use it's really dedious adding them to the black list as I discover that's it's not one that I want that way.
-
7 months ago
@ngoclb it looks you install maximus extension as applet. try to copy maximus extension /home/ngoclb/.local/share/cinnamon/extensions/ folder.
-
8 months ago
This applet not working on LM 18, @fmete: can you recheck this error:
error t=2016-07-24T21:01:36Z /org/freedesktop/UPower/devices/battery_BAT0:=SANYO 45N1773
error t=2016-07-24T21:01:36Z /org/freedesktop/UPower/devices/battery_BAT0:=SANYO 45N1773
error t=2016-07-24T21:01:46Z [Applet "cinnamon-maximus@fmete"]: File not found: /home/ngoclb/.local/share/cinnamon/applets/cinnamon-maximus@fmete/applet.js
error t=2016-07-24T21:01:46Z Could not load applet cinnamon-maximus@fmete
-
1 year ago
To use the blacklist, you should use the app id. Basically, the name of the app as it appears for the `.desktop` file, without the .desktop. In my case, it was `sublime_text`. Great extension!
-
1 year ago
Hi,

Can you please instruct on how to use the blacklist ? It has been working flawlessly for me so far (LM 17.2). I'm trying to blacklist Sublime Text windows and I'm not sure whether I should enter the command name (subl), the .desktop name (sublime_text or sublime_text.desktop) or the window title (this one is dynamic, to match the showing file: Sublime Text 3 - Smth Smth)...

Thank you!
-
1 year ago
Yes, it is still not working for me in Manjaro, even with the dependencies installed. When I first add it to the Desktop, some window borders will just turn white instead of being hidden when you go fullscreen. If I log out and log back in, the functionality goes away totally.
-
1 year ago
Still doesn`t work with Mint 17.3. Crashes when I try to add applet on pannel.
-
1 year ago
Hi fmete, thanks for this great extension. It works great apart from an issue handling KDE apps. It seems that when I first open a KDE app that's set to open maximized it doesn't undecorate. I have to un-maximize and re-maximize it to adopt undecorate state. After that it responds normally upon maximizing. Being on Mint 17.3 64bit but noticed this in previous versions too. Apps like Krusader & Gwenview do this as well as Gmusicbrowser and Nicotine. Thanks again!
-
1 year ago
@baronleonardo i updated, thanks for comment.
-
1 year ago
Please update it to adopt with Cinnamon 2.8
-
1 year ago
Hello, really thank you for your applet. I just upgrade my Mint to 17.2 with Cinnamon 2.6.13, and it seems that this applet doesn't work. Please take a look at it.
-
1 year ago
understood =) nice extensions!
-
1 year ago
need help, does not start
log file http://pastebin.com/k1dhE0fj
-
1 year 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.
-
1 year ago
@senu thanks for feedback.
-
1 year 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!
-
1 year ago
@lestcape @mohammad-sn @Darlan @baronleonardo thanks for feedbacks and suggestions. Now i am working on extension. i will update extension short time later
-
1 year 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?
-
1 year ago
wine apps have problem with this applet
the titlebar is still there!!!
-
1 year 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.
-
1 year 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)
-
1 year 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 :)
-
1 year ago
7MileStyle, after removing this extension, to have to close all open windows and restart cinnamon (from troubleshoot menu) to changes take effect.
-
1 year 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?
-
1 year 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);
-
2 years 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.
-
2 years ago
fmete: https://github.com/linuxmint/muffin/commit/a6a4518148c09fe774110b8a331c5f228ee3f745
-
2 years ago
@katfly thanks for feedback, you can use "Window Buttons with Title" (http://cinnamon-spices.linuxmint.com/applets/view/184) aplet.
-
2 years 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..
-
2 years ago
Sorry @mroova i wirte wrong row number, change row 212.
-
2 years 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
-
2 years 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.
-
2 years 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.
-
2 years ago
@herdem are you install this extension manually? You have to install extension in "/home/erdem/.local/share/cinnamon/extensions/" path.
-
2 years 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
-
2 years 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!
-
2 years 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.
-
2 years 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
-
2 years 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.
-
2 years 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.
-
2 years 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.
-
2 years ago
linux mint 17. not work with ambiance theme. ??
-
2 years 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.
-
2 years 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.
-
2 years ago
@fmete thanks. it's perfect :)
-
2 years ago
i see @botchy, i added undecorate all windows option. i hope it is useful for you. thanks your feedback.
-
2 years 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 :)
-
2 years 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.
-
2 years ago
you should add an option to undecorate only maximized windows or undecorate all windows. otherwise it's perfect :)
-
2 years 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.
-
2 years 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...
-
2 years 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.
-
2 years ago
what is in this extension that's not in the window button with title applet?
-
2 years ago
thumbs up!
-
2 years ago
Awesome!