Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Ideas | Propositions keeping launchers and launched programmes
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] keeping launchers and launched programmes
Page : 1 2
Guest English 36 Guest [Read]
30 July 2013 à 22:45

Guest, Friday 17 May 2013 à 19:35

I hope I have now created a link:

https://www.dropbox.com/s/15a2avy3w123i4u/Screenshot%20from%202013-05-15%2019%3A39%3A35.png?m

Please let me know if this works.

Thanks

fabounet, Tuesday 21 May 2013 à 14:53


Subscription date : 30 November 2007
Messages : 17118
ok, let's try to fix synaptic
open synaptic, then edit the configuration of its launcher (from the right-click on the launcher)
expand the "extra parameters", select "grab the class" and click on the synaptic window
the class should appear in the launcher's window
I believe it's "synaptic" but maybe not
click apply and see if the 2nd icon disappear, and if the launcher takes the small indicator

Guest, Monday 10 June 2013 à 15:48

Apologies for being away for awhile. The Synaptic is now fixed BUT not quite following your recipe. The grab function did not do anything so I simply wrote Synaptic into the class. It worked. I then tried the same with Calibre. This did not work and Calibre is now called Cairo Dock and I can't change it back although I have changed the launcher's name back to Calibre. I still have the two launcher.

fabounet, Monday 10 June 2013 à 17:44


