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 File operations/ WM selectioon
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] File operations/ WM selectioon
Guest English 8 Guest [Read]
13 November 2011 à 20:29

Guest, Saturday 12 November 2011 à 18:41

Hello.

I am running CD as a launcher, metacity as a WM and Thunar as a FM.

Everything is working pretty well, except for the file operations on the dock.
When I try to use the Files, Folders, or Trash applet, nothing will open. The Folders
applet reports "empty or unreadable" when pointed to my home directory.
GVFS is installed and working properly. I can open Trash://, Computer://, etc from the commmand line using gvfs-open.

If I launch X using xfce as a WM everything works, I prefer metacity.
I tried the "-e xfce" option for the dock to no effect.
What is the dock looking for to determine which WM it is running under?
Perhaps I can "trick" it into working with Thunar under metacity?

Thanks for any insight.
Chuck

fabounet, Sunday 13 November 2011 à 16:32


Subscription date : 30 November 2007
Messages : 17118
metacity is only the window manager
xfce is your environment
you should have a process called "gvfs" running (it is located in /usr/lib/gvfs/gvfsd)
it is the one that provides file abilities to your desktop

Guest, Sunday 13 November 2011 à 17:03

fabounet :
metacity is only the window manager
xfce is your environment
you should have a process called "gvfs" running (it is located in /usr/lib/gvfs/gvfsd)
it is the one that provides file abilities to your desktop


Yes I do.

1662 0.0 0.2 6228 2168 ? S 07:54 0:00 /usr/libexec/gvfsd

On the console I get this warning when starting the dock
VFS Daemon NOT found on DBUS !

How may I correct that? Perhaps that is what is causing my troubles?

Thanks for the help
Chuck

matttbe, Sunday 13 November 2011 à 17:27


Subscription date : 24 January 2009
Messages : 12573
Hello,

What's your distribution, the version of the dock and how did you install it?
It's maybe because the dock has been compiled with the thunar-vfs-1 module.

Guest, Sunday 13 November 2011 à 17:48

matttbe :
Hello,

What's your distribution, the version of the dock and how did you install it?
It's maybe because the dock has been compiled with the thunar-vfs-1 module.


Hello.

I am running Slackware 13.37.
I am using version 2.40~2 of the dock.
I built it using the package build script at SlackBuilds.org
http://slackbuilds.org/repository/13.37/desktop/cairo-dock/
I then installed it using Slackware's installpkg tool.
(I changed the version number in the build script to build the latest source)

How may I prevent the build from including thunar-vfs? I can build the program by hand if necessary.

Thanks.
Chuck

matttbe, Sunday 13 November 2011 à 19:02


Subscription date : 24 January 2009
Messages : 12573
Where can I find the dependences' list?
Did you compile the dock with GVFS (gio)? => Did you install gvfs before or after the compilation of Cairo-Dock and its plugins?

Guest, Sunday 13 November 2011 à 19:34

matttbe :
Where can I find the dependences' list?
Did you compile the dock with GVFS (gio)? => Did you install gvfs before or after the compilation of Cairo-Dock and its plugins?


The Slackbuild script puts the built package in the /tmp directory.
The configured sourcecode is in /tmp/SBo/<name>

I really don't think it is a problem with the build.
Remember, the dock file operations work fine if I use XFCE 4.8 rather than Metacity 2.34 as a WM.

I cured the "VFS not on DBUS" error by making sure that the dock didn't start until after the WM was initialized,
but the file operations and trash are still not functional. I cannot browse my home directory from the dock using the
folders or quickbrowser applets. I cannot browse the trash or add items by dropping on the bin icon.

I can drop my home folder on the dock, it shows a folder icon, but claims it is empty or unreadable when click on it.
I checked the applet config and it points to file:///<my home directory>

I can open that folder from the command line in Thunar by typing gvfs-open file:///<my home directory>

Thanks for helping.

Chuck

Guest, Sunday 13 November 2011 à 19:37

matttbe :
Where can I find the dependences' list?
Did you compile the dock with GVFS (gio)? => Did you install gvfs before or after the compilation of Cairo-Dock and its plugins?


Sorry.

Yes I compiled the dock after installing gvfs.
And compiled the plugins after installing the dock.

Chuck

Guest, Sunday 13 November 2011 à 20:29

matttbe :
Where can I find the dependences' list?
Did you compile the dock with GVFS (gio)? => Did you install gvfs before or after the compilation of Cairo-Dock and its plugins?


Sorry to keep posting replies to my own thread, but I have solved the problem.
I believe it was caused by the dock starting before metacity was initialized and was reported by the "VFS not on DBUS" console error
The reason it didn't work in the posts immediately above is that I forgot to include the "-e xfce" parameter to the dock after changing the startup files.

What I did was move the dock startup "cairo-dock -e xfce" from .xinitrc to a .metacity-session file, along with "thunar --daemon"
Thanks for all the help - you guys got me thinking about the startup order.

Here are the details if anyone is interested.

I created a metacity-session file in /usr/share/xsessions/

[Desktop Entry]
Encoding=UTF-8
Name=Metacity
Comment=Metacity without GNOME
Exec=/usr/local/bin/metacity-session
Type=Application


Created a metacity-session file in /usr/bin/X11 and made it executable.

#!/bin/bash
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
metacity --replace ccp & wmpid=$!
sleep 1
if [ -f ~/.metacity-session ]; then
source ~/.metacity-session &
else
xterm &
fi
# Wait for WM
wait $wmpid


Created a .metacity-session file in my home directory (note the dot)

thunar --daemon &
cairo-dock -e xfce &


Changed .xinitrc to launch metacity-session

exec /usr/bin/X11/metacity-session


Done.

Hope this works. Wish there was a preview button before posting.
Chuck

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] File operations/ WM selectioon
Guest English 8 Guest [Read]
13 November 2011 à 20:29


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation File operations/ WM selectioon 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.