You are not logged in.
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
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 awesomeOffline
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)Offline
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
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.
Offline
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