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

If I change the title from the menu, it does not change with commands #463

Open
arteze opened this issue Nov 27, 2024 · 7 comments
Open

Comments

@arteze
Copy link

arteze commented Nov 27, 2024

Expected behaviour

If I change the title from the menu, I can then change it with the following commands.

PS1="$PS1\[\e];Test\a\]"

Option 2:

xdotool getactivewindow set_window --name "Test"

Actual behaviour

If I change the title from the menu, when I want to change it with a command, the title is not changed.

Steps to reproduce the behaviour

  1. Change the title from the menu
  2. Run the following command to change the title (it works if I don't change the title from the options):
PS1="$PS1\[\e];Test\a\]"

MATE general version

1.28.1

Package version

https://abf-downloads.openmandriva.org/cooker/repository/x86_64/unsupported/release/mate-terminal-1.28.1-1-omv2490.x86_64.rpm

Linux Distribution

OpenMandriva Cooker 24.90 Unsupported

Link to bugreport of your Distribution (requirement)

https://github.com/OpenMandrivaAssociation/distribution/issues

@arteze
Copy link
Author

arteze commented Nov 27, 2024

It would be nice if it was in both the window name and the tab name.

@JamesR98
Copy link

In Edit > Profile Preferences > Title and Command is When terminal commands set their own titles set to something other than Keep initial title?

Running PS1="$PS1\[\e];Test\a\]" works for me (Fedora 1.28.1) with a changed option in Edit > Profile Preferences > Title and Command > Initial title

@arteze
Copy link
Author

arteze commented Jan 22, 2025

Mate was uninstalled automatically and I get this error:

(mate-terminal:1147671): GLib-GIO-ERROR **: 23:23:19.465: Settings schema 'org.mate.interface' is not installed

Which Open Mandriva package should I install?

@JamesR98
Copy link

I think mate-common, can you not just reinstall mate-terminal with your package manager?

@arteze
Copy link
Author

arteze commented Jan 22, 2025

I don't know how to enable Unsupported mirror in dnf. I found the package and mate-terminal works now.

I leave a video (it's in Spanish, I'm from Argentina)

Peek.22-01-2025.00-13.mp4

@JamesR98
Copy link

Ah I understand. I can confirm if you set the tab name you can no longer update either the tab name or the window title using the PS1 command. This is also the case on mate-terminal 1.26.0.

I can see this being the intended functionality if someone manually changes the title they may not want it to change again. Or they might.

@arteze
Copy link
Author

arteze commented Jan 22, 2025

Exactly, I want it to be able to be changed again by commands once the title has been changed manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants