You are not logged in.
Hey all,
I'm using Openbox and Thunar, and have been for quite a while - One thing that's still niggling me, no matter how much I google it, is how there's no trash or other filesystems (CDs, USB drives, my other hard drive partition) icons in Thunar.
Now, I can make these appear if I run the command dbus-launch thunar. However that seems to create a new dbus process everytime, which I think could get a bit annoying after a while.
I have thunar-volman and gvfs installed, I'm not sure what else to do.
Any help appreciated, thanks!
SEMI-FIX:
I removed my login manager as well as the .bash_profile section to start X automatically on boot. This has fixed all issues, although I have to start X manually.
Last edited by Reded (2012-03-19 21:11:35)
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
Put dbus-launch into your ~/.xinitrc file
Like this.
exec ck-launch-session dbus-launch openbox-sessionLinux Counter: #478369
Don't fix it if it ain't broken, don't break it if you can't fix it.
Offline
That didn't do anything (Yes I restarted afterwards) Would I have to remove it from rc.conf too?
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
Offline
That didn't do anything (Yes I restarted afterwards) Would I have to remove it from rc.conf too?
Strange indeed. I had the same problem as you with no trash can. I followed the wiki article to enable it.
How are you starting thunar? If you are starting it as a daemon in ~/.config/openbox/autostart
thunar --daemonthen you might want to kill that and restart Openbox.
Linux Counter: #478369
Don't fix it if it ain't broken, don't break it if you can't fix it.
Offline
All that says, is to install gvfs, which I have already.
Right now I'm starting it by typing thunar into a terminal, although I have a Files pipemenu that when I click on a folder it opens it up in thunar.
Last edited by Reded (2012-03-18 00:05:34)
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
Sorry, can't be of any more help. Hopefully someone else will know the solution.
Linux Counter: #478369
Don't fix it if it ain't broken, don't break it if you can't fix it.
Offline
No worries! It's an issue that doesn't bother me daily so I'm fairly patient on waiting for the solution ![]()
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
Same problem here with Thunar 1.3.0 and 1.3.0-extended (AUR) and I think. 1.2.3 I do have gvfs installed and dbus in rc.conf. It used to work but something happened some weeks ago. This works however;
dbus-launch --exit-with-session exo-open --launch FileManager
Nothing from logs or terminal to work with.
Offline
Again it seems a bit awkward to do that everytime I want to open my files, AND it creates multiple dbus-session processes ![]()
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
--exit-with-session should fix that, I think.
Offline
It didn't seem to sadly - Like I said that's a bit fiddly to be doing everytime too. Do hope there's a fix for this one as I don't want to install a needlessly bulky file manager!
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
I seem to have solved this by removing my login manager (LXDM). After removing that, more startup processes seem to be there, including gvfs and ck-launch-session (They didn't come on on startup when I used LXDM). So maybe there's something I need to configure in that.
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
You could always do your own thunar.desktop file . But this is just a workaround, really one would like to know the culprit. I mean, I've had thunar work flawlassly for months, and then a couple of months ago no trash. If you google it you come across the gvfs install fix, which is useless if you've already had gvfs since months back!
So why is there no trash in Thunar with gvfs and dbus and ck -launch-session?
Offline
Exactly, only thing I've found online to fix it is to install gvfs ![]()
Like I said, uninstalling LXDM did the job, I didn't really need it anyway, so I guess maybe lxdm was stopping the gvfs process from starting at boot (Along with the ck-launch one). Maybe I should try another one to see what happens ![]()
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
You could try changing your ~/.xinitrc to something like this https://wiki.archlinux.org/index.php/Co … 2F.xinitrc
It is what I use.
Offline
exec ck-launch-session startlxde
Does not help.
Offline
I'm not using lxde I'm using Openbox as standalone ![]()
My xinitrc already has exec ck-launch-session, dbus-session, and openbox-session in.
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
What login manager? I'm using slim.
Offline
There is a bug where ck-launch-session does not always register your session correctly. This happens when you login from /etc/rc.local
Check ck-list-sessions from a console to see if the session is local and active. After that make sure gvfs works (no configuration needed) and it should work.
Offline
Seat 1 active and local.
Offline
Ok; gvfs installed since a loong time, slim from extra (which by the way STILL is actively developed), thunar 1.3.0. What I've tried so far;
ck-launch-session from slim.conf - no quit and reboot in quit menu, no trash in thunar
ck-launch-session from .xinitrc - no quit and reboot in quit menu, no trash in thunar
dbus-launch from .xinitrc - no trash in thunar
My .xinitrc;
exec dbus-launch startlxde & wmpid=$!
start some shit ... &
wait $wmpidSessions:
ck-list-sessions
Session2:
unix-user = '1000'
realname = 'Svensson'
seat = 'Seat1'
session-type = 'x11'
active = TRUE
x11-display = ':0.0'
x11-display-device = '/dev/tty4'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2012-03-19T09:11:47.826417Z'
login-session-id = '1'
Session1:
unix-user = '1000'
realname = 'Svensson'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2012-03-19T09:11:47.806932Z'
login-session-id = '1'Starting thunar like this;
dbus-launch --exit-with-session exo-open --launch FileManager
does work, trash and auto mounting.
EDIT; tried this too; exec ck-launch-session dbus-launch startlxde - no dice with thunar, and no quit/reboot in quit menu. As far as I can understand /etc/X11/xinit/xinitrc.d/30-dbus isn't sourced either in my set up and according to https://wiki.archlinux.org/index.php/Xinitrc , it shouldn't be.
EDIT #2; googling thunar +trash -gvfs gives nil, same with thunar +trash +dbus. Well not nil but very few hits and none of them are useful.
EDIT #3; This in logs might explain everything;
(Thunar:5189): Thunar-DEBUG: weird, this should never happenYes, it's there! Funny, isn't it?
Last edited by swanson (2012-03-19 10:32:31)
Offline
Nice error message!
While getting rid of my login manager fixed the trash, it didn't fix auto mounting. I have thunar-volman installed and the config in preferences all set up right. I have a pipe menu for mounting flash drives but I still can't bring up CD contents (far easier to drag and drop into music files than to top using software!) So my thunar still isn't fully fixed.
EDIT:
I removed the .bash_profile part I set up to auto-start x on boot, and that seems to have fixed everything!
So apparently making X start without your input seems to stop auto-mount working in file managers (I tried Nautilus, Thunar and PCmanFM).
A mild inconvenience to type startx everytime I boot, but I guess I'll live with it for now. I'll mark this as solved but if there's a way to fix it and still start x automatically I'd love to hear it!
Last edited by Reded (2012-03-19 21:10:13)
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
Solved for me too, I think. Since changing from along time using slim, to lxdm, then to lightdm, and then back to slim, things got messed up. But today I edited /etc/xdg/lxsession/LXDE/autostart and back to the original setting;
@thunar --daemon
@xscreensaver -no-splashI now have trash and network and my interpretation is that thunar --daemon now is started within the lxde session. Mounting works too.
Last edited by swanson (2012-03-22 16:01:58)
Offline
I've been doing some searching around for something a bit lighter, and I discovered SpaceFM. It's a fairly new one (I think it started being made in January...) But it already seems to work great. It auto-mounts drives on it's own (Without gvfs!) So it doesn't need any of those processes running.
https://bbs.archlinux.org/viewtopic.php?id=133657
Last edited by Reded (2012-03-22 16:03:25)
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline