Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Ideas | Propositions Label: customisation
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)
Ideas | Propositions

Subjects Author Language Messages Last message
[Locked] Label: customisation [Bug #145]
matttbe English 19 Guest [Read]
17 June 2014 à 07:55

matttbe, Monday 24 January 2011 à 11:16


Subscription date : 24 January 2009
Messages : 12573
Is it possible to customise the labels: e.g. having the possibility to add an image instead of the current background and to place these labels on the top/bottom/left/right/middle.

nochka85, Monday 24 January 2011 à 12:57


Subscription date : 29 November 2007
Messages : 7408
I have exactly what you want -> http://www.glx-dock.org/bg_topic.php?t=5090
But i think you (and Fab) didn't understand what I meant
(I will argue in the other post Later)

fabounet, Monday 24 January 2011 à 14:52


Subscription date : 30 November 2007
Messages : 17118
Matttbe was talking about the quick-info
currently they have the same look as the labels.

but applets should not draw what they want or your dock will look like a rainbow

what I don't like though is that on some dock the info background hides most of the icon (especially with 4 a characters-wide info)
but please feel free to make some mockup !

matttbe, Monday 24 January 2011 à 15:13


Subscription date : 24 January 2009
Messages : 12573
There are some examples there:
http://www.lisisoft.com/imglisi/4/OptimizeUtilities/48332screen-docktopus-inaction.jpg


But here, there are too much informations! But as you can see, the background of a quick-info can be red (urgent), green, smaller, etc.

fabounet, Monday 24 January 2011 à 15:52


Subscription date : 30 November 2007
Messages : 17118
I'm not sure it's a good idea to have so many different looks for the quick-info
moreover, if you decrease the image by 2 (in the real life you don't have such a huge dock) then I don't think it renders so nicely.

zapata, Monday 24 January 2011 à 16:01


Subscription date : 20 December 2010
Messages : 155
I really like those red circles first of they "catch" the eye and i think even if the dock is smaller you can see them pretty well.Just my opinion
By the way is that the picture of a mac dock or is it cairo?

matttbe, Monday 24 January 2011 à 18:58


Subscription date : 24 January 2009
Messages : 12573
I really like those red circles first of they "catch" the eye and i think even if the dock is smaller you can see them pretty well.Just my opinion
I agree with you

By the way is that the picture of a mac dock or is it cairo?
I think it's a kind of mockup for something about MacOSX dock.

nochka85, Monday 24 January 2011 à 19:23


Subscription date : 29 November 2007
Messages : 7408
but applets should not draw what they want or your dock will look like a rainbow


I definitely not agree

zapata, Monday 24 January 2011 à 20:08


Subscription date : 20 December 2010
Messages : 155
Maybe in order to prevent a "rainbow" you should simply make them all look red(mostly in circle style except if its necessary to put some other shape and in same place say on the top right corner of an icon) but implement the option to easily change it the way an individual wants.Again just my opinion.

fabounet, Tuesday 25 January 2011 à 10:02


Subscription date : 30 November 2007
Messages : 17118
ok well I've added some options to customize the quick-info : text color and background color.
it's in "Labels" in advanced mode, please try them and tell me your feelings

matttbe, Tuesday 25 January 2011 à 20:04


Subscription date : 24 January 2009
Messages : 12573
Thank you fab

Here is another mockup:
http://uppix.net/2/a/6/4baf15267da77ad7ca7615268b95d.png
What we can have - The new proposition
The number "1" should be smaller.


But this is the idea: the possibility to have the "common" quick-info that we can see on MP and the other one that we can see on Pidgin (just to display a kind of alert).
But I don't know how to integrate that: by having a new function or by adding an option in all applets (like what we have with the desklets, the name of the icon, the path to another icon, etc.)

jesuisbenjamin, Thursday 21 April 2011 à 20:34


Subscription date : 28 October 2009
Messages : 415
Old thread comes back to life:

I think it would be nice for people who want to make themes without hassle to have the option to make the quickinfo somehow customisable (colour, position and basic shape). After all Cairo is customisable, if you don't want a rainbow on your dock, you shouldn't have to.
In the Facebook Applet i used a svg, changing the text variable at source level. This is also the case with the Calendar Applet.
I really love svg, because you can work quietly on Inkscape for instance, and worry later about implementing it. Also svg allows to make good quality images with shades etc and it would look consistent with an already svg icon theme. I also know svg can perform some animations: i am ignorant of what Cairo uses for graphics, and whether svg animations would work at all. Firefox does not support svg animation yet unfortunately, and i don't know if it's at all possible yet on Linux. Finally there is one thing i want to figure out: how to make an svg object centre on another (at source level) so as to keep changing data centred independently of the length of the integer or string displayed. I'll look into that.
In short: wouldn't it be nice to define a svg protocol to implement it easily on Cairo? (You can name objects, groups and layers etc to call them in your code).

[Edit: example, fresh update of the Facebook Applet]

http://uppix.net/9/0/c/d9bc0edee14d3e6439baaddce8baf.png

Guest, Friday 22 April 2011 à 10:27

waouh that its a really nice label

matttbe, Friday 22 April 2011 à 11:09


Subscription date : 24 January 2009
Messages : 12573
It's certainly much better to directly draw this new quick-info in Cairo (the library) but your emblem is really nice

jesuisbenjamin, Friday 22 April 2011 à 11:25


Subscription date : 28 October 2009
Messages : 415
matttbe :
It's certainly much better to directly draw this new quick-info in Cairo (the library) but your emblem is really nice :)


I don't realise what "drawing the emblem in the library" means. But will it be as easy for users to design them as with SVGs in Inkscape for instance?

matttbe, Friday 22 April 2011 à 11:53


Subscription date : 24 January 2009
Messages : 12573
E.g.: Cairo-Dock uses Cairo to draw separators but also a lot of other things (icons, background, animations, indicators, gauges, graphics, etc.). It uses also an OpenGL backend to draw animations, background, gauges and a lot of other things!

jesuisbenjamin, Friday 22 April 2011 à 11:58


Subscription date : 28 October 2009
Messages : 415
Is there any front-end Cairo drawing program then?
I mean why would you want to draw from code while you can do this with front end tools?
Perhaps there's a way to convert svg in cairo drawings?

matttbe, Friday 22 April 2011 à 12:16


Subscription date : 24 January 2009
Messages : 12573
There are a lot of reasons...
  • Mainly because a svg file is just a xml file, it's not a texture and Cairo-Dock uses cairo to convert it to a texture.
  • We can only have a static image with a svg file (yes, we can have an animation but... it doesn't depend of each configurations, of the zoom, the position, the reflect, etc.)
  • It's not easy to customise an svg with a config panel (or with a hack like what you've done)
  • But in fact, svg specifications have been created to have vector graphics (made for artists) and the libcairo to create textures (made for devs)

jesuisbenjamin, Friday 22 April 2011 à 13:03


Subscription date : 28 October 2009
Messages : 415
matttbe :
There are a lot of reasons...
  • Mainly because a svg file is just a xml file, it's not a texture and Cairo-Dock uses cairo to convert it to a texture.
  • We can only have a static image with a svg file (yes, we can have an animation but... it doesn't depend of each configurations, of the zoom, the position, the reflect, etc.)
  • It's not easy to customise an svg with a config panel (or with a hack like what you've done)
  • But in fact, svg specifications have been created to have vector graphics (made for artists) and the libcairo to create textures (made for devs)


Well fine -- i'm not convinced of the quality of the output though (if i can judge of the current features of the dock). But as long as i can throw my svg into it, i have no problem with that

Guest, Tuesday 17 June 2014 à 07:55

I would REALLY like to see an option in the Labels/Captions module to allow drawing the labels under the icons instead of above, at least for "detached" applets.

Here is what I am trying to do ...

Many people have noticed that Compiz Wallpapers module stops the desktop from drawing desktop icons. However, those using Cairo-Dock probably don't need a full-fledged desktop. In fact, I simply duplicated the ShortCuts Applet and then detached one of the copies. I then set the background to custom with no image and set the size of the applet to cover most of 1 side of the desktop ... instant desktop icons!

The problem is that most desktop icons have labels UNDER the icon, not above them, making the icons very confusing. Other than that, it seems to work with most hot-plug events and you can add custom bookmarks.

Comments?

Ideas | Propositions

Subjects Author Language Messages Last message
[Locked] Label: customisation [Bug #145]
matttbe English 19 Guest [Read]
17 June 2014 à 07:55


Glx-Dock / Cairo-Dock List of forums Ideas | Propositions Label: customisation 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.