Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Git Version | Version Git 2.4.0: default theme
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] 2.4.0: default theme [Bug #222]
matttbe English 11 matttbe [Read]
01 September 2011 à 19:05

matttbe, Wednesday 24 August 2011 à 14:02


Subscription date : 24 January 2009
Messages : 12573
This is what I propose to modify for the default theme (for the core):
=== modified file 'data/default-theme/cairo-dock.conf'
--- data/default-theme/cairo-dock.conf    2011-07-17 09:36:05 +0000
+++ data/default-theme/cairo-dock.conf    2011-08-24 11:49:19 +0000
@@ -30,+30,@@
 
 
#B- Use Xinerama?
 #{This option is to use if you have a dual-screen and use Xinerama to manage them.}
-xinerama false
+xinerama true
 
 
#i-[0;12] Number of the screen where the dock should be located:
 #{0 is the first screen.}
@@ -46,+46,@@
 
#{Modes are sorted from the most intrusive to the less intrusive.
 #When the dock is hidden or below a window, place the mouse on the screen's border to call it back.
 #When the dock pops up on shortcut, it will appear at the position of your mouse. The rest of the time, it stays invisible, thus acting like a menu.}
-visibility 4
+visibility 3
 
 
#v
 
sep_visi=
@@ -
85,+85,@@
 
 
#Y-[Appear on mouse over;1;1;Appear on click;0;0] Visibility:
 #{they will appear either when you click or when you linger over the icon pointing on it.}
-show_on_click 1
+show_on_click 0
 
 
#i- Delay before displaying a sub-dock:
 #{in ms.}
@@ -136,+136,@@
 
 
#s-         Except the following classes:
 #{Enter the class of the applications, separated by a semi-colon ';'}
-overwrite exception 
+
overwrite exception evince;totem;gimp
 
 
#Y-[Make the icon transparent;1;1;Show a window's thumbnail;0;0;Draw it bent backwards;0;0] How to draw minimised windows ?
 #{A composite manager is required to display the thumbnail.
@@ -274,+274,@@
 
#{Let empty if you don't need to log-in to the proxy with a user/password.}
 
conn passwd=
 
-
modules switcher;dnd2share;illusion;logout;showDesktop;shortcuts;Quick Browser;GMenu;Recent-Events;Animated icons;icon effects;Scooby-Do;musicPlayer;Help
+modules switcher;dnd2share;illusion;logout;showDesktop;shortcuts;Quick Browser;GMenu;Recent-Events;Animated icons;icon effects;musicPlayer;Help
 
 
 
[Background]
@@ -
521,13 +521,13 @@
 
frame_size=
 
 
#j+[10;128] Launcher's size at rest (width x height) :
-launcher size=44;44;
+
launcher size=40;40;
 
 
#j+[10;128] Application's size at rest (width x height) :
-appli size=44;44;
+
appli size=40;40;
 
 
#j+[10;128] Applet's size at rest (width x height) :
-applet size=44;44;
+
applet size=40;40;
 
 
#m[Animated icons] Configure icons' animations.
 
config_anim=
@@ -
686,20 +686,20 @@
 
custom false
 
 
#P+ Font used for labels :
-police=Sans 12
+police Sans 10
 
 
#b+ Draw the outline of the text?
-text oulined=true
+text oulined false
 
 
#F+[Background;gtk-orientation-portrait]
 
frame_bg=
 
 
#C+ Colour of the label's background :
 #{If you set it to fully transparent, there will be no background for the text, but the margin around the text will still be in effect.}
-text background color=0;0;0;0.49999237048905165;
+
text background color=0;0;0;1;
 
 
#i+[0;20] Margin around the text (in pixels) :
-text margin=4
+text margin 3
 
 
#F+[Colour;gtk-select-color]
 
frame_col=
@@ -
721,11 +721,11 @@
 
frame_qi=
 
 
#B[-2] Use the same look as the labels?
-qi same=true
+qi same false
 
 
#c+ Text color:
-qi text color=1;1;1
+qi text color=1;1;1;
 
 
#C+ Background color:
-qi bg color=0;0;0;0.8
+qi bg color=0;0;0;0.667;

What do you think about that?
  • Xinerama, enable by default to not have a dock place between 2 screens.
  • Visibility: Hide the dock when it overlaps the current window (and not ++any windows
  • Show the dock on mouse over (to not have this kind of bug: http://glx-dock.org/bg_topic.php?t=5597&pos=0#mess_69104
  • Overwrite the X icon with the launchers' icon? => exceptions: evince, totem and gimp because it show a preview of the document/image/movie
  • Removed Scooby-Do
  • Icons: Lower size => for me, 44 is too big... (especially for notebooks and netbooks...)
  • Labels: for me these labels was not enough visible

Can I push my modifications?

ppmt, Wednesday 24 August 2011 à 20:30


Subscription date : 29 November 2007
Messages : 3520
We are not going to have the winter theme anymore ?

matttbe, Wednesday 24 August 2011 à 23:26


Subscription date : 24 January 2009
Messages : 12573
Or maybe an autumn theme?

fabounet, Thursday 25 August 2011 à 17:07


Subscription date : 30 November 2007
Messages : 17118
Xinerama, enable by default

ok if there is no side-effect

Visibility: Hide the dock when it overlaps the current window (and not any windows

hmm, I'm afraid it makes the dock appearing and disapearing very often then.

Show the dock on mouse over (to not have this kind of bug

first the reason is evil (bugs must be fixed ) and second I think clicking is really better than having the sub-docks in your way. it really depends on the user but for a beginner, it's maybe better to not be too disturbing.

Removed Scooby-Do

it's not installed so no problem, but actually in case I finish it one day, it would be automatically available which is not a bad thing.

exceptions: evince, totem and gimp because it show a preview of the document/image/movie

my totem doesn't do that, is it new ? won't we have bad quality icons then ?

Icons: Lower size

ok (maybe we should think of a way to provide different themes)

Labels: for me these labels was not enough visible

indeed, 0.5 transparency is to low. but no transparency at all ?

matttbe, Thursday 25 August 2011 à 18:28


Subscription date : 24 January 2009
Messages : 12573
hmm, I'm afraid it makes the dock appearing and disapearing very often then
But at the opposite, you will see the dock more often

I think clicking is really better than having the sub-docks in your way. it really depends on the user but for a beginner, it's maybe better to not be too disturbing.
Mmh, yes ok but I'm not sure that they know that you've to click to see something. Maybe just with a longer time before opening the sub-dock? => 3/4 second

it's not installed so no problem, but actually in case I finish it one day, it would be automatically available which is not a bad thing.
Except that it's a bit strange (only for beta tester users) if you type on Ctrl+Enter and the dock appear and you don't know why. (or maybe a message the first time that you launch this applet)

my totem doesn't do that, is it new ? won't we have bad quality icons then ?
Oh yes, it's a plugin (installed by default I think). But the quality seems good!

(maybe we should think of a way to provide different themes)
About what? To change the size of these icons if the screen size is small?

indeed, 0.5 transparency is to low. but no transparency at all ?
Yes, sometime it's hard to read them.

lylambda, Friday 26 August 2011 à 11:04


Subscription date : 06 September 2009
Messages : 1635
exceptions: evince, totem and gimp because it show a preview of the document/image/movie
For movies and if you don't use totem (or if you want create Thumbnails faster), you can use ffmpegthumnailer.

fabounet, Friday 26 August 2011 à 12:02


Subscription date : 30 November 2007
Messages : 17118
if you type on Ctrl+Enter and the dock appear and you don't know why

how possible, since the applet is not in the stable package ?

About what? To change the size of these icons if the screen size is small?

yep maybe a simple sed when we first load it.

ok for labels, they must be readable.

about using X icons, it's great to have previews, although I wonder if it doesn't make it more difficult to find the icon when the application is launched (because you won't have the usual gimp/totem icon)

matttbe, Sunday 28 August 2011 à 11:23


Subscription date : 24 January 2009
Messages : 12573
how possible, since the applet is not in the stable package ?
Yes, it was just for beta testers users.

yep maybe a simple sed when we first load it.
Yes, good idea. Or maybe we can do that directly into the code because we have to know what's the current resolution of the screen (what about dual screen?). But also, what will we do? if the height is lower than 600, 800 or 1000?

although I wonder if it doesn't make it more difficult to find the icon when the application is launched (because you won't have the usual gimp/totem icon)
In fact, if you open Gimp, Evince or Totem, you'll have the icon of the application until you open an image/pdf/movie.

And what about that?
fabounet :
think clicking is really better than having the sub-docks in your way. it really depends on the user but for a beginner, it's maybe better to not be too disturbing.
Mmh, yes ok but I'm not sure that they know that you've to click to see something. Maybe just with a longer time before opening the sub-dock? => 3/4 second

fabounet, Monday 29 August 2011 à 16:33


Subscription date : 30 November 2007
Messages : 17118
I'm not really sure ... does anyone have an opinion on that ?

matttbe, Wednesday 31 August 2011 à 14:20


Subscription date : 24 January 2009
Messages : 12573
And also, what do you think about that:
me :
fabounet :
me :
Visibility: Hide the dock when it overlaps the current window (and not any windows
hmm, I'm afraid it makes the dock appearing and disapearing very often then
But at the opposite, you will see the dock more often


Can I push these modifications?
=== modified file 'data/default-theme/cairo-dock.conf'
--- data/default-theme/cairo-dock.conf    2011-07-17 09:36:05 +0000
+++ data/default-theme/cairo-dock.conf    2011-08-31 12:19:09 +0000
@@ -30,+30,@@
 
 
#B- Use Xinerama?
 #{This option is to use if you have a dual-screen and use Xinerama to manage them.}
-xinerama false
+xinerama true
 
 
#i-[0;12] Number of the screen where the dock should be located:
 #{0 is the first screen.}
@@ -46,+46,@@
 
#{Modes are sorted from the most intrusive to the less intrusive.
 #When the dock is hidden or below a window, place the mouse on the screen's border to call it back.
 #When the dock pops up on shortcut, it will appear at the position of your mouse. The rest of the time, it stays invisible, thus acting like a menu.}
-visibility 4
+visibility 3
 
 
#v
 
sep_visi=
@@ -
85,11 +85,11 @@
 
 
#Y-[Appear on mouse over;1;1;Appear on click;0;0] Visibility:
 #{they will appear either when you click or when you linger over the icon pointing on it.}
-show_on_click 1
+show_on_click 0
 
 
#i- Delay before displaying a sub-dock:
 #{in ms.}
-show delay 300
+show delay 500
 
 
#i- Delay before leaving a sub-dock takes effect:
 #{in ms.}
@@ -136,+136,@@
 
 
#s-         Except the following classes:
 #{Enter the class of the applications, separated by a semi-colon ';'}
-overwrite exception 
+
overwrite exception evince;totem;gimp
 
 
#Y-[Make the icon transparent;1;1;Show a window's thumbnail;0;0;Draw it bent backwards;0;0] How to draw minimised windows ?
 #{A composite manager is required to display the thumbnail.
@@ -359,+359,@@
 
#{You can overwrite this parameter for each sub-dock.}/
 
sub-dock view=Slide
 
-#e+[0.1;1.;smaller;same size] Ratio for the size of the sub-docks' icons :
+#e+[0.1;1.5;smaller;same size] Ratio for the size of the sub-docks' icons :
 #{You can specify a ratio for the size of the sub-docks' icons, in relation to the main docks' icons size}
-relative icon size=0.80000000000000004
+relative icon size=1.2
 
 
 
[Dialogs]
@@ -
492,11 +492,11 @@
 
frame_shape=
 
#f+[1;5] Maximum zoom of the icons :
 #{set to 1 if you don't want the icons to zoom when you hover over them.}
-zoom max=1.5
+zoom max=1.75
 
 
#i+[1;999] Width of the space in which the zoom will be effective :
 #{in pixels. Outside of this space (centered on the mouse), there is no zoom.}
-sinusoid width=220
+sinusoid width=150
 
 
#i+[0;50] Space between icons :
 #{in pixels.}
@@ -521,13 +521,13 @@
 
frame_size=
 
 
#j+[10;128] Launcher's size at rest (width x height) :
-launcher size=44;44;
+
launcher size=40;40;
 
 
#j+[10;128] Application's size at rest (width x height) :
-appli size=44;44;
+
appli size=40;40;
 
 
#j+[10;128] Applet's size at rest (width x height) :
-applet size=44;44;
+
applet size=40;40;
 
 
#m[Animated icons] Configure icons' animations.
 
config_anim=
@@ -
541,+541,@@
 
#X+[Separators]
 
frame_sep=
 
-
#j+[4;64] Icon size at rest (width x height) :
+#j+[4;128] Icon size at rest (width x height) :
 
separator size=8;40;
 
 
#b+ Force separator's image size to stay constant?
@@ -686,20 +686,20 @@
 
custom false
 
 
#P+ Font used for labels :
-police=Sans 12
+police Sans 10
 
 
#b+ Draw the outline of the text?
-text oulined=true
+text oulined false
 
 
#F+[Background;gtk-orientation-portrait]
 
frame_bg=
 
 
#C+ Colour of the label's background :
 #{If you set it to fully transparent, there will be no background for the text, but the margin around the text will still be in effect.}
-text background color=0;0;0;0.49999237048905165;
+
text background color=0;0;0;1;
 
 
#i+[0;20] Margin around the text (in pixels) :
-text margin=4
+text margin 3
 
 
#F+[Colour;gtk-select-color]
 
frame_col=
@@ -
721,11 +721,11 @@
 
frame_qi=
 
 
#B[-2] Use the same look as the labels?
-qi same=true
+qi same false
 
 
#c+ Text color:
-qi text color=1;1;1
+qi text color=1;1;1;
 
 
#C+ Background color:
-qi bg color=0;0;0;0.8
+qi bg color=0;0;0;0.667;
 

=== 
modified file 'data/default-theme/plug-ins/rendering/rendering.conf'
--- data/default-theme/plug-ins/rendering/rendering.conf    2011-06-14 00:05:37 +0000
+++ data/default-theme/plug-ins/rendering/rendering.conf    2011-08-30 21:41:09 +0000
@@ -31,10 +31,10 @@
 
frame_grid=
 
 
#i+[30;100] Space between columns:
-simple_iconGapX 50
+simple_iconGapX 40
 
 
#i+[30;100] Space between rows:
-simple_iconGapY 50
+simple_iconGapY 40
 
 
#e+[.5;1;Small;Full screen] Maximum size of the dock:
 #{Only for sub-docks.}

(data/cairo-dock.conf.in)
--- data/cairo-dock.conf.in    2011-08-27 00:27:15 +0000
+++ data/cairo-dock.conf.in    2011-08-31 12:19:51 +0000
@@ -30,+30,@@
 
 
#B- Use Xinerama?
 #{This option is to use if you have a dual-screen and use Xinerama to manage them.}
-xinerama false
+xinerama true
 
 
#i-[0;12] Number of the screen where the dock should be located:
 #{0 is the first screen.}
@@ -46,+46,@@
 
#{Modes are sorted from the most intrusive to the less intrusive.
 #When the dock is hidden or below a window, place the mouse on the screen's border to call it back.
 #When the dock pops up on shortcut, it will appear at the position of your mouse. The rest of the time, it stays invisible, thus acting like a menu.}
-visibility 4
+visibility 3
 
 
#v
 
sep_visi =
@@ -
363,+363,@@
 
#{You can overwrite this parameter for each sub-dock.}/
 
sub-dock view = default
 
-
#e+[0.1;1.;smaller;same size] Ratio for the size of the sub-docks' icons :
+#e+[0.1;1.5;smaller;same size] Ratio for the size of the sub-docks' icons :
 #{You can specify a ratio for the size of the sub-docks' icons, in relation to the main docks' icons size}
 
relative icon size .8
 
@@ -496,11 +496,11 @@
 
frame_shape =
 
#f+[1;5] Maximum zoom of the icons :
 #{set to 1 if you don't want the icons to zoom when you hover over them.}
-zoom max 2.0
+zoom max 1.75
 
 
#i+[1;999] Width of the space in which the zoom will be effective :
 #{in pixels. Outside of this space (centered on the mouse), there is no zoom.}
-sinusoid width 300
+sinusoid width 150
 
 
#i+[0;50] Space between icons :
 #{in pixels.}
@@ -525,13 +525,13 @@
 
frame_size =
 
 
#j+[10;128] Launcher's size at rest (width x height) :
-launcher size 48;48
+launcher size 40;40
 
 
#j+[10;128] Application's size at rest (width x height) :
-appli size 48;48
+appli size 40;40
 
 
#j+[10;128] Applet's size at rest (width x height) :
-applet size 48;48
+applet size 40;40
 
 
#m[Animated icons] Configure icons' animations.
 
config_anim 
@@ -
545,+545,@@
 
#X+[Separators]
 
frame_sep =
 
-
#j+[4;64] Icon size at rest (width x height) :
-separator size 48;48
+#j+[4;128] Icon size at rest (width x height) :
+separator size 8;40
 
 
#b+ Force separator's image size to stay constant?
 
force size false
@@ -690,20 +690,20 @@
 
custom false
 
 
#P+ Font used for labels :
-police 
+
police Sans 10
 
 
#b+ Draw the outline of the text?
-text oulined true
+text oulined false
 
 
#F+[Background;gtk-orientation-portrait]
 
frame_bg =
 
 
#C+ Colour of the label's background :
 #{If you set it to fully transparent, there will be no background for the text, but the margin around the text will still be in effect.}
-text background color=0;0;0;0;
+
text background color=0;0;0;1;
 
 
#i+[0;20] Margin around the text (in pixels) :
-text margin 4
+text margin 3
 
 
#F+[Colour;gtk-select-color]
 
frame_col =
@@ -
725,11 +725,11 @@
 
frame_qi =
 
 
#B[-2] Use the same look as the labels?
-qi same true
+qi same false
 
 
#c+ Text color:
 
qi text color 1;1;1
 
 
#C+ Background color:
-qi bg color 0;0;0;0.8
+qi bg color 0;0;0;0.667
 


fabounet, Thursday 01 September 2011 à 17:25


Subscription date : 30 November 2007
Messages : 17118
ok, but not the visibility, I know it's totally subective but I feel it's better the dock disturbs the least possible.

or we can make a deal: the visibility vs a cairo-pinguin

matttbe, Thursday 01 September 2011 à 19:05


Subscription date : 24 January 2009
Messages : 12573
ok, but not the visibility, I know it's totally subective but I feel it's better the dock disturbs the least possible.
Yes maybe you're right but it's hard to know. It should be easier with a few statistics

or we can make a deal: the visibility vs a cairo-pinguin

Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] 2.4.0: default theme [Bug #222]
matttbe English 11 matttbe [Read]
01 September 2011 à 19:05


Glx-Dock / Cairo-Dock List of forums Git Version | Version Git 2.4.0: default theme Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.