How to disable window decorations in Cinnamon

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












10















I'm using Cinnamon, but would like to remove all window decorations -- I never use them, they only cost screen estate, and moving / resizing can be conveniently done with alt-mouse1 and alt-mouse2.



Is there a way to achieve this?



EDIT: Clarification.



I am using Ubuntu 12.04 with a custom ppa providing Cinnamon. I switched from the default Unity/Compiz combo because Compiz in 12.04 is a painful regression, plagued by bugs, compared to the 10.04 version (see for example this bug). I got impatient waiting for correction of this and other bugs. I achieved the desired effect previously and on my 10.04 workstation with Compiz.



However, as I understand it, Cinnamon is using libmuffin, and not Compiz (correct me if I'm wrong).



I am quite happy with the Cinnamon interface, in especially as the effect I got used to (equivalent to the "scale" plugin in Compiz) works without glitches. Also, I would not like to change the distribution, as I got used to Ubuntu and was very happy with the 10.04 LTS. Getting rid of window decorations is the only thing that is still missing.










share|improve this question
























  • Which distro is it? Cinnamon is being used further afield than for just LinuxMint.

    – Peter.O
    Oct 22 '12 at 17:45











  • As a matter of fact, this is Ubuntu, with the ppa gwendal-lebihan.

    – January
    Oct 22 '12 at 18:32












  • a possible duplicate of the above was posted: unix.stackexchange.com/q/290706/32012

    – user32012
    Jun 19 '16 at 11:19











  • Wow, this question on Unix.SE seems to be left unanswered and abandoned for four years? Anyway, I have compiled known workarounds and posted my answer below.

    – clearkimura
    Jun 21 '16 at 16:49















10















I'm using Cinnamon, but would like to remove all window decorations -- I never use them, they only cost screen estate, and moving / resizing can be conveniently done with alt-mouse1 and alt-mouse2.



Is there a way to achieve this?



EDIT: Clarification.



I am using Ubuntu 12.04 with a custom ppa providing Cinnamon. I switched from the default Unity/Compiz combo because Compiz in 12.04 is a painful regression, plagued by bugs, compared to the 10.04 version (see for example this bug). I got impatient waiting for correction of this and other bugs. I achieved the desired effect previously and on my 10.04 workstation with Compiz.



However, as I understand it, Cinnamon is using libmuffin, and not Compiz (correct me if I'm wrong).



I am quite happy with the Cinnamon interface, in especially as the effect I got used to (equivalent to the "scale" plugin in Compiz) works without glitches. Also, I would not like to change the distribution, as I got used to Ubuntu and was very happy with the 10.04 LTS. Getting rid of window decorations is the only thing that is still missing.










share|improve this question
























  • Which distro is it? Cinnamon is being used further afield than for just LinuxMint.

    – Peter.O
    Oct 22 '12 at 17:45











  • As a matter of fact, this is Ubuntu, with the ppa gwendal-lebihan.

    – January
    Oct 22 '12 at 18:32












  • a possible duplicate of the above was posted: unix.stackexchange.com/q/290706/32012

    – user32012
    Jun 19 '16 at 11:19











  • Wow, this question on Unix.SE seems to be left unanswered and abandoned for four years? Anyway, I have compiled known workarounds and posted my answer below.

    – clearkimura
    Jun 21 '16 at 16:49













10












10








10








I'm using Cinnamon, but would like to remove all window decorations -- I never use them, they only cost screen estate, and moving / resizing can be conveniently done with alt-mouse1 and alt-mouse2.



Is there a way to achieve this?



EDIT: Clarification.



I am using Ubuntu 12.04 with a custom ppa providing Cinnamon. I switched from the default Unity/Compiz combo because Compiz in 12.04 is a painful regression, plagued by bugs, compared to the 10.04 version (see for example this bug). I got impatient waiting for correction of this and other bugs. I achieved the desired effect previously and on my 10.04 workstation with Compiz.



However, as I understand it, Cinnamon is using libmuffin, and not Compiz (correct me if I'm wrong).



I am quite happy with the Cinnamon interface, in especially as the effect I got used to (equivalent to the "scale" plugin in Compiz) works without glitches. Also, I would not like to change the distribution, as I got used to Ubuntu and was very happy with the 10.04 LTS. Getting rid of window decorations is the only thing that is still missing.










share|improve this question
















I'm using Cinnamon, but would like to remove all window decorations -- I never use them, they only cost screen estate, and moving / resizing can be conveniently done with alt-mouse1 and alt-mouse2.



Is there a way to achieve this?



EDIT: Clarification.



I am using Ubuntu 12.04 with a custom ppa providing Cinnamon. I switched from the default Unity/Compiz combo because Compiz in 12.04 is a painful regression, plagued by bugs, compared to the 10.04 version (see for example this bug). I got impatient waiting for correction of this and other bugs. I achieved the desired effect previously and on my 10.04 workstation with Compiz.



However, as I understand it, Cinnamon is using libmuffin, and not Compiz (correct me if I'm wrong).



I am quite happy with the Cinnamon interface, in especially as the effect I got used to (equivalent to the "scale" plugin in Compiz) works without glitches. Also, I would not like to change the distribution, as I got used to Ubuntu and was very happy with the 10.04 LTS. Getting rid of window decorations is the only thing that is still missing.







cinnamon window-decorations






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 22 '12 at 18:48







January

















asked Oct 22 '12 at 13:45









JanuaryJanuary

1,54111214




1,54111214












  • Which distro is it? Cinnamon is being used further afield than for just LinuxMint.

    – Peter.O
    Oct 22 '12 at 17:45











  • As a matter of fact, this is Ubuntu, with the ppa gwendal-lebihan.

    – January
    Oct 22 '12 at 18:32












  • a possible duplicate of the above was posted: unix.stackexchange.com/q/290706/32012

    – user32012
    Jun 19 '16 at 11:19











  • Wow, this question on Unix.SE seems to be left unanswered and abandoned for four years? Anyway, I have compiled known workarounds and posted my answer below.

    – clearkimura
    Jun 21 '16 at 16:49

















  • Which distro is it? Cinnamon is being used further afield than for just LinuxMint.

    – Peter.O
    Oct 22 '12 at 17:45











  • As a matter of fact, this is Ubuntu, with the ppa gwendal-lebihan.

    – January
    Oct 22 '12 at 18:32












  • a possible duplicate of the above was posted: unix.stackexchange.com/q/290706/32012

    – user32012
    Jun 19 '16 at 11:19











  • Wow, this question on Unix.SE seems to be left unanswered and abandoned for four years? Anyway, I have compiled known workarounds and posted my answer below.

    – clearkimura
    Jun 21 '16 at 16:49
















Which distro is it? Cinnamon is being used further afield than for just LinuxMint.

– Peter.O
Oct 22 '12 at 17:45





Which distro is it? Cinnamon is being used further afield than for just LinuxMint.

– Peter.O
Oct 22 '12 at 17:45













As a matter of fact, this is Ubuntu, with the ppa gwendal-lebihan.

– January
Oct 22 '12 at 18:32






As a matter of fact, this is Ubuntu, with the ppa gwendal-lebihan.

– January
Oct 22 '12 at 18:32














a possible duplicate of the above was posted: unix.stackexchange.com/q/290706/32012

– user32012
Jun 19 '16 at 11:19





a possible duplicate of the above was posted: unix.stackexchange.com/q/290706/32012

– user32012
Jun 19 '16 at 11:19













Wow, this question on Unix.SE seems to be left unanswered and abandoned for four years? Anyway, I have compiled known workarounds and posted my answer below.

– clearkimura
Jun 21 '16 at 16:49





Wow, this question on Unix.SE seems to be left unanswered and abandoned for four years? Anyway, I have compiled known workarounds and posted my answer below.

– clearkimura
Jun 21 '16 at 16:49










1 Answer
1






active

oldest

votes


















4





+50









Cinnamon cannot disable or remove window decorations, according to this issue on GitHub. The option to remove window decoration is yet to be implemented.



User may instead use any of the workarounds as follows.



Workaround 1 (easy)



Use the smallest font size for window title. Go to System Settings > Appearance - Fonts. Then under Font Selection - Window title font: change the font size from the default 10 to the smallest value 1, then click Select to finish.



Using the smallest window title font in Cinnamon



Assuming the screenshot is pixel-perfect regardless of screen resolution, the height of window decoration was reduced by: 14 pixels in Cinnamon 2.2; 17 pixels in Cinnamon 3.8.



Mint-Y and Mint-X themes compared as a result



Window decoration in Cinnamon seems to use Metacity theme with Mutter/Muffin support; traditional themes do not seem to work. Different combination of themes for window borders and controls may affect the result. Some themes do not reduce the height of window decoration as much as other themes. For example, Mint-Y had worse result than Mint-X.



Limitation: This workaround is theme dependent. Known themes that work well with this workaround are very few: Mint-X, BlueMenta, Greybird.



Workaround 2



Use any utility tool like Devil's Pie or Devilspie2, which can remove window decorations for EWMH-compliant window managers. This will require user configuration to remove window decoration.



For Devilspie2, open a text editor and type the following code.



if (get_window_type()=="WINDOW_TYPE_NORMAL") then
undecorate_window();
end


Save as file in $HOME/.config/devilspie2 with any name followed by .lua in the filename. Run devilspie2 to see the result. To make the changes persistent at reboot, add the command devilspie2 to Settings > Preferences - Startup Applications.



Undecorate window for Nemo in Cinnamon



With above configuration, all running applications with normal window type will have no window decoration at all. This related post has my answer with details on how to use Devil's Pie and Devilspie2 to remove window decoration by application name instead.



Limitation: This workaround will not work against applications with the client-side decoration a.k.a header bar in GNOME; thus modifying the theme may be the only alternative.



Workaround 3



Modify the theme. Cinnamon window manager, Muffin, supports Xfwm4 and Metacity themes for its window decorations: check /usr/share/themes/THEMENAME directory and look for either metacity-1 or xfwm4 subdirectory.



This answer on Ask Ubuntu had suggested to edit the XML file of the currently used theme:




[...] You can edit



/usr/share/themes/Mint-X/metacity-1


and set all non-zero value properties in the metacity-theme-1.xml (of course you need sudo, to edit something there. A backup is useful.) [...]




The filename may vary depending on which theme in use.



Perhaps theme modification is the only "reliable" way to remove window decoration. The known limitations in other two workarounds seem redundant, except this is a tedious workaround.



Disclaimer: I don't use Cinnamon on daily basis and just explored again recently for experience. I did not verify the third workaround because that will take some time to test.



Tested with Cinnamon 2.2 in Linux Mint 17 (Live) and Cinnamon 3.8 in Linux Mint Debian Edition 3.






share|improve this answer




















  • 1





    I found the theme option to be very useful. There's a very handy document on reddit.com/r/CinnamonDE/comments/4bb4re/… which details how to nearly remove the maximized title bar. It isn't visible, but you can still move your mouse up to the very top and double click to restore the original window size. Which I think worked even better than expected!

    – Alex Summers
    May 25 '17 at 8:56












  • I've come up with a much quicker solution than the Tedious workaround. In metacity-theme-N.xml (where N is the version you're using (requires testing)), find <frame-geometry name="normal"[...] Here, you only need to replacements: * Replace title_scale="medium" with has_title="false" * Under<distance name="button_height"[...] set the value to "0"

    – camilla.greer
    Feb 21 at 18:02












  • Ahh, you actually need to change a few other values, but everything you need to touch is inside that <frame-geometry name="normal"[...] code block, not everything in the whole document.

    – camilla.greer
    Feb 21 at 18:11











  • @camilla.greer The edit actually deviates from the original answer, since the source I quoted had no such detail. For the metacity theme method, I believe you should rewrite the comments into a proper answer instead.

    – clearkimura
    Mar 8 at 14:19











  • Following my recent revisions, I am much convinced that the "tedious workaround" should just quote from the source "as it is" with no details. The Metacity theme method requires much testing (and whomever wrote the working solution deserve separate upvotes), therefore should be posted as a new answer.

    – clearkimura
    Mar 12 at 8:34










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f52565%2fhow-to-disable-window-decorations-in-cinnamon%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4





+50









Cinnamon cannot disable or remove window decorations, according to this issue on GitHub. The option to remove window decoration is yet to be implemented.



User may instead use any of the workarounds as follows.



Workaround 1 (easy)



Use the smallest font size for window title. Go to System Settings > Appearance - Fonts. Then under Font Selection - Window title font: change the font size from the default 10 to the smallest value 1, then click Select to finish.



Using the smallest window title font in Cinnamon



Assuming the screenshot is pixel-perfect regardless of screen resolution, the height of window decoration was reduced by: 14 pixels in Cinnamon 2.2; 17 pixels in Cinnamon 3.8.



Mint-Y and Mint-X themes compared as a result



Window decoration in Cinnamon seems to use Metacity theme with Mutter/Muffin support; traditional themes do not seem to work. Different combination of themes for window borders and controls may affect the result. Some themes do not reduce the height of window decoration as much as other themes. For example, Mint-Y had worse result than Mint-X.



Limitation: This workaround is theme dependent. Known themes that work well with this workaround are very few: Mint-X, BlueMenta, Greybird.



Workaround 2



Use any utility tool like Devil's Pie or Devilspie2, which can remove window decorations for EWMH-compliant window managers. This will require user configuration to remove window decoration.



For Devilspie2, open a text editor and type the following code.



if (get_window_type()=="WINDOW_TYPE_NORMAL") then
undecorate_window();
end


Save as file in $HOME/.config/devilspie2 with any name followed by .lua in the filename. Run devilspie2 to see the result. To make the changes persistent at reboot, add the command devilspie2 to Settings > Preferences - Startup Applications.



Undecorate window for Nemo in Cinnamon



With above configuration, all running applications with normal window type will have no window decoration at all. This related post has my answer with details on how to use Devil's Pie and Devilspie2 to remove window decoration by application name instead.



Limitation: This workaround will not work against applications with the client-side decoration a.k.a header bar in GNOME; thus modifying the theme may be the only alternative.



Workaround 3



Modify the theme. Cinnamon window manager, Muffin, supports Xfwm4 and Metacity themes for its window decorations: check /usr/share/themes/THEMENAME directory and look for either metacity-1 or xfwm4 subdirectory.



This answer on Ask Ubuntu had suggested to edit the XML file of the currently used theme:




[...] You can edit



/usr/share/themes/Mint-X/metacity-1


and set all non-zero value properties in the metacity-theme-1.xml (of course you need sudo, to edit something there. A backup is useful.) [...]




The filename may vary depending on which theme in use.



Perhaps theme modification is the only "reliable" way to remove window decoration. The known limitations in other two workarounds seem redundant, except this is a tedious workaround.



Disclaimer: I don't use Cinnamon on daily basis and just explored again recently for experience. I did not verify the third workaround because that will take some time to test.



Tested with Cinnamon 2.2 in Linux Mint 17 (Live) and Cinnamon 3.8 in Linux Mint Debian Edition 3.






share|improve this answer




















  • 1





    I found the theme option to be very useful. There's a very handy document on reddit.com/r/CinnamonDE/comments/4bb4re/… which details how to nearly remove the maximized title bar. It isn't visible, but you can still move your mouse up to the very top and double click to restore the original window size. Which I think worked even better than expected!

    – Alex Summers
    May 25 '17 at 8:56












  • I've come up with a much quicker solution than the Tedious workaround. In metacity-theme-N.xml (where N is the version you're using (requires testing)), find <frame-geometry name="normal"[...] Here, you only need to replacements: * Replace title_scale="medium" with has_title="false" * Under<distance name="button_height"[...] set the value to "0"

    – camilla.greer
    Feb 21 at 18:02












  • Ahh, you actually need to change a few other values, but everything you need to touch is inside that <frame-geometry name="normal"[...] code block, not everything in the whole document.

    – camilla.greer
    Feb 21 at 18:11











  • @camilla.greer The edit actually deviates from the original answer, since the source I quoted had no such detail. For the metacity theme method, I believe you should rewrite the comments into a proper answer instead.

    – clearkimura
    Mar 8 at 14:19











  • Following my recent revisions, I am much convinced that the "tedious workaround" should just quote from the source "as it is" with no details. The Metacity theme method requires much testing (and whomever wrote the working solution deserve separate upvotes), therefore should be posted as a new answer.

    – clearkimura
    Mar 12 at 8:34















4





+50









Cinnamon cannot disable or remove window decorations, according to this issue on GitHub. The option to remove window decoration is yet to be implemented.



User may instead use any of the workarounds as follows.



Workaround 1 (easy)



Use the smallest font size for window title. Go to System Settings > Appearance - Fonts. Then under Font Selection - Window title font: change the font size from the default 10 to the smallest value 1, then click Select to finish.



Using the smallest window title font in Cinnamon



Assuming the screenshot is pixel-perfect regardless of screen resolution, the height of window decoration was reduced by: 14 pixels in Cinnamon 2.2; 17 pixels in Cinnamon 3.8.



Mint-Y and Mint-X themes compared as a result



Window decoration in Cinnamon seems to use Metacity theme with Mutter/Muffin support; traditional themes do not seem to work. Different combination of themes for window borders and controls may affect the result. Some themes do not reduce the height of window decoration as much as other themes. For example, Mint-Y had worse result than Mint-X.



Limitation: This workaround is theme dependent. Known themes that work well with this workaround are very few: Mint-X, BlueMenta, Greybird.



Workaround 2



Use any utility tool like Devil's Pie or Devilspie2, which can remove window decorations for EWMH-compliant window managers. This will require user configuration to remove window decoration.



For Devilspie2, open a text editor and type the following code.



if (get_window_type()=="WINDOW_TYPE_NORMAL") then
undecorate_window();
end


Save as file in $HOME/.config/devilspie2 with any name followed by .lua in the filename. Run devilspie2 to see the result. To make the changes persistent at reboot, add the command devilspie2 to Settings > Preferences - Startup Applications.



Undecorate window for Nemo in Cinnamon



With above configuration, all running applications with normal window type will have no window decoration at all. This related post has my answer with details on how to use Devil's Pie and Devilspie2 to remove window decoration by application name instead.



Limitation: This workaround will not work against applications with the client-side decoration a.k.a header bar in GNOME; thus modifying the theme may be the only alternative.



Workaround 3



Modify the theme. Cinnamon window manager, Muffin, supports Xfwm4 and Metacity themes for its window decorations: check /usr/share/themes/THEMENAME directory and look for either metacity-1 or xfwm4 subdirectory.



This answer on Ask Ubuntu had suggested to edit the XML file of the currently used theme:




[...] You can edit



/usr/share/themes/Mint-X/metacity-1


and set all non-zero value properties in the metacity-theme-1.xml (of course you need sudo, to edit something there. A backup is useful.) [...]




The filename may vary depending on which theme in use.



Perhaps theme modification is the only "reliable" way to remove window decoration. The known limitations in other two workarounds seem redundant, except this is a tedious workaround.



Disclaimer: I don't use Cinnamon on daily basis and just explored again recently for experience. I did not verify the third workaround because that will take some time to test.



Tested with Cinnamon 2.2 in Linux Mint 17 (Live) and Cinnamon 3.8 in Linux Mint Debian Edition 3.






share|improve this answer




















  • 1





    I found the theme option to be very useful. There's a very handy document on reddit.com/r/CinnamonDE/comments/4bb4re/… which details how to nearly remove the maximized title bar. It isn't visible, but you can still move your mouse up to the very top and double click to restore the original window size. Which I think worked even better than expected!

    – Alex Summers
    May 25 '17 at 8:56












  • I've come up with a much quicker solution than the Tedious workaround. In metacity-theme-N.xml (where N is the version you're using (requires testing)), find <frame-geometry name="normal"[...] Here, you only need to replacements: * Replace title_scale="medium" with has_title="false" * Under<distance name="button_height"[...] set the value to "0"

    – camilla.greer
    Feb 21 at 18:02












  • Ahh, you actually need to change a few other values, but everything you need to touch is inside that <frame-geometry name="normal"[...] code block, not everything in the whole document.

    – camilla.greer
    Feb 21 at 18:11











  • @camilla.greer The edit actually deviates from the original answer, since the source I quoted had no such detail. For the metacity theme method, I believe you should rewrite the comments into a proper answer instead.

    – clearkimura
    Mar 8 at 14:19











  • Following my recent revisions, I am much convinced that the "tedious workaround" should just quote from the source "as it is" with no details. The Metacity theme method requires much testing (and whomever wrote the working solution deserve separate upvotes), therefore should be posted as a new answer.

    – clearkimura
    Mar 12 at 8:34













4





+50







4





+50



4




+50





Cinnamon cannot disable or remove window decorations, according to this issue on GitHub. The option to remove window decoration is yet to be implemented.



User may instead use any of the workarounds as follows.



Workaround 1 (easy)



Use the smallest font size for window title. Go to System Settings > Appearance - Fonts. Then under Font Selection - Window title font: change the font size from the default 10 to the smallest value 1, then click Select to finish.



Using the smallest window title font in Cinnamon



Assuming the screenshot is pixel-perfect regardless of screen resolution, the height of window decoration was reduced by: 14 pixels in Cinnamon 2.2; 17 pixels in Cinnamon 3.8.



Mint-Y and Mint-X themes compared as a result



Window decoration in Cinnamon seems to use Metacity theme with Mutter/Muffin support; traditional themes do not seem to work. Different combination of themes for window borders and controls may affect the result. Some themes do not reduce the height of window decoration as much as other themes. For example, Mint-Y had worse result than Mint-X.



Limitation: This workaround is theme dependent. Known themes that work well with this workaround are very few: Mint-X, BlueMenta, Greybird.



Workaround 2



Use any utility tool like Devil's Pie or Devilspie2, which can remove window decorations for EWMH-compliant window managers. This will require user configuration to remove window decoration.



For Devilspie2, open a text editor and type the following code.



if (get_window_type()=="WINDOW_TYPE_NORMAL") then
undecorate_window();
end


Save as file in $HOME/.config/devilspie2 with any name followed by .lua in the filename. Run devilspie2 to see the result. To make the changes persistent at reboot, add the command devilspie2 to Settings > Preferences - Startup Applications.



Undecorate window for Nemo in Cinnamon



With above configuration, all running applications with normal window type will have no window decoration at all. This related post has my answer with details on how to use Devil's Pie and Devilspie2 to remove window decoration by application name instead.



Limitation: This workaround will not work against applications with the client-side decoration a.k.a header bar in GNOME; thus modifying the theme may be the only alternative.



Workaround 3



Modify the theme. Cinnamon window manager, Muffin, supports Xfwm4 and Metacity themes for its window decorations: check /usr/share/themes/THEMENAME directory and look for either metacity-1 or xfwm4 subdirectory.



This answer on Ask Ubuntu had suggested to edit the XML file of the currently used theme:




[...] You can edit



/usr/share/themes/Mint-X/metacity-1


and set all non-zero value properties in the metacity-theme-1.xml (of course you need sudo, to edit something there. A backup is useful.) [...]




The filename may vary depending on which theme in use.



Perhaps theme modification is the only "reliable" way to remove window decoration. The known limitations in other two workarounds seem redundant, except this is a tedious workaround.



Disclaimer: I don't use Cinnamon on daily basis and just explored again recently for experience. I did not verify the third workaround because that will take some time to test.



Tested with Cinnamon 2.2 in Linux Mint 17 (Live) and Cinnamon 3.8 in Linux Mint Debian Edition 3.






share|improve this answer















Cinnamon cannot disable or remove window decorations, according to this issue on GitHub. The option to remove window decoration is yet to be implemented.



User may instead use any of the workarounds as follows.



Workaround 1 (easy)



Use the smallest font size for window title. Go to System Settings > Appearance - Fonts. Then under Font Selection - Window title font: change the font size from the default 10 to the smallest value 1, then click Select to finish.



Using the smallest window title font in Cinnamon



Assuming the screenshot is pixel-perfect regardless of screen resolution, the height of window decoration was reduced by: 14 pixels in Cinnamon 2.2; 17 pixels in Cinnamon 3.8.



Mint-Y and Mint-X themes compared as a result



Window decoration in Cinnamon seems to use Metacity theme with Mutter/Muffin support; traditional themes do not seem to work. Different combination of themes for window borders and controls may affect the result. Some themes do not reduce the height of window decoration as much as other themes. For example, Mint-Y had worse result than Mint-X.



Limitation: This workaround is theme dependent. Known themes that work well with this workaround are very few: Mint-X, BlueMenta, Greybird.



Workaround 2



Use any utility tool like Devil's Pie or Devilspie2, which can remove window decorations for EWMH-compliant window managers. This will require user configuration to remove window decoration.



For Devilspie2, open a text editor and type the following code.



if (get_window_type()=="WINDOW_TYPE_NORMAL") then
undecorate_window();
end


Save as file in $HOME/.config/devilspie2 with any name followed by .lua in the filename. Run devilspie2 to see the result. To make the changes persistent at reboot, add the command devilspie2 to Settings > Preferences - Startup Applications.



Undecorate window for Nemo in Cinnamon



With above configuration, all running applications with normal window type will have no window decoration at all. This related post has my answer with details on how to use Devil's Pie and Devilspie2 to remove window decoration by application name instead.



Limitation: This workaround will not work against applications with the client-side decoration a.k.a header bar in GNOME; thus modifying the theme may be the only alternative.



Workaround 3



Modify the theme. Cinnamon window manager, Muffin, supports Xfwm4 and Metacity themes for its window decorations: check /usr/share/themes/THEMENAME directory and look for either metacity-1 or xfwm4 subdirectory.



This answer on Ask Ubuntu had suggested to edit the XML file of the currently used theme:




[...] You can edit



/usr/share/themes/Mint-X/metacity-1


and set all non-zero value properties in the metacity-theme-1.xml (of course you need sudo, to edit something there. A backup is useful.) [...]




The filename may vary depending on which theme in use.



Perhaps theme modification is the only "reliable" way to remove window decoration. The known limitations in other two workarounds seem redundant, except this is a tedious workaround.



Disclaimer: I don't use Cinnamon on daily basis and just explored again recently for experience. I did not verify the third workaround because that will take some time to test.



Tested with Cinnamon 2.2 in Linux Mint 17 (Live) and Cinnamon 3.8 in Linux Mint Debian Edition 3.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 12 at 7:55

























answered Jun 21 '16 at 16:44









clearkimuraclearkimura

1,9851031




1,9851031







  • 1





    I found the theme option to be very useful. There's a very handy document on reddit.com/r/CinnamonDE/comments/4bb4re/… which details how to nearly remove the maximized title bar. It isn't visible, but you can still move your mouse up to the very top and double click to restore the original window size. Which I think worked even better than expected!

    – Alex Summers
    May 25 '17 at 8:56












  • I've come up with a much quicker solution than the Tedious workaround. In metacity-theme-N.xml (where N is the version you're using (requires testing)), find <frame-geometry name="normal"[...] Here, you only need to replacements: * Replace title_scale="medium" with has_title="false" * Under<distance name="button_height"[...] set the value to "0"

    – camilla.greer
    Feb 21 at 18:02












  • Ahh, you actually need to change a few other values, but everything you need to touch is inside that <frame-geometry name="normal"[...] code block, not everything in the whole document.

    – camilla.greer
    Feb 21 at 18:11











  • @camilla.greer The edit actually deviates from the original answer, since the source I quoted had no such detail. For the metacity theme method, I believe you should rewrite the comments into a proper answer instead.

    – clearkimura
    Mar 8 at 14:19











  • Following my recent revisions, I am much convinced that the "tedious workaround" should just quote from the source "as it is" with no details. The Metacity theme method requires much testing (and whomever wrote the working solution deserve separate upvotes), therefore should be posted as a new answer.

    – clearkimura
    Mar 12 at 8:34












  • 1





    I found the theme option to be very useful. There's a very handy document on reddit.com/r/CinnamonDE/comments/4bb4re/… which details how to nearly remove the maximized title bar. It isn't visible, but you can still move your mouse up to the very top and double click to restore the original window size. Which I think worked even better than expected!

    – Alex Summers
    May 25 '17 at 8:56












  • I've come up with a much quicker solution than the Tedious workaround. In metacity-theme-N.xml (where N is the version you're using (requires testing)), find <frame-geometry name="normal"[...] Here, you only need to replacements: * Replace title_scale="medium" with has_title="false" * Under<distance name="button_height"[...] set the value to "0"

    – camilla.greer
    Feb 21 at 18:02












  • Ahh, you actually need to change a few other values, but everything you need to touch is inside that <frame-geometry name="normal"[...] code block, not everything in the whole document.

    – camilla.greer
    Feb 21 at 18:11











  • @camilla.greer The edit actually deviates from the original answer, since the source I quoted had no such detail. For the metacity theme method, I believe you should rewrite the comments into a proper answer instead.

    – clearkimura
    Mar 8 at 14:19











  • Following my recent revisions, I am much convinced that the "tedious workaround" should just quote from the source "as it is" with no details. The Metacity theme method requires much testing (and whomever wrote the working solution deserve separate upvotes), therefore should be posted as a new answer.

    – clearkimura
    Mar 12 at 8:34







