Sunday, September 5, 2010

Mac-like launcher (Cairo-dock)

  1. sudo apt-get cairo-dock
  2. remove the bottom panel
  3. start the GLX-Dock from the Accessories menu
  4. Configure the dock so it starts automatically when logged in

Brother HL-2170W Slow Printing (Ubuntu)

Needs to be set with a generic driver:
  1. Select Add Printer
  2. From "Other Network Printers:" select LPD/LPR Host or Printer
  3. Under "Connection" put in: socket://:9100 (the IP address of the wireless interface on the printer)
  4. Fill in name, description, location.
  5. Sharing (can be ignored at this time)
  6. Make: select Generic, and continue
  7. Model: Generic PCL 5e Printer Foomatic/hpijs-pcl5e (recommended)
  8. Finish adding the printer
The printing should go fast now even for the pages with lots of graphics in them.

Wednesday, May 26, 2010

mount.cifs issue in Ubuntu 10.04

mount.cifs not letting normal user to mount, the fix is:

sudo chmod +s `which mount.cifs`
sudo chmod +s `which umount.cifs`

Sunday, March 7, 2010

Slow Firefox in Karmic Coala

Found this to help:
Install sqlite 3 from command line (in terminal):
sudo apt-get install sqlite3

then (make sure you close Firefox) type this in terminal:
for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;'; done


After this, seems that Firefox behaves faster.

Tuesday, November 17, 2009

Westell 327W Hard Reset (Verizon)

I was at the friend's house. They have this wireless router/modem model Westell 327W. It was behaving badly with the connection being up and down constantly. Of course, they forgot their admin username and password. We needed to do a hard reset on it.
Hard reset is done by pressing the reset button and holding it for long time pressed (like a minute or two as said by Verizon support). It actually did reset after around 30 seconds. The admin username password was reset to admin/password pair.

To check this you connect via cable to it and go to http://192.168.1.1 address. There you can set new admin username and password, which is desirable as you do not want anyone else to access your router via wireless connection. Another thing to set is your wireless security (such as SSID name and WEP password).

In this particular situation, The connection to Internet did not work. The Verizon page would be showing up saying offering option "reconnect after resetting modem". That required Verizon online username and password.

Alternative, path to enable this was to got the address:
http://192.168.1.1/verizon/redirect.htm
and click on disable button. After that, the Internet connection was allowed.

Sunday, November 15, 2009

Viewing CHM files in Gnome (Ubuntu)

I came across several ebooks in CHM file format. In order to view/open those in Linux you need a CHM file viewer.
In default Ubuntu install with Gnome, you install gnochm package. In KDE (Kubuntu), there is Kchmviewer (have not tried it).

Command:
sudo apt-get install gnochm

Friday, November 13, 2009

Checking PDF Colour base (RGB or CMYK) on Ubuntu

RGB or CMYK
I needed this thing for sending out a PDF file to printers (ad in a magazine). These are some notes for Ubuntu 9.10 (Karmic):
  • Install imagemagick package, which contains identify command:
    sudo apt-get install imagemagick
  • Run identify command on a PDF file to check if it contains RGB or CMYK colours:
    identify -verbose MyPdfFile.pdf
Additional comments
  • Ran into some Gimp plugin package, but was not sure how to use it
  • In Scribus, when exporting to PDF, one can select "Printer" in the colour tab. That created CMYK PDF file. Was not sure if it was the best quality though. Some experimenting needed.