LukeSmithxyz / voidrice

My dotfiles (deployed by LARBS)
GNU General Public License v3.0
4.26k stars 1.21k forks source link

st crashed when trying to open i3blocks config using vim/nano (installing fonts not fixing issue) #496

Closed Abh15h3k closed 4 years ago

Abh15h3k commented 4 years ago

just setup i3 using larbs.sh I was just going through the config files and when i tried to vim/nano the i3blocks config file urxvt just crashes. i am able to open it using xterm and other terminal emulators.

then i copied the config file to my home folder and i was able to open it with vim/nano. then i tried to edit a copy of the config in the same directory and crashed I tried to edit another file in that directory and i was able to.

here's the link to a imgur video showing the issue. idk why but the quality is lower on imgur than on my pc.

https://i.imgur.com/qqPxfmR.mp4

vladdoster commented 4 years ago

Are you sure that is urxvt? Looks like ST?

vladdoster commented 4 years ago

I can almost guarantee it is this issue.

https://github.com/LukeSmithxyz/voidrice/issues/284

vladdoster commented 4 years ago

It's crashing because i3blocks config has emojis which it cant render. Always look at closed issues before opening a new issue :).

Abh15h3k commented 4 years ago

Oh. my bad. this is i was watching his YT video on urxvt and then i found my self running larbs. just assumed it was urxvt.

Thanks Alot

Abh15h3k commented 4 years ago

Ok. so i tried to install all the fonts. ttf-symbola keeps failing to install with yay or git clone and makepkg -si. ttf-symbola-free did not fix the issue.

then i installed ttf-symbola by downloading the symbola.zip using a curl command from the aur site. installed successfully. still the issue persists.

also i logged out and in after installing/uninstalling the fonts

LukeSmithxyz commented 4 years ago

Run yay -S libxft-bgra, that's the actual fix. Looks like the programs script isn't being parsed correctly leaving off the required AUR programs.

I'll have it patched in a bit.

Abh15h3k commented 4 years ago

umm, one more thing. ducksearch ( mod + F12 ) is not working. i'm assuming its one of your scripts that should be in .local/bin. its not there

Abh15h3k commented 4 years ago

well i'm closing this issue now. yay -S libxft-bgra fixed it.

PS: Great project

LukeSmithxyz commented 4 years ago

Okay, great. If that AUR program failed to install, these might've as well, so you might want to install them too with yay:

nerd-fonts-inconsolata
ranger-git
gtk-theme-arc-gruvbox-git
brave-bin
sc-im
python-ueberzug
task-spooler
simple-mtpfs

Most of them aren't 100% necessary though. As for F12, I think I had removed that binding, but I guess it might be still in the documentation (which is a little out of date, by the way).

LukeSmithxyz commented 4 years ago

Okay, the underlying problem should be solved now. LARBS should always ship with libxft-bgra until the patch is in the default libxft.

Abh15h3k commented 4 years ago

the F12 binding is not just in the doc. its there in i3/config

LukeSmithxyz commented 4 years ago

By the way, there is another little error I took care of, but you might have it since you just downloaded.

Where $USER is your username, run the following:

chown -R $USER:wheel /home/$USER/.local

Then just rerun the LARBS script (will just take a second since all the programs are already installed).

There were some permission problems that may or may not have affected recent installs.

Abh15h3k commented 4 years ago

Ok. I did that and i remembered something. the binding mod+Shift+Escape was not working. (to exit i3 in my case ). so i just added the binding in i3/config. but might want to update larbs. ( cause after re-running larbs the binding i added got overwritten )