Sunday, November 24, 2013

Stop the Cursor from Blinking

I have nothing against a blinking cursor myself, but some find it distracting. To stop Ubuntu’s cursor from blinking, open gconf-editor, navigate to /desktop/gnome/interface, and remove the check from cursor_blink. Then log out and back in again. Note that Evolution appears to ignore this setting, but most other applications will now have a still cursor.

Alternatively, by changing the value in cursor_blink_time, you can simply make it blink more slowly. A value of 5000 equates to five seconds—each unit is 1 ms. Be aware that a setting such as 5000 means the cursor will be visible for five seconds at a time and then invisible for the same length of time.

Closely Monitor the Power Consumption of a Laptop

Run gnome-power-statistics, and you’ll see a graph of the exact power usage of your computer over the time since it booted up (provided your computer’s hardware supports it). Try boosting the brightness of your screen or loading programs, and see how much of a drain they can be!

Saturday, November 23, 2013

Switch Monitor Resolutions with a Single Mouse Click

If you have an external monitor or projector you occasionally attach to a notebook computer, you might be used to switching resolutions on a regular basis. Unlike with Windows, this isn’t just a right-click procedure—you must navigate the System→Preferences menu.

A good solution is to use Synaptic to search for and install resapplet. For some reason, although it’s officially a GNOME applet, resapplet doesn’t appear on the standard applet list. Instead, it must be configured to start at login. To do this, click System→Preferences→Sessions, ensure the Startup Programs tab is selected, and click the Add button. In the Name and Command fields of the dialog box that appears, type resapplet. Leave the Comment field blank. Then close the dialog box, and log out and back in again.

The new icon will then appear beside Network Monitor in the notification area. Clicking it will reveal a list of possible resolutions from which you can choose. Incidentally, it should be possible to instantly step up and down resolutions by pressing Ctrl+Alt and tapping the +/- keys on the numeric keypad. Unfortunately, this doesn’t work on Ubuntu systems because of the way the graphical subsystem is configured. It may work on other Linux systems, however.


Add Cool New Visualizations to Totem / Rhythm Box

Both Totem and Rhythm Box include a funky animation that appears during music playback. Animations such as this are known as visualizations, but out of the box Ubuntu includes only one, rather than the hundreds found on the likes of Mac OS or Windows media players. However, you can add more to Ubuntu, for use in both Totem and Rhythm Box, by using Synaptic to search for and install the libvisual-0.4- plugins package.

Once the package has been installed, to change the visualization in Totem that appears when a music track is playing, click Edit→Preferences, select the Display tab in the dialog box that appears, and make your choice from the Type of visualization drop-down list. Your choice will take effect immediately,so drag the Preferences dialog box out of the way to preview it.

In Rhythm Box, click View→Visualization to start the animation, and then select from the drop-down list beneath the visualization.

See (and Reuse) the Most Recently Typed Commands

The command line includes a powerful history feature that can make life much easier. To see the recently typed commands, type history. This simply dumps to the screen a hidden file in your /home directory called .bash_history where up to 1,000 commands are recorded. Because this list will scroll off the screen when listed, it’s a good idea to pipe the output into a text reader, such as less:

$ history|less

To reuse one of your commands, at the command prompt type an exclamation mark (!; known as a bang in bash-speak) and then the number alongside the entry in the history list.For example,on my system, I noted when viewing the history list that the command cp /etc/ fstab ~/Desktop was command 591. To use it again, I typed !591 at the command prompt. If you ever need to simply repeat a command you’ve just used, type two exclamation marks—!!.

To actively rifle through your command history, hit Ctrl+r and then start typing the command in which you’re interested.The prompt will “auto complete” as you type. To use the command, hit Enter. To edit it before using it,hit Esc, and then make your changes.

Hitting the up and down cursor keys will also let you move through the most recently typed commands. Just hit Enter when you find the one youwanttoreuse.

Set Any Picture as Wallpaper with a Single Click

The easiest way of setting your own picture as a desktop wallpaper is to click and drag the image to the desktop using the middle mouse button (if the image is already on the desktop, then click and drag it a few inches to the left/right). On most modern mice, the middle mouse button is the scroll wheel, which also doubles as a third mouse button. On the menu that appears when you release the button, click Set as Background.

