Cinnamon 1.2 Released With Desktop Effects, Multiple Layouts, More
|
|
|
Comments (21)
1 earlier comment in the full thread.
First:
sudo cp /usr/share/cinnamon/theme/cinnamon.css /usr/share/cinnamon/theme/cinnamon.css.bak
Then edit the cinnamon .css file:
sudo gedit /usr/share/cinnamon/theme/cinnamon.css
height: 25px;
height: 32px;
Save this, but you are not done yet. You can change the font-size under panel if you want to. Next:
sudo cp /usr/share/cinnamon/js/ui/panel.js /usr/share/cinnamon/js/ui/panel.js.bak
sudo gedit /usr/share/cinnamon/js/ui/panel.js
const PANEL_HEIGHT = 25;
const PANEL_HEIGHT = 32;
and change
const PANEL_ICON_SIZE = 24; const PANEL_ICON_DEFAULT_SIZE = 22;
const PANEL_ICON_SIZE = 32; const PANEL_ICON_DEFAULT_SIZE = 28;
save your changes and do an alt+F2 'r' to re-start cinnamon.
You should have a panel big enough to make the girls swoon!
looking through the CSS I see that button and app icons are styled on different lines, those will have to be updated as well. I am sure this will all be configurable via the GUI cinnamon settings in the futrure.
Thanks anyway...
It's not that the idea of using a separate language or settings file of some kind to specify style settings is a bad idea, it's just that CSS is an abominable implementation of the concept. If you're an experienced programmer in C or C++, just try making your own modern HTML5 website with PHP, JavaScript, HTML5, and CSS. You shouldn't have too much trouble with the first 3 (jQuery helps a lot with JavaScript, and PHP is really easy for anyone who's used C-type languages and esp. if you have some Perl experience), but you'll spend the vast majority your time mucking around with CSS, making some little change, seeing what it does, making some other change, seeing what it does, trying to use Firebug to figure out why a font is much bigger than the code says it should be but not being able to determine that with any certainty. It's just a mess.
Because it is CSS the style should 'cascade'
You have to follow the hierarchy and start expanding through all the levels.
I noticed that my notification icons like sound and network (the grayed out ones) did expand. These must be panel icons that I adjusted in the CSS.
The icons on the button and the application launching icons did not change.
looks like other things will have to be updated: .panel-status-button .system-status-icon
I don't think iconGrid.js has to do with the panel. It seems to be for the applications grid.
there doesn't seem to be any programmer's docs in the source. I'll have to keep playing with this to learn more.
The panel.js file is set up to calculate and change many things based on the constant PANEL_HEIGHT. That is good.
It just seems there are icons and there are things that look like icons that are something else.
Anyway, I'm sure this will be settable by GUI soon enough.
I have to say that I like it!
It has a few quirks:
1) The focus does not always return to the desktop when windows are closed so the system does not pick up keystrokes. For example, close the last window on your desktop and then press alt+F2 to open the run dialog and, occasionally, nothing happens. try it again and it sometimes works. click on the desktop and it works
2) Clicking a minimized program in the panel does not always restore it. Click it again and it usually works. Click anywhere else and try it again and it works.
3) Some times, when returning from suspend, the desktop crashes and returns to the ldm login prompt.
The first two may be related. The second seems like a mutter/muffin issue. These are known issues that I have seen reported in the forum.
Clem from Mint called 1.2 stable. I would call it much 'stable-er', but not bug free. The amount of work put into this and the rapid rate of development is amazing.
I like the fact that I can turn off the overview hot-spot and icon. No more disruptive, inefficient view switching that marks the central design of the gnome shell.
Cinnamon is gnome 3 done very well.
Disadvantages include not being compatible with Compiz (less of a problem, since there's more support for native effects, like transparency), lack of themes & Widgets, limits to customization (color themes, different window decorations, etc.), and lack of optimization (it's slower in rendering than Compiz). I'd also like to see margin support, like in LXDE or XFCE.
I have not had time to go back and gather all of the variables that need to be updated in order to get the correct effect. It certainly can be done, as some of the Cinnamon themes do implement a different size panel correctly. It seems to be a matter of finding the correct changes in both CSS and .js files.
If I get it correct, I promise I'll do a write up. Write now I'm drawing lines between cylinders (database mapping for a new project at work) and picking the best colors for each tier of the project. Development is always more fun than design, but the pretty pictures get funded by management better than the whiteboard drawings do.
Quoting:it's just that CSS is an abominable implementation of the concept
CSS is not a programming language, it is a Parametric Definition Language. I think you are blaming the wrong part. CSS is not so bad itself, but what makes it look so bad sometimes is the implementation by the rendering engine and lack of its compliance with the standard.
You really have to cascade. Set the rules that apply to the page as a whole. Then override those rules on special subsections. Much CSS simply reapplies the same rules over and over for each set of items.
That is SS, not CSS.
Someone actually made an improved version of CSS that addresses many of the idiotic deficiencies in CSS, called "LESS", but since it's not a standard, it has to be read using Javascript. http://lesscss.org/
Thanks for the link, I haven't heard of lesscss before.
I think this should help explaining the reason CSS doesn't have variables and also shows a workaround for defining variables.
http://icant.co.uk/articles/cssconstants/
http://www.w3.org/People/Bos/CSS-variables
I recently tried out LXDE, KDE, Unity, and manipulating Gnome to work with Cairo-dock and Compiz (like I had done before). My verdict is that XFCE has matured to the point where it's the desktop UI with the most flexibility in configuration, while still being lightweight.
While it's nice that there's work being done with Cinnamon, to try and fix the fiasco that Gnome with Unity or Gnome 3's shell has become, I think it comes up a little too little and too late. I encourage those who want to make Cinnamon work, and am impressed how fast it's come about. However, I just don't think it's enough to save the train wreck that any modern form of Gnome has become.
And I hadn't realized that Cinnamon was so heavily dependent on JavaScript. Knowing that it is makes me agree with Khamul about its security issues.
XFCE is certainly a much more mature solution. Gtk 2 is also more mature than Gtk 3 at this time. I'm going to keep playing with Cinamon as I think it is a much better implementation of Gnome 3 than is offered in gnome shell.
I highly recommend debian sid with XFCE. You may have more to set up to get sid to be an average desktop, but the performance is superior to ubuntu implementations of xfce. Slack and pclos XFCE desktops even seem better than the ubuntu ones.
I know it’s a matter of opinion, but that's mine :)
Cinnamon is definitely not ready to take on XFCE or kde, but I think that it easily can compete with less mature desktops like Gnome shell and Unity. Maybe when XFCE is ready for its Gtk 3 port, you will be there to help test the early implementations and make sure it works with what you need in a desk top!
Variety is the spice of life!
Forgot to add a link on the linuxmint cinnamon sight on the steps to use to create a custom theme for Cinnamon:
http://cinnamon.linuxmint.com/?p=144
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Sign up and post (it is free) or Log in and post
