Skip to content

cdock1029/configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linux / OpenSUSE Configuration

KDE

Display resolution

  • For 3840x2400 X1 Carbon
    • Display and Monitor Global Scale: 168.75%
  • Strong case for integer (200%) scaling. Aligns to pixels accurately, and scales icons better on KDE

Fonts

Settings

  • System Bell off: Accessibility -> Audible Bell -> uncheck Enable
  • Splash Screen: None
  • SDDM Login Screen: change picture, Apply Plasma Settings
  • Screen Locking: Screen Locking -> Appearance -> Configure
  • Workspace Behavior -> General Behavior -> Animation Speed, inc 1
    • Click files selects them
  • Input Devices
    • Keyboard: Delay 356ms

Zypper / Yast

  • Remove and lock packages (sudo zypper al) or mark taboo in Yast:

Telegram

flatpak QT environment variable to fix rendering resolution:

flatpak override --env=QT_SCALE_FACTOR_ROUNDING_POLICY=Round org.telegram.desktop

Environment

  • use KDE file chooser export GTK_USE_PORTAL=1
  • KDE Developer setup: Disable indexing for your development environment

You'll want to disable indexing for your development-related git repos and the files they will build and install. Add the directory ~/kde to the exclusions list in System Settings > Workspace > Search > File Search

Progamming

Git

  • git libsecret credential helper to save auth
    • git-credential-libsecret
    • libsecret-devel
    • git config --global credential.helper /usr/libexec/git/git-credential-libsecret
      
    • git config --global credential.helper /usr/libexec/git/git-credential-libsecret
      

Qt

Creator Settings

  • clangd avoid header include instead of class/module include

    • C++ -> Clangd -> uncheck "insert header files on completion
  • code style Webkit

    • Beautifier -> Clang Format -> Use predefined style Webkit

Browser

Brave

  • hardware acceleration Flags --ignore-gpu-blocklist --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,VaapiVideoDecodeLinuxGL,VaapiIgnoreDriverChecks --disable-features=UseChromeOSDirectVideoDecoder,UseSkiaRenderer

    Pass flags to flatpak: flatpak/flatpak#2913 (comment)

    Like this below, but desktop files are in /var: /var/lib/flatpak/exports/share/applications/com.brave.Browser.desktop

    So in summary what I ended up doing was following @JKAnderson409 's advice and did this:

    cp ~/.local/share/flatpak/exports/share/applications/org.signal.Signal.desktop \
       ~/.local/share/applications/
    
    # Edit copy to my liking without modifying the original.
    vim ~/.local/share/applications/org.signal.Signal.desktop 

    My custom ~/.local/share/applications/org.signal.Signal.desktop now looks like this:

    [Desktop Entry]
    Name=Signal
    Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal --file-forwarding org.signal.Signal --enable-features=UseOzonePlatform --ozone-platform=wayland  @@u %U @@
    
    # ...more stuff below this line, which I did not modify

Firefox

  • Install Tab Center Reborn extension

  • Move sidebar to Right

    • Make sure #sidebar-header visibility is not collapsed in userChrome.css
    • click on Bookmarks drop down inside sidebar header
    • Windows app store Firefox location: C:\Users\ms\AppData\Local\Packages\Mozilla.Firefox_abcdefghij\LocalCache\Roaming\Mozilla\Firefox\Profiles\1pxxyyzz.default-release\chrome\userContent.css

    firefox smooth scrolling

    • Add to .profile export MOZ_USE_XINPUT2=1

    about:config

    GPU (not sure what's necessary now)
    • layers.gpu-process.enabled true Lowers dropped frames on Youtube
    • gfx.webrender.enabled true
    • gfx.webrender.all true
    • gfx.webrender.compositor true
    • gfx.webrender.compositor.force-enabled
    • gfx.swap-interval.egl (see KWIN/Plasma/KDE egl settings)
    • gfx.x11-egl.force-enabled
    • Fix stuttering twitter and other videos: flatpak install org.freedesktop.Platform.ffmpeg-full and media.hardware-video-decoding.force-enabled=true (if necessary)

    Performance

Windows

  • about:support > Media > codec support information > AV1 install extension > Microsoft Store

Flatpak

  • Add: google-noto-sans-cjk-fonts

  • Remove: sudo zypper remove xorg-x11-fonts xorg-x11-fonts-legacy and add lock to prevent re-install: sudo zypper al xorg-x11-fonts xorg-x11-fonts-legacy

  • Configuration that might be needed for apps, in .profile: export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:/home/cdock/.local/share/flatpak/exports/share:$XDG_DATA_DIRS"

  • profile location: Everything that is normally stored in $HOME is in ~/.var/app/org.mozilla.firefox/. You want the "Root Directory": ~/.var/app/org.mozilla.firefox/.mozilla/firefox/[profile name]

  • MPV Config: .var/app/io.mpv.Mpv/config/mpv/mpv.conf

    profile=gpu-hq
    vo=gpu
    hwdec=auto
    

Color Profile

NextDNS

https://github.com/yokoffing/NextDNS-Config#blocklists-1

Windows

TCP Autotuning Level

Get-NetTCPSetting Set-NetTCPSetting

netsh int tcp show global

netsh int tcp set global autotuninglevel=experimental

netsh int tcp set global autotuninglevel=normal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages