![您在哪里可以找到键盘快捷键应用程序的源代码?](https://linux22.com/image/1043574/%E6%82%A8%E5%9C%A8%E5%93%AA%E9%87%8C%E5%8F%AF%E4%BB%A5%E6%89%BE%E5%88%B0%E9%94%AE%E7%9B%98%E5%BF%AB%E6%8D%B7%E9%94%AE%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E7%9A%84%E6%BA%90%E4%BB%A3%E7%A0%81%EF%BC%9F.png)
在哪里可以找到 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
包的源代码。