Transparent Console-Programs For Linux I Use.

Posted on October 18, 2006 in Linux

So far my favorite transparent consoleprograms are:

midnight commander:

Just start it like this in a transparent terminal:

mc -b

Full credit goes to the ingenious tami, she was kind enough to share this fabulous hint. Have a look at her site, she has also some very beautiful screenshots and more useful tips here: http://tamilinux.wordpress.com/2007/02/16/fvwm-crystal-feat-patagonie/

ninjam:

A realtime music collaboration software

edit cursesclient/cursesclient.cpp:

start_color();

use_default_colors(); <-- add this line after the existing start_color();

init_pair(1, COLOR_WHITE, COLOR_BLUE); // normal status lines

jdkdrum:

A command-line drummachine, reads simple ascii-patterns from stdin. you can also start it in interactive mode.

raggle:

A console RSS aggregator, written in Ruby . Oh yes, did i mention the vi-like navigation ? Then i do it now :)

in your ~/.raggle/config.rb

do a %s/Ncurses::COLOR_BLACK/-1/g

well almost, i swapped one palettepair from the defaultconfig, and now its nearly perfect :)

I also set 'browser' to firefox (i know, elinks should be here :)) so change that to your liking in my config.rb (change .txt to .rb)

CurseTheWeather:

We all love weather, don't we :)

Edit CurseTheWeather-0.3/ctw:

curses.start_color() curses.use_default_colors() <-- Add this line, you almost know the trick :) curses.init_pair(1, curses.COLOR_WHITE, curses.COLOR_BLUE)

centericq:

i prefer bitlbee in cooperation with weechat now

elinks:

console-based browser, you can compile it with spidermonkeysupport, a JavaScript C library, so it is the only transparent textbrowser i know which supports googlemail for example :)

You can assign almost everything to any key. There is a special searchable keybinding manager to not get lost in the sheer infinite capabilities in the art of keybinding. Of course i modeled mine after vim :) There is also an exmode available, you have to compile it with --enable-exmode as the gentoo-ebuild does not provide this essential to survive feature, bugreport is underway :)

Some useful settings:

Document/Browsing/Forms/Confirm submission/0

Document/Browsing/Forms/Insert mode/0

Document/Browsing/Images/Display links to images w/o alt/0

rxvt-unicode:

i start the daemon urxvtd and connect with the following command (i use wmii, transparency did not worked with the perl tabs to me and i dont really need tabs anymore thanks to the wounderful world of screen :)):

urxvtc -tr

See my hints for tabs and clickable links, but be warned, the tabs dont support transparency (wmii/dwm)...

aterm:

No Unicode, thats why i use rxvt-unicode, but this is for sure the the lightest terminal with transparency supported.

Just start like:

aterm -tr

Or you can add aterm*transparent:true to your ~/.Xdefaults

conky:

Systemmonitor, audacious and mpd support, hm maybe i switch to mpd then :)

htop:

interactive process viewer:

kill, nice, incremental search, strace and view processes as tree, show kernelthreads... you can setup meters as bar, text, graph or led, very impressive.

gift/giFTcurs:

A OpenFT, Ares, FastTrack, Gnutella, Gnutella2 daemon/client

mldonkey/netcat:

A eDonkey, BitTorrent, Gnutella, Gnutella2, FastTrack, OpenFT daemon. I use it with netcat (ok, mostly with the webinterface, but this is all about minimalistic transparency :)). Netcatlink to the original, of course you can also use telnet, netcat6, gnu-netcat, socat, cryptcat, nmap-ncat, sbd, pncat... go search for the client to your liking :)

museek+/mucous:

Soulseekdaemon/client, just start in a transparent terminal. Mucous is ncurses-based and so far one of the most complex ncurses-programs i have seen. right-clickable context menues, chat-room-list, clickable tabs, but of course you can operate this fine peace of software only with your keyboard.

nanodc:

an ncurses-based client to the DC++ network, it uses the DC++ client core and is therefore fully compatible.

For gentoo users, its in the sunrise overlay

rtorrent:

Enter, tabcomplete to your torrentfile, cursor up to select the torrent, ^S to start downloading, thats it :)

Check this excellent tutorial.

vim:

Well what can i write here, it's all about the keysteering, thats another goal of mine, to control my whole desktop vi-like. i already switch, move and resize windows like this (hail to dwm), scroll firefox hjkl-like with the keyconfig-plugin and this ingenious keybindings with

vimperator: you like vim, you like firefox ? then this is a must have.

I would wipe out midnight commander if the vimcomanderscript wouldn’t be so damn slow, and vifm does not have the comfort of mc and is also slower. I would almost die for vimlike keybindings in mc, so when someone has an appropriate solution, please give it to me. I don't mind to press the functionkeys and controlkeys, but grapping to the cursorkeys is a very big workflowkiller as i have to move my hand from the standard-typing position. As i work almost on a laptop, even small error corrections with my thumb on my mousepad, like moving floating windows for example, are not as bad as reaching the f... cursorkeys because my elbows stay almost always at the same place, but only one grab to the cursors and i have to move my whole right shoulder, elbow, arm and also hold it in the air, so my right arm is blocked for this time and i cannot fluidly switch tasks. Another present from god would be a pdf-reader with vi-like keybindings... but hey, people can fly, so maybe one day this will be possible too :)

