You are not logged in.
Pages: 1
Topic closed
After upgrading to pcmanfm 0.9.7, my devices do not appear anymore in the left bar.
I saw that someone opened a bug already, saying that I needed to install gvfs and launch as dbus-launch pcmanfm but it doesn't work. Any ideas?
Last edited by spiridow (2010-07-08 10:04:32)
Offline
After upgrading to pcmanfm 0.9.7, my devices do not appear anymore in the left bar.
I saw that someone opened a bug already, saying that I needed to install gvfs and launch as dbus-launch pcmanfm but it doesn't work. Any ideas?
That's more because of hal than due to pcmanfm.
startup hal in your daemons array or start it just before you use pcmanfm and you should see the devices in the left bar.
Last edited by Inxsible (2010-07-07 20:44:27)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
That's more because of hal than due to pcmanfm.
startup hal in your daemons array or start it just before you use pcmanfm and you should see the devices in the left bar.
hal is already running
Offline
How are your devices mounted? What happens if you run dbus-launch pcmanfm and afterwards unmount/remount the device?
Offline
See this thread for the same issue. Don't think the solution has been found yet though.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Is GVFS running?
Did you start dbus-launch ? See http://wiki.archlinux.org/index.php/Pcm … d_PCManFM2
There is also a topic in the pcmanfm forum, not exactly the same problem, but it can help : http://forum.lxde.org/viewtopic.php?f=22&t=1422&start=0
I also have upgraded pcmanfm to 0.9, and I just have to correct the mount permissions.
Offline
I added this to my ~/.xinitrc:
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
And now the device appears in the left bar when plugged in, but it won't mount.
I get the following error: "Not Authorized"
In the wiki it says that I have to edit /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy, but there is no such file on my system.
EDIT: forgot to launch as dbus-launch pcmanfm. Works fine now, no need to edit the above mentioned file, though.
Last edited by spiridow (2010-07-08 10:04:19)
Offline
if you want pcmanfm to manage the desktop plus wallpaper you have to change the line @pcmanfm -d to @pcmanfm --desktop in /etc/xdg/lxsession/LXDE/autostart
Last edited by parintachin (2010-07-08 12:19:18)
Offline
For the "Not Authorized" error :
With Udisks the file you have to edit instead of "usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy" is "usr/share/polkit-1/actions/org.freedesktop.udisks.policy"
You just have to replace <allow_any>no</allow_any> by <allow_any>yes</allow_any> for actions related to mount and unmount filesystem, devices, etc.
Then, it will not necessary to launch pcmanfm as "dbus-launch pcmanfm" (but it's necessary to launch dbus in your .xinitrc or autostart )
Works fine for me.
Last edited by Eksel (2010-07-08 13:02:21)
Offline
Hey guys
the fixes above work in my i686 arch setup
But, the fixes aren't working in my x86_64 arch setup on same PC
a amd athlon64 3300+
I cant get the left view pane to show my drives, etc!?
please help
thanks
Offline
I second 72linus.
I have an x86_64 arch, and udisks --monitor shows the removable device being plugged in. However, no sign of the volume in the left panel of pcmanfm.
I have launched dbus in .xinitrc as suggested, and the problem is present both if I start dbus-launch together with pcmanfm and if I start pcmanfm alone.
Offline
I also noticed that there's now a trash can function and it's leaving .Trash folders on my usb, drives, etc
luckily, I hurriedly retrieved the prior version for both x86 and 64 and will make them available should anyone want to downgrade and cant find version 5.2
Debian Squeeze tried to upgrade to this version of pcmanfm couple weeks ago and same issues plus it wouldn't let me open it as root if I was user?!
so, is there any other file manager just like pcmanfm version 5.2?
no, they all have issues and most wont show drives, etc in left panel
I dont want a trash can function either, its pointless for me
is there a way to hack the trash can function out?
thanks
Offline
@72linus & @iosonofabio
In my case, I upgraded pcmanfm, installed gvfs, tried to start pcmanfm with `pcmanfm` and `dbus-launch pcmanfm` and it did not worked.
After a reboot, it worked with `dbus-launch pcmanfm` without adding anything in my .xinitrc but I still have hal in my daemon array (for the networkmanager applet) who starts dbus automatically during the boot process.
I hope my post will help you, keep me informed please
Offline
If you don't want the trash bin, you can disable it from Edit > Preferences > "General" tab, untick the corresponding box.
Last edited by spiridow (2010-07-08 16:34:50)
Offline
I also have an x86_64 arch, and it works fine.
Make sure you have gvfs, udisks and polkit-gnome installed, and hal which start in daemon during the boot.
Add the code to launch dbus in your .xinitrc or in the autostart script your WM uses (I prefer), and launch Policykit authentication agent in your autostart script :
# Dbus
if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
# Policykit
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
Then, edit "usr/share/polkit-1/actions/org.freedesktop.udisks.policy" as I said above, reboot, and it worked fine for me.
Now, I can launch pcmanfm normally (without dbus-launch) and volumes appear in the left panel of pcmanfm and can be mounted (no error "Not Authorized").
I hope it can help you
Offline
I did all that above and zilch
it s blank on left panel except for root folder, etc
I have hal as daemon,etc
it s very weird...
Offline
the problem of using dbus-launch is at one stage there are more than 30 instant of dbus-launch. The better option is as Eksel mentioned. 72linus it is working fine with x86_64 with necessary tweaks.
Just found another way for the openbox setup. launch it with exec ck-launch-session dbus-launch openbox-session works fine without any tweaks.
Last edited by kgas (2010-07-09 17:11:36)
Offline
For the "Not Authorized" error :
With Udisks the file you have to edit instead of "usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy" is "usr/share/polkit-1/actions/org.freedesktop.udisks.policy"
You just have to replace <allow_any>no</allow_any> by <allow_any>yes</allow_any> for actions related to mount and unmount filesystem, devices, etc.Then, it will not necessary to launch pcmanfm as "dbus-launch pcmanfm" (but it's necessary to launch dbus in your .xinitrc or autostart )
Works fine for me.
I found it unnecessary to edit those files. You really shouldn't edit them anyway because the changes will be overwritten on the next update of udisks. Here's what I did find necessary. In my .xinitrc, this didn't work:
exec ssh-agent dbus-launch ck-launch-session lxsession
I saw my USB drive but I couldn't mount it, receiving a "Not Authorized" error from pcmanfm. This did work though:
exec ssh-agent ck-launch-session dbus-launch lxsession
It seems that for some bizarre intangible reason, on my computer, the console kit daemon must be running BEFORE the dbus daemon is launched in order for PolicyKit's policies to work right. I actually thought it'd be the other way around. I'd like to see somebody else try these two different setups and see if they can reproduce what I've seen.
And by the way, kgas: dbus-launch was not at all meant to be started once for every single application. It was meant to be started once in the .xinitrc like how I have just written or like this:
eval `dbus-launch --sh-syntax --exit-with-session`
But of course that doesn't work because dbus-daemon must be started after the console kit daemon.
Last edited by ewtoombs (2010-07-17 06:17:15)
Offline
Dear all,
it is still not working on my 64bit Arch, even after trying the suggestion of ewtoombs about the .xinitrc exec line.
What I do have:
- libfm-git
- pcmanfm-git
- udisks
- consolekit
What I do not have:
- hal
- gvfs
- polkit-gnome
Please note that none of the packages above are required for the new pcmanfm version to handle disk mounting properly, as stated by the author:
http://blog.lxde.org/?author=5
Offline
I do have gvfs, hal, and polkit-gnome on my x86_64 and it still doesn't work either
having tried sevral ways...
Offline
I also noticed in my i686 install using new pcmanfm if I try to open pcmanfm
as root while user it says error, permission denied
sudo pcmanfm
what could that be?
Offline
Dear all,
it is still not working on my 64bit Arch, even after trying the suggestion of ewtoombs about the .xinitrc exec line.What I do have:
- libfm-git
- pcmanfm-git
- udisks
- consolekitWhat I do not have:
- hal
- gvfs
- polkit-gnomePlease note that none of the packages above are required for the new pcmanfm version to handle disk mounting properly, as stated by the author:
http://blog.lxde.org/?author=5
I followed your link and you're right. The author has implemented the features that gvfs was formerly needed for, but this version is still in git and hasn't been officially released yet, it seems. gvfs is still needed with the version currently on arch. Get it for now until the author's new version has been officially released is what I recommend. Then when that happens, -Rs that mofo. By the way, mine requires hal, but does not require polkit-gnome.
When you have gvfs installed, try the two different exec lines I mentioned in my last post in the .xinitrc and let me know if there's a difference. I'm quite curious to see whether this is reproducible on somebody else's computer.
Offline
The new git version of libfm is out (20100717-1). Now everything works, and my .xinitrc exec line can be one of the following (both work):
exec ck-launch-session dbus-launch <window-manager>
exec dbus-launch ck-launch-session <window-manager>
By the way, my WM is i3. I do NOT have any:
- gvfs
- hal
Now, I will try to get the volumes mounted according to their labels, and not to their /dev/ addresses. This means that the boot partition should be shown as 'boot', not as 'sda1'.
Thanks, for me it is [SOLVED].
Fabio
Last edited by iosonofabio (2010-07-17 09:16:33)
Offline
For the "Not Authorized" error :
With Udisks the file you have to edit instead of "usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy" is "usr/share/polkit-1/actions/org.freedesktop.udisks.policy"
You just have to replace <allow_any>no</allow_any> by <allow_any>yes</allow_any> for actions related to mount and unmount filesystem, devices, etc.Then, it will not necessary to launch pcmanfm as "dbus-launch pcmanfm" (but it's necessary to launch dbus in your .xinitrc or autostart )
Works fine for me.
work fine following this. I haven't install consolekit, and not modify any other files.
Offline
Welcome to the forums lijunle. We have a no necro-bumping rule: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed