17 November 2008

Ubuntu: How to Free Up Space? (Disk Cleanup for Ubuntu)

To check disk usage open a terminal and type:
$ df -k
The output will show all of the partitions and the current disk usage. The "-k" says to show sizes in terms of 1K blocks, so that a result such as 517400 is approximately 500 MB.

Try the following commands to free up disk:
$ sudo aptitude clean
$ sudo aptitude autoclean
$ sudo aptitude autoremove
$ sudo apt-get autoremove

Ubuntu: How to Install Fonts?

How to install some common fonts?

There are a number of very common fonts, which can be installed through APT/Synaptic, including the Microsoft TrueType core fonts (e.g. Arial Black, Times New Roman).

Before installing, make sure the extra repositories are enabled.
Then in the terminal window, type:
# sudo apt-get install msttcorefonts texlive-fonts-extra
How to install other fonts for a single user?

You can also use many other fonts, like those downloaded from dafont.com. There are two options when installing: one to install them for a Single User, this means that only this user can use them, or installing them for System Wide use, so that every user on the system can use the fonts.

Create ~/.fonts directory:
$ mkdir ~/.fonts
Copy the font files to the .font directory:
$ cp *.ttf ~/.fonts
$ cp *.TTF ~/.fonts
Now we need tell the system about the new fonts:
$ fc-cache -f -v ~/.fonts
How to install other fonts for system wide use?

Move the fonts to the font directory:
$ sudo cp *.ttf /usr/local/share/fonts/
$ sudo cp *.TTF /usr/local/share/fonts/
Run the following command to rebuild the font cache:
$ sudo fc-cache -f -v
Done!

Original post at GeekyBits³

15 November 2008

Ubuntu: How to Type Bengali?

You can use scim to type Bangla in Probhat or Inscript layout, they all come with latest distro of Ubuntu (7.04).

In the terminal window, type:
$ sudo gedit /etc/X11/Xsession.d/90im-switch
Now type and save the following lines in gedit:
$ export XMODIFIERS="@im=SCIM"
$ export XIM_PROGRAM="scim -d"
$ export GTK_IM_MODULE="scim"
$ export QT_IM_MODULE="scim"
Press Ctrl+Alt+Backspace, login again. Now you can see a keyboard icon in the system tray, click on it, select Bangla from the menu.

Press Ctrl+Space to switch between Bangla and English.

Original post at OmicronLab community

OR try THIS.

13 November 2008

Ubuntu: How to Make Broadcom Wireless Cards Work?

Took me a long time to figure this out. Apparently the procedure varies depending on the card's chipset. I have Acer Aspire 3000, Ubuntu 8.10 and Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02). Try out the following tutorials:
...worked out fine for me.