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 Trash won't show as empty
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] Trash won't show as empty
Guest English 5 brianw [Read]
14 October 2014 à 14:29

Guest, Sunday 12 October 2014 à 04:56

The Trash Applet in the dock won't show as empty even though the Trash is empty when opened from the dock, and if opened from within file manager. This was working when I first installed the dock, but for some reason now fails to reset and update the icon on the dock when the trash is empty.

All help much appreciated!!

(P.S. I'm using Cairo-Dock 3.3.2 with KDE 4.14.1 on Manjaro.)

matttbe, Sunday 12 October 2014 à 11:34


Subscription date : 24 January 2009
Messages : 12573
Hello,

This bug is maybe due to GVFS.
Can you give us the output messages produced by this command:
gvfs-ls trash://


Do you also see file in this trash?
gvfs-open trash://


EDIT: do you also have this bug when launching the dock with this command?
cairo-dock -e gnome

Guest, Monday 13 October 2014 à 02:00

gvfs-ls trash://

Output is null.

gvfs-open trash://

Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QString)
gwenview(19418)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory!
gwenview(19418)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory!
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
gwenview(19418)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:


cairo-dock -e gnome

I'm using KDE not Gnome.

matttbe, Monday 13 October 2014 à 10:18


Subscription date : 24 January 2009
Messages : 12573
gvfs-open trash://
Do you see some files in the window that you had when launching this command?

cairo-dock -e gnome

I'm using KDE not Gnome.
This is why it can be interesting to check if it's better when you use the GNOME integration plugin instead of using the KDE one. (In fact, we shouldn't add special cases for KDE but before it was needed... maybe now it's no longer needed)

Guest, Tuesday 14 October 2014 à 03:42

OK great...

Well...
gvfs-open trash://
for some strange reason launches Gwenview picture viewer, with an error message: "Malformed URL trash://"

Meanwhile, launching Cairo-Dock using gnome gives the following output:

$ cairo-dock -e gnome
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/implementations/cairo-dock-glx.c:_initialize_opengl_backend:179)
couldn't find an appropriate visual, trying to get one without Stencil buffer
(it may cause some little deterioration in the rendering) ...

============================================================================
Cairo-Dock version : 3.3.2
Compiled date : Dec 27 2013 16:14:05
Built with GTK : 3.10
Running with OpenGL: 1
============================================================================

warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-module-manager.c:gldi_module_new_from_so_file:160)
while opening module '/usr/lib/cairo-dock/libcd-terminal.so' : (libvte2_90.so.9: cannot open shared object file: No such file or directory)
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-module-manager.c:gldi_module_new_from_so_file:160)
while opening module '/usr/lib/cairo-dock/libcd-Recent-Events.so' : (libzeitgeist-1.0.so.1: cannot open shared object file: No such file or directory)
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-module-manager.c:gldi_module_new_from_so_file:160)
while opening module '/usr/lib/cairo-dock/libcd-GMenu.so' : (libgnome-menu-3.so.0: cannot open shared object file: No such file or directory)
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-module-manager.c:gldi_module_new_from_so_file:160)
while opening module '/usr/lib/cairo-dock/libcd-mail.so' : (libetpan.so.17: cannot open shared object file: No such file or directory)
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-utils.c:cairo_dock_launch_command_sync_with_stderr:231)
No value set for `/desktop/gnome/interface/font_name'

pango_font_description_from_string: assertion 'str != NULL' failed
pango_font_description_get_family: assertion 'desc != NULL' failed
pango_font_description_get_size: assertion 'desc != NULL' failed
pango_font_description_get_size_is_absolute: assertion 'desc != NULL' failed
pango_font_description_get_weight: assertion 'desc != NULL' failed
pango_font_description_get_style: assertion 'desc != NULL' failed
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-utils.c:cairo_dock_launch_command_sync_with_stderr:231)
No value set for `/desktop/gnome/interface/font_name'

pango_font_description_from_string: assertion 'str != NULL' failed
pango_font_description_get_family: assertion 'desc != NULL' failed
pango_font_description_get_size: assertion 'desc != NULL' failed
pango_font_description_get_size_is_absolute: assertion 'desc != NULL' failed
pango_font_description_get_weight: assertion 'desc != NULL' failed
pango_font_description_get_style: assertion 'desc != NULL' failed
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/implementations/cairo-dock-glx.c:_is_blacklisted:54)
This card is blacklisted due to a bug with your video drivers: Intel 4000 HD Ivybridge Mobile.
Please have a look there: https://bugs.freedesktop.org/show_bug.cgi?id=55036 :'-|
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/implementations/cairo-dock-glx.c:_post_initialize_opengl_backend:374)
The OpenGL backend will be deactivated. Note that you can force this OpenGL backend by launching the dock with this command: 'cairo-dock -o'
OpenGL Version: 3.0 Mesa 10.3.0
OpenGL Vendor: Intel Open Source Technology Center
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile


As a workaround, launching the dock using gnome DOES then allow the trash to be permanently emptied, so that when re-launched with KDE the trash immediately shows as emptied.

Is there any indication as to how this problem originally came about? What about any steps to take to stop it happening again in the future?

At the very least there is a good work around now, and this will help anyone else with a similar problem, but it would be good to get any thoughts as to how we can stop this happening again.

Thanks for your help by the way!

brianw, Tuesday 14 October 2014 à 14:29


Subscription date : 25 April 2012
Messages : 270
The following topic discusses this issue: http://www.glx-dock.org/bg_topic.php?t=7841

About half way down the gwenview issue is resolved using exo-preferred-applications (there is a link to a discussion on that topic) and at the end it was found that cairo-dock-plugins-kde-integration was required to be installed for the trash-bin (some distros have separate packages and don't have the proper dependencies set for most cairo-dock items which can be a pain).

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] Trash won't show as empty
Guest English 5 brianw [Read]
14 October 2014 à 14:29


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Trash won't show as empty 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.