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

Linux

1257 readers
75 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!

top 10 comments
sorted by: hot top controversial new old
[–] tmpod@lemmy.pt 4 points 3 months ago (1 children)

Kitty has been my daily driver for quite some time now, I really like it for its rich feature set and extensive configuration.

You can use its goto_tab action with 0 and negative values to get MRU behaviour. See more here: https://sw.kovidgoyal.net/kitty/actions/#action-goto_tab

[–] AdamBomb@lemmy.sdf.org 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 Kitty key bindings, or can I?

[–] tmpod@lemmy.pt 1 points 3 months ago (1 children)

Just tested* and it doesn't seem to work, no. I don't know if it's doable though, it may be.

  • Even though I'm a heavy user of that behaviour in Firefox (which now has to be explicitly turned on :/), I've gotten used to just use the left and right arrows (+kitty mod bind) to move around tabs.
[–] AdamBomb@lemmy.sdf.org 1 points 3 months ago (1 children)

Thanks, I'm open to learning alternative workflows, so thanks for adding that info.

[–] tmpod@lemmy.pt 1 points 3 months ago

Glad to hear! Good luck :)

[–] joshcodes@programming.dev 1 points 3 months ago (1 children)

I've read your update but try Terminator. You use alt + arrow keys to navigate multiple on screen terminals, create new ones with ctrl+e/o and its my favourite. I highly recommend giving it a try!

[–] AdamBomb@lemmy.sdf.org 1 points 3 months ago (1 children)

Thanks, I did try Terminator, but it didn't seem to have the kind of C-Tab MRU tab switching I was after. BTW, it looks like the two I did find also support multi-pane terminals with arrow key navigation. Thanks for taking the time to reply!

[–] joshcodes@programming.dev 1 points 3 months ago

All goof, enjoy your alternatives!