|
5 | 5 | - Gems of the Month
|
6 | 6 | ---
|
7 | 7 |
|
8 |
| -One step closer to building a habit. This are my findings in October 24". |
| 8 | +One step closer to building a habit out of this. These are my findings in October 24". |
9 | 9 |
|
10 | 10 | ## Linux
|
11 | 11 |
|
12 |
| -### Logitech MX Mechanical Mini |
| 12 | +### Creating screenshots with Logitech MX Mechanical Mini |
13 | 13 |
|
14 |
| -Not long ago I've bought a Logitech MX Mechanical Mini. Typing feels good on it and it is quite for being a mechanical keyboard. For whatever reason Logitech has decided not to include a native <kbd>Print</kbd> key, but a custom one invoking <kbd>Shift</kbd>+<kbd>Super</kbd>+<kbd>S</kbd> instead. This shortcut is calling the Snipping Tool on Windows. I wish they have added a Linux preset to the keyboard. Unfortunately it is also not possible to remap the key by yourself within the keyboard. |
| 14 | +Not long ago I've bought a Logitech MX Mechanical Mini. Typing feels good on it and it is quiet for being a mechanical keyboard. For whatever reason Logitech has decided not to include a native <kbd>Print</kbd> key, but a custom one with a camera symbol, invoking <kbd>Shift</kbd>+<kbd>Super</kbd>+<kbd>S</kbd> instead. This shortcut is calling the Snipping Tool on Windows. I wish they have added a Linux preset to the keyboard. Unfortunately it is also not possible to remap the key by yourself within the keyboard. |
15 | 15 |
|
16 | 16 | As I use my laptop sometimes with other (proper) keyboards as well, the only good solution I could think of is, to multiple assign the screenshot shortcut. Gnome doesn't allow this via the System settings, but by setting the configuration directly:
|
17 | 17 |
|
18 | 18 | ```bash
|
19 | 19 | gsettings set org.gnome.shell.keybindings show-screenshot-ui "['Print', '<Shift><Super>S']"
|
20 | 20 | ```
|
| 21 | + |
| 22 | +## Tools |
| 23 | + |
| 24 | +### Git and SSH: no mutual signature algorithm |
| 25 | + |
| 26 | +Sometimes things go wrong and it did recently when I wanted to clone a git repository via SSH. |
| 27 | + |
| 28 | +```txt |
| 29 | +Cloning into 'project'... |
| 30 | +[email protected]: Permission denied (publickey). |
| 31 | +fatal: Could not read from remote repository. |
| 32 | +
|
| 33 | +Please make sure you have the correct access rights |
| 34 | +and the repository exists. |
| 35 | +``` |
| 36 | + |
| 37 | +Adding `GIT_SSH_COMMAND="ssh -v"` in front of the `git clone` command, lets make SSH more talkative about what is going on: |
| 38 | + |
| 39 | +```bash |
| 40 | +GIT_SSH_COMMAND= "ssh -v" git clone [email protected]:customer/project.git |
| 41 | +``` |
| 42 | + |
| 43 | +In the logs I could spot the following message: |
| 44 | + |
| 45 | +```txt |
| 46 | +debug1: send_pubkey_test: no mutual signature algorithm |
| 47 | +``` |
| 48 | + |
| 49 | +The reason for this is that `ssh-rsa` was disabled by default a while ago.[^1] By adding `PubkeyAcceptedKeyTypes +ssh-rsa` to your `~/.ssh/config` it can be reenabled. |
| 50 | + |
| 51 | + |
| 52 | +[^1]: See https://www.openssh.com/txt/release-8.2 |
0 commit comments