framebuffer console: schwarzer Text auf weißen Hintergrund?



  • Hallo!

    Kann ich meine VESA-FrameBuffer-Konsole auch Schwarz-auf-Weiß anstatt Weiß-auf-Schwarz betreiben? Wenn ja, wie?

    mfg
    oto

    ps:
    hab kernel 2.6.8 am laufen.



  • setterm -foreground black -background white
    

    Problematisch ist nur, dass viele Anwendungen einfach wieder auf "weiß auf schwarz" umstellen.



  • Da gibts einen inverse-Parameter (bei lilo in die append-Zeile schreiben).

    siehe /usr/src/linux/Documentation/fb/vesafb.txt

    Configuration

    The VESA BIOS provides protected mode interface for changing
    some parameters. vesafb can use it for palette changes and
    to pan the display. It is turned off by default because it
    seems not to work with some BIOS versions, but there are options
    to turn it on.

    You can pass options to vesafb using "video=vesafb:option" on
    the kernel command line. Multiple options should be separated
    by comma, like this: "video=vesafb:ypan,invers"

    Accepted options:

    invers no comment...



  • Des mit dem setterm ist nicht gerade ne schöne Lösung.

    Und der Bootparameter von Dr. Greenthumb funktioniert leider nicht. Ist nach wie vor alles weiß auf schwarz.
    Hier meine GRUB menu.lst:

    # grub.conf generated by anaconda
    #           and modified by me.
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You do not have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /, eg.
    #          root (hd0,3)
    #          kernel /boot/vmlinuz-version ro root=/dev/hda4
    #          initrd /boot/initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=10
    splashimage=(hd0,3)/boot/grub/splash.xpm.gz
    title Fedora Core 2 (2.6.8.1)
    	root (hd0,3)
    	kernel /boot/vmlinuz-2.6 root=/dev/hda4 video=vesafb:invers vga=0x31A
    title Fedora Core 2 (2.6.7-mm5-love5)
    	root (hd0,3)
    	kernel /boot/vmlinuz-2.6-mm-love root=/dev/hda4 vga=0x31A
    title Fedora Core 2 (2.6.5-1.358)
    	root (hd0,3)
    	kernel /boot/vmlinuz-2.6.5-1.358 ro root=/dev/hda4 rhgb quiet
    	initrd /boot/initrd-2.6.5-1.358.img
    title QNX 6.2 Personal
    	rootnoverify (hd0,1)
    	chainloader +1
    title Windows XP Home
    	rootnoverify (hd0,0)
    	chainloader +1
    

Anmelden zum Antworten