Iterm for ubuntu7/29/2023 When I was about to give up, I saw a post on Reddit about someone who got XFCE working on WSL Bash. What I realized in my search and multiple trials was there just wasn’t a good Windows terminal emulator. Not gonna cut it for me (though I still do use Cmder regularly for when I need to run Windows cmd.exe) Linux Terminal Emulators I could never get mouse mode to work (scrolling or selecting panes), and resizing windows was problematic. Unfortunately, when I started using Tmux it became a problem. The closest I got, and one that I used for a while was Cmder: Love this app for managing remote connections (e.g. Pros: Screenshots online made it look pretty.Same as Wsltty, just harder to configure initially.Pros: Window resizing and mouse worked great.Same as Cmder - not as pretty though by default.Cons: Lacked mouse support in Tmux resizing Windows was funky.Each had their own drawbacks and I eventually gave up. I think I tried every major Windows terminal app I could find. Working mouse support for scrolling and Vim/Tmux.I wanted to utilize WSL (not Cygwin) and at a minimum needed: I really just wanted the equivalent of iTerm2 in Windows. In this post, I’m going to quickly explain how I got it running and configured, and some of the other options I tried. It supports tabs, splits, mouse mode and has a pretty color scheme to boot: But the only thing holding me back was the lack of a nice terminal emulator (admittedly, I’m shallow and like pretty things).Īfter much tinkering, I’ve ended up with what I feel is the most comfortable terminal experience I can get on Windows. With the Windows Subystem for Linux (WSL) it’s now possible to have a “native” Ubuntu command line on my Windows 10 machine to use for my CLI nerdiness. I often feel like I just pay the premium for Mac hardware to have a reliable and easy to configure *Nix operating system.īut lately I’ve really been wanting to get off the Mac ecosystem and start using Windows 10 on my X1 Carbon as my daily machine. And using iTerm2 with oh-my-zsh is the best terminal experience I’ve ever had. Python and Node dev environments just work. With Homebrew, command line tools just work. While there’s nothing particularly special about MacOS that I love (in fact there’s quite a bit I don’t like), it’s honestly been the terminal and the underlying Unix based operating system that keep me glued to it. So, if you were expecting something to complete quickly, but it’s taking forever, hit ⌥⌘A, go look at cat gifs, and wait for the alert.I’ve been using a Mac as my daily driver for work for the last few years. One nice aspect of this feature is that you can set up an alert after you’ve run the command. This alert isn’t very descriptive, but it’s enough to wake me up from my slumber and get my attention. At the point where it completes, iTerm2 will alert you with a MacOS alert: Now, you can go back to reading the internet while your long running task continues. When you do this, you’ll see an eye image appear top-right of your terminal window: Once you have the shell integration installed you can press ⌥⌘A (Opt+Cmd+A) any time you kick off a long running process in your terminal. ITerm2 has a feature called Alert on Next Mark, which is mentione in their online docs for : Given I spend most of my terminal-time within iTerm2 on my Mac, this tweet made me wondered if there was something I could do within iTerm 2 that would give me a similar experience. Recently, I read a tweet by When running a long running bash script use `longthing & notify-send bash "I'm done"` so you can browse/email but get notified when it's done (tested on ubuntu 18)- Lawrence Gripper July 2, 2018 What’s even more common is to then forget about that terminal window because (for example) you’ve started to read the entire XKCD archive. When you kick off a long running process from a terminal window, it’s common to then switch to another application while the process runs (in my case, when I’m deploying a number of resources to Azure using an ARM template). This isn’t particularly novel, and if I’d RTFM’d the iTerm2 docs I’d know about this already, but I’ve just stumbled across a cool feature of iTerm2 and I thought I’d share it.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |