Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host terminal disappears #1834

Open
marzvrover opened this issue Oct 26, 2024 · 2 comments
Open

Host terminal disappears #1834

marzvrover opened this issue Oct 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@marzvrover
Copy link

Describe the bug

When you use a container (e.g. using the keyboard shortcut Ctrl+Alt+F), you are only able to get back to the host terminal with keyboard shortcut Ctrl+Alt+Enter.

More details are in this discourse thread

What did you expect to happen?

To be able to select a Host profile in the terminal emulator.

Output of rpm-ostree status

tate: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 45min ago
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts
                   Digest: sha256:35148d883fbd3b07e7eed946860307cbbb44623781c5d37d032feece97aeb43e
                  Version: 39.20241019.0 (2024-10-20T22:26:25Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts
                   Digest: sha256:35148d883fbd3b07e7eed946860307cbbb44623781c5d37d032feece97aeb43e
                  Version: 39.20241019.0 (2024-10-20T22:26:25Z)
          LayeredPackages: piper

Output of groups

marzvrover wheel

Extra information or context

This has also been shown to happen in a fresh VM running the beta.

@dosubot dosubot bot added the bug Something isn't working label Oct 26, 2024
@castrojo
Copy link
Member

castrojo commented Nov 2, 2024

Still investigating this, hard to reproduce, but something is wonky with the boxes for sure.

@defeated
Copy link

defeated commented Nov 5, 2024

@castrojo @marzvrover I just ran into this or similar (bluefix-dx:latest)

I was able to fix my Terminal launched via Ctrl + Alt + T / Ctrl + alt + Enter by tinkering with gsettings cli / dconf GUI

(... I have no idea if this was The Right Way ™️ 😬 )

  1. find how Ptyxis is invoked (Settings > Keyboard > Custom Shortcuts > Host Ptyxis) and it looks like it expects a Profile where the Profile's UUID matches the Host Container ID)
cat /usr/libexec/distrobox-quadlet-ptyxis.sh
  1. find the expected container GUID for Host
cat /usr/share/ublue-os/bluefin-cli/known-containers
  1. recreate that Ptyxis profile (replace $GUID with the Host UUID from previous step ☝ )
gsettings set org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$GUID/
gsettings set org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$GUID/ palette 'Dracula'
gsettings set org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$GUID/ label 'Host'
gsettings set org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/$GUID/ opacity 0.88

gsettings set org.gnome.Ptyxis default-profile-uuid $GUID
  1. exit Ptyxis session, and relaunch it w/ the keyboard shortcut

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants