- 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
-
DPI: 162 (Automatically set after changing Global scale)
-
Fonts:
- General: Noto Sans 11pt
- Fixed: JetBrainsMono 10pt
- Small: Noto Sans 9pt
- Toolbar: Noto Sans 10pt
- Menu: Noto Sans 11pt
- Window title: Noto Sans 11pt
https://www.reddit.com/r/kde/comments/kzf6gx/best_fonts_and_rendering_settingsoptions/gkjpb86/
Cantarell OTF
tonsky/FiraCode#1233 (comment)
Config for fixing TTF? In
/etc/environment
FREETYPE_PROPERTIES="cff:no-stem-darkening=0 autofitter:no-stem-darkening=0"
https://venam.net/blog/unix/2020/09/14/playing_with_fonts.html
https://wiki.archlinux.org/title/font_configuration#Applications_overriding_hinting
~/.config/kdeglobals
overrides settings for Firefox etcXftAntialias=true XftHintStyle=hintfull XftSubPixel=none
- Flatpak special config dir:
~/.var/app/org.mozilla.firefox/config/fontconfig/fonts.conf
- override a font:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match> <test name="family"><string>Liberation Mono</string></test> <edit name="family" mode="assign" binding="strong"> <string>JetBrains Mono</string> </edit> </match> </fontconfig>
- 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
- Remove and lock packages (
sudo zypper al
) or mark taboo in Yast:-
akonadi-contact
-
discover
-
games (pattern)
-
kde_games (pattern)
-
kde_office (pattern)
-
office (pattern)
-
libdvdcss2
-
plasma5-pk-updates
-
xorg-x11-fonts
-
xorg-x11-fonts-legacy
-
MozillaFirefox (if using flatpak. this was randomly re-installed)
-
Undoing/removing pacman vendor change and removing pacman packages
-
flatpak QT environment variable to fix rendering resolution:
flatpak override --env=QT_SCALE_FACTOR_ROUNDING_POLICY=Round org.telegram.desktop
- 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
- 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
-
clangd
avoid header include instead of class/module includeC++ -> Clangd -> uncheck "insert header files on completion
-
code style Webkit
Beautifier -> Clang Format -> Use predefined style Webkit
-
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
-
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
- Make sure
-
- 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
- Add to
.profile
export MOZ_USE_XINPUT2=1
- 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
andmedia.hardware-video-decoding.force-enabled=true (if necessary)
- https://www.reddit.com/r/firefox/comments/107fj69/comment/j3ou262/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
- accessibility.force_disabled 1
- reader.parse-on-load.enabled false
- network.dnsCacheEntries 4096
- security.remote_settings.crlite_filters.enabled true
- security.pki.crlite_mode 2
- browser.cache.disk.metadata_memory_limit 6000
- browser.cache.frecency_half_life_hours 8
- browser.sessionstore.interval 900000
- browser.sessionstore.interval.idle 1800000
- https://www.reddit.com/r/browsers/comments/1bb81y8/firefox_the_only_browser_doing_certificate/
- security.pki.crlite_mode = 2
- security.remote_settings.crlite_filters.enabled = true
- Windows app store Firefox location:
- about:support > Media > codec support information > AV1 install extension > Microsoft Store
-
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
- Browsers https://gregbenzphotography.com/photography-tips/how-to-setup-proper-color-management-in-a-web-browser/
- https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/3.5/ICC_color_correction_in_Firefox
- gfx.color_management.rendering_intent = 1
- gfx.color_management.mode = 1
https://github.com/yokoffing/NextDNS-Config#blocklists-1
Get-NetTCPSetting
Set-NetTCPSetting
netsh int tcp show global
netsh int tcp set global autotuninglevel=experimental
netsh int tcp set global autotuninglevel=normal
- may be fix for slow wifi https://learn.microsoft.com/en-us/archive/blogs/netgeeks/a-word-about-autotuninglevel-tcp-receive-auto-tuning-level-explained
- https://www.reddit.com/r/YouShouldKnow/comments/d6vzet/ysk_that_windows_10_can_seriously_limit_your/
- https://www.reddit.com/r/HomeNetworking/comments/ma5fvd/wifi_slow_on_5ghz_intel_wifi_6_ax200_160mhz/
- https://www.reddit.com/r/LenovoLegion/comments/1d85w0k/ax211_wifi_slow_issue_solved_two_things_i_didnt/