---
title: Configuring Ubuntu Frame through a gadget snap
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2950.demos.haus/mir/docs/configuring-ubuntu-frame-through-a-gadget-snap?format=md
---

*Submit*

# Configuring Ubuntu Frame through a gadget snap

The [snapcraft documentation](https://snapcraft.io/docs/gadget-snap) describes gadget snaps in detail. The only additional thing we’ll show here is an example showing how to set the above configuration options for `ubuntu-frame`:

```
defaults:
  BPZbvWzvoMTrpec4goCXlckLe2IhfthK:
    display: |
      layouts:
        default:
          cards:
            - card-id: 0
              unknown-1:
                orientation: inverted
    config: |
      wallpaper-top=0x92006a
      wallpaper-bottom=0xdd4814
      add-wayland-extensions=zwp_pointer_constraints_v1:zwp_relative_pointer_manager_v1
    daemon: true
```

---

[Previous

Ubuntu Frame snap interfaces](https://canonical-com-2950.demos.haus/mir/docs/ubuntu-frame-snap-interfaces)
[Next

Ubuntu Frame OSK Documentation](https://canonical-com-2950.demos.haus/mir/docs/ubuntu-frame-osk-documentation)

Last updated 4 years ago. [Help improve this document in the forum](https://discourse.ubuntu.com/t/configuring-ubuntu-frame-through-a-gadget-snap/28937).
