Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a HTPC running an Ubuntu minimal OS installation and XBMC. No desktop environment is installed - the computer boots straight to XBMC.

I want to install a couple of old emulators and run it from the command line using XBMC. On the requirements page of several emulators, it says they need GTK. Does this mean they won't work without installing a desktop environment?

share|improve this question
up vote 3 down vote accepted

You don't need any desktop environment to run GTK programs. You just need the GTK libraries. Which packages is determined by the specifics of the programs you're installing. But you can install them through Ubuntu's package manager--both the binaries and the -dev packages that provide header files for compilation (if you're building these programs from source and linking them against GTK).

If you provide more information about what you're installing and how you plan to install it, a more detail answer could be given. But the basic answer is: no, you don't need a desktop environment to run GTK programs.

share|improve this answer
Indeed. Running X programs without a window manager just makes them full screen only, btw. And probably exactly what you'd want for XBMC. :) – gertvdijk Jan 12 '13 at 15:10
@gertvdijk They would be borderless, but not necessarily full screen. If there's no window manager installed (which isn't necessarily the case--you don't need a desktop environment for a window manager) and it doesn't work well, a simple window manager with minimal dependencies (such as twm) could be installed. – Eliah Kagan Jan 12 '13 at 15:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.