If that sounds a little too unorthodox for you (it can be hard to use the middle mouse button), you can also use Synaptic to install the nautilus-wallpaper package, which adds a simple Set as Wallpaper option to the menu that appears when you right-click an image file. After installation, you’ll need to log out and then in again before the option becomes visible.

Friday, November 22, 2013

Network app for Linux

Networking is a huge part of Linux and in order to be adept at it, one needs to know network apps. Here are a few that will tickle the brain cells and keep you sharp when the terminals are running.

Netscape

If you have the netscape installation, which you should, then, try running netscape on the X terminal. The problem though is that the versions of Netscape available right now are quite large and faulty. When you are not connected to the Internet, Netscape often stops working completely and looks as if it has hanged.

netscape -display host:0.0

If the machine that you’re working on has the permission to access and display on the ‘host’ machine, then run netscape on the one you are working on and transfer the output onto the machine called ‘host’.

lynx file.html

This is used when you are on the text mode and want to browse the internet from it, or if you want to view an html file.

pine

Local mail is mail that is sent by someone on your network to your computer. Pine reads this mail for you. You can also use Elm for this. You have Netscape for reading your email otherwise.

elm

As mentioned above, this does the same job as pine.

mutt

Quite aptly named, this is a fast and very useful mail reader. It is a basic app though.

mail

This is also a basic tool for emails and the commands mentioned above are much better.

licq

Icq clients are instant messaging clients. While this one is a good option, you can also go for kxicq. Older Linux distributions do not have icq clients installed in them.

talk username1

This is a network command that is used to talk to other users who are logged into the machine that you’re working on. You can use the command talk username1@machinename if you want to talk to someone on a different computer. Accepting a command is done through the ‘talk username2’. Rejecting a conversation is done through ‘mesg n’.

mc

Mc stands for Midnight Commander. It is used to launch the file manager.

telnet server

You us this command when you want to connect to a different machine using the TELNET protocol. One must have a login on the remote machine they are trying to connect to.

rlogin server

It stands for remote login and allows you to log into a remote machine. It uses the login id and password from your current session automatically and asks for a password in case the login fails.

rsh server

This does the same thing as the above command. It stands for remote shell.

ftp server

This command is useful for copying files to a remote machine or from it. In order to add extra features for graphical user interface, you can use ncftp.

Saturday, November 9, 2013

Linux Distribution

