Kleiner lettertype

Ik vind het lettertype op mijn netbook een beetje te groot. Oplossing: DPI wijzigen naar 96. Hoe? Door het aanpassen van /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
Ook voor de console wil ik een kleiner font. Oplossing: de framebuffer VGA-mode instellen. Zie ook Eerst kijken welke modes mijn scherm aan kan:
$ 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
De hoogst mogelijke resolutie is dus 800x600, 24 bits, mode 0x0315. Dit hexadecimale getal moet nog omgezet worden naar decimaal:
$ sudo aptitude install gbase
$ gbase -h 315 | grep Dec
Dec: 789
Nu /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
evenals /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
Tenslotte grub en initramfs bijwerken:
$ sudo update-grub
$ sudo update-initramfs -k all -u
Daarna nog eens rebooten om te testen.

Nieuwe reactie inzenden

  • Textual smileys will be replaced with graphical ones.
  • Toegelaten HTML-tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <strike>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo], [[foo]].
  • Adressen van webpagina's en e-mailadressen worden automatisch naar links omgezet.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.
  • You may quote other posts using [quote] tags.
  • Regels en paragrafen worden automatisch gesplitst.