Linux fbset command
-- Learning not just technology, but also dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
Linux Tutorial
Linux TutorialLinux IntroductionLinux InstallationLinux Cloud ServerInstall Linux on WSLLinux System Boot ProcessLinux System Directory StructureLinux Forgot Password SolutionsLinux Remote LoginLinux File Basic AttributesLinux File and Directory ManagementLinux User and User Group ManagementLinux Disk ManagementLinux vi/vimLinux yum commandLinux apt command
Shell Tutorial
Shell TutorialShell VariablesShell Passing ArgumentsShell ArraysShell OperatorsShell echo commandShell printf commandShell test commandShell Process ControlShell FunctionsShell Input/Output RedirectionShell File Inclusion
Linux Reference Manual
Linux Command ManualNginx Installation and ConfigurationMySQL Installation and ConfigurationLinux Quiz
Nginx Installation and Configuration
Deep Dive
Software
Computer Science
Programming Languages
Web Service
Network Services
Scripting
Development Tools
Scripting Languages
Programming
Network Design and Development
Linux fbset command
The Linux fbset command is used to set the frame buffer.
The fbset command can be used to set the size of the frame buffer, and can also adjust the screen resolution, position, dimensions (height and width), color depth, and can determine whether to enable various hardware features of the graphics card.
Syntax
fbset
Parameters:
-aor--allChange the display mode of all virtual terminals using the device.-dbSpecify the information file for the display mode. The default file name isfb.modes, located in the/etcdirectory.-fbSpecify the peripheral device to be used as the output frame buffer. The default is/dev/fd0.-hor--helpOnline help.-ior--infoList all information related to the frame buffer.-ifbUse the settings of another frame buffer peripheral device.-nor--nowChange the display mode immediately.-ofbThis parameter has the same effect as specifying the-fbparameter.-sor--showList the current display mode settings.-vor--verboseShow the command execution process.-Vor--versionShow version information.-xor--xfree86Use XFree86 compatibility mode.--testOnly perform testing, do not change the current display mode.
Examples
Set screen resolution and desktop resolution
# fbset -g 800 688 1024 768//Screen resolution is 800*600, desktop resolution is 1024*768
Enable hardware text acceleration
# fbset -accel true // Enable hardware text acceleration
Enable broadcast function
# fbset -bcast true //Enable broadcast function
YouTip