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


Groups > linux.debian.user > #235568 > unrolled thread

About Terminal on Buster

Started byfrantal@libero.it
First post2021-05-27 17:40 +0200
Last post2021-05-27 18:50 +0200
Articles 19 — 12 participants

Back to article view | Back to linux.debian.user


Contents

  About Terminal on Buster frantal@libero.it - 2021-05-27 17:40 +0200
    Re: About Terminal on Buster IL Ka <kazakevichilya@gmail.com> - 2021-05-27 18:10 +0200
      Re: About Terminal on Buster IL Ka <kazakevichilya@gmail.com> - 2021-05-27 19:00 +0200
    Re: About Terminal on Buster Greg Wooledge <greg@wooledge.org> - 2021-05-27 17:50 +0200
      Re: About Terminal on Buster Greg Wooledge <greg@wooledge.org> - 2021-05-27 20:00 +0200
        Re: About Terminal on Buster James Wallen <jpwallen@comcast.net> - 2021-05-27 20:20 +0200
          Re: About Terminal on Buster rhkramer@gmail.com - 2021-05-27 23:40 +0200
      Re: About Terminal on Buster IL Ka <kazakevichilya@gmail.com> - 2021-05-27 20:20 +0200
        Re: About Terminal on Buster Greg Wooledge <greg@wooledge.org> - 2021-05-27 20:20 +0200
        Re: About Terminal on Buster James Wallen <jpwallen@comcast.net> - 2021-05-27 20:30 +0200
      Re: About Terminal on Buster James Wallen <jpwallen@comcast.net> - 2021-05-27 20:10 +0200
      Re: About Terminal on Buster Liam O'Toole <liam.p.otoole@gmail.com> - 2021-05-27 22:00 +0200
      Re: About Terminal on Buster Charles Curley <charlescurley@charlescurley.com> - 2021-05-27 23:40 +0200
        Re: About Terminal on Buster deloptes <deloptes@gmail.com> - 2021-05-28 07:50 +0200
    Re: About Terminal on Buster Dan Ritter <dsr@randomstring.org> - 2021-05-27 17:50 +0200
    Re: About Terminal on Buster Robbi Nespu <robbinespu@gmail.com> - 2021-05-27 18:10 +0200
      Re: About Terminal on Buster Hans <hans.ullrich@loop.de> - 2021-05-27 18:20 +0200
      Re: About Terminal on Buster Greg Wooledge <greg@wooledge.org> - 2021-05-27 18:40 +0200
        Re: About Terminal on Buster Erwan David <erwan@rail.eu.org> - 2021-05-27 18:50 +0200

#235568 — About Terminal on Buster

Fromfrantal@libero.it
Date2021-05-27 17:40 +0200
SubjectAbout Terminal on Buster
Message-ID<Cjqh4-13N-11@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I installed a Debian 10 (32 bit) on an old PC desktop and I saw that the terminals (UX) doesn't have any menu above.

How can I obtain a terminal window with menu above so that for example I can copy or paste commands etc.?

Many thanks for the help and regards

frantal

[toc] | [next] | [standalone]


#235571

FromIL Ka <kazakevichilya@gmail.com>
Date2021-05-27 18:10 +0200
Message-ID<CjqK5-1sJ-3@gated-at.bofh.it>
In reply to#235568

[Multipart message — attachments visible in raw view] — view raw

>
> How can I obtain a terminal window with menu above so that for example I
> can copy or paste commands etc.?
>
Which desktop environment / window manager are you using?

https://wiki.debian.org/DesktopEnvironment

>

[toc] | [prev] | [next] | [standalone]


#235580

FromIL Ka <kazakevichilya@gmail.com>
Date2021-05-27 19:00 +0200
Message-ID<Cjrwt-1Ir-1@gated-at.bofh.it>
In reply to#235571

[Multipart message — attachments visible in raw view] — view raw

>
>
> XFCE
>
Right click on the terminal, preferences, appearance.
Choose "display toolbar"

https://i.imgur.com/1kLAsVd.png

>
>

[toc] | [prev] | [next] | [standalone]


