Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Abh15h3k opened this issue Mar 11, 2020 · 13 comments

Comments

@Abh15h3k
Copy link

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
Copy link
Contributor

Are you sure that is urxvt? Looks like ST?

@vladdoster
Copy link
Contributor

I can almost guarantee it is this issue.

#284

@vladdoster
Copy link
Contributor

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

@Abh15h3k
Copy link
Author

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 Abh15h3k reopened this Mar 11, 2020
@Abh15h3k
Copy link
Author

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

@Abh15h3k Abh15h3k changed the title urxvt crashed when trying to open i3blocks config using vim/nano st crashed when trying to open i3blocks config using vim/nano Mar 11, 2020
@Abh15h3k Abh15h3k changed the title st crashed when trying to open i3blocks config using vim/nano st crashed when trying to open i3blocks config using vim/nano (installing fonts not fixing issue) Mar 11, 2020
@LukeSmithxyz
Copy link
Owner

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
Copy link
Author

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
Copy link
Author

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

PS: Great project

@LukeSmithxyz
Copy link
Owner

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
Copy link
Owner

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

@Abh15h3k
Copy link
Author

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

@LukeSmithxyz
Copy link
Owner

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
Copy link
Author

Abh15h3k commented Mar 12, 2020

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 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants