Generic guide to everything

What would you like to expect from this page? This is a simple list of commands, tweaks and shortcuts to stuff I keep.

Old Google search

If you are like me and want to get rid of Google's AI overview after every search, you can avoid writing "-ai" everytime by changing the default search engine to http://google.com/search?udm=14&q=%s This will set the search results to the "Web" tab, excluding all ai-focused results.

Set fingerprint in terminal for sudo

If you want to enable the fingerprint to approve sudo requests in terminal, you simply run
  1. fprintd-enroll to activate the fingerprint reader (it is already active if you have set up the fingerprint for unlocking the pc);
  2. sudo pam-auth-update and select "fingerprint" in the list of options;
  3. test it with a generic sudo-command.

Fix GitLab permission denied with ssh keys

  1. Check if ssh is installed
  2. Run ssh-keygen -t rsa -C "email address"
  3. Run eval $(ssh-agent -s)
  4. Run ssh-add 'keyname'
  5. Run cat 'keyname'.pub
  6. Copy the output to the clipboard
  7. Go to Gitlab > Profile > Settings > SSH Keys
  8. Add ney key
  9. Copy the copied key into the "Key" field and then "Add key"
  10. Test connection with ssh -T git@gitlab.com