#235573

FromGreg Wooledge <greg@wooledge.org>
Date2021-05-27 17:50 +0200
Message-ID<CjqqL-179-15@gated-at.bofh.it>
In reply to#235568
On Thu, May 27, 2021 at 05:21:28PM +0200, frantal@libero.it wrote:
> I installed a Debian 10 (32 bit) on an old PC desktop and I saw that the terminals (UX) doesn't have any menu above.
> 
> How can I obtain a terminal window with menu above so that for example I can copy or paste commands etc.?

There are a *lot* of different terminal emulators.  Pick the one you
like best.  Some have menus, tabs, scrollbars... some don't.  Some have
only classic 16-color mode, some have 256-color mode, etc.  Some may
be configured by X resources, some may be configured by command-line
options, and so on.

Some of the most popular terminal emulators are xterm, rxvt-unicode,
gnome-terminal, konsole, lxterminal, terminator.  There are more -- if
you want a full list, try "apt-cache showpkg x-terminal-emulator"
and look at the lines after "Reverse Provides:".

That said, the way one normally copies and pastes text does not involve
a menu.  Standard X11 selection pasting works like this:

1) Move the mouse to the beginning of the text you would like to copy.
2) Hold the left button (button 1) down.
3) Drag the mouse to the end of the text you would like to copy.
4) Release button 1.  Now the text is highlighted, and selected.
5) Move the mouse to the window into which you would like to paste the text
   and acquire focus -- which may involve clicking, or not, depending on
   your window manager.
6) Press the middle button (button 2) once to paste the selected text.

If your mouse lacks a middle button, it may have a scroll wheel.  On such
mice, pressing the scroll wheel as if it were a button activates the
button 2 event.  These are obnoxious as hell, though, because it's
really difficult to press the scroll wheel like a button without also
*turning* it, which may have other side effects depdending on the window
where you've got focus.

If your mouse has only two buttons and no scroll wheel, you may have to
enable an emulation mode that lets you emulate button 2 by pressing the
left and right buttons simultaneously.  I don't know how to enable this
off the top of my head in modern Debian systems, because it's been decades
since I've seen such a mouse.

There are some alternatives to steps 1 through 4.  For example, in many
terminal emulators, you can double-click or triple-click or even
quadruple-click a piece of text in order to select it.  The effects vary
by terminal emulator and by where your mouse pointer is within a line
of text -- this may select a word, or a whole line, with the definition
of "word" being similarly fluid.

Contrariwise, applications that do not come from a Unix background (e.g.
major web browsers) may not have the same copy and paste selection
semantics.  In some of these applications, after highlighting a piece
of text, you may have to press "Ctrl-C" to select it for pasting.  (Don't
do this in a terminal, because Ctrl-C has a very different meaning
there!)  Just be aware that this dichotomy exists.

[toc] | [prev] | [next] | [standalone]


#235583

FromGreg Wooledge <greg@wooledge.org>
Date2021-05-27 20:00 +0200
Message-ID<Cjssx-2gu-1@gated-at.bofh.it>
In reply to#235573
On Thu, May 27, 2021 at 06:47:04PM +0100, mick crane wrote:
> > Is there not a program required to do that mouse, click, drag, select ?
> > I recall with various installations that worked then it didn't and it
> > worked after installing "g something something"
> 
> It might have been "d something something" with a g in there. Was definitely
> 3 letters and began with a "g" or a "d".

No, there is no separate program required to do standard mouse-based
X11 copy/paste.  It's absolutely fundamental.

Install xterm if you haven't already, and then run it.  Inside the xterm,
highlight something with the mouse, and then click the middle button,
and it will paste the thing you've selected (assuming you haven't left
your shell, or put your shell into a nonstandard mode).

I don't know what you're thinking of, but it was probably unique to some
set of applications you were using at the time.

[toc] | [prev] | [next] | [standalone]


#235584

