Just a basic programmer living in California

  • 1 Post
  • 22 Comments
Joined 4 months ago
cake
Cake day: February 23rd, 2024

help-circle








  • Nice! I may take a look. I’ve been happy with Enpass except that I recently switched to a window manager that doesn’t implement xwayland, and Enpass is one of only two apps that I haven’t gotten working in native wayland mode, or found a substitute for. So I’ve been running Enpass in a rootful xwayland window running a nested i3 session. The IPC connection to the browser extension still works so it’s not too bad, but I’m a little tempted to try alternatives.











  • That’s great, but yours is not the universal experience since different tasks have different RAM requirements, even within the realm of programming. I had RAM shortages when I was running the Haskell LSP server and compiler at the same time on a largish project. Haskell’s type checker does a lot more than other mainstream languages’ which is how it delivers such strong correctness guarantees. You trade RAM for scrutiny. Then the LSP server has to be fast so it has to do a lot of caching, and you get an additional trade of yet more RAM for speed.


  • When niri runs applications it will now put them into transient systemd scopes. One concrete benefit is that when an application uses too much RAM and systemd-oomd kills it, niri won’t go down alongside the app, so the rest of your session will stay intact.

    Does Gnome do this? I’ve certainly had my entire session crash when a certain LSP server used up all of my memory. I appreciate this feature!

    I think it’s time for me to try Niri as my main WM. The main thing I want to figure out is getting XWayland going so my Wine games will work. I know there is info on this in the Niri docs, so I’ll start there.

    Edit: The key to getting the games working is gamescope! It runs a nested X session. Lutris does not work without X, but Bottles does and it has a handy gamescope checkbox in the bottle settings.


  • hallettj@leminal.spacetoLinux@lemmy.mlWhat's your favorite terminal?
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    edit-2
    4 months ago

    Well I’ll throw in my endorsement for kitty. I like the ligature support, the fact that it can be configured to hide all UI, and it uses text files for configuration that I can put in my dot files repo.

    There are some particular features that I use constantly:

    I can yank a file path to the prompt from previous output by pressing ctrl+shift+p then f then a 1-character label. I can do the same with a git hash (or other hash) by pressing h instead of f.

    I can scroll back and search previous output using only the keyboard with ctrl+shift+h which puts the terminal history in a pager.

    I can get the output of only the previous command in a pager with ctrl+shift+g. Or jump to previous prompts with ctrl+shift+x and ctrl+shift+z.

    I use kitty-scrollback.nvim which replaces that pager with neovim so I can use all of my editor features to search history, copy what I want, etc.