Linux fbset command
Linux Command Manual
The Linux fbset command is used to set the picture frame buffer.
The fbset command can be used to set the size of the picture frame buffer, adjust the resolution, position, height and width, color depth, and decide whether to enable the hardware features of the first card.
Syntax
fbset [-ahinsvVx][-db <information file>][-fb <peripheral device code>][--test][Display Mode]
Parameters:
- -a or--all Change the display mode of all virtual terminals using the device.
- -db<information file> Specify the information file of the display mode, the default file name is fb.modes, stored in/etc directory
- -fb<peripheral device code> Specify the peripheral device used as the output scene frame buffer, pre-set to"/dev/fd0".
- -h or-help Online help.
- -i or--info List all the relevant information of the scene frame buffer.
- -ifb<peripheral device code> Use the settings of another scene frame buffer peripheral device.
- -n or--now Change the display mode immediately.
- -ofb<peripheral device code> This parameter has the same effect as specifying"-fb"parameter is the same.
- -s or--show List the current settings of the display mode.
- -v or--verbose Display the execution process of the command.
- -V or--version Display version information.
- -x or--xfree86 Using XFree86Compatibility Mode.
- --test Only for testing, it does not change the current display mode.
Online Examples
Set Screen Resolution and Desktop Resolution
# fbset -g 800 688 1024 768//Screen Resolution is800*600 Desktop Resolution is1024*768
Start Hardware Text Acceleration
# fbset -accel true // Start Hardware Text Acceleration
Start Broadcast Function
# fbset -bcast true //Start Broadcast Function
Linux Command Manual