blog.rk0.eu

Linux


Clipboard Notify

Motivation

I often try to copy some content, press ctrl + c and paste it somewhere else. But more than once I somehow haven’t pressed the copy button good enough or the copy button on a codeblock of a website is just broken or buggy and I paste the former content of my clipboard - which can be pretty awkward if I don’t realise it before sending.

Another example is with password managers, which clear the content of the clipboard after a few seconds - its good to be reminded when that happens.


notes

Motivation

I love taking notes. Its always good to have some place to write things down.

So I wrote a short bash function to open a new textfile with the current date as filename (or with a specified name) and open it in my $EDITOR.

I added this function to my zshrc. And whenever I need to write something down, I just type notes into my terminal and start writing (in markdown).


tmux

Motivation

I like using tmux. It’s a terminal multiplexer, so it allows you to spawn multiple panes - and many more features.

the main features i use are:

  • Multiple panes
  • Different windows for different tasks
  • Reconnection to the tmux session after closing the terminal

If you want to learn more about tmux - read the official wiki

TPM

TPM is a plugin manager you can use it to import other tmux “plugins” into your configuration and configure them with some custom options.


SSH-Agent

Motivation

Setting up an SSH Key without a password can be pretty dangerous. It only takes an USB Stick or a bad idea and your whole SSH Logins, Git Account and many other things are compromised. So using a passphrase for the ssh key should be pretty much standard.

But it is annoying to type the password every time the key gets used. In this short blogpost i want to write down what you can do to make it a little bit more convenient for a reasonable price.