Deathemonic / Cat-Dots

🍚 Soothing pastel theme Rice
148 stars 2 forks source link

black screen #6

Closed R0ttCyph3r closed 10 months ago

R0ttCyph3r commented 10 months ago

I am using virtual box with bspwm installed with ly display manager. I had some customization and it was working fine but after i rebooted it is not working.

Deathemonic commented 10 months ago

I've been getting this issue but I can't seem to replicate it in my end. Try launching a terminal inside bspwm or another window manager and run this command.

bash ~/.config/cat-configs/bin/system/autostart.sh

And see if polybar runs or the wallpaper change if not it's probably a dependencies problem.

R0ttCyph3r commented 10 months ago

image

this is a fresh install i have done

R0ttCyph3r commented 10 months ago

Screenshot 2024-01-14 203410

this was one error i got when installing your script

R0ttCyph3r commented 10 months ago

i hope this helps in fixing things

Deathemonic commented 10 months ago

I see the problem now it's because the user-dirs.dirs file is not in the config folder

Try making a file with a name user-dirs.dirs in your ~/.config folder

This is what you put the the file:

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
XDG_CONFIG_DIR="$HOME/.config"
XDG_CACHE_DIR="$HOME/.cache"
Deathemonic commented 10 months ago

After that run

xdg-user-dirs-update

Then try to login back to bspwm

R0ttCyph3r commented 10 months ago

Thanks man it is working now

Deathemonic commented 10 months ago

https://github.com/Deathemonic/Cat-Dots/commit/c86d2d0303151918b4e280fd83488be5ac370f6b

R0ttCyph3r commented 10 months ago

I installed a new vm to check if the script works fine now but the issue still persist because the of these 2 lines not being added:

XDG_CONFIG_DIR="$HOME/.config"
XDG_CACHE_DIR="$HOME/.cache"

add these to ~/.config/users-dirs.dirs

Deathemonic commented 10 months ago

https://github.com/Deathemonic/Cat-Dots/blob/main/misc%2Fhome%2F.config%2Fuser-dirs.dirs#L9-L10