! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Plugin doesn't launch thunar
Status:
RESOLVED: FIXED
Product:
Xfce4-places-plugin
Component:
General

Comments

Description Scott H 2007-03-25 05:24:11 CEST
I just installed and added this item to my panel, but it doesn't launch thunar. Neither clicking on a bookmark or the file manager icon works. Thunar works if I run it myself, so I'm not sure what the problem is.

Also, it appears that perlxml is a dependency. This should probably be added to the website's dependencies section.
Comment 1 Diego Ongaro 2007-03-25 06:56:12 CEST
Sorry to hear about your troubles. I have /usr/bin/thunar hard-coded as the path now for some reason, and I'm guessing you have thunar installed in a different location (please check with `which thunar`).

If this is the case, please try editing panel-plugin/places.c and changing the line in places_load_thunar() to read:
    gchar * cmd = g_strconcat("thunar ", path, NULL);

Then recompile, reinstall, and let me know if it works :)
Comment 2 Scott H 2007-03-25 15:06:01 CEST
Indeed it works now, thanks :) thunar is installed to /opt/xfce4/ here.
Comment 3 Diego Ongaro 2007-03-25 16:57:06 CEST
Thanks for your testing, Scott.
Patched in subversion as revision 2567.
Comment 4 Diego Ongaro 2007-03-26 04:36:05 CEST
Regarding "it appears that perlxml is a dependency. This should probably be added to the website's dependencies section"...

I asked Jannis about this, who said "I don't see this. xfce4-dev-tools doesn't depend on perlxml, neither does your plugin. But I think intltool depends on Perl's XML::Parser. As long as you check for intltool in your configure script everything should be ok."

As far as I understand then, intltool requires perlxml. I think virtually all the goodies depend on intltool (without listing it as such). Thus, I think that if you would like to pursue a solution, you should open a more general bug.

Bug #3053

Reported by:
Scott H
Reported on: 2007-03-25
Last modified on: 2010-11-09

People

Assignee:
Diego Ongaro
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information