Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-08-2013, 01:48 PM
|
#1
|
Member
Registered: Jun 2008
Posts: 399
Rep:
|
No Trash or automount in Thunar under Fluxbox
After installing a fresh 14.1, I get no Trash or automount of usb drives in Thunar. I use Thunar with Fluxbox. This used to work perfectly on 13.37 (didn't try it with 14.0 I'm afraid). I found the following post, which suggests some modifications to ~/.xinitrc
http://www.linuxquestions.org/questi...es-4175418186/
However, as the post above suggests this issue was already fixed in 14.0, yet I don't seem to have any ~/.xinitrc at all, I'm wondering if the advice contained in the post above still applies. Was this supposed to be fixed in 14.1, or maybe the fix is different in 14.1?
Edit: Actually, I've discovered that editing ~/.xinitrc as per the above post doesn't seem to work in 14.1. Am I missing something else? My user is member of the following groups: disk, lp, dialout, audio, video, cdrom, plugdev, power, netdev, scanner, users. Should I add any other groups?
Last edited by xj25vm; 12-08-2013 at 01:54 PM.
|
|
|
12-09-2013, 03:23 PM
|
#2
|
LQ Newbie
Registered: Dec 2013
Posts: 1
Rep: 
|
Hi.
About the trash i added in ~/.fluxbox/startup the entry:
/usr/libexec/gvfsd-trash &
I don't use automount, but check your /etc/fstab. If your device is listed in it, make sure that the option comment=x-gvfs-show is available. Otherwise Thunar don't show that device.
I hope this can help you.
|
|
|
12-09-2013, 05:43 PM
|
#3
|
Member
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910
Rep:
|
I have trash on thunar but can't empty it.
I use KDE so I use dolphin and it works perfect..
Pcmanfm works good also.
|
|
|
12-10-2013, 02:40 AM
|
#4
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Quote:
About the trash i added in ~/.fluxbox/startup the entry:
/usr/libexec/gvfsd-trash &
|
Thanks kk75 - but that doesn't seem to do it on my box. Are you on a stock Slackware 14.1 install?
Quote:
I don't use automount, but check your /etc/fstab. If your device is listed in it, make sure that the option comment=x-gvfs-show is available. Otherwise Thunar don't show that device.
|
I don't think the above applies to my question. I wasn't asking about automount in general. Thunar can do its own volume management. At least it used to, in Slackware 13.37. I never had to add any entries in fstab.
|
|
|
12-10-2013, 09:32 PM
|
#5
|
Member
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380
Rep:
|
I tend to use dolphin with 14.1 (on my laptop) as I like the ability to split the screen and haven't noticed anything. I use thunar with 14.0 on my tower and haven't noticed anything either. I'll upgrade my tower in the next few days and see if I notice the same thing happening. I use fluxbox on both of my machines.
|
|
|
12-11-2013, 10:18 PM
|
#6
|
Member
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272
Rep:
|
Xfce (and Thunar) is used udusks/udisks2 to automount in conjunction with gvfs-mount. Also, I think you need to run at startup of your WM the xfce4-volumed plugin.
|
|
|
12-12-2013, 04:31 AM
|
#7
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Thanks yars. I have started xfce4-volumed daemon and confirmed it is running. I have checked that I have udisks and udisks2 installed. I can see that gvfs is available when I run mount:
Code:
# mount
/dev/mapper/lukssda4 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sda1 on /boot type ext4 (rw)
tmpfs on /dev/shm type tmpfs (rw)
gvfsd-fuse on /home/seb/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=seb)
Yet still no automount in Thunar.
Edit: I'm starting to wonder if I shouldn't investigate this further on the XFCE mailing lists. Maybe they can help with hints as to what Thunar needs in order to automount volumes.
Last edited by xj25vm; 12-12-2013 at 04:33 AM.
|
|
|
12-12-2013, 06:01 AM
|
#8
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
Maybe take a look at the xinitrc file for xfce, it's in the xfwm4 package I think. Don't know if you might need the ck-launch-session line from there to make automount work.
|
|
|
12-12-2013, 06:19 AM
|
#9
|
Member
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272
Rep:
|
Please check out for needed libraries for gvfs, xfce4-volumed, udisks, maybe you does not have one or more of libraries? Also, have you any messages from these packages in ~/.xsession-errors or from Thunar when it is running via terminal emulator?
UPD: I think ck-launch-session is not a reason that automount won't work, I don't know as you.
Last edited by yars; 12-12-2013 at 06:40 AM.
|
|
|
12-12-2013, 07:34 AM
|
#10
|
LQ Veteran
Registered: May 2008
Posts: 7,178
|
On my dwm setup, the first time thunar is started after login there is no "Wastebasket" in the Places side panel. if I exit and restart thunar then the second time it runs it manages to launch a gvfsd-trash daemon and there is then a Wastebasket.
Might be an idea to look around at some alternative file-managers that still work correctly as standalone programs. With each new xfce version, it seems that thunar is becoming increasingly tied to its parent desktop environment, or components thereof.
Haven't noticed any issues with volume mounting though.
Last edited by GazL; 12-12-2013 at 07:37 AM.
|
|
|
11-01-2016, 09:47 AM
|
#11
|
Member
Registered: Jun 2008
Posts: 399
Original Poster
Rep:
|
Finally solved!
Only 3 years later I've finally managed to find the reason for this! The following Fluxbox config file ~/.fluxbox/startup has changed at some point in time, and not only has it become a proper bash script (it didn't use to be), but has the following lines in it:
Code:
# Start DBUS session bus:
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval $(dbus-launch --sh-syntax --exit-with-session)
fi
The lack of above was what was stopping automount and Trash from working properly in Thunar. Because I was copying over all my own settings when upgrading and overwriting any default files - I never had the new lines in my startup script. In case anybody else is in this same boat! :-)
Last edited by xj25vm; 11-01-2016 at 09:49 AM.
Reason: spelling
|
|
|
All times are GMT -5. The time now is 04:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|