A Linux distribution is a collection of (usually open source) software on top of a Linux kernel. A distribution (or short, distro) can bundle server software, system management tools, documentation and many desktop applications in a central secure software repository. A distro aims to provide a common look and feel, secure and easy software management and often a specific operational purpose.
Let's take a look at some popular distributions. 
1.Red Hat
Red Hat is a billion dollar commercial Linux company that puts a lot of effort in developing Linux. They have hundreds of Linux specialists and are known for their excellent support. They give their products (Red Hat Enterprise Linux and Fedora) away for free. While Red Hat Enterprise Linux (RHEL) is well tested before release and supported for up to seven years after release, Fedora is a distro with faster updates but without support.
2.Ubuntu
Canonical started sending out free compact discs with Ubuntu Linux in 2004 and quickly became popular for home users (many switching from Microsoft Windows). Canonical wants Ubuntu to be an easy to use graphical Linux desktop without need to ever see a command line. Of course they also want to make a profit by selling support for Ubuntu.
3.Debian
There is no company behind Debian. Instead there are thousands of well organised developers that elect a Debian Project Leader every two years. Debian is seen as one of the most stable Linux distributions. It is also the basis of every release of Ubuntu. Debian comes in three versions: stable, testing and unstable. Every Debian release is named after a character in the movie Toy Story.
4. SUSE 
it is a paid version although the openSUSE version can be downloaded for free.
5. Linux Mint 
It claims to be the fourth most popular OS and it is easy to use with 30,000 packages.
6. Slackware 
It was released in 1993 making it one of the oldest Linux distributions. It is majorly dependent on command-line tools.
7. Gentoo 
First released in 2002, it offers "extreme configurability, performance and a top-notch user and developer community." It works on the Portage package management system which has over 10,000 different applications.
8. <"http://www.archlinux.org/">Arch Linux 
Arch’s simplistic design makes it a favorite among long-time Linux users. It installs a minimal base system and offers many options for customization.
9. Fedora 
This is free community version. It also has the standard desktop download which is available in many specialized versions as stated on datamation.com.
10. openSUSE
This free community version can be used on a desktop, laptop or server and can be installed or run live from a CD or USB drive. 
Distributions Based on Ubuntu-
11. Kubuntu
Kubuntu is a Ubuntu fork using the KDE desktop in place of the Unity desktop. 
12. Lubuntu
Lubuntu is lighter, faster, and consumes less energy making it a good choice for mobile devices like netbooks.
13. Xubuntu
This version of Ubuntu uses Xfce desktop environment for both desktop and server versions.
14. Edubuntu 
This is suited to meet the needs of schools.
15. Easy Peasy
Designed for use on netbooks, it has millions of users in more than 166 countries.
16. Zentyal
This is available for free, paid and supported versions. It is a Ubuntu-based small business server acting as a gateway, infrastructure manager, unified threat manager, office server and/or unified communication server. 
17. NewSense 
This has support by the Free Software Foundation and is based on Ubuntu with minor changes which include removal of non-free firmware. 
18. Pinguy OS 
This is for new Linux users. Pinguy OS makes it easy to search and use the programs average users. It also has a DVD version for $5.99.
19. Bodhi Linux 
This is focused on user choice and minimalism. It makes use of the enlightenment desktop environment and a "software store" making it easy to locate and install the open source applications.
20. MoonOS 
This is developed in Cambodia (English is supported) and based on Ubuntu. It has a different file hierarchy system and appshell framework. 
Distributions Based on Debian
21. MEPIS 
This is also called simplyMEPIS and is especially popular with new Linux users. You can download it for free or buy a CD that will make testing and installation of software easy. 
22. CrunchBang 
It is a lightweight distribution working on Debian.
23. Knoppix 
It is good for newbies and is an easy-to-use distribution based on Debian. It is available in CDs for less than two bucks.
24. DreamLinux 
This can be installed on your desktop as well as run from a USB drive. It installs the Xfce desktop environment by default and supports Gnome.
Distributions Based on Red Hat/Fedora
25. Mandriva 
It is a publicly traded French company and has over 3 million users worldwide. It has several editions which include desktop and server, paid and unpaid, and a unique Instant On version that boots up with minimal functionality in less than 10 seconds.
26. CentOS
This is the short form for Short for "Community ENTerprise Operating System". It is based on Red Hat code. It's used in 30 percent of Linux-based Web servers.
27. Scientific Linux 
This is aimed at preventing scientists at each of these different institutions from recreating a Linux distribution to meets their needs.
28. Fusion 
It offers multimedia support and has an interesting look and feel. This is ideal for more advanced Linux users.
Distributions Based on Mandriva
29. Unity 
It is built to offer developers or advanced Linux users certain modular pieces that can be used for creating customized distribution.
30. Mageia 
This is a community-driven fork with some ownership changes at the company that owns the Mandriva project. It's currently in beta stages and due for release in a few weeks time.
Distributions Based on Slackware
31. ZenWalk
This has become better over time into a modern, fast, lightweight distribution that's simple to use. This is present in five versions - standard, core, live, Gnome and Openbox.
32. Vector Linux 
It is availablefor free download as well as in a supported "deluxe" edition.
33. Frugalware 
This is ideal for users who don’t fear command line, it has certain graphical tools which are with simplicity in mind.
34. Salix OS 
This is available in four different versions for the Xfce, LXDE, Fluxbox and KDE desktop environments.
Distributions Based on Arch Linux
35. Chakra 
This is based on ArchLinux and uses KDE desktop. 
36. ArchBang
This variant utilizes the Openbox Window Manager and is fast as well as lightweight.
37. Sabayon 
This is based on Gentoo and supports KDE, Gnome, LXDE and Xfce desktop environments.
Distributions Based on Cloud Computing 
38. Joli OS 
This can be installed within 10 minutes and is optimized for cloud computing applications. 
39. Peppermint 
It is created for both cloud and Web apps. It is based on Lubuntu.
Lightweight Distributions
40. aLinux 
Earlier it was known as Peanut Linux. It is designed to be quick as well as multimedia-friendly. 
41. DSL 
It is a small OS at just 50MB. It is very fast and runs on older PCs. It can fit onto small USB drives and business card CDs.
42. Tiny Core Linux 
Among the smallest ones it weighs just 10MB in its GUI version. Its command line version, the Micro Core, is even smaller.
43. Puppy Linux 
It is small and quick and can be installed on a USB thumb drive that you can carry with you. It occupies 100 MB and gets booted in less than a minute. It runs from RAM for maximum speed.
Windows-Like Distributions
44. Zorin OS 
It was meant to look and feel as much like Windows as possible. It is faster and doesn not have many bugs. This is available in both free and paid versions.
45. Ylmf OS 
Its interface is similar in appearance to Windows. It's available in either Chinese or English and based on Ubuntu.
Other Distributions
46. GoboLinux 
This does not make use of the Unix Filesystem Hierarchy Standard but keeps each program in its own sub-directory in the Program directory. 
47. PCLinuxOS 
It is easy to use and can run a Live CD or installed on a desktop or laptop. It can support seven different desktops, including KDE, Gnome, Enlightenment, XFCE, LXDE, and others.
48. MeeGo 
It is based on Intel's Moblin and Nokia's Maemo. It can be used on netbooks and other mobile devices as well. 
49. Chrome OS/Chromium OS 
The "Chromium OS" is the open source version for developers and "Chrome OS" is the operating system that Google plans to include on netbooks for end users. 
50. Musix GNU+Linux 
Musix is made for multi-media enthusiasts especially those involved in audio editing. 
Which to choose ?
When you are new to Linux in 2012, go for the latest Ubuntu or Fedora. If you only want to practice the Linux command line then install one Ubuntu server and/or one CentOS server (without graphical interface).
         redhat.com
         ubuntu.com
         debian.org
         centos.org
         distrowatch.com


