• 11 Posts
  • 97 Comments
Joined 11 months ago
cake
Cake day: October 23rd, 2023

help-circle










  • So I need to dive into the manual to do something as basic and universal as “copy and paste”? Why not make it Ctrl+shift+c or have it shown in the info text when pressing this almost universally accepted keypairs? Or at least make it somewhat similar to this. I find it bonkers why some programs decide to just have radically different shortcuts or defaults, the complete opposite of what feels intuitive. Same with the design of some doors that need actual SIGNS on them to tell you which direction they open. Just bad design choice.

    Edit: just remembered. Same story with tmux. Want to copy something? Surprise, it’s not anything you expect it to be. Some ctrl+b + [ or some shit











  • reboot makes no difference. A new terminal gives the symptoms from the start.

    I think I found a bad workaround. If I add this script to ~/.zshrc (because I’m not using bash but zsh)

    SSH_AUTH_SOCK=/tmp/ssh-agent-$USER-socket
    export SSH_AUTH_SOCK
    if [ ! -S "$SSH_AUTH_SOCK" ]; then
        eval $(ssh-agent -a "$SSH_AUTH_SOCK")
    fi
    

    then it works. But I think I’m still using the ssh agent which I actually should not be using. At least it’s asking for the passphrase every time, which is nice. Even in the same terminal after ssh logout.

    EDIT: The first two lines do the trick as well:

    SSH_AUTH_SOCK=/tmp/ssh-agent-$USER-socket
    export SSH_AUTH_SOCK
    

    EDIT: If I change this SSH_AUTH_SOCK to ANYTHING else, it also works. So /run/user/1000/gcr/ssh does not work. I gave ample permission to this file, so that cannot be the problem. Perhaps BECAUSE this is a file. I think the SSH_AUTH_SOCK should point to a nonexisting file because then it makes temporarily a special file that it needs. Ok I’m just shooting in the dark.