[SOLVED] how can I increase the padding on the Cinnamon panel?
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how can I increase the padding on the Cinnamon panel?
I have recently upgraded to Mint Cinnamon 18.1 (and so far, so good) except that I always feel that the icons on the Cinnamon panel are squashed together in the lefthand corner.
When I upgraded to Mint 17, I was very pleased to find this post addressing the question:
I followed the advice therein and was able to give my icons some elbow room. Unfortunately it doesn't seem to work on Linux Mint 18.1. I can find my way into the cinnamon.css file, but do not see where to make the edits. (My previous computer was 32bit, and this is my first 64bit installation)
I followed the advice therein and was able to give my icons some elbow room. Unfortunately it doesn't seem to work on Linux Mint 18.1. I can find my way into the cinnamon.css file, but do not see where to make the edits.
use the search funxction of your editor to find 'panel' (without quotes) and make an eductaed guess as to which entry is the suitable one.
there's no reason why this shouldn't work on your new install. mayb the syntax has slightly changed, so try a capital Panel, too, but the pricnciple's the same.
i hope you have very basic knowledge of CSS
btw, changes will be overwritten during updates, so it might be better to clone the theme to ~/.themes/my-new-theme and edit there (without sudo this time).
I have not taken a close look at it yet, but I believe that function might have been removed from the new cinnamon.css with Mint 18.1
The reason being that Mint 18.1 introduces the ability to create a vertical panel in addition to the usual horizontal panel. Padding on icons might not work well on a vertical panel.
EDIT: I checked and it is there - at about line 2066
Reading the posts above I was particularly struck by the phrase, "at about line 2066". Seeing that the file I was looking at had 1980 lines, I finally realized that I was in the wrong file (/usr/share/cinnamon/theme/cinnamon.css rather than the /usr/share/themes/Linux Mint/cinnamon.css I had intended to visit). My bad.
Going to /usr/share/themes/Linux Mint/cinnamon.css I saw that it had 2280 lines and backtracked, but was surprised that what I saw did not parallel what I saw in TxLonghorn's post. Is there yet another cinnamon.css file, or am I simply misunderstanding what I see?
Going to /usr/share/themes/Linux Mint/cinnamon.css I saw that it had 2280 lines and backtracked, but was surprised that what I saw did not parallel what I saw in TxLonghorn's post. Is there yet another cinnamon.css file, or am I simply misunderstanding what I see?
Yes, there is another cinnamon.css - as a matter of fact I have about 30 of them. I happened to be looking at one that I had previously edited for various reasons, so the Line number was "about" that line. But it is OK, since I see you found it.
@Brant: great, you found it.
now bravely edit!
as i said before, basic knowledge with CSS is recommended, but imho the options are largely self-explanatory.
and 2000+ lines? yep, welcome to the wonderful world of gnome & web framework UIs.
@TXLonghorn: sorry, i mistook you for the OP there.
To be honest,my last post was intended more as a confession that I was feeling out of my depth, than as a statement that I was ready to go!
However I took heart from your encouragement, reread the section that I had posted, and decided that
was the likely candidate. I crossed my fingers and moved both padding-left and padding-right to 4px.
All a matter of taste, of course, but I think it looks good.
Many thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.