Skip to content

Some dotfiles for PuTTY, Git, some Linux tools and Vim.

License

Notifications You must be signed in to change notification settings

cferriter/dotfiles

Repository files navigation

Dotfiles

Installation

git clone https://github.com/cferriter/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.sh

Existing dotfiles are backed up in ~/dotfiles_old/.

Useful Links

Includes some repos used as inspiration.

Test installation of dotfiles

install.sh can be tested using Docker. Build and run with:

docker build -t dotfiles-test . && docker run -it dotfiles-test

Configure Windows Terminal for SSH

Key-based authentication

Follow steps from this page: https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement

For the last step, "Deploying the public key", use the following command in PowerShell to deploy the public key onto a Linux machine:

type $env:USERPROFILE\.ssh\id_ed25519.pub | ssh user@hostname "cat >> .ssh/authorized_keys"

Download and install Xming X Server for Windows

  • Download from here.
  • Press Windows, type xming, right click and Open file location.
  • Create a shortcut for the Xming binary.
  • Open the Windows startup folder by pressing Windows + R and typing shell:common startup.
  • Place the Xming shortcut in the Windows startup folder.

Install and configure Kanata for Windows

  • Download the latest kanata_gui.exe from kanata releases.
  • Move the binary to C:\Users\cferrite\AppData\Roaming\kanata\kanata_gui.exe.
  • git clone this repo to WSL /root.
  • Run create_win_symlinks.sh to symlink kanata.kbd to the same location as kanata_gui.exe.
  • Open the Windows startup folder by pressing Windows + R and typing shell:common startup.
  • Create a shortcut for kanata_gui.exe in the Windows File Explorer and put it in the Windows startup folder.