FromJames Wallen <jpwallen@comcast.net>
Date2021-05-27 20:20 +0200
Message-ID<CjsLU-2Ck-3@gated-at.bofh.it>
In reply to#235583
On 5/27/21 1:59 PM, Greg Wooledge wrote:
> On Thu, May 27, 2021 at 06:47:04PM +0100, mick crane wrote:
>>> Is there not a program required to do that mouse, click, drag, select ?
>>> I recall with various installations that worked then it didn't and it
>>> worked after installing "g something something"
>>
>> It might have been "d something something" with a g in there. Was definitely
>> 3 letters and began with a "g" or a "d".
> 
> No, there is no separate program required to do standard mouse-based
> X11 copy/paste.  It's absolutely fundamental.
> 
> Install xterm if you haven't already, and then run it.  Inside the xterm,
> highlight something with the mouse, and then click the middle button,
> and it will paste the thing you've selected (assuming you haven't left
> your shell, or put your shell into a nonstandard mode).
> 
> I don't know what you're thinking of, but it was probably unique to some
> set of applications you were using at the time.
> 

I joined the conversation late without referring to earlier messages, 
and suggested gpm. I was thinking about copying and pasting into /from 
the console. If we're talking about terminal emulators, yeah, all of 
them I've used "just work" with copy and paste. I show gpm to folks who 
seldom use the console and who want to use their mice in the TTY.

Or does mouse-based copy and paste also work from console these days? I 
always use screen or tmux, so am able to keep my hands on the keyboard 
as where they work with reasonable efficiency.

BTW, Greg, I'd like to express my appreciation for wooledge.org and so 
much other information you've provided the community. It's a remarkable 
resource.

JPW

[toc] | [prev] | [next] | [standalone]


#235599

Fromrhkramer@gmail.com
Date2021-05-27 23:40 +0200
Message-ID<CjvTs-4sb-7@gated-at.bofh.it>
In reply to#235584
On Thursday, May 27, 2021 02:18:02 PM James Wallen wrote:
> BTW, Greg, I'd like to express my appreciation for wooledge.org and so
> much other information you've provided the community. It's a remarkable
> resource.

+1

[toc] | [prev] | [next] | [standalone]


#235585

FromIL Ka <kazakevichilya@gmail.com>
Date2021-05-27 20:20 +0200
Message-ID<CjsLU-2Ck-7@gated-at.bofh.it>
In reply to#235573

[Multipart message — attachments visible in raw view] — view raw

>
>
> "gpm" ?
>

I believe this is a mouse server for the virtual terminal running in the
virtual console (aka "text mode")
X11 uses its own mouse drivers. In modern versions they are based on
libinput.

There are several types of "clipboard" in X11: one is called "PRIMARY
selection" and another is "CLIPBOARD" itself:
https://unix.stackexchange.com/a/139193

[toc] | [prev] | [next] | [standalone]


#235587

FromGreg Wooledge <greg@wooledge.org>
Date2021-05-27 20:20 +0200
Message-ID<CjsLU-2Ck-9@gated-at.bofh.it>
In reply to#235585
On Thu, May 27, 2021 at 09:14:23PM +0300, IL Ka wrote:
> >
> >
> > "gpm" ?
> >
> 
> I believe this is a mouse server for the virtual terminal running in the
> virtual console (aka "text mode")
> X11 uses its own mouse drivers. In modern versions they are based on
> libinput.

Yeah.  gpm is for the Linux console, allowing you to use the mouse without
running X11 or Wayland.

[toc] | [prev] | [next] | [standalone]


#235588

FromJames Wallen <jpwallen@comcast.net>
Date2021-05-27 20:30 +0200
Message-ID<CjsVz-2Ft-1@gated-at.bofh.it>
In reply to#235585
On 5/27/21 2:14 PM, IL Ka wrote:
>>
>>
>> "gpm" ?
>>
> 
> I believe this is a mouse server for the virtual terminal running in the
> virtual console (aka "text mode")
> X11 uses its own mouse drivers. In modern versions they are based on
> libinput.
> 
> There are several types of "clipboard" in X11: one is called "PRIMARY
> selection" and another is "CLIPBOARD" itself:
> https://unix.stackexchange.com/a/139193
> 

