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

[nemo-terminal] Capture control-codes consistently #64

Open
wrouesnel opened this issue Aug 27, 2014 · 6 comments
Open

[nemo-terminal] Capture control-codes consistently #64

wrouesnel opened this issue Aug 27, 2014 · 6 comments

Comments

@wrouesnel
Copy link
Contributor

Currently nemo-terminal is very arbitrary about control codes, which can make it impossible to send Ctrl+C to some wild process in the terminal pane - Nemo intercepts it as a copy instead. Nemo-terminal needs to be overridden to take precedence when the pane has focus.

@splace
Copy link

splace commented Mar 20, 2015

also ctrl-R for history searching, cant be used.

@mnagel
Copy link

mnagel commented Jul 3, 2016

Can confirm. I had a glance at the source code but could not find the code handling the key combos. Some seem to work whereas some others (including CTRL+R) do not...

@1bit
Copy link

1bit commented Oct 1, 2018

Thanks to the developper to create this great extension!
I just want to say, as a Linux Mint fan, I'm also missing the use of CTRL+C to abort programs.
Go on with the good work 👍

@mtwebster
Copy link
Member

I'm not sure how possible this would be to fix, if at all.

Ctrl-c works as long as nothing in the nemo view is selected - meaning, if Copy is greyed out in the context menu, ctrl-c works in the terminal.

The biggest issue is that nemo has no idea what nemo-terminal is or what it does. I could possibly fix a few specific shell shortcuts but checking focus in Nemo before deciding whether to let nemo handle an action (like copy) or allow it to pass through, in this case to the terminal. This would, unfortunately, enforce this behavior whether nemo-terminal is running or not. I'm loathe to program into Nemo a check to see if a specific extension is running or not. I'll see what we can do.

@benedictjohannes
Copy link

Checked with Nemo 4.0.6 in ArchLinux and nemo-terminal 4.0.0-2,
running command watch -n2 ls ~
Pressing Ctrl-C does stop the execution.
If focus shifted back to file manager, Ctrl-C does not intercept commands.
But focusing back on terminal and pressing Ctrl-C did stop the command.

@alainpannetier
Copy link

BTW, regarding CTRL-R, (the reason why I came here), the kludge is to actually do a CTRL+SHIFT+R (reverse recall) which is not intercepted/masked by nemo. If your history is not too large (not like mine :-), it's more or less the same.

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

7 participants