# Moving to GNOME's Prompt for a default terminal

**URL:** <https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248>\
**Category:** Bluefin\
**Created:** [December 15, 2023, 7:18pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248 "2023-12-15T19:18:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [December 15, 2023, 7:18pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/1 "2023-12-15T19:18:22Z")

</div>

Alright folks, here it is!

[https://blogs.gnome.org/chergert/2023/12/14/prompt/](https://blogs.gnome.org/chergert/2023/12/14/prompt/)

and here’s a companion video I made:

[![](https://global.discourse-cdn.com/free1/uploads/univeral_blue/original/1X/c2325b43a295c2cbccaa4633c2314aa2736c812b.jpeg "Checking out GNOME's new Prompt Terminal") ](https://www.youtube.com/watch?v=qeUH1_fFSUs)

Find the repo here: [Christian Hergert / prompt · GitLab](https://gitlab.gnome.org/chergert/prompt)

Let’s use this thread for feedback/ideas, and then we can be good OSS citizens by kicking the tyres to get the terminal of our dreams! Here’s our [in progress pull request](https://github.com/ublue-os/bluefin/pull/728) for Bluefin.

If you’ve not used GNOME nightly remotes before, here’s a [good article from OMGLinux](https://www.omglinux.com/use-gnome-nightly-builds/) so that you can move back to the stable release in the future.

---

<div class="post-metadata">

**Author:** ![kylegospo](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/kylegospo/32/375_2.png) [@kylegospo](https://universal-blue.discourse.group/u/kylegospo)\
**Post date:** [December 16, 2023, 6:46pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/2 "2023-12-16T18:46:53Z")

</div>

Bazzite is now shipping this as the default terminal in the GNOME testing branch if anyone would like to try this out and help us find any bugs.

We’ll move this to stable same time as the OLED Deck changes land.

> <https://github.com/ublue-os/bazzite/commit/07995706ae730e1d767d4f2e5dc6d563f5ec794c>

---

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [December 17, 2023, 12:03am UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/3 "2023-12-17T00:03:44Z")

</div>

Alright I just merged the PR for Bluefin despite wanting to wait, let’s go for it! Builds will be ready when [this finishes merging](https://github.com/ublue-os/bluefin/actions/runs/7234967682).

---

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [December 17, 2023, 2:35pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/4 "2023-12-17T14:35:53Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/univeral_blue/original/1X/bf59bdfd97e3e25709a79787e1aab71000ae6b6e.png)

Nice work on the context menu in Nautilus!!!

---

<div class="post-metadata">

**Author:** ![johnnylam](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@johnnylam](https://universal-blue.discourse.group/u/johnnylam)\
**Post date:** [December 17, 2023, 2:59pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/5 "2023-12-17T14:59:12Z")

</div>

My _bazzite-deck-gnome:testing_ image shows a problem when using _Prompt_, which is installed as a host binary instead of a Flatpak. On a fresh boot, when I start _Prompt_, it can’t find any containers. I’ve checked that `prompt-agent` does get correctly started with the correct arguments, but for some reason, it doesn’t correctly see and enumerate my existing distrobox containers. However, if I manually run a `podman ps` before starting _Prompt_, then containers are correctly shown and listed.

It doesn’t have to be `podman ps` – if I just wait for the `ublue-update` script to run ~20 minutes after boot, then it touches the distrobox containers, which also allows _Prompt_ to see them correctly. Presumably if you run any distrobox services at boot or login, then it should also “fix” the problem.

Can anyone else please verify whether this is true for them as well?

---

<div class="post-metadata">

**Author:** ![johnnylam](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@johnnylam](https://universal-blue.discourse.group/u/johnnylam)\
**Post date:** [December 17, 2023, 3:00pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/6 "2023-12-17T15:00:17Z")

</div>

Aside from this problem, _Prompt_ is a big quality-of-life upgrade over stock _GNOME Terminal_, and it’s relatively easy to workaround this issue.

---

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [December 17, 2023, 3:32pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/7 "2023-12-17T15:32:43Z")

</div>

Yeah this looks like this issue: [Error if distrobox container has not been entered once (#31) · Issues · Christian Hergert / prompt · GitLab](https://gitlab.gnome.org/chergert/prompt/-/issues/31)

We might need to interact with them on boot or something as a workaround in the meantime, anyone have thoughts on that?

---

<div class="post-metadata">

**Author:** ![johnnylam](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@johnnylam](https://universal-blue.discourse.group/u/johnnylam)\
**Post date:** [December 17, 2023, 3:54pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/8 "2023-12-17T15:54:44Z")

</div>

Someone more `systemd`-savvy than I could try creating a `systemd` unit that just runs `podman ps` on boot to list available containers without the overhead of entering one. That might be enough.

I’ve also commented on that issue that you’ve linked on GitLab.

---

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [December 17, 2023, 8:22pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/9 "2023-12-17T20:22:07Z")

</div>

The right fix is for us to move the default toolboxes to just be managed by podman, adding this here:

> <https://github.com/ublue-os/bluefin/issues/736>
>
> https://gitlab.gnome.org/chergert/prompt/-/issues/31
> 
> Summary from chat, we ne…ed to just manage the default toolboxes we ship with podman and systemd. That way we can label the containers properly and use the podman auto update service and all the goodies. This is probably how we should have set them up in the first place. 
> 
> This will effectively remove distrobox from the creation and entering of the default containers, which will let us slim them down more. 
> 
> Then distrobox is just used for all the user-created containers so those workflows will still work great.  
> 
> EDIT: more notes
> 
> j0rge: having them as service units feels like the "right" way to do it imo. and then they're disabled until the user runs through the first run cli setup charm selection thing. if you pick "off", we turn on fedora, if you pick default we turn on ubuntu, and if you pick high we turn on bluefin-cli?
> 
> \[12:55 PM\]j0rge: then the service activation is just part of the first user setup
> 
> \[12:56 PM\]j0rge: the only service we need to turn on systemwide ootb is the auto update one, and that only works on containers that have the label explicitly turned on, so it wouldn't surprise end users using distrobox
> 
> \[12:56 PM\]j0rge: the auto update service would end up skipping your distroboxes
> 
> \[12:57 PM\]j0rge: and we keep it dx only so that keyboard shortcuts on the normal image don't trigger a bunch of container downloads and updates on my dad's pc.

---

<div class="post-metadata">

**Author:** ![johnnylam](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@johnnylam](https://universal-blue.discourse.group/u/johnnylam)\
**Post date:** [December 17, 2023, 9:19pm UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/10 "2023-12-17T21:19:37Z")

</div>

There’s still a larger issue with _Prompt_ just not always working correctly with distrobox containers. Any user-created distrobox containers would be a potential source of headaches when using _Prompt_, especially if one is picked as the default container in the profile. I feel like there is a bug there in _Prompt_ that still needs to be fixed.

---

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [December 23, 2023, 5:37am UTC](https://universal-blue.discourse.group/t/moving-to-gnomes-prompt-for-a-default-terminal/248/11 "2023-12-23T05:37:24Z")

</div>

> [@Setting up the Ptyxis Terminal](https://universal-blue.discourse.group/docs?topic=300):
>
> Bluefin, Aurora, and Bazzite use the [Ptyxis terminal](https://gitlab.gnome.org/chergert/ptyxis), a container focused terminal designed to make working with containers seamless. Hitting Ctrl-Alt-t will launch a host terminal. We recommend right clicking on the tab and pinning the host, so that you have it handy. And then set a container in the profile settings, ubuntu or whatever container you want: Once you get used to a container-native workflow you’ll end up naturally in a container. You can pin then both to keep…

Ok I’ve set up a wiki page with some instructions/tips for using Prompt. Additions/fixes welcome, also if you have your own setup you wanna share we can document whatever we want.