Ya, I was thinking of the console. It's good to have you and Greg to 
keep me on track. I have spent most of my life wandering about in the 
darkness depending upon others to shine a little light at me now and then.

;-)

[toc] | [prev] | [next] | [standalone]


#235586

FromJames Wallen <jpwallen@comcast.net>
Date2021-05-27 20:10 +0200
Message-ID<CjsCe-2z6-5@gated-at.bofh.it>
In reply to#235573
On 5/27/21 1:47 PM, mick crane wrote:
> 
> It might have been "d something something" with a g in there. Was 
> definitely 3 letters and began with a "g" or a "d".
> 

"gpm" ?

I know. I can never remember its name when I want to install it on 
someone's system.

[toc] | [prev] | [next] | [standalone]


#235593

FromLiam O'Toole <liam.p.otoole@gmail.com>
Date2021-05-27 22:00 +0200
Message-ID<CjukF-3n8-9@gated-at.bofh.it>
In reply to#235573
On Thu, 27 May, 2021 at 18:38:55 +0100, mick crane wrote:
> 
> Is there not a program required to do that mouse, click, drag, select ?
> I recall with various installations that worked then it didn't and it worked
> after installing "g something something"

That would be gpm. I haven't seen it in the wild in years.

[toc] | [prev] | [next] | [standalone]


#235600

FromCharles Curley <charlescurley@charlescurley.com>
Date2021-05-27 23:40 +0200
Message-ID<CjvTs-4sb-1@gated-at.bofh.it>
In reply to#235573
On Thu, 27 May 2021 18:47:04 +0100
mick crane <mick.crane@gmail.com> wrote:

> > Is there not a program required to do that mouse, click, drag,
> > select ? I recall with various installations that worked then it
> > didn't and it worked after installing "g something something"  
> 
> It might have been "d something something" with a g in there. Was 
> definitely 3 letters and began with a "g" or a "d".

For the system console(s), there is gpm. If present, it is inactive when
X is running.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

[toc] | [prev] | [next] | [standalone]


#235607

Fromdeloptes <deloptes@gmail.com>
Date2021-05-28 07:50 +0200
Message-ID<CjDxD-D0-1@gated-at.bofh.it>
In reply to#235600
Charles Curley wrote:

> For the system console(s), there is gpm. If present, it is inactive when
> X is running.

I am not sure about it. Each time I switch to one of the consoles
(CTRL+ALT+Fn) the mouse works just fine although the X server is running on
F7 or F8

[toc] | [prev] | [next] | [standalone]


#235574

FromDan Ritter <dsr@randomstring.org>
Date2021-05-27 17:50 +0200
Message-ID<CjqqL-179-17@gated-at.bofh.it>
In reply to#235568
frantal@libero.it wrote: 
> I installed a Debian 10 (32 bit) on an old PC desktop and I saw that the terminals (UX) doesn't have any menu above.
> 
> How can I obtain a terminal window with menu above so that for example I can copy or paste commands etc.?
> 
> Many thanks for the help and regards
> 

Assuming that you are in a graphical environment, you can
probably copy text by highlighting it (swipe with your left
button down) and paste it by middle-clicking.

If you still want a terminal with a menu bar, try

sudo apt install gnome-terminal

You can look for new packages with

apt search terminal

-dsr-

[toc] | [prev] | [next] | [standalone]


#235575

FromRobbi Nespu <robbinespu@gmail.com>
Date2021-05-27 18:10 +0200
Message-ID<CjqK5-1sJ-7@gated-at.bofh.it>
In reply to#235568
On 5/27/21 11:21 PM, frantal@libero.it wrote:
> How can I obtain a terminal window with menu above so that for example I 
> can copy or paste commands etc.?
> 

Copying
-------
select the text with mouse on terminal and Ctrl+Shift+C for copy the text

Pasting
--------
Copy text on terminal or somewhere and Ctrl+Shift+V for pasting on terminal


-- 
Email : Robbi Nespu <robbinespu AT SPAMFREE gmail DOT com>
PGP fingerprint : D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA
PGP key : https://keybase.io/robbinespu/pgp_keys.asc