1




1





I found the theme option to be very useful. There's a very handy document on reddit.com/r/CinnamonDE/comments/4bb4re/… which details how to nearly remove the maximized title bar. It isn't visible, but you can still move your mouse up to the very top and double click to restore the original window size. Which I think worked even better than expected!

– Alex Summers
May 25 '17 at 8:56






I found the theme option to be very useful. There's a very handy document on reddit.com/r/CinnamonDE/comments/4bb4re/… which details how to nearly remove the maximized title bar. It isn't visible, but you can still move your mouse up to the very top and double click to restore the original window size. Which I think worked even better than expected!

– Alex Summers
May 25 '17 at 8:56














I've come up with a much quicker solution than the Tedious workaround. In metacity-theme-N.xml (where N is the version you're using (requires testing)), find <frame-geometry name="normal"[...] Here, you only need to replacements: * Replace title_scale="medium" with has_title="false" * Under<distance name="button_height"[...] set the value to "0"

– camilla.greer
Feb 21 at 18:02






I've come up with a much quicker solution than the Tedious workaround. In metacity-theme-N.xml (where N is the version you're using (requires testing)), find <frame-geometry name="normal"[...] Here, you only need to replacements: * Replace title_scale="medium" with has_title="false" * Under<distance name="button_height"[...] set the value to "0"

