Showing posts with label knoppix. Show all posts
Showing posts with label knoppix. Show all posts

Saturday, November 13, 2010

How to resize pictures in Knoppix command-line

Here's a short how-to to reduce the size of picture files downloaded from a digicam, to prepare the picture files for upload to Facebook or other social network sites.

One word: Mogrify.

sudo apt-get install imagemagick

after the package installs, go to the folder containing the images you want resized, and go ahead to resize all the pictures to your preferred size, mine being 800x600. You also have to watch the lower - upper case of the file extension for the jpeg files, it could be ALL CAPS or small caps.

mogrify -resize 800x600 *.JPG

Here is a more detailed reference.

Saturday, November 6, 2010

Knoppix 6.2.1 versus Knoppix 6.2, installing flash

Well, I just had to take a note on the differences here.

Knoppix 6.2.1 uses kernel 2.6.32.6, and was released January 2010.
Knoppix 6.2 uses kernel 2.6.31.6, and released two months earlier, November 2009.

And here's the simple way to install Flash in Knoppix's Iceweasel browser, via terminal window:
sudo apt-get install flashplugin-nonfree

Knoppix 6.2.1 - setting system date and time

Installing the correct system date and time
In a terminal window, run as root:
dpkg-reconfigure tzdata

and search for your region and city. Mine is Asia/Manila.

Open the autoconfig file as follows:
sudo nano /etc/init.d/knoppix-autoconfig

Go to line 355 - ctrl+w, then ctrl-t - to the entry KTZ="$(getbootparam tz)" and change that to:
KTZ='Asia/Manila'

substituting your own region and city. Save the file - ctrl+x.

In the terminal window, again:
sudo apt-get install ntpdate

If apt generates an error, try updating the repositories first, like:
sudo apt-get update

then try to get the ntpdate package again.

After ntpdate package is installed, edit the ntpdate config file:
sudo nano /etc/default/ntpdate

The changes I did on my configuration:
NTPDATE_USE_NTP_CONF=no
NTPSERVER="0.asia.pool.ntp.org 1.asia.pool.ntp.org 2.asia.pool.ntp.org 3.asia.pool.ntp.org"

substituting your own ntp.org servers in that line. You may google your ntp server by googling something like sydney ntp server, for example.

Then save the file. Done!

My reference is this Knoppix forum thread.