home.social

#footterminal — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #footterminal, aggregated by home.social.

fetched live
  1. I finally published a new blog post where I talk about neovim, workflow improvements with herdr and general TUIs :D
    Check it out if you think this sounds interesting!

    I'm planning on posting every one to two weeks again, so make sure to subscribe to the newsletter if you find my other posts interesting as well and while you're at it, please leave a comment so I can get input of what to improve and what you might find interesting.

    A lot of things happened in the past few days, more on that in a future post :)

    blog.spoljarevic.sh/how-i-use-

    #blog #writing #neovim #tui #terminal #herdr #arch #arch_linux #linux #blogpost #ghost #footTerminal

  2. How to set #FootTerminal to copy paths from scrollback with your keeb.

    It's like Vimium's hinting mode. Press Ctrl+Shift+P and labels appear by paths. Type the label of the path you want to copy.

    WezTerm or Kitty have a similar feature.

    ...... and as you might guess from the config syntax, you can create other regexs for other things you might like to copy, like Git SHAs!

    [regex:paths]
    regex=([[:alnum:]_./~-]+)

    [key-bindings]
    regex-copy=[paths] Control+Shift+p

    Thanks @dnkl

    #Linux

  3. Just switched to the foot terminal and I'm amazed how fast it is to start up while supporting everything I need. I was surprised by how easy it was to convert my existing Alacritty config, comments in the default foot.ini were extremely helpful in doing that.

    #linux #terminal #foot #footterminal

  4. @dnkl

    Just wondering if it's possible to make a keybind to increase/decrease alpha (colors.alpha) in foot.ini somehow.

    #foot #FootTerminal

  5. OK, so I found a bug in that appears to cause it to miss characters coming from stdout. Either that, or a bug in... grep.
    I'm busy right now, but I've taken screenshots and I might (really, should) get around to reporting this bug.

  6. Decided to do some #Linux terminal hopping. (EDIT: Added Foot, Sakura and GPU metrics.)

    This is my completely unscientific test: maximised window, tmux with a NeoVim session, paging quickly through some code. I wanted to see what the most CPU usage would be for these terminals. I'm testing on a Ryzen 7 7840U.

    Why worry about CPU? Laptop users and low-power machine users will care about CPU usage. I'm trying to eke as much life out of my equipment as possible.

    Tests

    #Alacritty (with the Graphics patch)

    Unfocussed: 0%
    Focused: 0% (briefly 0.6% at initial focus)
    Active: 6.4%
    Active GPU: 3%

    Notes: Just started using this. Line drawing seems better than Kitty to me. I think I slightly prefer the font rendering, too, although Alacritty will not render font ligatures. Has a Vi mode that I'm trying to get used do (although largely useless when using tmux).

    Foot #FootTerminal

    Unfocussed: 0%
    Focused: 0%
    Active: 15.6%
    Active GPU: N/A (not even listed in nvtop)

    Notes: Suggested by @oht. Simple, lightweight, no use of the GPU at all. Might not be enough to sway me from Kitty/Alacritty.

    #Ghostty

    Unfocussed: 0%
    Focused: 0% (briefly 1.3% at initial focus, occasionally 0.6% blips)
    Active: 19.1%
    Active GPU: 6%

    Notes: My guess is the reliance on libadwaita makes this more heavyweight. I'm pleased that there's now a "maximize" config option - setting the window size to big numbers never worked properly for me in KDE Plasma.

    #Kitty

    Unfocussed: 0%
    Focused: 0%
    Active: 7.6%
    Active GPU: 4% (very briefly, mostly 3%)

    Notes: Used most of the time recently, but many other OSes don't like being SSH'd into from it (I know you can set TERM, but the developer strongly discourages this). Its rendering of Nerd Font characters seems to be the best - for example, arrows have no pixel gaps at the top and bottom. I do like CTRL-SHIFT-G to search through the output of the last command (although largely useless when using tmux).

    #Konsole

    Unfocussed: 0%
    Focussed: 0% (briefly 1.3% at initial focus)
    Active: 31.2%
    Active GPU: N/A (as reported by nvtop)

    Notes: I like Konsole and have used it for years, but it's just too CPU hungry.

    Sakura #sakuraterm

    Unfoussed: 0%
    Focussed: 0% (hits 1.3% at initial focus, occasionally 0.6% and 1.3% blips)
    Active: 25.6%
    Active GPU: N/A (not listed in nvtop)

    Notes: Suggested by @scops. Unfortunately, it's one of the worst offenders. It's possible that the reliance on GTK is raising the CPU usage.

    Final Thoughts

    I've been using a combination of Kitty and Konsole for a while, depending on my needs. This has felt cumbersome and I've wanted to find a fix for a while.

    I'm going to give Alacritty with the Graphics patch a go for now. I've bound Meta-Enter to a windowed terminal (was Konsole) and Meta-Shift-Enter to maximised (was Kitty).

    I really want to like Ghostty, but I do think the focus on libadwaita adds a burden to a system that many people don't need, plus a skew towards GNOME users. Granted, it's still less CPU hungry than Konsole, but it doesn't feel like the lightweight terminal app that people claim it to be. I'm looking forward to libghostty being released to see if someone makes a non-libadwaita Ghostty.

  7. One feature I've come to love in the `foot` terminal: press `ctrl+shift+o` to enter URL mode, where all currently visible URLs are tagged with a label using a letter key that will open the URL in Firefox.

    codeberg.org/dnkl/foot

  8. OK finally moved my config to

    cmd alacritty migrate didn't work so I did it step by step with alacritty.org/config-alacritty

    also every themes have switched those yaml configs to toml github.com/alacritty/alacritty

    back to ^^

  9. A) xaos (old fave linux prog., look it up)
    9) (or if wayland's not your thing yet)
    8)
    7) NeoVim (any *vi* is good, though)
    6)
    5) FOSS OSes in general
    4) Linux distros
    3) (#CalyxOS is my preferred flavor, but many of them are excellent)
    2) @tut
    1) ἐν αὐτῷ ζωὴ ἦν καὶ ἡ ζωὴ ἦν τὸ φῶς τῶν ἀνθρώπων

  10. @codeberg *real* window "urgency" in #FootTerminal, now that native support for it finally is coming to Wayland.

    codeberg.org/dnkl/foot

  11. Any #FootTerminal users out there running it under KDE/Plasma?

    Looking for testers of a performance improving PR: codeberg.org/dnkl/foot/pulls/4

    The task would be to verify that a) it actually works (i.e. no rendering glitches, at least no more than usual 😂 ), and b) it improves performance.

  12. Just merged: codeberg.org/dnkl/foot/pulls/4

    Improved 'bell' configuration in #FootTerminal. Most importantly, the ability to execute a custom command, regardless of whether the window is focused or not.

    And once codeberg.org/dnkl/foot/issues/ has been implemented, things will look really good :)

  13. It's that time again... for another #FootTerminal release!

    1.7.2 is out 🎉

    * pywal no longer turns foot windows transparent
    * change selection fg/bg at runtime (used by e.g. pywal)
    * fixed regression in the escapes sent for certain key combinations
    * new value, 'palette-based', for the bold-text-in-bright option.
    * underline cursor is now visible on underlined text
    * new option: box-drawings-uses-font-glyphs=yes|no

    codeberg.org/dnkl/foot/release

    #wayland #Terminal #TerminalEmulator

  14. Don't like the new line- and box drawing characters in #FootTerminal 1.7?

    The next release will have an option to revert to the old behavior, where font glyphs are used instead.

    codeberg.org/dnkl/foot/pulls/4

  15. Fun with sixel and git commit messages: twitter.com/12Me21_/status/137

    Beware! This *will* crash (on the second run) #FootTerminal , unless you run a build that has codeberg.org/dnkl/foot/commit/ (latest git HEAD at the moment).

  16. #FootTerminal 1.7.0 is out 🎉

    The big new thing is URLs - both auto detected and OSC-8 based URLs.

    Another pretty big thing is that foot now renders box drawing characters itself, instead of using font glyphs.

    We've also added support for transparent sixels, improved double- and triple-click selection, and more :)

    codeberg.org/dnkl/foot/release

    #wayland #Terminal #TerminalEmulator #Sixel

  17. codeberg.org/dnkl/foot/pulls/3 continues the work of URLs in #FootTerminal. This time, adding support for OSC-8. OSC-8 is an escape sequence that allows an appliation to emit HTML anchor style URLs.

    This is very different from auto-detect URLs where the terminal does pattern matching and highlights what it thinks *look* like URLs. With OSC-8, there's no more guessing.

    1/3

  18. Running #FootTerminal on #FreeBSD?

    Having issues with the window not closing when pressing ctrl+d, or by running 'exit'?

    Fix for this is now available in the latest git version.

    #wayland

  19. URL support is coming to #FootTerminal.

    This is a feature that wasn’t obvious it should be added to foot. Foot still claims to be minimalistic. The meaning of that is subjective though, and for some, URLs is crossing the border. For others, it is a core feature that simply *must* be available.

    I myself have wavered back and forth. Most likely because up until now, I haven’t really used URLs in other terminal emulators, _at all_. Not clickable URLs, not URLs-piped-to-external-tools.

    1/3

  20. #FootTerminal has been ported to FreeBSD, thanks to Jan Beich!

    It's available in latest git, and has also been backported to the 1.6 release branch, and will be officially included in the upcoming 1.6.3 point release.

    But, it is already available as a port: freshports.org/x11/foot/

    #freebsd #wayland #Terminal #TerminalEmulator