Showing posts with label fedora. Show all posts
Showing posts with label fedora. Show all posts

Friday, February 1, 2008

Change Truetype fonts in EEE PC Linux

Peform these steps if you want to change trutype fonts of eee pc Linux and in firefox

(1) Download Droid Font Family (ZIP of TTF) (1.8 MB)

(2) unzip DroidFamily.zip -d /usr/share/fonts/truetype/

(3) edit these two files
userChrome.css and userContent.css
in /home/user/.mozilla/firefox/9rhzolat.default/chrome/

and add these lines

* {
font-size: 10pt !important;
font-family: Droid Sans Fallback !important;
}

(4) if you don't have userChrome.css and userContent.css
copy them from userChrome-example.css and userContent-example.css

(5) run fc-cache –v –f /usr/share/fonts/

(6) run sudo kcontrol and change the default font for the system as below

Friday, January 4, 2008

Install Fedora 8 in Virtual PC 2007

For installation of Fedora in Virtual PC 2007, there are problems of display and mouse during graphical installation and when using X Window.

The problems can be solved by changing the kernel paramemter in the boot option and changing the grub.conf and xorg.conf after 1st boot of post installation


(1) at the 1st [graphical] screen, hit TAB to modify boot params;

- it will show "vmlinuz initrd=initrd.img";

- add "vesa i8042.noloop psmouse.proto=imps clock=pit"


Details:


- "vesa" selects "vesa" driver instead of the "s3" one; mandatory if you

want the graphics installer. This also allowed "Millions of colors" to be used post-install.


- "i8042.noloop" makes the PS/2 mouse work, otherwise it's stuck in the center of the screen; reference: comment #45 at

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=223606


- "psmouse.proto=imps" makes the mouse wheel work; optional as it's not that usefull during the install, but usefull to add it to kernel options for normal system use.


- "clock=pit", according to a MSKB article, resolves some problems with the time[r]; don't know how usefull is it during the install.


(2) at the 2nd [graphical] screen after boot of post install, hit TAB to modify boot params;

- add "vga=771 1"


so that the installation will go to linux single mode


(3) Edit the /etc/grub.conf

- add "vesa vga=771 i8042.noloop psmouse.proto=imps clock=pit"


(4) Edit the /etc/X11/xorg.conf and change default pixel depths to 16 from 24



Section "ServerLayout"

Identifier "Default Layout"

Screen 0 "Screen0" 0 0

InputDevice "Keyboard0" "CoreKeyboard"

EndSection


Section "InputDevice"

Identifier "Keyboard0"

Driver "kbd"

Option "XkbModel" "pc105"

Option "XkbLayout" "gb"

EndSection


Section "Monitor"

Identifier "Monitor0"

ModelName "LCD Panel 1680 x 1050"

HorizSync 31.5 - 67.0

VertRefresh 50.0 - 60.0

Option "dpms"

EndSection


Section "Device"

Identifier "Videocard0"

Driver "vesa"

EndSection


Section "Screen"

Identifier "Screen0"

Device "Videocard0"

Monitor "Monitor0"

DefaultDepth 16

SubSection "Display"

Viewport 0 0

Depth 16

Modes "1024x768"

EndSubSection

EndSection

(5) Reboot to continue post installation