Making Your Terminal into a Desktop
The Value of Screen
There are several possible reasons why you might choose to use the command line interface (CLI) as your desktop environment. For one thing, it uses less electricity, so you could maximize battery life on your laptop computer. Secondly, it forces you to think about your operating system and directory structure in a totally different way than a GUI does; this could greatly enhance your understanding of GNU/Linux and cause you to be more creative in your technological problem solving. And thirdly, everyone will think you're a supreme computer genius for ditching X11 for the CLI. People passing by your desk will think you're some kind of computer god. Who doesn't want that?
Here's how to set up your virtual terminal to be more productive for desktop work.
If you're going to do any serious work in the command line, the first program you should familiarize yourself with is GNU Screen. Basically it is a window manager for the command line; it allows you to run and manage several terminal instances within one virtual terminal. Sure, you could just use ctrl-alt-F keys to switch to other virtual terminals, but after you memorize two commands in Screen and see how quickly you can jump to other windows, you'll be hooked:
|Screen basic commands|
|Start new window:||ctrl-a c|
|Select specific windows:||ctrl-a 0 through 9|
Exiting a screen window is as easy as ending a terminal session--just type in
exit and press enter, and the window will exit. To quit Screen entirely, exit all of its windows.
Screen takes commands in two sequences, so if you want to open a new window, you would hold down the ctrl key and press a, then release both keys and press c. Those familiar with the "finger yoga" of Emacs commands will be right at home with Screen.
There's much more to Screen than just these commands--these are only the basics, to get you started--see the Screen manual page for more options.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative