Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation trying to add elements to the dock (by dragging from menu)
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)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] trying to add elements to the dock (by dragging from menu)
drk English 17 fabounet [Read]
17 January 2011 à 15:28

drk, Friday 07 January 2011 à 00:24


Subscription date : 07 January 2011
Messages : 12
Hi, I'm trying to add elements to the dock but doesn't seem to work.

What I do:
I open the menu, then with left click, drag the icon into the dock. In the place where I have the mouse, the dock kind of opens space for the new item and I stop pressing the mouse, but no icon is added on the dock.

help

    • The version of Cairo-Dock ('cairo-dock -v' in a terminal).
2.1.3-10-lucid
    • Your GNU/Linux distribution (Debian, Ubuntu, Fedora, etc.).
mint debian
    • Or you using OpenGL or not.
with opengl
    • Your Window manager (Compiz, Metacity, Kwin, Openbox, etc.).
gnome's (metacity?)
    • Your Desktop Environment (Gnome, KDE, XFCE, etc.).

gnome

fabounet, Friday 07 January 2011 à 10:23


Subscription date : 30 November 2007
Messages : 17118
Hi,
did you try with the GMenu applet or with the Mint menu ?
also, try the following in a terminal:
chmod -R 777 ~/.config/cairo-dock

is there any warning in the terminal where you launched the dock when you do the operation ?

drk, Saturday 08 January 2011 à 00:56


Subscription date : 07 January 2011
Messages : 12
I tried a bit more and found out that if dragged from the desktop it works, as well as from GMenu. It just doesn't work from the mint menu.

I did the chmod and still the same.

Didn't understand the terminal part, the dock is opened on start, I don't write anything on the console.

fabounet, Monday 10 January 2011 à 17:38


Subscription date : 30 November 2007
Messages : 17118
ok well you can start the dock in a terminal by writing cairo-dock and pressing Enter
this way we can have the outputs of the dock, which could be helpful
I'm thinking that MintMenu's element are not the same than the classic Menu ones, but I don't know more.

drk, Monday 10 January 2011 à 18:47


Subscription date : 07 January 2011
Messages : 12
Ok, this is the output I get:

============================================================================
    Cairo-Dock version: 2.1.3-10-lucid
    Compiled date: Oct 8 2010 22:58:59
    Running with OpenGL: 1
============================================================================

OpenGL config summary :
- bNonPowerOfTwoAvailable : 1
- bPBufferAvailable : 1
- direct rendering : 1
- bTextureFromPixmapAvailable : 1
- GLX version : 1.4
- OpenGL version: 3.3.0 NVIDIA 260.19.29
- OpenGL vendor: NVIDIA Corporation
- OpenGL renderer: GeForce 9500M GS/PCI/SSE2

activating pbuffer, usually buggy drivers will crash here ... ok, they are fine enough.
warning : (cairo-dock-launcher-factory.c:cairo_dock_load_icon_info_from_desktop_file:406)
while trying to load 01f-spot.desktop : Key file does not have key 'Is container'
warning : (cairo-dock-launcher-factory.c:cairo_dock_load_icon_info_from_desktop_file:406)
while trying to load 01inkscape.desktop : Key file does not have key 'Is container'
cairo_dock_create_surface_from_image: assertion `rsvg_handle != NULL' failed
cairo_dock_create_surface_from_image: assertion `rsvg_handle != NULL' failed
cairo_dock_replace_values_in_conf_file (/home/drk/.config/cairo-dock/current_theme/plug-ins/quick-browser/quick-browser.conf)
separateur necessaire
warning : (cairo-dock-surface-factory.c:cairo_dock_create_surface_from_image:482)
Failed to open file '/home/drk/.config/cairo-dock/current_theme/banshee.png': No such file or directory
(null) -> -1;-1
separateur necessaire
warning : (applet-dbus.c:_cd_dbus_launch_third_party_applets_in_dir:126)
Error opening directory '/usr/share/cairo-dock/plug-ins/Dbus/third-party': No such file or directory
warning : (applet-dbus.c:_cd_dbus_launch_third_party_applets_in_dir:126)
Error opening directory '/home/drk/.config/cairo-dock/third-party': No such file or directory
start dragging
stop dragging1
stop dragging2
cairo_dock_on_drag_data_received (170x21, 826242, 0)
warning : (applet-gvfs.c:vfs_backend_get_file_info:341)
gnome_integration : Operation not supported
start dragging
stop dragging1
stop dragging2
cairo_dock_on_drag_data_received (212x27, 838493, 0)
warning : (applet-gvfs.c:vfs_backend_get_file_info:341)
gnome_integration : Operation not supported


