fbterm probs/solutions

Forum rules
Share your brain ;)
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: fbterm probs/solutions

Unread post by machinebacon » Wed Feb 26, 2014 5:22 pm

post your .fbtermrc please :)
..gnutella..

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: fbterm probs/solutions

Unread post by ChefIronBelly » Wed Feb 26, 2014 6:11 pm

http://pastebin.com/YRWyW5BY

I think I took this right from Spring Edition. The thing is they look great until I do the fbcolor then it looks like a old CRT screen that's on its last leg.

ps I looked at the last IDE release and this is consistent there too.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: fbterm probs/solutions

Unread post by wuxmedia » Wed Feb 26, 2014 6:13 pm

pixel font IIRC are a bit of a bugger with fbterm, i think on this very thread, i sort of explained how to do it... I knew I had 'clear' or 'fixed' running, I think its very specific about how they are called from fbterm - let me check.

OK, I think the fonts listed as fc-list prints them work well -
hint, instead of editing the conf, blah, logout, repeat - run the fonts parameters as an argument of the script.
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: fbterm probs/solutions

Unread post by machinebacon » Wed Feb 26, 2014 6:29 pm

replace the line 9: "Inconsolata" with "Terminus" or "FreeMono" -- this is the only thing I can think of. maybe use size=14 there.
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: fbterm probs/solutions

Unread post by machinebacon » Wed Feb 26, 2014 6:32 pm

By the way, add this line:

Code: Select all

alias font='fc-list|cut -d ':' -f 1|cut -d '/' -f 7 | grep ttf'
to your ~/.bash_aliases, start "bash" again and enter "font"
These are the ones you can try to use in .fbtermrc
Last edited by wuxmedia on Wed Feb 26, 2014 6:46 pm, edited 1 time in total.
Reason: fixed missing single quote.
..gnutella..

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: fbterm probs/solutions

Unread post by ChefIronBelly » Wed Feb 26, 2014 7:30 pm

Thanks for looking guys I will check these things and report back.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: fbterm probs/solutions

Unread post by ChefIronBelly » Thu Feb 27, 2014 9:41 pm

Ok finally got a chance to dig back into this and have some results.

using this to speed through all the terminus sizes 12-19 ... thanks wux

Code: Select all

fbterm-bi ~/images/333333.png -n 'terminus' -s 19
Here are a couple screengrabs clipped so you can see how fine they are.
red2.png
red2.png (4.77 KiB) Viewed 5136 times
tango.png
tango.png (4.83 KiB) Viewed 5136 times
There is something that is still not right. This is the only way I could produce those results.

Running the above code and then from framebuffer, fbcolors to change colors. The colors wouldn't change/stick but if I ran links2 -g and then exit the colors would be there.

So some progress need to nail down the last bit will look at my DISPLAY value again even though I did export DISPLAY=":0" ... echo $DISPLAY.

Anyway thanks for your help.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: fbterm probs/solutions

Unread post by wuxmedia » Thu Feb 27, 2014 10:00 pm

the colour thing is a know bug, sometimes it works, It worked for me first time, then it didn't work.
the work-around is essentially what you did. Switch buffers over.
I think the link to the devs page is in my first post in this topic.

looks pretty sweet to me!
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: fbterm probs/solutions

Unread post by ChefIronBelly » Thu Feb 27, 2014 11:15 pm

wuxmedia wrote:the colour thing is a know bug, sometimes it works, It worked for me first time, then it didn't work.
the work-around is essentially what you did. Switch buffers over.
I think the link to the devs page is in my first post in this topic.

looks pretty sweet to me!
It's been a few days since I read that dev link that's were I pulled the - export DISPLAY=":0". I guess I was thinking toss this in the fb script so it was set each run and it would take care of the bug.

Those fonts look a million times better :)
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: fbterm probs/solutions

Unread post by machinebacon » Fri Feb 28, 2014 4:40 am

So the problem was the font size? Maybe we should open a thread where we put in 'known fb fonts and sizes', makes it easier :)
..gnutella..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: fbterm probs/solutions

Unread post by GekkoP » Fri Feb 28, 2014 10:09 am

When I was playing with fb, font size made huge differences.

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: fbterm probs/solutions

Unread post by ChefIronBelly » Fri Feb 28, 2014 2:14 pm

For me size doesn't matter :) (that's what she said)

It was the framebuffer bug workaround as best as I can tell. I will continue to investigate so far it is the same in Fedora and I will check other distributions.

When I get it all sorted out I will post up some fonts and sizes and my results in a new thread.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: fbterm probs/solutions

Unread post by DebianJoe » Fri Feb 28, 2014 2:28 pm

For what it's worth:
I've got a few workarounds for different things located in ye' olde .fbterm-bi script. What always blows my mind is that from one install to the next, I end up with totally different issues. On rsi, I had color-edges around some of my text from the previous colorscheme. On malgus, it was that the right hand side of a tmux-session didn't agree with zsh as to how many columns they should take up (RPROMPT started too far to the right). NEVER does it "just werk" (tm).

Feel free to shoot us some fun workarounds for issues you have Chef, Dog only knows I'll probably have them sooner or later.
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: fbterm probs/solutions

Unread post by machinebacon » Fri Feb 28, 2014 3:10 pm

Maybe there is also a relation between these problems and the libjpeg62 or libjpeg8 packages. Wild guess. If fbv is built from source, -62 is needed. I don't know if additionally having the -8 installed does anything good/bad.
..gnutella..

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: fbterm probs/solutions

Unread post by ChefIronBelly » Fri Feb 28, 2014 8:44 pm

TBH I haven't spent so much time in the unstable/experimental ville. That has be wondering about rev levels and such. I know when I compiled the fedora ver of fbv it complained about a png lib ver, so I just removed it and use jpeg.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: fbterm probs/solutions

Unread post by machinebacon » Sat Mar 01, 2014 2:49 am

I think (!) that fbv is in the repos (at least in rpmforge or so), so you could try with that. libpng is quite important if you want to have, well, png's as background.
..gnutella..

Post Reply