Obsidian/Satan.md
2024-10-21 22:52:33 +02:00

3.9 KiB

Systemd

  • enabled:
    • fstrim.timer
    • paccache.timer
    • --user syncthing.service
    • systemd-networkd
  • disabled:
    • none
  • shadowed:
    • none

Firefox

To enable hardware acceleration, VA-API is needed. For my AMD GPU, I installed libva-mesa-driver. Reference Then in Firefox you type 'about:config' into the search bar. This should open a configuration menu with a search bar at the top. I set media.ffmpeg.vaapi.enabled to true. Reference

System settings

  • Input & Output
    • Mouse & Touchpad
      • Screen Edges
        • Corner and Edge barrier: disabled
    • Sound
      • Line Out (Headset): Analog Stereo Output
      • Navi 21/23 HDMI/DP Audio Controller (Monitor): Off
      • Digital Input (Mic): Digital Stereo (IEC958) Input
    • Accessibility
      • Shake Cursor: disabled
  • Apps & Windows
    • Default Applications
      • PDF viewer: Firefox Web Browser
    • Window Management
      • Desktop Effects
        • Sheet: enabled
        • Translucency: enabled
        • Dim Screen for Administrator Mode: enabled
        • Virtual Desktop Switching Animation: Fade Desktop
        • Window Open/Close Animation: Fade
  • Workspace
    • Search
      • File Indexing: disabled (delete prompt after disabling)
  • Security & Privacy
    • Recent Files: disabled and cleared history
  • System
    • Power Management
      • After a period of inactivity: Do nothing
      • Change screen brightness: 1%
      • Dim automatically: Never
      • Turn of screen: Never

Desktop

  • Taskbar
    • Panel height: 34
    • Visibility: dodge windows
    • Digital Clock
      • Show seconds: Always
      • Date format: ISO date
  • Widgets
    • Fuzzy Clock to Left Monitor at the top left

GPG Key

You first generate the key by using the following command.

gpg --full-generate-key

After this step you need to figure out your id.

gpg --list-secret-keys --keyid-format=long

The necessary key is the part after the / in the sec part.

gpg --armor --export <id>

Then I followed the instructions in Gitea for the rest. For the verification part, I needed to use a fix because it errors out. The fix can be found in the etc section.

Git

git config --global user.name AustrianToast
git config --global user.email "austriantoast@hopeless-cloud.xyz"
git config --global user.signingkey 1B4D0AAF6E558816
git config --global commit.gpgsign true

I used ksshaskpass as a credentials helper. The necessary config lives at ~/.config/environment.d/git_askpass.conf. Now my git credentials are stored in Kwallet. To store and use the gpg passphrase in kwallet, I needed to tell gpg that I wanted to use a specific program for the gpg-agent. Reference ~/.gnupg/gpg-agent.conf

pinentry-program /usr/bin/pinentry-qt

But because of random KDE bullshit, I needed to modify a specific environment variable. I set PINENTRY_KDE_USE_WALLET to any non-empty value and I mean this quite literally.

ZSH

For fancy ZSH, I mostly followed this guide. The only change is that I didn't go for powerlevel10k, because it is now only community maintained and I wanted to try something different. So I went with starship instead. Useful links:

Random

I added myself to the following groups.

  • docker: So I don't need to use sudo for docker
  • uucp: Needed so I can upload programs to my esp32 inside Arduino IDE
sudo usermod -aG docker uucp <username>

Yakuake

I added transparency to yakuake by doing the following: Reference Right-click the shell -> "modify current Profile" -> Appearance -> "Edit" button at the right -> Background transparency slider -> 20%. I also the width to 80% and set the height to 50%. I also hid the borders.