User talk:Zhengnairen

From ArchWiki
Jump to navigation Jump to search

Dropbox, dbus and PCManFM

Hi, I've seen you added a note into Dropbox page about problems with dbus: [1]

I'd like to ask whether systemctl start dropbox@<username> works instead of the ugly command dbus-launch dropboxd you proposed. See Dropbox#Run as daemon with systemd for details. I'm asking because I'm thinking of using the command in other examples in the Dropbox#Dropbox on laptops section, and if it solves this problem, it should be really better than what we have now.

Thanks for your reply. -- Lahwaacz (talk) 20:32, 11 September 2013 (UTC)

Hello, I've tested your method just now but it didn't work. By clicking Dropbox tray icon I can launch pcmanfm, but when I click Trash, it will pop up a message says Operation not supported. I think it has something to do with dbus sessions. So I have to use the ugly workaround of dbus-launch method because I'm not familiar with dbus sessions. Hope there will be some other way to deal with this problem.
Thanks! -- Zhengnairen (talk) 21:17, 11 September 2013 (UTC)
OK, it was just a thought, I'll have to look into it better. I take it that when you launch PCManFM manually from your session (e.g. using a menu), everything works fine? -- Lahwaacz (talk) 05:57, 12 September 2013 (UTC)
One other possible solution is to set up systemd/User session, launch dbus-daemon from within it and then launch dropbox with DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/dbus/user_bus_socket dropboxd.
And your solution works only partially - when you exit pcmanfm and dropbox, the dbus-daemon you launched with the dbus-launch command is still running.
-- Lahwaacz (talk) 16:00, 12 September 2013 (UTC)
Thanks for your reply and sorry for replying late, kind of busy recently. I tried your solution, still not work. I think I need to read more documentation about dbus because I'm lack of knowledge about it.
-- Zhengnairen (talk) 20:29, 23 September 2013 (UTC)