[root@localhost ~]# yum search keyboard
已加載插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile* base: mirrors.aliyun.com* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
============================================================================================== N/S matched: keyboard ==============================================================================================
system-config-keyboard.noarch : A graphical interface for modifying the keyboard
system-config-keyboard-base.noarch : system-config-keyboard base components
xkeyboard-config.noarch : X Keyboard Extension configuration data
xkeyboard-config-devel.noarch : Development files for xkeyboard-config
xorg-x11-drv-keyboard.x86_64 : Xorg X11 keyboard input driver
caribou.i686 : A simplified in-place on-screen keyboard
caribou.x86_64 : A simplified in-place on-screen keyboard
caribou-antler.x86_64 : Keyboard implementation for caribou
gnome-shell-extension-windowsNavigator.noarch : Support for keyboard selection of windows and workspaces in GNOME Shell
iok.x86_64 : Indic Onscreen Virtual Keyboard
kbd.x86_64 : Tools for configuring the console (keyboard, virtual terminals, etc.)
keybinder3.i686 : A library for registering global keyboard shortcuts
keybinder3.x86_64 : A library for registering global keyboard shortcuts
langtable.noarch : Guessing reasonable defaults for locale, keyboard layout, territory, and language.
libgnomekbd.i686 : A keyboard configuration library
libgnomekbd.x86_64 : A keyboard configuration library
libxklavier.i686 : High-level API for X Keyboard Extension
libxklavier.x86_64 : High-level API for X Keyboard Extension
python2-caribou.noarch : Keyboard UI for caribou
從搜索信息看,caribou包是與屏幕鍵盤相關的,用yum info caribou命令查看該包是已經安裝了的。卸載該包是發現因為圖形界面相關包依賴于caribou,卸載該軟件包會導致圖形界面相關軟件也被卸載,故此法不可行。 從google上檢索了下,并沒有必要卸載對應軟件包,只需禁用其開機啟動即可。查看caribou軟件包的自啟動文件為 /etc/xdg/autostart/caribou-autostart.desktop,將這個文件刪除后,重啟系統,屏幕鍵盤依舊會彈出。 禁用caribou開機自啟后,從進程信息中并不能查看到caribou相關進程了,分析屏幕鍵盤與它無關。接下來用top命令查看進程資源占用信息,觸發屏幕鍵盤后,重復快速點擊虛擬鍵盤的按鍵,能明顯看到gnome-shell進程的CPU資源占用明顯升高,因此,屏幕鍵盤是由gnome-shell程序生成控制的。gnome-shell軟件包就龐大多了,它是窗口管理器、應用啟動器、桌面布局的集合,想卸載它除非不用桌面環境了。 繼續檢索吧,查到一個可行的方案,就是改gnome-shell包的源碼,重新編譯gnome-shell軟件包,或者給gnome-shell添加擴展插件。