weechat/bitlbee:

i use now bitlbee in favor of centericq:

/server bitlbee im.bitlbee.org 6667 -auto -nicks Nick1 Nick2 Nick3
register <passwd>
account add msn <account> <passwd>
account add oscar <account> <passwd> login.icq.com/login.oscar.aol.com
account add yahoo <account> <passwd>
account add jabber username@gmail.com <passwd> talk.google.com:5223:sslaccount on

identify <passwd>
set private false

Now the explanation: First i tell weechat to autoconnect to bitlbee when starting weechat, you get redirected to your bitlbee channel. In this channel you register the nick you joined the bitlbee network (either Nick1, Nick2, or Nick3). Then you add your accounts, for icq/aol choose the appropriate server. Then you connect all accounts to bitlbee, after that the only thing you have to do when you start weechat is to type identify <passwd>.

With set private false you get all messages in the mainwindow, there type nick: to talk to somebody in your list.

Works like charm, serverside buddylists for all networks, no need to rename ID's to nicknames. For further information type help in your bitlbee channel, to clear the window type /cl. Have to find out howto connect to the gadu gadu network, i guess i have to register to a jabber-server which has a gadu-gadu transport, but i don't know how for the moment.

some servers like testing.bitlbee.org have ssl-support through port 6668, just enter that port and type /set bitlbee.server_ssl = on

xmms2:

Server/Client architecture, audioscrobbler/last.fm-plugin, written in ruby, is included.

millions of clients, but not one nice consoleclient :)

ok there is nyello, as if i need another cli-client :) ok, have to be more tolerant here, lets see what the future shows.

So mpd and ncmpc move up closer and closer to me :) (If there would not be amarok, its grotoes slow but the comfort is capital and altough this is chill, after a few hours of play it is not more.)

One big plus of xmms2: .cue cuesheet support which mpd does not have.

maybe some day i find out how to ged rid of the black background of x2cp

mpd/ncmpc/lastfmproxy/lastfmsubmitd:

I think my search for an consolebased solution whith most of last.fm features is over:

layman -a mpd <-- for lastfmsubmitd/lastmp (tried mpdscribble, but it doesn't scrobbled last.fm-streams for me complaining that the song is too short)

layman -a zugaina <-- for lastfmproxy

So to have everything working you have to start all of this :

/etc/init.d/mpd start

/etc/init.d/lastfmproxy start

/etc/init.d/lastfmsubmitd start (in gentoo you have to do a chown lastfm /etc/lastfmsubmitd.conf)

/etc/init.d/lastmp

mpd --update-db updates your database

For playing streams in the m3u-format directly from the net i have this solution:

First create this script and make it executable (you need to emerge mpc for this to work):

#!/bin/bash mpc clear cat $1 | mpc add mpc play

Then associate your browser to open all .m3u endings with this script.

More useful hints about mpd you can find here (German only). Btw: i tend to use the mpc-client bundled with mpd

rexima:

A simple Mixer for the console, cursesbased, most important: you can select channels with j+k and adjust volume with h+l :)

obexftp:

Transfer files from and to your cellphone via bluetooth

To receive files from your mobile simply start the server with:

obexftpd -c /tmp -b

Then add the OPUSH handler:

sdptool add --channel=10 OPUSH

If for some reason you can't connect with your mobile, delete this directory:

rm -r /var/lib/bluetooth

Now send your files from the menu of your mobile and you receive them in your tmp-directory

remind:

consolebased calendar, see here.

youtube-dl:

Well, not much to say here, download youtube videos from the command-line

emerge youtube-dl

archmage:

with this little handy program you can view *.chm files, it replaced completely xchm for me.

archmage -p 1234 some/interestingtext.chm

now connect with a textbrowser to port 1234, for example:

elinks http://localhost:1234

and voila, you can read *.chm files at the console.

For you gentooers out there, there is an ebuild at bugs.gentoo.org

surfraw:

search the web from the commandline, currently supports 72 searchengines, some examples:

sr leodict some_english_word_i_dont_understand

This opens leo.org in elinks (you can of course specify your favourite browser) and translates the word for me into the german language. Of course you can set your own language:

sr leodict -help

shows you all options for this! searchengine.

This is the best commandline-translating-solution i have, i made an alias leo="sr leodict" and mapped quiting elinks without confirmation to a lowercase q instead of the default uppercase one.

You can also search wikipedia, ebay, google, imdb, /. ...:

sr -elvi

shows you all available searchengines and webservices.

powertop:

reduce the consumption of power by following the suggestions for your computer