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

Feature Request: Warning when pasting terminal commands (like XFCE Terminal) #409

Open
MintMain21 opened this issue Jan 19, 2022 · 1 comment

Comments

@MintMain21
Copy link

MintMain21 commented Jan 19, 2022

I recently migrated to MATE from XFCE, and I quickly found myself installing the XFCE Terminal in MATE for one simple reason. The XFCE Terminal (in Linix Mint anyway) gives a warning when people paste in text featuring enter keypresses, as every terminal, by nature, interprets this as a instant command.

Seeing as both XFCE and MATE are aimed at a similar range of users (noobs and experts alike), I think this feature should be an option in the MATE terminal as well.

And for the record, this warning can also be disabled in XFCE Terminal.

@cwendling
Copy link
Member

Recent versions of MATE-Terminal (or libVTE probably?) insert pasted newlines as literal newlines rather than submitting the command. Basically, now a paste won't run the command, only pressing Enter manually will.
It might be nice to have an optional warning nonetheless, but I think the security concerns are pretty much lifted, and it also helps with hidden text (e.g. from malicious webpages), where a mere warning would not (unless it would feature the actual text to be pasted).

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