For Ubuntu 20 and previous versions. when I clicked the “Edit” -->“Select All” of a Gnome/Xfce terminal Menu, it will select all contents including history contents not appeared on the current screen. But for Ubuntu 22 and later versions. the behaviour changed to only select contents on current screen. Some times the logs will periodically outputted (for server daemon), it will be difficult use mouse to select all history output logs. So how can I get all logs? (or I have to redirect the logs to file when starting the daemon as workaround solution?)
This works for Ubuntu GNOME:
Right click and select ‘show menubar’ then in the menubar you will find edit>select all
Also on menubar file>save contents
Thanks for your quick feedback. I checked again the behaviour(issue) only exist on Ubuntu 22.04(LinuxMint 21.03). On Ubuntu 24.04(LinuxMint 22.01), click “Select All” can select all contents including history contents.
Are you saying you’re using Linux Mint? We do not support that here.
I installed another Ubuntu 22.04 by VirtualBox to verify the behaviour. When I click “Edit” -->“Select All” on the menu of GNOME terminal. It only select all contents of current view not including history contents.
It’s easy to reproduce. I’m not sure it’s a issue or not. Just the behaviour is different from other Ubuntu versions(24.04/20.04/18.04…)
The image I used is “ubuntu-22.04.5-desktop-amd64.iso”
(BTW: I really found the behaviour(issue) on LinuxMint 21.03. Since the LinuxMint is from Ubuntu. I verified on Ubuntu and post here)
Personally, I set a keyboard shortcut to do this in GNOME Terminal.
Under “Edit → Select All”, click the “Disabled” entry, then press the key-combo you want. I change it to Shift+Ctrl+A
. Close the dialog, and you’re done.
Now, just press Shift+Ctrl+A
, then Shift+Ctrl+C
to copy the entire terminal history to the clipboard. Faster and easier than the mouse. Here’s me running find
to spew out a lot of text, then killing it with Ctrl+c
, then using the combo above, to select all and copy.
Works a treat!
The shortcut don’t solve the issue. Seems other guys also found the same issue about GNOME-terminal version 3.44 (Ubuntu 22.04).
Well, it does work on 24.04. It’s clearly been fixed between 22.04 and 24.04.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.