Show HN: Setup a fancy development environment ... on a linux system console
klaig.blogspot.be
klaig.blogspot.be
At work, I have a dual monitor setup, one of them with a browser, the other with a console running 'screen'. If I could have the same setup in a console I would.
On the other hand, I feel like font rendering is much nicer under X11, and the clipboard support is better.
Let's say you want to watch video. Download the video using a program designed for that. Then watch the video using mplayer which works fine with the Linux fb.
Same goes for photos. Download the photos quickly and efficiently using the command line and pipe them into a fb-friendly photo viewer.
There used to be this idea called MIME. Using separate programs to do separate things. Small simple programs that do one thing well. Mozilla has all but abandoned this concept. We all had to suffer through the hassle of Adobe Flash, only to finally admit it sucks and watch Adobe kill it. (.sfw = "small web file" - nice try guys)
And it now takes hours if not days for most consumer machines to compile Firefox. The compexity burden for a "modern web browser" is through the roof. The program is a monstrosity.
(And the codec jungle makes a simple video player like mplayer far too complex. We need some common sense here folks.)
I use gmail as my email manager, calendar, tasks, contacts, documents, and general organizer. That's why I haven't migrated to mutt or other console email client.
I agree that not all javascript is needed, but I wouldn't consider Gmail a gimmick
Several linux devs I know just Ctrl-Alt-F1 (or something else), screen, and there you have it.
mplayer for music, end of story
Use Mutt or Alpine for email
"@sep332 @Mateus Carruccio, idle powertop doesn't change after the customizations compared to the non-customized console. Starting a framebuffer web browser pops up 200 wakeups per seconds. Also I was surprised by how much the backlight influence this number : around 5w difference, and my wireless mouse 2-3w. "
It appears it was originally at 15.2W with X and went to 9.98W in non-customized console.
The screen brightness makes most of the difference.
Your backlight makes up most of that power usage at idle. Measure your idle desktop on X with the screen dimmed, otherwise it's not a useful comparison.
Screen and tmux can also help, both support vertical splits, tmux should do horizontal as well. Swapping between windows in a specific pane can give you a rough approximation of awesomewm or xmonad.
I also find the w3m console-mode browser to have better ergodynamics (mostly keybindings) than other console browsers. YMMV, but give it a shot.
Emacs, of course, is the original console windowing environment.
In addition to tmux, Vim, Mutt and zsh, two other must-haves for me in this sort of environment are ncmpcpp [6] for music and Vifm [7] for file browsing. Note that vifm is quite actively developed (I believe there'll be a new version out in the next month or so), and the older version in the Debian repositories is much less feature-rich.
When I need something more I'll switch over to i3 running in X, but depending on the needs at hand, I've found it's possible to do quite a bit without turning on X11.
Something I've been wondering about...would it be possible to run an fbcon environment like this alongside Mozilla's B2G? I'm thinking of small, inexpensive, low-powered ARM devices where you could toggle between a full-featured modern graphical web-browser and a fast, powerful text-mode development environment.
[1] http://sourceforge.net/projects/ctheme/
[2] https://news.ycombinator.com/item?id=4413794
The colors I use:
echo 0,152,96,144,72,128,88,168,48,192,112,184,96,192,120,160 > /sys/module/vt/parameters/default_red echo 0,32,112,104,92,104,104,160,48,96,164,144,128,96,164,180 > /sys/module/vt/parameters/default_grn echo 0,32,48,80,144,176,104,144,48,96,96,80,192,176,144,176 > /sys/module/vt/parameters/default_blu
[3] http://b79.net/fields/comp#mono-bitmap
[4] http://repo.or.cz/w/fbpdf.git
[5] http://repo.or.cz/w/fbpad.git