I installed LXDE, the lightweight desktop environment. I like it. Its light, fast, and has a most things to make it usable. I say most, not all.
It doesn't have a sound volume control on the panel by default. To add it, do:
Right click panel > Add remove panel items > Panel Applets > Add > Volume Control
After Gnome, which is a fat elephant wandering the plains, this thing is a cheetah sprinting in full stride.
I tried various fonts and font sizes with XTerm and recently I settled on Lucidatypewriter 12 with a window geometry of 90 x 24.
Here's how the line looks:
/usr/bin/xterm -font -b&h-lucidatypewriter-medium-r-*-*-12-*-*-*-*-*-iso8859-* -geometry 90x24
Here's a quick run down.
Launches the xterm application and gives the path.
Tells XTerm watch out, here comes the font I want.
Gives XTerm the font details.
Tells XTerm to use an initial size of 90 wide by 24 chars high.
You can try other sizes if ya like such as 100x20 or so. But 90x24 works well for me.
Decirlo En Ingles
The more you use mplayer the greater your appreciation of its power, simplicity, its raw beauty. Its such a fine piece, crafted with a clear philosophy to make it work and make it simple.
Occasionally I use totem, the default movie player with Gnome. Totem trips splutters and falls with some films. MPlayer merely inhales and breezes through them. Its such a great Movie Player.
If you want to watch a movie in a different language using mplayer, do:
mplayer -alang eng movie.avi
Will play movie.avi with eng language
If you want subtitles in spanish, do:
mplayer -slang spa movie.avi
Try it. You'll like it.
Parity Is Equality
aptitude install par2
Wrap It Up
To open/unwrap/unpackaged RAR files linux has developed unrar. Its probably already installed on your system. Check it out by typing
If you get a response such as
Its already on your system. If its not on your system you can download and install it using apt-get or aptitude:
aptitude install unrar
Dealing with WinRAR/RAR files is not a big issue.
To extract RAR files, do:
unrar e filename.rar
To list file contents:
unrar l filename.rar
To test file archive:
unrar t filename.rar
To print file to stdout
unrar p filename.rar
There are many switches to change unrar output.
Check out the man page
How Many Visits?
If you use blogger.com or blogspot.com, you can get an idea of the visits to your site with Google Analytics. Using blogger or blogspot you already have a Google account.
To check Google analytics for visit numbers to your blog, first log into your blogger account. In another browser window go to www.google.com/analytics and click "Access Analytics" or "Sign Up Now". As you're already signed into blogger, Google Analytics will display your email address and ask for your password. After entering password, you can check your blog statistics.
Must Be A Record
Continuing with the theme of Debian booting, I came across an old post at Engadget about a Debian boot in less than 1 second. Yes. Believe. The OS is embedded in the motherboard NAND flash chips.
I haven't rebooted Debian since I installed it a few weeks back. As Debian and Linux in general is so stable, the occasional boot is okay, even if it takes a few minutes. Its not like you have to do it every day or every other day.
I reckon it would be better suited to the Windows OS, which gets flaky if its been running for more than a couple of days. When I was running Windows 7, the slow down in performance and poor response would force me to reboot after a few days. Windows was getting as fast as a zimmer frame racer.
The constant reboots that Windows demands would be well suited to this motherboard.
Up 'n' Down
Debian Linux rarely needs rebooting. Its rock solid and runs for weeks, months, err you know the score. Debian in its current iteration runs ext3 file system. Ext3 is a Journal File system meaning data loss is minimized and fsck's are redundant, almost.
Debian by default runs file system check after a few months. Any how in the rare event you need to force an fsck, there are a couple of ways to do it.
Create forcefsck file in the root filesystem. You must be root user for this.
# touch /forcefsck
Force a shutdown, fsck and reboot.
# shutdown -Fr now
-F forces fsck on reboot
-r forces a reboot
Mount 'em Up
ISO and IMG files content can be accessed quite easily in Linux. First you need to connect the iso / img files to your files system. Just as USB pen drives / memory sticks need to be connected before you can use them. For USB storage, this is normally done automatically by the operating system.
Connecting iso / img files is called mounting. The term comes from the early days of computing as a method for old mainframe computers to connect storage media. In order to attach the data storage, they were first mounted on the mainframe.
To mount iso or img files create a mount point in /mnt, then mount it:
mount -o loop ./various.iso /mnt/newiso
Now cd into the newly mounted iso:
Media Player Par Excellence
If you've used MPlayer you'll know it needs to be configured before using. If you haven't used it, you're missing out on the best media player for Linux/Unix.
Config takes a few tweaks to get it going, but its worth the effort. Other movie players don't come close to mplayer. Its image rendering and stability are amazing. Mplayer can play almost every media file available. It tolerates broken mp4, wmv, avi, flv, and most others you throw at it, where most other media players choke.
First, if you're using the command line version, you need to pass mplayer the video output to use, if its not setup by default. You can do this by passing an argument:
mplayer -vo xv anyfilm.avi
mplayer -vo x11 anyfilm.avi
You can add the following to mplayer's config file:
The config file is located at $Home/.mplayer/config
Its dependent on the graphics card and driver installed on your system.
When you install True Type fonts in Debian, in fact any font, they are dumped into a shared directory in the /usr directory.
You can access them at:
Other truetype fonts are stored here too.
Fonts for X11 window system are located at:
If you need them at any time.
Pack It Up
If you run Debian and need to download, install, update, upgrade, remove, or search for software there's a good chance you use apt-get or aptitude. If you're an apt-get user give aptitude a try. Its as easy as apt-get and has additional benefits.
Before we go any further, its important you have the correct source files listed, added or appended in your /etc/apt/ directory. These must include your current Debian version and any contrib / non-free repositories you need.
Emacs is a great tool, and if you have a mind to endure a chastening experience then I can recommend nothing better than learning to use Emacs. Apart from the hours of frustration you will endure, you will have much fun along the way. Anyhow, what's life without a little frustration? It would not be the same.