Control Auto-login in Ubuntu
June 29, 2009
- From the Gnome Menu, select System > Administration > Login Window.

- For security reasons, you’ll be asked to type your password.

- Once you’ve entered your password, click OK.
- In the dialog window that appears, go to the Security tab.

- Check ‘Enable Automatic Login’
- In the box below, select/type in the username
- Click close to save the changes
Solution for Ubuntu 8.10 and RTL8187B WiFi problem (Short Range WiFi)
December 23, 2008
Recently, I installed Ubuntu 8.10 on my notebook which contains RTL8187B WLAN card. unlike previous versions of Ubuntu which don’t detect such card, 8.10 detected the card, and WLAN worked very well. But I noticed that the range of the WLAN is very short, and after very few meters from the router, there is no traffic. After some long search, here is the solution that worked with me:
1- gksu gedit /etc/rc.local
2- Add the following line to rc.local before exit 0
iwconfig wlan0 rate 5.5M fixed
3- Reboot
Of course there are some other solutions based on ndiswrapper or the modified RTL8187B driver, but I found the above solution powerful and easy and no big change happened in the system.
|
|
After installing Microsoft Core fonts on ubuntu, firefox crashed when loading pages. When trying to load firefox from the shell, the following message is received
(gecko:6422): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is ‘Arial 12′
Segmentation fault (core dumped)
Solution:
This problem is caused by permissions of the newly installed fonts, so just resetting permissions using the following command:
sudo chmod -Rv 775 /usr/share/fonts/
[How To] Install Microsoft Fonts on Ubuntu?
May 16, 2008
Installing Core Microsoft fonts:
sudo apt-get install msttcorefonts
To make them work in X-windows, you may also want to install x-ttcidfont-conf if it’s not already installed:
sudo apt-get install x-ttcidfont-conf
Another way to install fonts based on existing fonts folders inside Windows:
Gain root privileges:
sudo bash
Make a directory to store the fonts:
mkdir /usr/share/fonts/truetype/msfonts
Find the fonts on your windows partition, for me this was /media/sda1/Windows/Fonts
copy the fonts over:
cp /media/sda1/Windows/Fonts/*.ttf /usr/share/fonts/truetype/msfonts
Re-create the font cache:
fc-cache -f -v
MP3 Tag editors for Ubuntu
May 16, 2008

sudo apt-get install gnome-vfs-obexftp
Ubuntu Releases Time-Line
May 12, 2008
Good 13 Tips for Ubuntu
May 12, 2008
- Play youtube videos directly in Totem Movie Player (Hardy):
Open Movie Player, go to Edit > Plugins and enable “Youtube
Browser”, then in the right panel select “Youtube” and then just search
for a video. And of course, it works full-screen too
And you can install the Totem Movie Player H.264 plugin for youtube for better quality, from here.
- Another tip: i recently find out that by holding the mouse over
audio files (i’m not sure for other versions, but it definitely works
on Hardy) you can listen to that file… like a preview. - One thing that annoyed me when i installed Ubuntu first was
the way to big icons, so if that’s the case for you too, here’s what
you can do: open nautilus and go to edit > preferences: icons view:
default zoom level: 75%. - To customize most of the colors of your ubuntu:
sudo apt-get install gnome-color-chooserwhich you can then find under System > Preferences. - Another nice little piece of software is alltray:
sudo apt-get install alltrayIt lets you open a program in system tray even if that software does
not support it. To do so: hit alt+f2 and type: alltray
<name_of_software_to_open> and the same goes for shortcuts. - Some system information:
sudo apt-get install sysinfo - To download youtube videos and convert them to .avi:
sudo apt-get install youtube-dl ffmpegand then:
youtube-dl -o example.flv "http://www.youtube.com/watch?v=cdaAWFoWr2c"and to convert to avi:
ffmpeg -i example.flv example.avi(of course change the name of the video as you please and the youtube link to the video you want to download).
- Many of us use gtk-recordmydesktop which saves the screen
recordings in ogg or ogv format but we may want it in avi format, so to
do that:sudo apt-get install mencoderand:
mencoder -idx example.ogg -ovc lavc -nosound -o example.avi(this is if the ogg file has no sound). - To make a playlist of the audio files in a folder:
ls -R > playlist.m3u - To kill a process by it’s name:
sudo killall <prog_name>for instance:sudo killall firefoxor you can kill by pid (program id):
sudo kill <pid>and to see the pid:
pidof <program name>, for instance:pidof firefox(or you can try listing the currently running processes with:
ps -e - To refresh the gnome panel:
sudo killall gnome-panel - To find out the version of installed software:
apt-cache policy <packet_name> - To find out the UUID of your partitions:
ls /dev/disk/by-uuid/ -alh
[Source: icehot.wordpress.com]
[HOW TO] Edit PDF files in Linux
May 1, 2008
If u need to edit PDF files on ubuntu linux system, u have many options.
- U can use flpsed as described in this blog entry. (But u will face several problems).
- U can use pdftk. (But it failed to load my PDF file !!!!)
- U can use pdfedit, which is a tool that u be installed on ubuntu and edit the PDF files.
Using the last one, I could export the PDF into images, then add such images into OpenOffice document, then add what I want.
[Note: The above method will not help in editing PDF contents. To edit PDF contents, u will use pdfedit tool]
Linux