this post was submitted on 30 Jul 2024
16 points (100.0% liked)

Linux

48090 readers
929 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm new to Linux; I fled from Windows in the wake of 10-11 ever-accelerating stream of bullshit.

Anyway, I have major muscle memory for MRU window and tab switching with alt-tab and ctrl-tab. Edit for clarity: I also want to be able to navigate to the Nth most recent tab by holding Ctrl and pressing Tab N times, then releasing Ctrl. I use it all the time to switch windows, switch browser tabs, and switch IDE tabs. In Windows, I could also switch Terminal tabs in MRU order, and I miss this in Linux. My distro (Mint) comes with gnome-terminal, which as far as I can tell doesn't expose MRU switching as an option.

Is there an alternative terminal that does support this, ideally with ctrl-tab? Alternatively, if you use MRU switching in other contexts but not in your terminal, what do you use instead?

UPDATE

After installing many different terminals and poring through documentation of widely varying quality, I have found at least two terminal emulators that just do what I want, out of the box: Konsole and QTerminal. I'll dive deeper into the relative merits of these two for now. If you know of another terminal that does what I described, or any crucial info about either Konsole or QTerminal, please let me know!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 months ago (1 children)

Thanks, I've heard of tmux but have never used it before. I took a quick look at the Getting Started guide, and it sounds like I could get behavior like what I want by e.g. creating two windows each with one full-window pane and toggle back and forth between windows? I will definitely look into this further.

[–] [email protected] 3 points 3 months ago (2 children)

Yes, something like that.

You'll get other fun features for free, like

  • the ability to reattach the session over SSH, after starting it locally
  • immunity to Xorg / Wayland compositor / terminal emulator crashing
  • ability to comfily use non-tabbed terminal emulators like Alacritty. At least I think it's not tabbed...
[–] [email protected] 1 points 3 months ago (1 children)

OK, this sounds close to what I want, but I left one part unsaid: my muscle memory is such that if I want to visit the 2nd most recent tab, I can hold Ctrl, press Tab twice, then release Ctrl. It doesn't sound like I can accomplish this with tmux key bindings, or can I?

[–] [email protected] 2 points 3 months ago

I dunno, but it sounds like you'd end up back in the original, rather :|