Author Topic: Usb drives not auto mounting  (Read 4383 times)

0 Members and 1 Guest are viewing this topic.

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: Usb drives not auto mounting
« Reply #30 on: 08. May 2016, 05:50:49 »
Using dbus-launch Thunar works for me, but I am not satisfied with the solution as it does not answer the question: Why does Thunar work in Xfce but not Openbox?

Needs more investigation IMO.

Offline emninger

  • Vollwertiges Mitglied
  • ***
  • Posts: 138
  • I'm new. Be nice!
  • Branch: 16.04 open-rc
  • Desktop: JWM
  • GPU Card: nvidia
  • GPU driver: no
  • Kernel: linux 4.4.8-1-Manjaro x86_64
  • Skill: Novice
Re: Usb drives not auto mounting
« Reply #31 on: 10. May 2016, 10:22:17 »
@viordiasko, I've just found it out myself that I can edit the thunar.desktop file to Exec=dbus-launch thunar %F
This way obmenu-generator will create the entries with this command. Only the top menu entry needs to be edited in schema.pl, as you wrote.
aaditya will be happy about the solution.

Hi, great solution! I had your same identical problem, when i tried to substitute pcmanfm (which i do not really like) with thunar. Now it's fine.

Just 2  questions:

When i start (from the run command) thunar with the '%F' option it laments about the directory not existing. Without, all is fine.

It is sufficient, to start - in the startup options of your desktop manager, jwm here - thunar as a daemon, i.e.: 'dbus-launch thunar --daemon' . Then you can start thunar without the dbus-launch command. BUT: you do not get the usb devices displayed as icons but with the name of the dire(ctory whereto they're mounted (in /run/media). Why that?
« Last Edit: 10. May 2016, 10:29:10 by emninger »

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Usb drives not auto mounting
« Reply #32 on: 10. May 2016, 10:28:45 »
Hi,
no dbus-launch thunar --daemon didn't help at all. But there have been some Xfce updates recently, maybe s.th. changed or will change, because more updates might come.
The run command doesn't need %F or maybe a location ~/ after %F. Don't know much abuth these %F.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline emninger

  • Vollwertiges Mitglied
  • ***
  • Posts: 138
  • I'm new. Be nice!
  • Branch: 16.04 open-rc
  • Desktop: JWM
  • GPU Card: nvidia
  • GPU driver: no
  • Kernel: linux 4.4.8-1-Manjaro x86_64
  • Skill: Novice
Re: Usb drives not auto mounting
« Reply #33 on: 10. May 2016, 10:30:56 »
Hi,
no dbus-launch thunar --daemon didn't help at all. But there have been some Xfce updates recently, maybe s.th. changed or will change, because more updates might come.
The run command doesn't need %F or maybe a location ~/ after %F. Don't know much abuth these %F.

As you see, i corrected my msg:

Code: [Select]
dbus-launch thunar --daemon works. But with the restriction of not displaying the usb icon ...

In any case, for some reason, thunar seems to be much more sensitive than pcmanfm: When i try to open a certain device i'm prompted that the device couldn't be opened because of a corrupt structure (which is correct by itself; it's a dd of a corrupted boot device). Pcmanfm opens it and allows to copy the not corrupted files (???)


« Last Edit: 10. May 2016, 10:40:20 by emninger »

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Usb drives not auto mounting
« Reply #34 on: 10. May 2016, 10:50:35 »
Thunar is designed to work with Xfce, that's the primary focus of the developers. PCmanFM is designed and has been tested in different environments.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline emninger

  • Vollwertiges Mitglied
  • ***
  • Posts: 138
  • I'm new. Be nice!
  • Branch: 16.04 open-rc
  • Desktop: JWM
  • GPU Card: nvidia
  • GPU driver: no
  • Kernel: linux 4.4.8-1-Manjaro x86_64
  • Skill: Novice
Re: Usb drives not auto mounting
« Reply #35 on: 10. May 2016, 10:55:04 »
Thunar is designed to work with Xfce, that's the primary focus of the developers. PCmanFM is designed and has been tested in different environments.

Yep ... :) (But thunar has a great past in crunchbang, eg. ... :) ).

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: Usb drives not auto mounting
« Reply #36 on: 18. May 2016, 16:17:50 »
The dbus-launch Thunar method is not ideal in my opinion, because launching Thunar that way seems to spawn multiple gvfsd processes which keep on running in the background even if Thunar is closed (can be checked via task manager).

If anyone has a proper fix for this let me know.