Score:2

How can I launch a GUI application in a fullscreen window without a complete desktop environment?

cn flag

Is it possible to open a GUI application in a single fullscreen window from the terminal without all the other aspects of a desktop environment?

For example, Firefox.

st flag
In fact, the desktop environment itself is just such an application!
Score:3
cn flag

Yes.

You haven't provided any details of your GUI application; and importantly I think what stacks it uses.

Is it motif? simple xorg?, using GTK2/3? Qt5? etc as most applications require specific stacks that need to run - but if it's a simple X11 GUI app that doesn't use stacks I believe it's a yes. However very few GUI apps remain today that don't use GUI libraries/toolkits.

I've opened GUI apps on unix/sun-OS boxes where the size was defined in the command that opened the window, and full-screen was possible, however they weren't modern apps & didn't use modern toolkits. Many of those programs also ran in Debian & Ubuntu GNU/Linux the same way, but it's been decade+ since I've wanted to run them as they're outdated (with many no longer available, as they were re-written/replaced and it's simpler being able to use a WM than controlling everything from command line).

You however gave no specifics; but it is possible for some applications (just not worth it in my experience; we no longer run machines with that limited resources).

John Smith avatar
cn flag
Thanks. It's just meant to be a complement to doing a kind of minimalist computing set-up using mainly the console but falling back on a GUI application when necessary, for example a web browser. It would be nice to just open Firefox for example without seeing the desktop image, desktop menu bars and so on - just a pure window for the browser, and nothing else.
guiverc avatar
cn flag
In that case I'd use a WM only (not DE) and the issue doesn't exist. `firefox` is a modern program that requires toolkits/libraries to exist, and expects/needs either a DE or WM running I believe. Your original question (*which is what I answered*) was **a GUI program** & I was thinking of `xterm` & like simpler Xorg applications; I've never tried `firefox` started from terminal except with WM or DE already running; and I don't see a point running with at least a WM. If you need a terminal browser; they exist (eg. `w3m`, `lynx` etc.)
guiverc avatar
cn flag
FYI: I don't have the time to test *firefox* for you on a system without desktop or window-manager installed... On the *resource limited* boxes I still use (eg. 1GB RAM) I don't use desktop, but am using a WM which easily allows `firefox` without desktop being run (but as you'll see from https://packages.ubuntu.com/hirsute/firefox components of desktop environments will be started when run)
Noone AtAll avatar
cn flag
@guiverc what's "WM"? what's "DE"?
guiverc avatar
cn flag
DE = desktop, WM = window manager. Xfce for example uses `xfwm4` as it's WM, GNOME uses `gdm3` (gdm3 used by GNOME 3) etc.. A WM is lighter than a full desktop (but handles a lot less; mostly windows as it's name implies so far fewer features). Some desktops (eg. LXQt) are WM agnostic so you can use anything; Lubuntu uses `openbox` as it's WM; but you can use `openbox` by itself - Lubuntu offers its users 3 sessions on a new install: Lubuntu (full experience), LXQt (purer upstream LXQt only) & Openbox (window manager only).
Score:0
cn flag

No. Most GUI applications depend upon the entire desktop stack.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.