Clit Buffer Buffet

Forum rules
This is the place to share your Roast! Please read the sticky and follow the scheme there.
User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Clit Buffer Buffet

Unread post by DebianJoe » Mon Jul 08, 2013 3:46 pm

Recipe: Clit Buffer Buffet

Chef: DebianJoe

DE/WM: NO!!!!

Difficulty: *** hard

Preparation time: 1 hour, 30ish minutes + tweaking time for everything later.

Purpose: light, but highly pimped out Framebuffer w/ multiplexing

Notable packages (list)
- tmux, gdm, fbterm, fbv

Starting point: Debian Netinstall (for the purists) CliT for those who want to save time and use zsh.

Instructions:

Assuming that you're starting from nothing, and want to make a Sid Netinstall start at step 1, if using Clit, Boner, Virgin, or another pre-configured cli base, goto step 4:

Step 1: Plug up the ethernet cable, and install Debian. Figure out your own partitioning setup. You will reach a screen that says "Software Selection" and here you want to uncheck everything other than "Standard system utilities." Use the spacebar to uncheck stuff. Complete installation.

Step 2: Reboot (because the Debian installer is going to make you) and then log in at tty1. Edit /etc/apt/sources.list (as root, probably with nano at this point) to the following:

Code: Select all

deb http://http.us.debian.org/debian/ unstable main contrib non-free
deb-src http://http.us.debian.org/debian/ unstable main contrib non-free 
Save the changes and:

Code: Select all

sudo apt-get update
sudo-apt-get dist-upgrade
Step 3: When upgrade completes, append to /etc/apt/sources.list:

Code: Select all

deb http://ftp.debian.org/debian/ experimental main contrib non-free
and once again:

Code: Select all

sudo apt-get update
Step 4: Reboot again. Grab a few packages from apt-get (some are already in CliT and Boner):

Code: Select all

sudo apt-get install tmux
sudo apt-get install build-essential
sudo apt-get install fbterm
sudo apt-get install gpm
sudo apt-get install libjpeg-dev
sudo apt-get install libpng12-dev
sudo apt-get install git
Git isn't TOTALLY necessary, as you could technically wget the tarballs and manually unpack them, but I'm going to use git anyhow...so might as well use it here.

Step 5: Pull the files that are needed for fbv and build it.

Code: Select all

git clone https://github.com/godspeed1989/fbv
cd fbv
./configure
make
mkdir /usr/local/man/man1/
make install
Step 6: Make a bash script to lock the framebuffer background in before launching fb-term. Save it as fbterm-bi and use chmod to make it executable.

Code: Select all

#!/bin/bash
 
# fbterm-bi: a wrapper script to enable background image with fbterm
# usage: fbterm-bi /path/to/image fbterm-options
 
echo -ne "\e[?25l" # hide cursor
 
fbv -ciuker "$1" << EOF
q
EOF
 
shift
export FBTERM_BACKGROUND_IMAGE=1
exec fbterm "$@"
Step 7: Get a Wallpaper that you want to use. Save it in whatever directory, but I like to not have to give a long path. When you log in to whatever tty, use "fbterm-bi /home/<user>/nameofyourwallpaper.png" to launch your new, highly-pimped out framebuffer, with mouse controls and then launch tmux in one window, dvtm in another, link2 -g in another....whatever makes you happy.

Step 8: Pimp out your framebuffer. Get mplayer and watch movies in it. Find amazing cli applications and love them.
Image
Image
Image
Say NO to x11.

-joe

(Edit: Since the first time I did this, godspeed1989 pulled libungif out of fbv as a dependency. This is the greatest thing ever, because building that from deprecated source was like pulling teeth. I owe that guy a beer for his work.)
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Clit Buffer Buffet

Unread post by rhowaldt » Mon Jul 08, 2013 5:56 pm

great stuff, thanks for posting this Joe!
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

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

Re: Clit Buffer Buffet

Unread post by wuxmedia » Mon Jul 08, 2013 6:26 pm

yummy!
cheers Joe
"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: Clit Buffer Buffet

Unread post by machinebacon » Mon Jul 08, 2013 11:00 pm

Joe, I love you. Thanks for this recipe.

Edit: if there's interest, I can make a framebuffer-only release (after finishing Gangbang and a certain secret spin that will cause a lot of controversy) -- seems that a handful of people would like it ;)
..gnutella..

User avatar
slartie
Grump
Posts: 416
Joined: Tue Jun 18, 2013 12:35 pm
Location: Denmark
Contact:

Re: Clit Buffer Buffet

Unread post by slartie » Mon Jul 08, 2013 11:52 pm

*evil mode*

Everything is happening as I have foreseen.

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

Re: Clit Buffer Buffet

Unread post by DebianJoe » Tue Jul 09, 2013 5:59 am

Glad that you guys appreciate it.

When I started using this kind of a setup, it was to force myself to focus on learning Python without distractions. I'd kick up PTHW in w3m on the right, put an interpreter on the top, open up emacs under that...and actually get stuff done without playing around. Even with X, I now use the exact same methods for trying to learn new things. Distractions are what prevent us from actually making progress:
Image

