You are hereBlogs / Amedee's blog / Kleiner lettertype
Kleiner lettertype
Ik vind het lettertype op mijn netbook een beetje te groot. Oplossing: DPI wijzigen naar 96. Hoe? Door het aanpassen van
Ook voor de console wil ik een kleiner font. Oplossing: de framebuffer VGA-mode instellen. Zie ook
De hoogst mogelijke resolutie is dus 800x600, 24 bits, mode 0x0315. Dit hexadecimale getal moet nog omgezet worden naar decimaal:
Nu
evenals
Tenslotte grub en initramfs bijwerken:
Daarna nog eens rebooten om te testen.
/etc/X11/xorg.conf, zie https://help.ubuntu.com/community/AspireOne110L#Fonts
Section "Device"
Identifier "Configured Video Device"
Option "NoDDC"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
DisplaySize 195 113
EndSection
Identifier "Configured Video Device"
Option "NoDDC"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
DisplaySize 195 113
EndSection
- http://www.firerouter.com/2009/07/28/high-resolution-console-in-linux/
- http://ubuntuforums.org/showpost.php?p=4797563&postcount=13
- http://ubuntuforums.org/showthread.php?t=124036
$ sudo aptitude install hwinfo
$ sudo hwinfo --framebuffer | grep "Mode 0x"
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+832), 8 bits
Mode 0x0311: 640x480 (+1280), 16 bits
$ sudo hwinfo --framebuffer | grep "Mode 0x"
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+832), 8 bits
Mode 0x0311: 640x480 (+1280), 16 bits
$ sudo aptitude install gbase
$ gbase -h 315 | grep Dec
Dec: 789
$ gbase -h 315 | grep Dec
Dec: 789
/boot/grub/menu.lst aanpassen:
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash vga=789
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash vga=789
/etc/usplash.conf (om de splash screen te centreren):
# Usplash configuration file
# These parameters will only apply after running update-initramfs.
#xres=1024
#yres=600
xres=800
yres=600
# These parameters will only apply after running update-initramfs.
#xres=1024
#yres=600
xres=800
yres=600
$ sudo update-grub
$ sudo update-initramfs -k all -u
$ sudo update-initramfs -k all -u
Labels
Nieuwe reactie inzenden