Latest web development tutorials

Linux fbset command

Linux command Daquan Linux command Daquan

Linux fbset command sets the scene frame buffer.

fbset instruction can be used to set the scene frame buffer size, but also to adjust the resolution of the picture, position, height width, color depth, and can decide whether to activate the first card of the hardware features.

grammar

fbset [-ahinsvVx][-db <信息文件>][-fb <外围设备代号>][--test][显示模式]

Parameters:

  • -a or --all change all display modes use the virtual terminals of the equipment.
  • -db <File Information> File information specified display mode, preset file name fb.modes, stored in the / etc directory
  • -fb <Peripherals code> Specifies the output device used as a peripheral view of the frame buffer, pre-set to "/ dev / fd0".
  • -h or -help online help.
  • -i or --info scene box lists information about all of the buffer.
  • -ifb <Peripherals code> Use setting another scene frame buffer peripheral equipment.
  • -n or --now immediately change the display mode.
  • -ofb <Peripherals code> This parameter specifies the same effect and "-fb" parameter.
  • -s or --show lists the currently set display mode.
  • -v or --verbose display during the execution of instructions.
  • -V Or --version display version information.
  • -x or --xfree86 use XFree86 compatibility mode.
  • --test do testing only and does not change the current display mode.

Examples

Setting screen resolution and desktop resolution

# fbset -g 800 688 1024 768//画面分辨率为800*600 桌面分辨率为1024*768

Start hardware accelerated text

# fbset -accel true  // 启动硬件文本加速

Start broadcast function

# fbset -bcast true //启动广播功能

Linux command Daquan Linux command Daquan