Do It In The Terminal

Terminal Options

Working in a terminal can be easily done in your full blown Desktop Environment or Window Manager by just starting up one or more terminal sessions. Here are some suggestions:

  • In GNU/Linux or *BSD start your default terminal in Gnome, KDE-Plasma, XFCE, etc., and you’re off and going.
  • In Windows 10 go to the Microsoft Store and search for one of the Linux-based subsystems available there (Ubuntu, Debian, Kali, SuSE, or OpenSUSE), install, and then run it. In Ubuntu, Debian, and Kali you can install any of the terminal apps using “sudo apt-get install appname“. In SuSE or OpenSUSE use “sudo zipper install appname“.
  • Start multiple terminals and drag them into a grid or lined up along one edge of your screen.
  • Install an alternative terminal program such as Terminator or Tilix which allows you to run a terminal that can be easily split vertically or horizontally with a couple of mouse clicks (these will not work in Windows).
  • Install tmux and run it inside your default terminal to easily split the screen into sectors (use Ctl+b then % to split vertically and use Ctl+b then ” to split horizontally). Note that with tmux your session will usually continue running in the background even if you accidentally close it, allowing you to recover the session and continue what you were working on. This is very handy when working on remote systems and protects you from losing your work when the connection fails. You can also start a session on one computer, move to another computer and reconnect to the session you were previously working on. Note that tmux will run in any of the Windows-based GNU/Linux subsystems but you will lose any background jobs if the main window is closed.

Another option is to use a “tiling” Window Manager as an alternative to Gnome or KDE-Plasma. A tiling WM will open programs side by side, automatically tiled so that no desktop space is wasted and your windows are not overlapping. These can help you work more efficiently when most of your work is done in terminals. Popular tiling Window Managers are i3 (or i3wm), Awesome, xmonad, and Ratpoison. For example, open a new terminal in i3 is as easy as pressing Super + Enter (keybindings are easily changed in the i3 config file).

Terminal Applications

Most of the applications mentioned below can be installed from your OS’s package manager. Of course you can also download the source code from the projects’ repositories or websites and compile from scratch.

Since all of these applications work within a terminal session they can also be used across a network, or even across the Internet, through an ssh session.

Navigation / File Management:

  • Midnight Commander – Usually called “mc” in most repos. Run the program by typing mc at the command line and pressing the enter key. MC is one of the oldest and simplest to use file managers for the command line. The colors can make it a little difficult to read on some screens or with some color schemes. Start the program with “mc -b” to run without color.
  • Ranger – a VIM-inspired file manager that use VI keybindings. For vi/vim users this file manager can really fly but you don’t have to know any of VIM the shortcuts to use it. Type “ranger” and press enter to start it up and roll through your files and folders with ease. Ranger will “preview” text files and PDFs in the right column. Press enter on a file and Ranger will load it up in VIM. You can change the default editor in Ranger’s config file to anything you want (such as nano or emacs). Ranger allows use of custom keybindings so you can create shortcuts such as “mp” to move selected files to your Pictures directory or “ug” to upload selected files to your Github account. Things can get really streamlined using Ranger
    • You can also add image and video previews in Ranger. As your scrolling through your file listings image previews are generated on the fly and displayed in the right column. To add the preview ability you’ll need to also install w3m-img and add “set preview_images true” to your config file to enable this. Enabling video previews is almost as easy, but check the wiki for exact details.

Tasks / To Do

  • todo.sh – this command line based todo manager will let you create tasks, prioritize them, assign them to projects, assign tags, and stores all the data in text files so you can read them with any text editor. Store them in Dropbox or NextCloud and access them from any computer with access. They also have smartphone apps so you can sync and manage your todo list on the go.
  • taskwarrior – similar to todo.sh but with even more features and will keep a timer running on tasks that you’ve started. Add tasks by typing “task add” followed by the task description. Type “man task” for an easy to follow man page on how to get the most of out this.
  • timewarrior – similar to taskwarrior but all about time management.
  • calcurse – handy full screen (terminal size) calendar program that has features for keeping appointments and a task list.

Web Browsers

  • w3m – the one with the most features, w3m will display inline images (if w3m-img is installed) and seems to render today’s websites very well (support tables, frames, color, and SSL connections)
  • lynx – the oldest text-based web browser still in acitve development.
  • There are others but most have problems with HTML 4 support, limited functionality, or are no longer maintained.

