修改Linux内核中的文件:drivers/video/console/fbcon.c
去掉光标闪烁:
将函数static void fbcon_cursor(struct vc_data *vc, int mode)改为空函数即可。
去掉光标显示:
将函数static void fb_flashcursor(struct work_struct *work) 改为空函数。
本文介绍如何通过修改Linux内核文件drivers/video/console/fbcon.c来禁用光标的闪烁和显示。具体方法包括将fbcon_cursor函数和fb_flashcursor函数改为不执行任何操作。
3360

被折叠的 条评论
为什么被折叠?