[[2022-05-17]] ==2022-05-17 00:23==
sudo chown username:username .Xauthority
ls -lah /tmp
drwxrwxrwt
sudo chmod 1777 /tmp
reinstall the desktop manager like GDM,lightDM etc #### Xorg
to solve the problem like black screen or loop login etc reqires the reconfiguration of the Xorg-xserver
for that use this command sudo dpkg-reconfigure xserver-xorg
======= ==2022-05-17 00:20==
with dwmbar the cpu uses is touching its picks and that thing i don’t like ### solution to solve this i am trying to get the dwmblocks of Bugswriter
get repo
run make and you may get this error 🔽
[[Pasted image 20220518015013.png]]
solving this we get this
use this
okh now the error is fixed
So first know what is error about
-lX11
The path to solve this is we have to do the maual compilation of an C language file and that is very easy
command for compilation is gcc dwmblocks.c -lX11 -o dwmblocks
▶ gcc as in-build compiler, dwmblocks.c file to compile, -lX11 is lib adding manually during compilation, -o to get output with, dwmblocks as name of output file
edit the config file according to required blocks
NOTE📌 : cp the dwmblocks file to the /usr/local/bin so it can run from any where
take the dwmbloks script form lukesmith voidrice build use this
add bar scripts in the /usr/local/bin this path is given in the documentation of dwmblocks
now you are ready to run
gcc dwmblocks.c -lX11 -o dwmblocks