– camilla.greer
Feb 21 at 18:02














Ahh, you actually need to change a few other values, but everything you need to touch is inside that <frame-geometry name="normal"[...] code block, not everything in the whole document.

– camilla.greer
Feb 21 at 18:11





Ahh, you actually need to change a few other values, but everything you need to touch is inside that <frame-geometry name="normal"[...] code block, not everything in the whole document.

– camilla.greer
Feb 21 at 18:11













@camilla.greer The edit actually deviates from the original answer, since the source I quoted had no such detail. For the metacity theme method, I believe you should rewrite the comments into a proper answer instead.

– clearkimura
Mar 8 at 14:19





@camilla.greer The edit actually deviates from the original answer, since the source I quoted had no such detail. For the metacity theme method, I believe you should rewrite the comments into a proper answer instead.

– clearkimura
Mar 8 at 14:19













Following my recent revisions, I am much convinced that the "tedious workaround" should just quote from the source "as it is" with no details. The Metacity theme method requires much testing (and whomever wrote the working solution deserve separate upvotes), therefore should be posted as a new answer.

– clearkimura
Mar 12 at 8:34





Following my recent revisions, I am much convinced that the "tedious workaround" should just quote from the source "as it is" with no details. The Metacity theme method requires much testing (and whomever wrote the working solution deserve separate upvotes), therefore should be posted as a new answer.

– clearkimura
Mar 12 at 8:34

















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f52565%2fhow-to-disable-window-decorations-in-cinnamon%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay