是否可以运行 GTK+没有 GNOME 的应用程序,或者类似的应用程序?
我想知道这是否可能。我主要想了解 GNOME 到底做了什么?鉴于 GTK+(当然还有 X11)的可用性,难道不能只运行应用程序吗?当然,我不确定(这就是我问这个问题的原因),但在我看来,GNOME 只是“组织”GUI,使其更像桌面,并提供一些工具和实用程序等。这是正确的还是还有更多的内容?
谢谢!
I was wondering if this was possible. Mostly I want to understand what GNOME does exactly? Couldn't one just run applications, given the availability of GTK+, and of course X11? Of course, I'm not sure (which is why I'm asking the question), but it looks to me that GNOME just "organizes" the GUI to make it more of a desktop, and offers some tools and utilities and such. Is this correct or is there something more to it?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
GNOME 是一个桌面环境和一个开发平台。运行 GTK+ 应用程序不一定需要它。例如,您可以使用基于 KDE 的发行版,但只要安装了适当的库,仍然能够运行 GTK+ 应用程序。需要注意的是:一些 GTK+ 应用程序使用 GNOME 桌面环境中的组件/实用程序。要运行 GTK+ 应用程序,您可能必须从 GNOME 安装组件。根据需要,您最终可能会安装大部分 GNOME 桌面环境,只是为了满足应用程序的依赖关系。
话虽如此,没有什么严格要求 GNOME 才能运行 GTK+ 应用程序。只要您拥有应用程序所需的所有库,无论桌面环境如何,您都应该能够运行它。
GNOME is a desktop environment and a development platform. It is not necessarily required to run GTK+ apps. For example, you can be using a KDE-based distro and still be able to run GTK+ apps as long as you have the appropriate libraries installed. One caveat: some GTK+ apps use components/utilities from the GNOME desktop environment. To get your GTK+ app to run, you may have to install components from GNOME. Depending on what all is needed, you may end up installing most of the GNOME desktop environment just to meet the dependencies of your applications.
That being said, there is nothing that strictly requires GNOME in order to run GTK+ apps. As long as you have all of the libraries required by the app, you should be able to run it regardless of your desktop environment.
运行 gtk 应用程序所需的只是安装适当的 gtk/gnome 库。与 kde 应用程序和 kde/qt 依赖项相同。但是,某些应用程序将依赖于其他服务的运行,没有它们就无法运行。
你想做什么?
all you need to run gtk apps is the appropriate gtk/gnome libraries installed. Same with kde apps and kde/qt dependencies. However, some applications will rely on other services running, and won't work without them.
What are you trying to do?
差不多就是这样了,是的。您可以在 KDE 上运行 GTK+ 应用程序(就像您可以在 Gnome 下运行 Qt 应用程序一样)。 Gnome 是桌面“环境”,各个应用程序可以使用它们喜欢的任何工具包(尽管使用 GTK+ 确实使与其他 Gnome 应用程序的交互更容易)。
That's pretty much it, yes. You can run GTK+ apps on KDE (just like you can run Qt apps under Gnome). Gnome is the desktop "environment", individual applications can use whatever toolkit they like (though it's true that using GTK+ makes interaction with other Gnome applications easier).