Some problems for installing bspwm on freebsd

osenberg

New Member

Reaction score: 3
Messages: 10

After sudo pkg install bspwm, bspwm said it's configure file in $XDG_CONFIG_HOME/bspwm/bspwmrc, but I found XDG_CONFIG_HOME enviroment variable is null. How to fixed it? What is XDG_CONFIG_HOME?
1615437706930.png
 

vigole

Daemon

Reaction score: 1,465
Messages: 1,275

It's X aka XDG config directory. If you don't have a .config directory in your home, create one:
mkdir $HOME/.config

Set the var in this session:
export XDG_CONFIG_HOME="$HOME/.config"

To make it permanent: add this to

~/.profile:
Code:
XDG_CONFIG_HOME="$HOME/.config"; export XDG_CONFIG_HOME

Footnote: I'm not familiar with bspwm, but x11-wm/i3 has similar concept i.e. .config. Read more at i3(1)
 
Top