Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243821

Re: downsides to replacing xfce4-terminal?

From John Crawley <john@bunsenlabs.org>
Newsgroups linux.debian.user
Subject Re: downsides to replacing xfce4-terminal?
Date 2022-01-08 08:00 +0100
Message-ID <DDdRM-86r-5@gated-at.bofh.it> (permalink)
References <DD29Y-A5-9@gated-at.bofh.it> <DD2jH-E6-53@gated-at.bofh.it> <DD3pn-1gt-5@gated-at.bofh.it> <DDahb-5wc-1@gated-at.bofh.it>
Organization BunsenLabs

Show all headers | View raw


On 08/01/2022 12:00, David Wright wrote:
> On Fri 07 Jan 2022 at 14:46:04 (-0500), Lee wrote:
>> right - another unknown.  There's a  /usr/bin/xfce4-terminal.wrapper
>> that starts off with
>> #! /usr/bin/perl -w
>> #
>> # Terminal.wrapper - Debian terminal wrapper script
>>
>> which I don't know who calls or even why it exists.
> 
> You can read it: it appears to shuffle some of the arguments,
> like '-display' → '--default-display', and eliminate others,
> like '-fn'/'-fg'/'-bg'. Perhaps the options that the DE puts
> into the call don't match what the binary expects to be given,
> or it's pretending to be a different program.
> 
> At the end, it execs a bare 'xfce4-terminal' with the new
> argument list, so I presume that would reconsult the $PATH.

A number of terminals have ".wrapper" scripts to make them match the specification of Debian's x-terminal-emulator. In particular -e <command line> often needs massaging to fit some terminal's own peculiarities.

~$ update-alternatives --list x-terminal-emulator
/usr/bin/lxterminal
/usr/bin/urxvt
/usr/bin/xfce4-terminal.wrapper

The wrappered version is set as the debian alternative.

-- 
John

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

downsides to replacing xfce4-terminal? Lee <ler762@gmail.com> - 2022-01-07 19:30 +0100
  Re: downsides to replacing xfce4-terminal? Greg Wooledge <greg@wooledge.org> - 2022-01-07 19:40 +0100
    Re: downsides to replacing xfce4-terminal? Lee <ler762@gmail.com> - 2022-01-07 20:50 +0100
      Re: downsides to replacing xfce4-terminal? David Wright <deblis@lionunicorn.co.uk> - 2022-01-08 04:10 +0100
        Re: downsides to replacing xfce4-terminal? John Crawley <john@bunsenlabs.org> - 2022-01-08 08:00 +0100
  Re: downsides to replacing xfce4-terminal? riveravaldez <riveravaldezmail@gmail.com> - 2022-01-07 20:50 +0100
    Re: downsides to replacing xfce4-terminal? Lee <ler762@gmail.com> - 2022-01-07 21:20 +0100
      Re: downsides to replacing xfce4-terminal? Michael Lange <klappnase@freenet.de> - 2022-01-08 00:20 +0100
        Re: downsides to replacing xfce4-terminal? Greg Wooledge <greg@wooledge.org> - 2022-01-08 02:10 +0100
          Re: downsides to replacing xfce4-terminal? David Wright <deblis@lionunicorn.co.uk> - 2022-01-08 04:10 +0100
          Re: downsides to replacing xfce4-terminal? Linux-Fan <Ma_Sys.ma@web.de> - 2022-01-08 13:20 +0100
    Re: downsides to replacing xfce4-terminal? ghe2001 <ghe2001@protonmail.com> - 2022-01-07 21:40 +0100
  Re: downsides to replacing xfce4-terminal? Brian <ad44@cityscape.co.uk> - 2022-01-07 21:20 +0100

csiph-web