LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cairo-dock trash question (https://www.linuxquestions.org/questions/slackware-14/cairo-dock-trash-question-938659/)

ceh383 04-07-2012 02:40 PM

cairo-dock trash question
 
I'm running Slackware 13.37 64bit using Xfce. I installed cairo-dock, and for the most part I have it setup as I wish. There are a couple things I can't figure out.

First is the trash bin. I would like to put it on the dock so I can remove it from the desktop. I enabled it in cairo-dock configuration and it shows up on the dock, but it does nothing. How does one configure this applet?

Second, if possible, I would like to have the xfce popup menu on the dock so I can get rid of the xfce panel. Is this possible?

towheedm 04-08-2012 01:29 AM

To configure the dustbin, right-click on it and select 'Configure this applet'. This takes you to the configure screen.

ceh383 04-08-2012 09:26 AM

Quote:

Originally Posted by towheedm (Post 4647519)
To configure the dustbin, right-click on it and select 'Configure this applet'. This takes you to the configure screen.

What the issue is the "Dust Bin" doesn't work. I drag a file to it and nothing happens, the file stays where it was and the "Dust Bin" stays empty.
I have gone through the right-click>>Configure this applet and I don't see where this could be corrected. Is there a config file that can be edited to make it work?

towheedm 04-08-2012 10:30 AM

I just checked and it works perfectly for me. I'm using a custom built version 2.4.0-2 on Debian Squeeze. I'm not 100% sure, but it might have to do with integration with XFCE4. Do you have an XFCE integration option in the System configuration screen? If not, you may need to install the XFCE integration plugin. This may also help with integrating XFCE's menu into the dock.

The config files are in ~/.config/cairo-dock/extras/dustbin, but the files there are mainly for the icons.

A quick search for cairo-dock XFCE integration for slackware returned this link:
http://pkgs.org/slackware-13.1/slack...6-1sl.txz.html

An XFCE integration plugin is included in the package.

ceh383 04-08-2012 10:49 AM

Quote:

Originally Posted by towheedm (Post 4647705)
I'm not 100% sure, but it might have to do with integration with XFCE4. Do you have an XFCE integration option in the System configuration screen?

Yes, I have the option and it is checked.

towheedm 04-08-2012 11:05 AM

Do you have the DBus plugin installed and selected?

ceh383 04-08-2012 11:19 AM

Quote:

Originally Posted by towheedm (Post 4647726)
Do you have the DBus plugin installed and selected?

Yes, I have that installed and checked as well.

towheedm 04-08-2012 11:27 AM

Well now I'm all out of ideas except to say you might want to check the forums on glx-dock.org. Probably they may have the answer.

I'll try this on one of my XFCE4 install later today and see what happens.

ceh383 04-08-2012 11:49 AM

Thanks for the help, I'll give glx-dock.org a try...

ceh383 04-08-2012 12:26 PM

I found the config file for the "DustBin"
There is a place to add a trash directory. What directory does Slackware use for the trash?

*EDIT* Found it, but it didn't help.

towheedm 04-08-2012 01:12 PM

Just installed Cairo-Dock 2.4 on Debian Wheezy with XFCE4. At first, the dustbin showed N/A and did not show any trash.
After installing the XFCE integration plugin, it worked perfectly.

Could be you're missing some dependency. Because you must manually satisfy all dependencies in Slackware, I would suggest to re-check your cairo-dock installation and ensure you did not miss any of the dependency packages.

ceh383 04-08-2012 01:54 PM

I installed from SlackBuilds, the only dep shown is for gtkglext which I installed.
I also installed the cairo-dock plugins from SlackBuilds which showed no deps, other than cairo-dock.

Not sure what I could be missing....

towheedm 04-08-2012 02:10 PM

Just about finish installing this on my Slackware 13.37 XFCE install. Will check and post back.

towheedm 04-08-2012 02:25 PM

Launched the dock and I am getting the same N/A text on the dustbin although XFCE integration is enabled. This means the dustbin icon will not function. Are you getting the same N/A text on the dustbin icon?

towheedm 04-08-2012 02:42 PM

The following messages were shown during the build of cairo-dock-plugins:
Code:

-- checking for module 'dbusmenu-glib'
--    package 'dbusmenu-glib not found
-- checking for module 'dbusmenu-gtk'
--    package 'dbusmenu-gtk' not found

But I think the real problem is this:
Code:

-- GVFS found: source file applet-thunar-vfs.c NOT included for compilation
I guess the slackbuild script should be modified to include this.

ceh383 04-08-2012 03:34 PM

Quote:

Originally Posted by towheedm (Post 4647826)
Are you getting the same N/A text on the dustbin icon?

Yes, I am

Quote:

Originally Posted by towheedm (Post 4647826)
-- checking for module 'dbusmenu-glib'
-- package 'dbusmenu-glib not found
-- checking for module 'dbusmenu-gtk'
-- package 'dbusmenu-gtk' not found

I didn't notice these messages, doesn't mean they weren't there.
*EDIT* SlackBuilds has "libdbusmenu" do you think this might help? Should it possibly be listed as a dep?



Quote:

Originally Posted by towheedm (Post 4647826)
-- GVFS found: source file applet-thunar-vfs.c NOT included for compilation

I have no idea about modifying the script to fix this. I am pretty clueless with scripts, something I need to learn.

Thank you for your efforts in getting this figured out...

towheedm 04-08-2012 07:23 PM

Try and build the plugins from source. You already have the plugins tarball. Extract it to a directory and follow the instructions here:
http://www.glx-dock.org/ww_page.php?...piling&lang=en

Remember to uninstall the plugins package before running the make install command.

towheedm 04-08-2012 07:47 PM

Just built from source, same problem. Gonna try installing some dbus stuff and see what happens.

ceh383 04-08-2012 10:55 PM

The Slackbuilds are for cairo-dock 2.3.0~2.1 and plugins 2.3.0~2
I'm going to try updating to the latest stable cairo-dock 2.4.0~2 and plugins 2.4.0~2.1
I'll see how that goes....

ceh383 04-08-2012 11:35 PM

Well, that made no difference at all...

Diantre 04-09-2012 01:36 AM

Quote:

Originally Posted by towheedm (Post 4647833)
But I think the real problem is this:
Code:

-- GVFS found: source file applet-thunar-vfs.c NOT included for compilation
I guess the slackbuild script should be modified to include this.

I built my own package for cairo-dock-2.4.0~2.1 a while ago. If I remember correctly I was having similar problems with some applets not working as expected. That was solved by installing gvfs-1.6.7 from SBo. Something about gio-2.0 modules in the compilation messages gave me some clues about it. Currently I have it up and running and the trash applet works as expected, can drag files to it and middle click to remove them.

You might want to install gvfs from SBo first and then try compiling cairo-dock and cairo-dock-plugins again. Maybe worth a try. :)

