在哪里可以找到 ubuntu 内置的可以自定义键盘快捷键的应用程序的源代码?我正在谈论的应用程序如下图所示。
答案1
这不是独家软件包。键盘快捷键布局等是软件包的一部分gnome-settings-daemon
。
自己看看吧。打开终端(CTRL+ALT+T)并发出以下命令
apt-cache show gnome-settings-daemon
并阅读说明。
Description-en: daemon handling the GNOME session settings
This package contains the daemon which is responsible for setting the
various parameters of a GNOME session and the applications that run
under it. It handles the following kinds of settings:
.
* Keyboard: layout, accessibility options, shortcuts, media keys
* Clipboard management
* Theming: background, icons, GTK+ applications
* Cleanup of unused files
* Mouse: cursors, speed, accessibility options
* Startup of other daemons: screensaver, sound daemon
* Typing break
.
It also sets various application settings through X resources and
freedesktop.org XSETTINGS.
所以如果您想对设置做些什么,我想您应该下载gnome-settings-daemon
包的源代码。