How to tell weston to show exactly one app in fullscreen?

Pekka Paalanen ppaalanen at gmail.com
Tue Mar 17 04:41:54 PDT 2015


On Tue, 17 Mar 2015 11:20:57 +0100
Thilo Cestonaro <thilo at cestona.ro> wrote:

> Hey!
> 
> Weston runs! And rotated! Altough not with fbdev-compositor :) but with 
> drm and pixman.

DRM-backend is the way to go indeed, it is strictly superior to the
fbdev-backend.

Just curious, why didn't you get the fbdev backend to work? Was it the
color format thing?

> As weston now runs, I have different questions.
> 
> The first is: I want to run exactly one App in Weston, no Desktop, no 
> Panel ... just that one App in Fullscreen mode.
> 
> Is the fullscreen-shell for this purpose or can I somehow disable the 
> panel in the desktop shell?

What kind of app is it?

Has it been specifically written for fullscreen-shell? If not, it is
probably a desktop app, which means you have to use the desktop shell.

If it is for IVI, you should take a look at ivi-shell.

If it is just some kiosk app, the desktop shell is probably appropriate.

Fullscreen shell has nothing to do with fullscreening normal (desktop)
apps.

> Do I need to run a shell or can I run an App directly as the shell for 
> weston?

A shell is several things, please see:
http://cgit.freedesktop.org/wayland/weston/tree/notes.txt
It's a bit outdated. When it says wl_shell, it applies to xdg_shell too.

Weston's shell is basically the shell module, a plugin. Most plugins we
have also use a helper client, for instance weston-desktop-shell.

weston-desktop-shell draws the panel, the background, etc. but it also
provides a fallback mouse cursor when an app stops responding, etc. so
if you don't run it, you may be missing things.

See 'man weston.ini' for panel-location to remove the panel from
desktop shell.

You may also be interested in
http://lists.freedesktop.org/archives/wayland-devel/2014-October/017971.html
Unfortunately that is stalled atm. AFAIK, and there is no autolauch
support in upstream.

You need to do some scripting to start your app after Weston is up.
Telling the app to become fullscreen is between your scripts and the
app.


Thanks,
pq


More information about the wayland-devel mailing list