Skip to content

Commit f90ae78

Browse files
committed
docs: add to gems of october
1 parent 267a280 commit f90ae78

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

src/content/blog/2024/10/31/gems-of-october-24.en.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,48 @@ tags:
55
- Gems of the Month
66
---
77

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".
99

1010
## Linux
1111

12-
### Logitech MX Mechanical Mini
12+
### Creating screenshots with Logitech MX Mechanical Mini
1313

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.
1515

1616
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:
1717

1818
```bash
1919
gsettings set org.gnome.shell.keybindings show-screenshot-ui "['Print', '<Shift><Super>S']"
2020
```
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

Comments
 (0)