Subscription date : 30 November 2007
Messages : 17118
try to delete your calibre launcher, then drop it in the dock from the Applications-menu, then edit its configuration and try setting the correct class (it should be "calibre", but it's maybe something else, the "grab" button should work, otherwise you can use xprop in a terminal)

Guest, Wednesday 12 June 2013 à 20:24

I deleted and reset the calibre launcher. The class is default. If I press grab and take the cross wire to calibre in the column on the left the class changes to cairo-dock. Perhaps this is not the window you are referring to.

matttbe, Thursday 13 June 2013 à 02:06


Subscription date : 24 January 2009
Messages : 12573
If I press grab and take the cross wire to calibre in the column on the left the class changes to cairo-dock
Mmh, strange
Cairo-Dock's window is a bit bigger than the dock itself, can retry that but click somewhere else.

Note: you can also use xprop:
xprop | grep CLASS

fabounet, Monday 17 June 2013 à 15:17


Subscription date : 30 November 2007
Messages : 17118
maybe you clicked on a zone that was inside the dock ?
try to target the calibre window only

Guest, Monday 17 June 2013 à 17:30

If I take the cross wire to the open Calibre window it is the same. If I take the cross wire to the calibre icon on the dock it is the same...always comes up as Cairo Dock.

fabounet, Friday 21 June 2013 à 15:33


Subscription date : 30 November 2007
Messages : 17118
hmm that's not normal, but you can just use xprop | grep CLASS from a terminal, click on the calibre window, then copy what you got inside the launcher's config and apply

matttbe, Friday 21 June 2013 à 20:42


Subscription date : 24 January 2009
Messages : 12573
And if you still have "Cairo-dock", launch this command from a terminal, then click on Calibre window and post all output messages here:
xprop

Guest, Wednesday 10 July 2013 à 15:18

here's the xprop output from clicking on the calibre launcher

_UBUNTU_APPMENU_OBJECT_PATH(UTF8_STRING) = "/com/canonical/menu/4400006"
_NET_WM_ICON_GEOMETRY(CARDINAL) = 8, 386, 48, 48
_COMPIZ_WM_WINDOW_BLUR_DECOR(INTEGER) = 4, 0, 5, 4, -28, 6, -4, -27, 5, 2, -27, 6, -2, -26, 5, 1, -26, 6, -1, -25, 5, 0, -25, 6, 0, -23, 5, -1, -23, 6, 1, 0, 9, -1, 0, 10, 1, 1, 5, -1, 0, 9, 0, 0, 6, 0, 0, 10, 1, 0
_COMPIZ_WINDOW_DECOR(INTEGER) = 20110504, 1, 1, 52430117, 11, 11, 28, 11, 1, 1, 28, 1, 10, 10, 28, 10, 0, 0, 28, 0, 26, 0, 1, 1, 65535, 12, 589925, -8, -35, -6, 0, 803, 32767, 0, 0, 524389, 795, -35, -6, 0, 32767, 32767, 803, 0, 590182, -6, -35, 10, 0, 16, 32767, 820, 0, 395413, -8, 0, 0, -264, 32767, 265, 1, 37, 264341, -8, 265, 0, -264, 32767, 32767, 266, 37, 395929, -8, -264, 0, 0, 32767, 264, 531, 37, 395430, 0, 0, 10, -264, 32767, 265, 1, 47, 264358, 0, 265, 10, -264, 32767, 32767, 266, 47, 395946, 0, -264, 10, 0, 32767, 264, 531, 47, 589993, -8, 0, -400, 10, 409, 32767, 0, 59, 524457, 401, 0, -400, 10, 32767, 32767, 409, 59, 590250, -400, 0, 10, 10, 410, 32767, 820, 59, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
_UBUNTU_APPMENU_UNIQUE_NAME(UTF8_STRING) = ":1.113"
XKLAVIER_STATE(INTEGER) = 0, 0
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_FOCUSED
_COMPIZ_WINDOW_DECOR_INPUT_FRAME(WINDOW): window id # 0xe02961
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 28, 1
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        bitmap id # to use for icon: 0x4400009
        bitmap id # of mask for icon: 0x4400010
        window id # of group leader: 0x4400001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_ICON(CARDINAL) =     Icon (22 x 22):
    
    
    
     ??
    ? ?
    ? ?????????????????? ?
    ? ?????????????????? ?
    ? ?????????????????? ?
    ? ??? ?????????????? ?
    ? ???? ????????????? ?
    ? ???? ????????????? ?
    ? ??? ?????????????? ?
    ? ?????????????????? ?
    ? ?????? ???????? ?
    ? ?????????????????? ?
    ? ?????????????????? ?
    ? ?????????????????? ?
    ???????????????????? ?
    ??????????????????????
    ?? ??
    ??????????????????????
    

    Icon (16 x 16):
    
    
     ??????????????
    ? ?
    ? ???????????? ?
    ? ? ?????????? ?
    ? ?? ????????? ?
    ? ?? ????????? ?
    ? ???????????? ?
    ? ???? ????? ?
    ? ???????????? ?
    ? ???????????? ?
    ?????????????? ?
    ? ?
    ????????????????
    

    Icon (48 x 48):
    
    
    
    
    
    
    
     ????????????????????????????????????????????
     ? ?
     ? ?
     ? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ????? ?????????????????????????????? ?
     ? ????? ????????????????????????????? ?
     ? ?????? ???????????????????????????? ?
     ? ???????? ??????????????????????????? ?
     ? ???????? ?????????????????????????? ?
     ? ??????? ??????????????????????????? ?
     ? ?????? ???????????????????????????? ?
     ? ????? ????????????????????????????? ?
     ? ????? ??????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ????????????? ????????????????? ?
     ? ????????????? ????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ???????????????????????????????????????????? ?
     ???????????????????????????????????????????? ?
     ???????????????????????????????????????????? ?
     ??????????????????????????????????????????????
     ??? ???
     ??????????????????????????????????????????????
     ??????????????????????????????????????????????
     ????????????????????????????????????????????
    
    
    

    Icon (24 x 24):
    
    
    
    
     ??
     ? ?
     ? ?????????????????? ?
     ? ?????????????????? ?
     ? ?????????????????? ?
     ? ??? ?????????????? ?
     ? ???? ????????????? ?
     ? ???? ????????????? ?
     ? ??? ?????????????? ?
     ? ?????????????????? ?
     ? ?????? ???????? ?
     ? ?????????????????? ?
     ? ?????????????????? ?
     ? ?????????????????? ?
     ???????????????????? ?
     ??????????????????????
     ?? ??
     ??????????????????????
    
    

    Icon (32 x 32):
    
    
    
    
    
     ????????????????????????????
     ? ?
     ? ?
     ? ???????????????????????? ?
     ? ???????????????????????? ?
     ? ???????????????????????? ?
     ? ??? ???????????????????? ?
     ? ??? ??????????????????? ?
     ? ???? ????????????????? ?
     ? ????? ???????????????? ?
     ? ???? ?????????????????? ?
     ? ??? ??????????????????? ?
     ? ???????????????????????? ?
     ? ???????? ??????????? ?
     ? ???????????????????????? ?
     ? ?????????????????????????? ?
     ? ?????????????????????????? ?
     ? ?????????????????????????? ?
     ? ?????????????????????????? ?
     ? ?????????????????????????? ?
     ???????????????????????????? ?
     ??????????????????????????????
     ?? ??
     ??????????????????????????????
     ??????????????????????????????
    
    

    Icon (48 x 48):
    
    
    
    
    
    
    
     ????????????????????????????????????????????
     ? ?
     ? ?
     ? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ????? ?????????????????????????????? ?
     ? ????? ????????????????????????????? ?
     ? ?????? ???????????????????????????? ?
     ? ???????? ??????????????????????????? ?
     ? ???????? ?????????????????????????? ?
     ? ??????? ??????????????????????????? ?
     ? ?????? ???????????????????????????? ?
     ? ????? ????????????????????????????? ?
     ? ????? ??????????????????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ????????????? ????????????????? ?
     ? ????????????? ????????????????? ?
     ? ?????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ? ?????????????????????????????????????????? ?
     ???????????????????????????????????????????? ?
     ???????????????????????????????????????????? ?
     ???????????????????????????????????????????? ?
     ??????????????????????????????????????????????
     ??? ???
     ??????????????????????????????????????????????
     ??????????????????????????????????????????????
     ????????????????????????????????????????????
    
    
    

    Icon (256 x 256):
    (not shown)
_NET_WM_USER_TIME(CARDINAL) = 2016061
WM_WINDOW_ROLE(STRING) = "gnome-terminal-window-3181-1488009609-1373462073"
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 71303176
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x4400007
WM_CLIENT_LEADER(WINDOW): window id # 0x4400001
_NET_WM_PID(CARDINAL) = 3181
WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
WM_CLIENT_MACHINE(STRING) = "nick-AOA150"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified minimum size: 42 by 35
        program specified resize increment: 10 by 22
        program specified base size: 2 by 2
        window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "gnome-terminal", "Gnome-terminal"
WM_ICON_NAME(STRING) = "nick@nick-AOA150: ~"
_NET_WM_ICON_NAME(UTF8_STRING) = "nick@nick-AOA150: ~"
WM_NAME(STRING) = "nick@nick-AOA150: ~"
_NET_WM_NAME(UTF8_STRING) = "nick@nick-AOA150: ~"

fabounet, Tuesday 16 July 2013 à 17:36


Subscription date : 30 November 2007
Messages : 17118
WM_CLASS(STRING) = "gnome-terminal", "Gnome-terminal"

you clicked on the terminal window, but we need to know the properties of the calibre window

Guest, Monday 29 July 2013 à 22:18

Accept my apologies for that one....is this what you need?

nick@nick-AOA150:~$ xprop
_NET_WM_ICON_GEOMETRY(CARDINAL) = 759, 546, 30, 60
_COMPIZ_WM_WINDOW_BLUR_DECOR(INTEGER) = 4, 0, 5, 4, -28, 6, -4, -27, 5, 2, -27, 6, -2, -26, 5, 1, -26, 6, -1, -25, 5, 0, -25, 6, 0, -23, 5, -1, -23, 6, 1, 0, 9, -1, 0, 10, 1, 1, 5, -1, 0, 9, 0, 0, 6, 0, 0, 10, 1, 0
XKLAVIER_STATE(INTEGER) = 0, 0
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 69206052
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_ICON(CARDINAL) =     Icon (256 x 256):
    (not shown)
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_NAME(UTF8_STRING) = "calibre - || Calibre Library ||"
WM_CLIENT_LEADER(WINDOW): window id # 0x4200004
_NET_WM_PID(CARDINAL) = 3591
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x80, 0x0, 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NAME(STRING) = "calibre - || Calibre Library ||"
WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
WM_CLASS(STRING) = "calibre-gui", "Calibre-gui"
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        bitmap id # to use for icon: 0x420001a
        window id # of group leader: 0x4200004
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        user specified size: 1012 by 561
        program specified size: 1012 by 561
        program specified minimum size: 686 by 406
        window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "nick-AOA150"
WM_COMMAND(STRING) = { "calibre-gui" }

matttbe, Monday 29 July 2013 à 23:41


Subscription date : 24 January 2009
Messages : 12573
@Guest: Can you remove the custom class that you added? Is it better with nothing? Or with 'Calibre' or 'Calibre-gui'?
Can you also check if you also have these files in your computer: calibre-gui.desktop, calibre.desktop
locate calibre-gui.desktop
locate calibre.desktop

fabounet, Tuesday 30 July 2013 à 17:21


Subscription date : 30 November 2007
Messages : 17118
yes, the class of the launcher needs to be "calibre-gui", to match the one of the window

matttbe, Tuesday 30 July 2013 à 18:53


Subscription date : 24 January 2009
Messages : 12573
Did you install Calibre from Ubuntu repos? If yes, this bug is maybe due to the Ubuntu packages.

Guest, Tuesday 30 July 2013 à 22:45

Making the custom class calibre-gui seems to be the solution. Calibre on its own was not enough. Many thankss

Ideas | Propositions

Subjects Author Language Messages Last message
[Locked] keeping launchers and launched programmes
Page : 1 2
Guest English 36 Guest [Read]
30 July 2013 à 22:45


Glx-Dock / Cairo-Dock List of forums Ideas | Propositions keeping launchers and launched programmes 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.