You are not logged in.
Pages: 1
Just did a fresh install on my desktop and am having several problems with PCManFM:
1) I can't access my external usb ntfs hdd through PCManFM. Yes, I installed ntfs-3g and added myself to storage dbus and hal, included dbus and hal in my rc.conf daemons list, and included dbus-launch in my .xinitrc. PCManFM works fine on my other computer so I don't know what I'm doing wrong
2) After doing gksu pcmanfm, it keeps on saying I'm not a super user even when I am...
Heres my console output:
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
/usr/share/themes/Shiki-Brave/gtk-2.0/gtkrc:126: Murrine configuration option "gradients" is no longer supported and will be ignored.
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Maybe it's time to use a different file manager? Any suggestions?
Last edited by Loafers (2011-01-03 22:56:00)
Offline
The latest pcmanfm doesn't use hal anymore. How are you starting your environment (desktop manager, ~/.xinitrc)?
As for alternative... for me it's pcmanfm-0.5.2. Then there's Thunar.
Offline
The latest pcmanfm doesn't use hal anymore. How are you starting your environment (desktop manager, ~/.xinitrc)?
As for alternative... for me it's pcmanfm-0.5.2. Then there's Thunar.
Ah yes, forgot to mention I'm using openbox. Here's my exec line: exec ck-launch-session dbus-launch openbox-session.
Thunar is great, but no tab support :'(
Also, why are you using 0.5.2? Less issues? I'm tempted to do the same, but I remember one of the older versions had a nasty bug where a certain view mode didn't allow you to drag files or click on them.
I guess I'll use Thunar and wait until PCMan redesigns+rewrites pcmanfm
Offline
Here's my exec line: exec ck-launch-session dbus-launch openbox-session.
Hmm, you could try switching that around: exec dbus-launch ck-launch-session openbox-session
I don't know which way I tried, all I know is it wouldn't work for me the last time I played with 0.9.8. It works for some people, it doesn't for others. This whole consolekit/poklit thing is just one big non-transparent black voodoo.
Also, why are you using 0.5.2? Less issues?
Exactly. Mounting via HAL simply works. And no consolekit here either, I've simply configured HAL that people in the 'wheel' group can do stuff. You can fine-tune this, specify exactly which groups have access to which HAL features.
I'm tempted to do the same, but I remember one of the older versions had a nasty bug where a certain view mode didn't allow you to drag files or click on them.
Oh, that's still there. I switched to single-click mode because of that. Though I've also patched pcmanfm to fix it, but in the time the patch became available I've gotten used to the single-click behavior
Anyway, the patch:
diff -Naur pcmanfm-0.5.2.orig/src/exo/exo-tree-view.c pcmanfm-0.5.2/src/exo/exo-tree-view.c
--- pcmanfm-0.5.2.orig/src/exo/exo-tree-view.c 2009-04-20 19:39:38.000000000 +0200
+++ pcmanfm-0.5.2/src/exo/exo-tree-view.c 2010-11-09 19:45:57.590000589 +0100
@@ -365,19 +365,9 @@
&& (event->state & gtk_accelerator_get_default_mod_mask ()) == 0);
}
- /* unfortunately GtkTreeView will unselect rows except the clicked one,
- * which makes dragging from a GtkTreeView problematic. That's why we
- * remember the selected paths here and restore them later.
- */
if (event->type == GDK_BUTTON_PRESS && (event->state & gtk_accelerator_get_default_mod_mask ()) == 0
&& path != NULL && gtk_tree_selection_path_is_selected (selection, path))
{
- /* if no custom select function is set, we simply use exo_noop_false here,
- * to tell the tree view that it may not alter the selection.
- */
- if (G_LIKELY (selection->user_func == NULL))
- gtk_tree_selection_set_select_function (selection, (GtkTreeSelectionFunc) exo_noop_false, NULL, NULL);
- else
selected_paths = gtk_tree_selection_get_selected_rows (selection, NULL);
}
And a patch for additional compression formats:
diff -Naur pcmanfm-0.5.2.orig/src/ptk/ptk-file-archiver.c pcmanfm-0.5.2/src/ptk/ptk-file-archiver.c
--- pcmanfm-0.5.2.orig/src/ptk/ptk-file-archiver.c 2009-06-07 13:42:37.000000000 +0200
+++ pcmanfm-0.5.2/src/ptk/ptk-file-archiver.c 2010-11-09 19:45:57.592000538 +0100
@@ -44,6 +44,12 @@
".tar.gz", TRUE
},
{
+ "application/x-xz-compressed-tar",
+ "tar -cJvf",
+ "tar -xJvf",
+ ".tar.xz", TRUE
+ },
+ {
"application/x-gzip",
"gzip",
"gunzip",
@@ -61,14 +67,18 @@
"tar -xvf",
".tar", TRUE
},
- /*
{
"application/x-rar",
NULL,
- "unrar -o- e",
+ "unrar -o- x",
".rar", TRUE
+ },
+ {
+ "application/x-7z-compressed",
+ "7zr a -bd -y",
+ "7zr x -bd -y",
+ ".7z", TRUE
}
- */
};
And a patch to fix a problem when copying symlinks (the last copied symlink would get screwed up):
diff -Naur pcmanfm-0.5.2.orig/src/vfs/vfs-file-task.c pcmanfm-0.5.2/src/vfs/vfs-file-task.c
--- pcmanfm-0.5.2.orig/src/vfs/vfs-file-task.c 2009-04-20 19:39:39.000000000 +0200
+++ pcmanfm-0.5.2/src/vfs/vfs-file-task.c 2010-11-09 19:45:57.594000497 +0100
@@ -260,6 +260,7 @@
{
if ( ( rfd = readlink( src_file, buffer, sizeof( buffer ) ) ) > 0 )
{
+ buffer[rfd] = '\0';
if ( ! check_overwrite( task, dest_file,
&dest_exists, &new_dest_file ) )
goto _return_;
Offline
Thanks for the help!
Offline
I think the new version of pcmanfm needs to have gvfs installed to function the way you want. Perhaps your other computer has this installed?
Offline
I think the new version of pcmanfm needs to have gvfs installed to function the way you want. Perhaps your other computer has this installed?
Thanks, that did the trick!
Offline
darkbeanies wrote:I think the new version of pcmanfm needs to have gvfs installed to function the way you want. Perhaps your other computer has this installed?
Thanks, that did the trick!
Interesting... 0.9.8 is supposed to use udisks directly and not via gvfs. If it really needs gvfs... bah...
Offline
Interesting... 0.9.8 is supposed to use udisks directly and not via gvfs. If it really needs gvfs... bah...
I think it can run with either one, i don't have gvfs installed but do have working externals through udisks.
ᶘ ᵒᴥᵒᶅ
Offline
Pages: 1