[toc] | [prev] | [next] | [standalone]


#235576

FromHans <hans.ullrich@loop.de>
Date2021-05-27 18:20 +0200
Message-ID<CjqTL-1vT-1@gated-at.bofh.it>
In reply to#235575
Am Donnerstag, 27. Mai 2021, 18:09:30 CEST schrieb Robbi Nespu:
Or click the mouse wheel, this will insert the last marked text automatically.

> On 5/27/21 11:21 PM, frantal@libero.it wrote:
> > How can I obtain a terminal window with menu above so that for example I
> > can copy or paste commands etc.?
> 
> Copying
> -------
> select the text with mouse on terminal and Ctrl+Shift+C for copy the text
> 
> Pasting
> --------
> Copy text on terminal or somewhere and Ctrl+Shift+V for pasting on terminal

[toc] | [prev] | [next] | [standalone]


#235579

FromGreg Wooledge <greg@wooledge.org>
Date2021-05-27 18:40 +0200
Message-ID<Cjrd8-1BW-9@gated-at.bofh.it>
In reply to#235575
On Fri, May 28, 2021 at 12:09:30AM +0800, Robbi Nespu wrote:
> On 5/27/21 11:21 PM, frantal@libero.it wrote:
> > How can I obtain a terminal window with menu above so that for example I
> > can copy or paste commands etc.?
> > 
> 
> Copying
> -------
> select the text with mouse on terminal and Ctrl+Shift+C for copy the text
> 
> Pasting
> --------
> Copy text on terminal or somewhere and Ctrl+Shift+V for pasting on terminal

Please note that Ctrl-Shift-C and Ctrl-Shift-V will *not* work as
you expect in traditional terminal emulators.  Although, with the
number of different programs in Debian, I'm willing to accept that
it may work in at least *one* terminal.

In a typical terminal emulator, Ctrl-Shift-C will do exactly the same
thing as Ctrl-C (which is normally "send the interrupt signal"), and
Ctrl-Shift-V will do the same thing as Ctrl-V (which is normally
"prevent the special meaning of the next key and treat it literally").

Generally, if you're coming from a Microsoft Windows tradition, you may
have better luck using Shift-Insert for pasting.  This works in many
terminals, as well as almost all of the Big Windows-Style Applications
such as web browsers.

[toc] | [prev] | [next] | [standalone]


#235581

FromErwan David <erwan@rail.eu.org>
Date2021-05-27 18:50 +0200
Message-ID<CjrmN-1Fh-7@gated-at.bofh.it>
In reply to#235579
Le 27/05/2021 à 18:30, Greg Wooledge a écrit :
> On Fri, May 28, 2021 at 12:09:30AM +0800, Robbi Nespu wrote:
>> On 5/27/21 11:21 PM, frantal@libero.it wrote:
>>> How can I obtain a terminal window with menu above so that for example I
>>> can copy or paste commands etc.?
>>>
>> Copying
>> -------
>> select the text with mouse on terminal and Ctrl+Shift+C for copy the text
>>
>> Pasting
>> --------
>> Copy text on terminal or somewhere and Ctrl+Shift+V for pasting on terminal
> Please note that Ctrl-Shift-C and Ctrl-Shift-V will *not* work as
> you expect in traditional terminal emulators.  Although, with the
> number of different programs in Debian, I'm willing to accept that
> it may work in at least *one* terminal.
>
> In a typical terminal emulator, Ctrl-Shift-C will do exactly the same
> thing as Ctrl-C (which is normally "send the interrupt signal"), and
> Ctrl-Shift-V will do the same thing as Ctrl-V (which is normally
> "prevent the special meaning of the next key and treat it literally").

Depends, on Konsole (KDE terminal), on the contrary Ctrl-c/Ctrl-v are
sent to programms ans Shift-Ctrl-c Shift-Ctrl-v for copy/paste.


> Generally, if you're coming from a Microsoft Windows tradition, you may
> have better luck using Shift-Insert for pasting.  This works in many
> terminals, as well as almost all of the Big Windows-Style Applications
> such as web browsers.
>
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web