Gnome-terminal is ptyxis now?

Hello! I did rebase to 41 and my scripts do not work any more bacause gnome-terminal is ptyxis? Why??? I did read about changes and this one was very unexpected, there is no word about changing gnome-terminal to ptyxis.

gnome switched to ptyxis not fedora

ptyxis is now default gnome terminal

2 Likes

image
If you search gnome-terminal still in repo of fedora and you can install it if you want

1 Like

Thanks! I changed gnome-terminal to ptyxis in my scripts and it …works. I guess… I like ptyxis, I probably missed these changes… I always read changes, especially before rebasing to beta, but that was unexpected.

Actually it’s the opposite?
Fedora switched to ptyxis, while Console is still a GNOME Core App.

p.s. GNOME developer comments

4 Likes

This is the first I’m hearing about a change to the default terminal app, so take what I have to say with a hefty grain of NaCl. But I assume (and I say assume because this is speculation!) the reason is because Fedora already kind of took the position that GNOME Console (kgx) is too minimalistic, to the point of not being as useful as GNOME Terminal. Now that Fedora is going harder into the Atomic Desktops, it probably made sense to migrate to Ptyxis, since it’s very useful on Silverblue and the like, thereby eliminating two birds (GTK4/libadwaita migration and making the Atomic Desktops more friendly) with one stone, so to speak.

1 Like

Afaik the Ptyxis developer was already doing most of the recent backporting (GTK4 etc) to gnome-terminal, as the original developer appeared less involved in recent years. So it became increasingly sensible to switch to Ptyxis, since that was maintained by the same dev and better geared to newer environments due to it’s container awareness. The fact that it also has some really good theming options is a great bonus as well.

1 Like

I noticed openSUSE shipped kgx for a while with GNOME alongside gnome-terminal. First time I heard of ptyxis but kgx seemed to drop-in for what I used terminal for (mainly just opening it with commands passed into it).


One small change was instead of just calling gnome-terminal or kgx and having a new standalone window just-open, I have to use --standalone with ptyxis:

ptyxis --standalone

Which turned my usual update hotkey to this:

ptyxis --standalone --execute "sudo sh -c 'dnf clean 'all' && dnf distro-sync -y && sync && flatpak update && wget -O '/tmp/sb-hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && mv --force '/tmp/sb-hosts' '/etc/hosts' && restorecon -F -I -R '/etc/hosts' && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''"

I feel like using --execute and sh -c like that might be redundant or be better with --, but it works :stuck_out_tongue:

With ptyxis I can’t open it and immediately paste a command into it with Ctrl + Shift + V (noting pastes into it). If I right-click and Paste, then with later commands I can copy/paste commands into ptyxis with that keyboard shortcut.

When I do Ctrl + Shift + V nothing happens, but if I press Enter, ^M is shown.

gnome-console (kgx) is fine with pasting into it immediately on F41 beta.


I’m curious why ptyxis is default on Workstation if kgx/Console is seemingly what everyone else uses (Arch, even GNOME core apps)? I don’t care at all about Containers (or I probably wouldn’t be using Workstation :stuck_out_tongue:), and in that one scenario kgx actually works better.

And forget even trying to remember spelling that name any time soon; in some hours I still can’t remember any part of ptyxis :stuck_out_tongue:

The order you press the buttons matter, and the shortcut for paste is Shift + Ctrl + V according to the app’s preferences.

Doing that specific order didn’t do anything different (doesn’t work first time; manual GUI paste and then Ctrl + Shift + V or Shift + Ctrl + V work)

Oh, you are right, at startup it does not work.

This seems to work fine for me here locally.

Afaik there is a generically branded version intended as a drop-in replacement for gnome-terminal, i have that version installed:

Hopefully Fedora will be shipping that version too in F41 and not the version named ‘Ptyxis’.

Looks fixed with ptyxis-47.1-1!

2 Likes

I found Files (nautilus) do not have “Open in Terminal” menu anymore. I guess that could be about Ptyxsis?

Seems fine for me! (I can right-click anywhere in Nautilus → Open in Console, the Terminal opened is ptyxis)

I heard someone else mention that before so it’s possible the feature might have came in a very recent update.

That should hopefully be addressed before Fedora 41 launches.

This was fixed in Ptyxis 47.0

# Ptyxis 47.0 changelog

 * Implement application open file vfunc to work with Nautilus

The versions are tied to the Gnome release. so this should be included with F41.

I have Ptyxis 47 installed on Fedora 41 right now, no open terminal option in Nautilus.

I noticed the right-click option is called Console and I did install gnome-console (kgx) a while back, but removed it. I wonder if kgx did something to get the right-click, and then it carried-over to ptyxis.

I have ptyxis-47.1-1.fc41.x86_64 and nautilus-47.0-1.fc41.x86_64 installed.