The error for the dragging is this one:
warning : (applet-gvfs.c:vfs_backend_get_file_info:341)
gnome_integration : Operation not supported

fabounet, Tuesday 11 January 2011 à 13:47


Subscription date : 30 November 2007
Messages : 17118
thanks, would it be possible to run the dock with
cairo-dock -l debug
and reproduce the test please ?
you don't need to post everything, just the part when you're dropping the item

drk, Wednesday 12 January 2011 à 01:39


Subscription date : 07 January 2011
Messages : 12
here you go

start dragging
message : (cairo-dock-dock-manager.c:cairo_dock_stop_quick_hide:565)

debug : (cairo-dock-animations.c:cairo_dock_pop_up:131)
set above
message : (applet-notifications.c:cd_icon_effect_free_data:320)

debug : (cairo-dock-applications-manager.c:cairo_dock_set_icons_geometry_for_window_manager:1231)
cairo_dock_set_icons_geometry_for_window_manager (main:1)
message : (applet-notifications.c:cd_icon_effect_free_data:320)

message : (applet-notifications.c:cd_icon_effect_free_data:320)

message : (applet-notifications.c:cd_icon_effect_free_data:320)

message : (applet-notifications.c:cd_icon_effect_free_data:320)

message : (applet-notifications.c:cd_icon_effect_free_data:320)

message : (applet-notifications.c:cd_icon_effect_free_data:320)

stop dragging1
stop dragging2
cairo_dock_on_drag_data_received (172x37, 2759641, 0)
message : (cairo-dock-callbacks.c:cairo_dock_on_drag_data_received:1544)
>>> cReceivedData : ''/usr/share/applications/thunderbird.desktop''
debug : (cairo-dock-container.c:cairo_dock_notify_drop_data:346)
notification de drop ''/usr/share/applications/thunderbird.desktop''
message : (cairo-dock-desktop-file-factory.c:cairo_dock_add_desktop_file_from_uri_full:294)
cairo_dock_add_desktop_file_from_uri_full ('/usr/share/applications/thunderbird.desktop')
message : (applet-gvfs.c:vfs_backend_get_file_info:266)
vfs_backend_get_file_info ('/usr/share/applications/thunderbird.desktop')
message : (applet-gvfs.c:vfs_backend_get_file_info:321)
-> cFullURI : '/usr/share/applications/thunderbird.desktop'
warning : (applet-gvfs.c:vfs_backend_get_file_info:341)
gnome_integration : Operation not supported
message : (cairo-dock-dock-manager.c:cairo_dock_stop_quick_hide:565)

message : (cairo-dock-animations.c:cairo_dock_start_icon_animation:758)
cairo_dock_start_icon_animation (Terminal, 1)

fabounet, Wednesday 12 January 2011 à 11:40


Subscription date : 30 November 2007
Messages : 17118
well, maybe the reason is because it's not a valid URI (file:///...) but a path.
I recommend you to upgrade to Cairo-Dock 2.2, the code has changed and it should work correctly.

drk, Thursday 13 January 2011 à 02:03


Subscription date : 07 January 2011
Messages : 12
Debian doesn't have that version on the repositories, how do I install it?

matttbe, Thursday 13 January 2011 à 07:46


Subscription date : 24 January 2009
Messages : 12573
By using our repositories => http://www.glx-dock.org/ww_page.php?p=From%20the%20repository&lang=en#3-Debian

drk, Thursday 13 January 2011 à 17:39


Subscription date : 07 January 2011
Messages : 12
I get this error when installing:

