Change the position of notifications in Cinnamon

Today a user asked me in a comment how to change the position of the notifications of Cinnamon, and my answer was that by editing the . Css (yes, like on a website) of the theme that comes by default, perhaps such a result could be achieved.

Well, in order not to be left with the doubt, I started LMDE with Cinnamon using a flash memory and in effect, we can change the position of notifications (among other things), editing the file /usr/share/cinnamon/theme/cinnamon.css. We open this file with our favorite editor:

$ sudo vim /usr/share/cinnamon/theme/cinnamon.css

And we look for the line (approximately 650) what does it say:

margin-from-top-edge-of-screen: 30px;

and we change the value so that it looks like this:

margin-from-top-edge-of-screen: 650px;

And this is the result:

We can always play with the values, there are even other options that we can modify. Luckily this file is very well commented 😀


10 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Hache said

    Very good tip! You always have to dare to get your hands on the settings 😉
    Now that the summer is beginning, I have to take a look at Cinnamon, which I have not tasted yet: S

    1.    elav <° Linux said

      I already tell you. If I go back to Gnome someday it will be with Gnome classic or better yet with Cinnamon.

  2.   Oren said

    FTW!!! you're my idol!!! Thank you very much, hehehe I asked in several forums and no one answered me and I said in desdelinux They provide valuable tips, I have nothing to lose by asking and a lot to gain and learn!! and oh surprise!! Seriously, thank you very much!!!

    1.    elav <° Linux said

      😀 Thank you, but it wasn't that long. I have already had experience modifying these things, because Gnome Shell also I made some changes at the time. That of making the themes using JavaScript, CSS and others, has been an excellent idea, because with a little knowledge you can modify and achieve incredible things. Of Cinnamon You can find other very interesting articles on this blog, so feel free to explore.

  3.   Seba said

    That distance will vary depending on the resolution ?, I do not use cinnamon but I miss that question. maybe it would be something like this (vertical resolution - 30) to know how many pixels to put in it ?.

    1.    elav <° Linux said

      Well yes, I happened to comment on that. In the case of the example, it had a resolution of 1024 × 768, but depending on the resolution of the others, these values ​​must be adjusted.

  4.   dwarf said

    You using LMDE? WHORE! xD

    1.    elav <° Linux said

      See, but in Live mode 😀

  5.   Fredy Quispe Medina (@powerfredy) said

    cinnamon seems to be what I have been looking for for a year now, I stay there, it has effects but with the classic conception of the gnome desktop.

  6.   Wolf said

    Thanks for the tutorial. Today I tried Cinnamon in Arch and I think I have found an excellent desktop, just what I was looking for (XFCE seems impractical at times). Along with KDE I already have my pair of aces, haha.