Email

  • mutt and neomutt – One of the most featureful text based email clients. Neomutt is a separate project with extra features but all current Mutt code is constantly integrated into Neomutt’s code. Most new features developed in Neomutt are eventually sent upstream to Mutt.
  • Alpine – a rewrite of the original Pine Message System. It is a project at the University of Washington and is still in active use.

Chat and Social Networking:

  • irssi (IRC chat client) – around since 1999, this has always been the goto IRC client for users working in the terminal. Configuration is beyond the scope of this document. Please see their documentation to get started.
  • rainbowstream (Twitter client) – this is a Python app and can by installed using “sudo pip install rainbowstream” as long as you have Python installed on your OS.
  • There isn’t much out there for Facebook, Google+ due to limited or restricted APIs. If you find something let us know!

Skype does video now!

I’ve been using Skype at work for a while to talk long distance with our company’s programmer in the UK and it seems to work pretty good so far. Today I came across this article on LA Times website that announces that Skype now does video too, and better than it’s competitors…

Video Phone Calling is Starting to Look Better

I don’t run Skype all the time, but if you want to add me to your Skype buddy list I’m “probasix” there, just as I am on Yahoo, AIM, and MSN.

Terry

One to beam up…

James Doohan, the Canadian actor who portrayed Scottish chief engineer Montgomery Scott on Star Trek, made his final voyage today at the age of 85. He was still making his way as a “Miracle Worker” at age 80 when his wife gave birth to their daughter, Sarah. His last public appearance was in October 2004 when he received a star on the Hollywood Walk of Fame. His wife, Wende, of 28 years was by his side when he passed on to the final frontier.

He will be missed by many people across several generations. My thoughts are with his family, friends, and fellow fans. May his legacy live long and prosper.

A few news articles if you want to know more (can you tell I rely mostly on the BBC for my news?):

BBC NEWS | Entertainment | TV and Radio | Star Trek’s Scotty dies aged 85: Doohan, whose role was immortalised in the line “Beam me up, Scotty”, had been suffering from pneumonia and Alzheimer’s disease, his agent said.

BBC NEWS | Entertainment | TV and Radio | Obituary: James Doohan: Star Trek’s impact became apparent when he was awarded an honorary doctorate in Engineering from the Milwaukee School of Engineering, after half the students there said that Scotty had inspired them to take up the subject.

BBC NEWS | Have Your Say | Star Treks’s Scotty: Your tributes

PEACE.

Trekking Vegas

I just recently returned from one of the funnest weekend trips of my life. A few years ago I had gone to Las Vegas with a few friends and talked them into making a side trip to the Las Vegas Hilton for one purpose: To ride Star Trek: The Experience — a live-action simulation of being kidnapped by Klingons from the future, transported to the Enterprise, and then evacuated by shuttle craft back to Earth. In my opinion more fun than Star Tours at Disneyland. Afterward we ate lunch in Quark’s Bar & Restaurant where I realized I needed my friend Joan to experience all of this with me someday.

Finally, Joan and I made plans to attend Creation‘s 3rd Annual Official Star Trek Convention at the Las Vegas Hilton (coverage by TrekNation). We arrived via United Express on Friday morning and spent the entire weekend watching some of our favorite celebrities speak on stage to an audience of around 3,000. Many of the fans were dressed like their favorite character in their Federation uniforms, or as Klingons, Borg, Andorians, or Ferengi. We even saw a Jedi Knight who said his powers wouldn’t work in this universe.

We started the weekend with George Takei, saw several other celebrities throughout the weekend, and ended it with a dual appearance by Shatner and Nimoy. In between speakers we wandered around the convention room where there were booths selling any kind of sci-fi trinket, weapon, picture, or action figure you could think of. Celebrities of other sci-fi tv shows were also there getting in on the action (like Richard Keil of James Bond movies, and Herb Jefferson Jr of Battlestar Galactica). In the evenings Joan and I hit some of the casinos like Paris, MGM Grand, the Luxor, and we even saw the water show in front of the Bellagio. Saturday night we nearly walked ourselves to death and then decided (ok, needed) to get some root beer floats before returning to our regeneration chamber.

Every day was as fun as the last and I can’t wait to do it again. Maybe next year.

(This was originally posted at the main page of my website on August 3rd. I reposted here on August 17th so that it will be included later in my blogger archive.)