You are not logged in.

#1 2012-03-17 23:23:24

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

[Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#2 2012-03-17 23:37:27

bananas4370
Member
From: Warwick QLD Australia
Registered: 2011-10-25
Posts: 27

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

Put dbus-launch into your ~/.xinitrc file

Like this.

exec ck-launch-session dbus-launch openbox-session

Linux Counter: #478369
Don't fix it if it ain't broken, don't break it if you can't fix it.

Offline

#3 2012-03-17 23:55:05

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#4 2012-03-17 23:59:11

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

Offline

#5 2012-03-18 00:04:13

bananas4370
Member
From: Warwick QLD Australia
Registered: 2011-10-25
Posts: 27

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

Reded wrote:

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.

GVFS and trash issue

How are you starting thunar? If you are starting it as a daemon in ~/.config/openbox/autostart

thunar --daemon

then 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

#6 2012-03-18 00:04:25

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#7 2012-03-18 00:16:59

bananas4370
Member
From: Warwick QLD Australia
Registered: 2011-10-25
Posts: 27

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#8 2012-03-18 01:42:38

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

No worries! It's an issue that doesn't bother me daily so I'm fairly patient on waiting for the solution wink


"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

#9 2012-03-18 10:35:37

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#10 2012-03-18 15:02:43

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

Again it seems a bit awkward to do that everytime I want to open my files, AND it creates multiple dbus-session processes sad


"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

#11 2012-03-18 15:40:02

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

--exit-with-session should fix that, I think.

Offline

#12 2012-03-18 15:42:15

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#13 2012-03-18 16:14:03

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#14 2012-03-18 16:44:21

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#15 2012-03-18 16:50:51

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

Exactly, only thing I've found online to fix it is to install gvfs tongue

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 big_smile


"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

#16 2012-03-18 19:07:03

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#17 2012-03-18 20:16:41

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

exec ck-launch-session startlxde

Does not help.

Offline

#18 2012-03-18 21:07:37

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

I'm not using lxde I'm using Openbox as standalone tongue

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

#19 2012-03-19 08:22:39

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

What login manager? I'm using slim.

Offline

#20 2012-03-19 08:39:06

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#21 2012-03-19 08:41:01

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

Seat 1 active and local.

Offline

#22 2012-03-19 09:22:28

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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 $wmpid

Sessions:

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 happen

Yes, it's there! Funny, isn't it?

Last edited by swanson (2012-03-19 10:32:31)

Offline

#23 2012-03-19 14:34:44

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

#24 2012-03-22 15:52:19

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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-splash

I 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

#25 2012-03-22 16:02:21

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Semi-Solved] Thunar - No trash/drives on left-hand panel

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

Board footer

Powered by FluxBB