E: /var/cache/apt/archives/cairo-dock-plug-ins-data_2.2.0-4-1~debian2_all.deb: trying to overwrite '/usr/share/cairo-dock/plug-ins/dialog-rendering/dialog-rendering.conf', which is also in package cairo-dock-dialog-rendering-plugin 2.1.3.10-3
E: /var/cache/apt/archives/cairo-dock-plug-ins-integration_2.2.0-4-1~debian2_i386.deb: trying to overwrite '/usr/lib/cairo-dock/libcd_gnome-integration.so', which is also in package cairo-dock-gnome-integration-plugin 2.1.3.10-3
E: /var/cache/apt/archives/cairo-dock-plug-ins_2.2.0-4-1~debian2_i386.deb: trying to overwrite '/usr/lib/cairo-dock/libcd-icon-effect.so', which is also in package cairo-dock-icon-effect-plugin 2.1.3.10-3

matttbe, Thursday 13 January 2011 à 18:40


Subscription date : 24 January 2009
Messages : 12573
Did you choose the 'unstable/testing' (squeeze) repository or not?

But you can also purge the older packages with
# apt-get purge cairo-dock*
# apt-get install cairo-dock

drk, Friday 14 January 2011 à 00:39


Subscription date : 07 January 2011
Messages : 12
I added the unstable. I managed to install (I needed to remove everything first), its working now. thanks!

It still doesn't work with the mint menu, but its all right, I can add to the desktop first and then drag to the dock.

here's what I get when I write: cairo-dock -l debug
start dragging
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (52;1, 627575)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (52;1, 627590)
take the drop
message : (/build/buildd/cairo-dock-plug-ins-2.2.0-4/icon-effect/src/applet-notifications.c:cd_icon_effect_free_data:322)

debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (53;1, 627606)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (53;1, 627637)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (53;1, 627668)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (54;1, 627676)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (54;1, 627684)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (55;1, 627700)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (55;1, 627723)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (56;1, 627746)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (56;1, 627770)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (57;1, 627801)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (58;2, 628286)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (58;3, 628293)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (59;4, 628309)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (59;5, 628317)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (60;6, 628325)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (61;7, 628356)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (62;8, 628379)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (62;9, 628395)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (63;10, 628410)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (64;11, 628426)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (65;11, 628450)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_motion:1336)
cairo_dock_on_drag_motion (65;12, 628457)
take the drop
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_leave:1417)
stop dragging1

debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_leave:1426)
stop dragging2

debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_data_received:1227)
cairo_dock_on_drag_data_received (65x12, 628637, 0)
message : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-callbacks.c:cairo_dock_on_drag_data_received:1266)
>>> cReceivedData : ''/usr/share/applications/mahjongg.desktop''
debug : (/build/buildd/cairo-dock-2.2.0-4/src/gldit/cairo-dock-container.c:cairo_dock_notify_drop_data:382)
notification de drop ''/usr/share/applications/mahjongg.desktop''
message : (/build/buildd/cairo-dock-2.2.0-4/src/icon-factory/cairo-dock-desktop-file-factory.c:cairo_dock_add_desktop_file_from_uri:266)
cairo_dock_add_desktop_file_from_uri ('/usr/share/applications/mahjongg.desktop')

fabounet, Friday 14 January 2011 à 13:27


Subscription date : 30 November 2007
Messages : 17118
oh I've just understood !
>>> cReceivedData : ''/usr/share/applications/mahjongg.desktop''

there are 2 quotes here, because MintMenu adds their own quotes to the dragged data
that's a bug in their code, could you please report it to them ? thanks !

drk, Saturday 15 January 2011 à 00:43


Subscription date : 07 January 2011
Messages : 12
Ok, I'll tell them. Can I link this topic in the report?

matttbe, Saturday 15 January 2011 à 02:36


Subscription date : 24 January 2009
Messages : 12573
Of course

And if you have a few time, can you post here a link to this bug report?

drk, Saturday 15 January 2011 à 18:45


Subscription date : 07 January 2011
Messages : 12
Here: https://bugs.launchpad.net/linuxmint/+bug/703334

fabounet, Monday 17 January 2011 à 15:28


Subscription date : 30 November 2007
Messages : 17118
thank you

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] trying to add elements to the dock (by dragging from menu)
drk English 17 fabounet [Read]
17 January 2011 à 15:28


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation trying to add elements to the dock (by dragging from menu) 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.