Plus, Framebuffers are fun to do normal things in. Bring on the no-X distro MB!
|>>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: Clit Buffer Buffet

Unread post by machinebacon » Tue Jul 09, 2013 6:33 am

@Joe: you can pick the release name then ;) related to food or sex
..gnutella..

User avatar
gurtid
Uninstaller
Posts: 239
Joined: Thu Oct 18, 2012 7:53 am

Re: Clit Buffer Buffet

Unread post by gurtid » Tue Jul 09, 2013 6:51 am

1. I'm not dj

but I have a suggestion

2. cream pie

kills both requirements with one stone :o :)
The Beaver Destroys Forests

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

Re: Clit Buffer Buffet

Unread post by DebianJoe » Tue Jul 09, 2013 7:24 am

gurtid wrote:2. cream pie
LOVE IT! Hopefully not so closely related to RaspPi as to cause confusion. Otherwise, "Beef Curtain!"
Not for the faint of heart.
|>>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: Clit Buffer Buffet

Unread post by machinebacon » Tue Jul 09, 2013 7:50 am

Hahaha, Creampie :D

I also love the names Beef Curtain, and Mushy Biscuit. Thanks for the dictionary ;)
..gnutella..

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Clit Buffer Buffet

Unread post by ivanovnegro » Tue Jul 09, 2013 4:32 pm

What the heck, Cream Pie, awesome!

User avatar
Sector11
Sperminator
Posts: 193
Joined: Mon Aug 19, 2013 4:15 am

Re: Clit Buffer Buffet

Unread post by Sector11 » Tue Aug 20, 2013 9:48 pm

If I only had two computers.
I am THE resident noob, hands down no discussion. ... and
I wear my soap on a rope.

User avatar
chilli
Compiler
Posts: 114
Joined: Thu Jan 24, 2013 7:07 am

Re: Clit Buffer Buffet

Unread post by chilli » Wed Aug 21, 2013 3:27 am

If you would like to add some class, elegance and associated wining and dining to this command line interface terminal buffer buffet...

Satin Sheet Sorbet would be my suggestion.

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: Clit Buffer Buffet

Unread post by bones » Mon Oct 07, 2013 7:12 pm

As /dev/fb0 is the new black, I am doing a fresh Debian netinstall this AM, no X. Then I'll pimp it out following these guidelines.

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

Re: Clit Buffer Buffet

Unread post by GekkoP » Mon Oct 07, 2013 7:13 pm

^ funny coincidence, I'm about to do the same using Tiny.

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: Clit Buffer Buffet

Unread post by bones » Mon Oct 07, 2013 7:17 pm

^I had thought of using Tiny, but already have a Debian netinstall disk lying around here at work, so I opted for that, instead.

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

Re: Clit Buffer Buffet

Unread post by DebianJoe » Mon Oct 07, 2013 7:46 pm

Either option works. Also, cross reference to this thread for issues that me and wux may have already figure out answers to.

(it is all happening as Slartie had foreseen...)
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

User avatar
slartie
Grump
Posts: 416
Joined: Tue Jun 18, 2013 12:35 pm
Location: Denmark
Contact:

Re: Clit Buffer Buffet

Unread post by slartie » Fri Oct 11, 2013 12:10 am

Joe, all the work to rid the world of kaydee's and gnomes are coming to fruition.

Soon the rebel scum will have to kneel!

Point the DeathX towards their precious planet and show them the true power of the dark side.

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

Re: Clit Buffer Buffet

Unread post by GekkoP » Fri Oct 11, 2013 1:38 pm

I got it. I used a Debian netinstall, and now everything is working. Soon a screenshot of this beauty. Thanks for this recipe.

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: Clit Buffer Buffet

Unread post by bones » Wed Nov 06, 2013 9:17 pm

DebianJoe wrote:
Step 6: Make a bash script to lock the framebuffer background in before launching fb-term. Save it as fbterm-bi and use chmod to make it executable.

Code: Select all

#!/bin/bash
 
# fbterm-bi: a wrapper script to enable background image with fbterm
# usage: fbterm-bi /path/to/image fbterm-options
 
echo -ne "\e[?25l" # hide cursor
 
fbv -ciuker "$1" << EOF
q
EOF
 
shift
export FBTERM_BACKGROUND_IMAGE=1
exec fbterm "$@"
Step 7: Get a Wallpaper that you want to use. Save it in whatever directory, but I like to not have to give a long path. When you log in to whatever tty, use "fbterm-bi /home/<user>/nameofyourwallpaper.png" to launch your new, highly-pimped out framebuffer, with mouse controls and then launch tmux in one window, dvtm in another, link2 -g in another....whatever makes you happy.
OK, I'm hung up at trying to get a framebuffer background. Followed these directions, although not sure about properly making the "fbterm-bi" script. I did "chmod +x fbterm-bi". Correct?

When I enter tty, then type "fbterm", seems OK and good. When I then "fbterm-bi /home/john/Pictures/monochrome/wallpaper-44228.jpg" I get "command not found."

Where did I lose it?

Post Reply