You are not logged in.

#1 2014-01-04 19:14:17

sejtn4u
Member
Registered: 2013-05-30
Posts: 14

[SOLVED] BSPWM: internal paritions not visible in thunar

Hi,

I have another problem with bspwm. When I use bspwm there are no internal partitions visible in thunar side bar under "devices", only File system, Places, Network.

I start bspwm using slim and I do "exec dbus-launch bspwm" in my .xinitrc. I've also tried without dbus-launch, but no luck.

In other WMs everything works fine, I can see internal partitions of my hdd in thunar.

Last edited by sejtn4u (2014-01-04 21:53:04)

Offline

#2 2014-01-04 20:35:23

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED] BSPWM: internal paritions not visible in thunar

Please post your entire ~/.xinitrc.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#3 2014-01-04 20:51:44

sejtn4u
Member
Registered: 2013-05-30
Posts: 14

Re: [SOLVED] BSPWM: internal paritions not visible in thunar

Here you go:

#!/bin/bash

# settings

hsetroot -fill /home/zenio/Pictures/arch-gray.jpg &
([[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources) &
synclient SingleTapTimeout=80 &
synclient MaxDoubleTapTime=200 &
synclient PalmDetect=1 &
synclient VertEdgeScroll=1 &
syndaemon -t -k -i 2 -d &
xset s off -dpms &
xset m 8 10 &

# my apps

xcompmgr &
conky -c /home/zenio/.conkyrcBS &
(sleep 2 && parcellite -n) &
sxhkd &
xsetroot -cursor_name left_ptr &
export PATH=$PATH:/home/zenio/.config/bspwm

# WM

exec dbus-launch bspwm
#exec dbus-launch herbstluftwm
#exec dbus-launch snapwm
#exec dbus-launch spectrwm
#exec dbus-launch i3
#exec dbus-launch awesome

Offline

#4 2014-01-04 21:05:51

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED] BSPWM: internal paritions not visible in thunar

I'm guessing you are launching thunar from sxhkd. The problem is that you aren't running sxhkd under dbus-launch which means that it doesn't have the DBUS_SESSION_BUS_ADDRESS environment variable set. You can either (a) start sxhkd from bspwm or (b) start dbus-launch at the beginning of your xinitrc file (instead):

eval $(dbus-launch --sh-syntax --exit-with-session)

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#5 2014-01-04 21:36:07

sejtn4u
Member
Registered: 2013-05-30
Posts: 14

Re: [SOLVED] BSPWM: internal paritions not visible in thunar

Thanks a lot, you are right again. Funny how simple is this solution, so simple, that I feel dumb...

Is it ok to start sxhkd from bspwmrc like I do now? Should I kill it when I quit bspwm or is it not necessary?

Offline

#6 2014-01-04 21:39:10

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED] BSPWM: internal paritions not visible in thunar

Personally, I would just start dbus at the beginning of the xinitrc file. You can start sxhkd from your bspwmrc but then you'll need to make sure that you don't start it a second time if you restart bspwm.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#7 2014-01-04 21:52:24

sejtn4u
Member
Registered: 2013-05-30
Posts: 14

Re: [SOLVED] BSPWM: internal paritions not visible in thunar

Alright, I will do as you say, no need to complicate it.

I appreciate your help and hopefully it was my last problem with bspwm.

Offline

Board footer

Powered by FluxBB