browse windows share with thunar (arch + i3)
Hi,
I cannot access windows shares with thunar. System: fresh Arch + i3. Installed "gvfs" and "gvfs-smb". Arch wiki states that I can access windows shares with smb://<server name>/<share name> in thunar after installing gvfs-smb. All I got after clicking the network symbol in thunar is:
Failed to open "/ on". Operation not supported.
Do I need any other package? Did I miss something?
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 2pd2ca
5 comments
D-Bus is a message bus system, a simple way for applications to talk to one another. In addition to interprocess communication, D-Bus helps coordinate process lifecycle; it makes it simple and reliable to code a "single instance" application or daemon, and to launch applications and daemons on demand when their services are needed.
about the wiki: the wiki suggest that you use the .xinitrc from the /etc/skel folder. using that skel file to execute X will load dbus-launch.
Thanks for your enlightened reply.
So this is the .xinitrc from /etc/skel:
Since I dont see any dbus statement, I guess xinitrc.d is somehow related to dbus? I think I should read about that.
basically the for loop execute the files inside xinitrc.d
if you will take a look at what's inside /etc/X11/xinit/xinitrc.d you will find a file called 30-dbus.
can you guess what that script is for? ;)
I just went through this the other day. The wiki and the forums are insistent that simply installing gvfs-smb will give you that functionality, however there is definitely a missing piece. I'm assuming i3 is getting launched from .xinitrc - if so, replace
with
Hopefully that works for you.
EDIT: Ha, just saw your follow-up post. I have now idea why you have to do it this way. My guess is that the gvfs methods are exposed via dbus, and launching i3 in a regular shell doesn't give it the appropriate access to those APIs.
Ok, so I modified my .xinitrc:
I can access the windows shares now. Can anyone explain to me why I need to add an explicit dbus launch and why I didnt find any Info on that in the arch wiki (Im not bitching, just asking politely)?