
diensthunds wrote:I know as of now that there are only a few things that can be customized in Cinnamon such as the menu text, the autohide panel, etc. Is there any way, through changing the code in files or otherwise to make changes to the panel such as placing it at the top of the screen or making the panel slightly larger, the text and size of the panel and it's icons are hard on my old eyes.
#panel {
color: #ffffff;
background-color: #555555;
font-size: 8.5pt;
font-weight: normal;
height: 25px;

granul wrote:Hi!
Is the same way to make the application icon bigger?
Thank you


granul wrote:sorry about my english, I mean the icon on the panel.
if (this.is_custom()) icon = new St.Icon({ gicon: appinfo.get_icon(), icon_size: 20 });
else icon = this.app.create_icon_texture(20);if (this.is_custom()) icon = new St.Icon({ gicon: appinfo.get_icon(), icon_size: 26 });
else icon = this.app.create_icon_texture(26);

#panel {
color: #ffffff;
background-color: rgba(5,5,5,0.6);
border: 1px solid rgba(255,255,255,0.4);/*
box-shadow: 8px 6px 0 0 rgba(0,0,0,0.6);*/
border-left: 0px;
border-right: 0px;
border-top: 0px;
font-size: 14pt;
font-weight: bold;
height: 1.5em;
mordant23 wrote:I'll give it a try. Plus, did you type Alt+F2 and then type 'r'? Did you change the icon font size in panelLaunchers.js? If so, what number did you choose? Do you also want to increase the height for the other parts of the panel, e.g date/time, notifications, application window list, etc. etc.? If so, you need to also increase the font-size in the panel class.
For example, I have
- Code: Select all
#panel {
color: #ffffff;
background-color: rgba(5,5,5,0.6);
border: 1px solid rgba(255,255,255,0.4);/*
box-shadow: 8px 6px 0 0 rgba(0,0,0,0.6);*/
border-left: 0px;
border-right: 0px;
border-top: 0px;
font-size: 14pt;
font-weight: bold;
height: 1.5em;
Along with changing panelLauncher.js so the application icon is increased to 26 gives me a panel that looks like this:
The image is at a 1:1 ratio with my desktop.



granul wrote:is this in the cinnamon.css or panellauncher.css?

TomANJ wrote:It appears that increasing the pixel size of the panel (in the .css file noted) causes it to expand downward. Is there another .css that allows you to raise the position of the Cinnamon panel, then increase it's size and icon size?





#panel{
background-image: url("panel.png"); /*or .svg*/
background-repeat: repeat-x;
}


TomANJ wrote:Found the following in /usr/share/cinnamon/js/ui/panel.js, but altering these values made no visible changes.
const PANEL_ICON_SIZE = 24;
const PANEL_ICON_DEFAULT_SIZE = 20
const PANEL_HEIGHT = 25
It must have something to do with the panel's position in the ui layout. Expanding from the top, down.


mordant23 wrote:I'll give it a try. Plus, did you type Alt+F2 and then type 'r'? Did you change the icon font size in panelLaunchers.js? If so, what number did you choose? Do you also want to increase the height for the other parts of the panel, e.g date/time, notifications, application window list, etc. etc.? If so, you need to also increase the font-size in the panel class.
For example, I have
- Code: Select all
#panel {
color: #ffffff;
background-color: rgba(5,5,5,0.6);
border: 1px solid rgba(255,255,255,0.4);/*
box-shadow: 8px 6px 0 0 rgba(0,0,0,0.6);*/
border-left: 0px;
border-right: 0px;
border-top: 0px;
font-size: 14pt;
font-weight: bold;
height: 1.5em;
Along with changing panelLauncher.js so the application icon is increased to 26 gives me a panel that looks like this:
The image is at a 1:1 ratio with my desktop.

z06gal wrote:What font are you using? I like that

Users browsing this forum: No registered users and 7 guests