Linux history

All modern operating systems have their roots in 1969 when Dennis Ritchie and Ken Thompson developed the C language and the Unix operating system at AT&T Bell Labs. They shared their source code (yes, there was open source back in the Seventies) with the rest of the world, including the hippies in Berkeley California. By 1975, when AT&T started selling Unix commercially, about half of the source code was written by others. The hippies were not happy that a commercial company sold software that they had written; the resulting (legal) battle ended in there being two versions of Unix in the Seventies : the official AT&T Unix, and the free BSD Unix.

In the Eighties many companies started developing their own Unix: IBM created AIX, Sun SunOS (later Solaris), HP HP-UX and about a dozen other companies did the same. The result was a mess of Unix dialects and a dozen different ways to do the same thing. And here is the first real root of Linux, when Richard Stallman aimed to end this era of Unix separation and everybody re-inventing the wheel by starting the GNU project (GNU is Not Unix). His goal was to make an operating system that was freely available to everyone, and where everyone could work together (like in the Seventies). Many of the command line tools that you use today on Linux or Solaris are GNU tools.

The Nineties started with Linus Torvalds, a Swedish speaking Finnish student, buying a 386 computer and writing a brand new POSIX compliant kernel. He put the source code online, thinking it would never support anything but 386 hardware. Many people embraced the combination of this kernel with the GNU tools, and the rest, as they say, is history.

Today more than 90 percent of supercomputers (including the complete top 10), more than half of all smartphones, many millions of desktop computers, around 70 percent of all web servers, a large chunk of tablet computers, and several appliances (dvd- players, washing machines, dsl modems, routers, ...) run Linux. It is by far the most commonly used operating system in the world.

Linux kernel version 3.2 was released in January 2012. Its source code grew by almost two hundred thousand lines (compared to version 3.1) thanks to contributions of over 4000 developers paid by about 200 commercial companies including Red Hat, Intel, Broadcom, Texas Instruments, IBM, Novell, Qualcomm, Samsung, Nokia, Oracle, Google and even Microsoft.