Diantre 04-09-2012 01:50 AM

Quote:

Originally Posted by ceh383 (Post 4647301)
Second, if possible, I would like to have the xfce popup menu on the dock so I can get rid of the xfce panel. Is this possible?

Add a custom launcher in cairo-dock, right click on it and choose Modify this launcher. In the field Command to run on click, type xfdesktop --menu. That will bring up the same menu you get when you right click on the desktop, with the applications menu and other options.

ceh383 04-09-2012 08:34 AM

Quote:

Originally Posted by Diantre (Post 4648087)
. That was solved by installing gvfs-1.6.7 from SBo. Something about gio-2.0 modules in the compilation messages gave me some clues about it. Currently I have it up and running and the trash applet works as expected, can drag files to it and middle click to remove them.

You might want to install gvfs from SBo first and then try compiling cairo-dock and cairo-dock-plugins again. Maybe worth a try. :)

Quote:

Originally Posted by Diantre (Post 4648094)
Add a custom launcher in cairo-dock, right click on it and choose Modify this launcher. In the field Command to run on click, type xfdesktop --menu. That will bring up the same menu you get when you right click on the desktop, with the applications menu and other options.

I will give these suggestions a try when I get home tonight...

towheedm 04-09-2012 07:01 PM

Installing gvfs from slackbuilds solved the problem.

ceh383 04-09-2012 11:01 PM

Quote:

Originally Posted by Diantre (Post 4648087)
I built my own package for cairo-dock-2.4.0~2.1 a while ago. If I remember correctly I was having similar problems with some applets not working as expected. That was solved by installing gvfs-1.6.7 from SBo. Something about gio-2.0 modules in the compilation messages gave me some clues about it. Currently I have it up and running and the trash applet works as expected, can drag files to it and middle click to remove them.

You might want to install gvfs from SBo first and then try compiling cairo-dock and cairo-dock-plugins again. Maybe worth a try. :)

This worked for me as well, Thank you...

ceh383 04-14-2012 12:27 PM

It worked until the system was re-started then it was back to the N/A across the icon and no functionality.
I went to glx-dock.org and I think I got the solution.

Quote:

Is better if you force to load the xfce integration plug-in
Code:

cairo-dock -e xfce

This seems to have fixed the issue.

ceh383 04-22-2012 10:03 AM

The problem is back. I've tried a few things, and they work temporarily.
It was suggested that gvfs is starting after the dock.
If this is true that would explain it.
How would you make sure gvfs starts first?


All times are GMT -5. The time now is 10:17 PM.