2

I am using xfce terminal on one side of screen, and many tabs. But when I want to use EOF interupt (aka <ctrl>-D), then the tab will remove its position from that side of screen to the other (see image below), I have even try to set -o ignoreeof but to no avail.

Before <ctrl>-D: enter image description here

after <ctrl>-D: enter image description here

As you can see, the first tab Terminal will get off the right side of screen to the other, only because of <ctrl>-D. Is there a way to fix this bug? (that is -> the tab where is EOF interupt triggered (Terminal in my case), will stay at its position (will be fixed), without moving randomly on the screen)? This is really annoying.

I cannot find any shortcut for <ctrl>-D in ~/.config/xfce4/terminal/accels.scm, so I assume the xfce4-terminal does not interpret it? (And let it be handle as interrupt?), but not sure where the problem is.

9
  • 3
    This is a duplicate of unix.stackexchange.com/q/590202/5132 . Commented Jun 1, 2020 at 11:15
  • @JdeBP yes, I wanted to migrated it from my second account, but I do not know how, so I post it here as well. But still could be answer here Commented Jun 1, 2020 at 18:08
  • But your screenshots show 2 tabs before, and again 2 tabs after. So it seems that ^D is not closing the active tab? That would be a bug. Commented Jun 3, 2020 at 20:12
  • @q.undertow, you right, it does not (if invoke inside terminal). It closes once it is split (as is in second picture). So as it seems - once there is no other tabs, but ONLY one, then it closes on ^D, but if there are more tabs, then happens what is in pictures. Commented Jun 3, 2020 at 20:17
  • I see. So probably xfce-terminal has a misfeature where it uses ^D as an app-specific shortcut and doesn't pass the real control code down to the shell running inside (which the shell would interpret as EOF and an instruction to exit). To get rid of this behavior you'll need to disable that shortcut. I don't use xfce myself (mostly) so I don't know how, but I hope this will get you started. Commented Jun 3, 2020 at 20:21

1 Answer 1

0

XFCE terminal by default doesn't do anything for the Ctrl + D shortcut. In fact it's so commonly used when working with Bash it would be a major issue. Please make sure your desktop environment or other applications don't react to it.

Here you can find which application owns a global hotkey.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.