- Nobara (Fedora 39~)
- download rpm to install
- disable media key controls, this hijack media key in keyboards
- chrome://flags/#hardware-media-key-handling
- disable shortcut popup:
# add flag in startup
--disable-features=GlobalShortcutsPortal
- use menu editor and add
--enable-wayland-ime --ozone-platform=wayland
to end of command to force wayland - chrome native wayland not support >60FPS because of issue in KDE 5:
- https://invent.kde.org/plasma/kwin/-/commit/7bf38e54bff6b3a035132ab1c48e06aa93f6c0c2
- this is only fixed in KDE 6
- hardware accelaration:
--enable-wayland-ime --ozone-platform=wayland --enable-features=VaapiVideoDecoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE %U
chrome://flags/#enable-vulkan
enable vulkan if you need.- but it may cause screen flickering
- and cap FPS to 60 in newer chrome version
- disable middle mouse paste
- settings -> workspace behavior -> general behavior -> Middle Click: > uncheck
- change time format
- turn off some buggy (settings > Workspace behavior > Desktop Effects) which cause random crash on various Apps:
- turn off Background Contract, Blur, Screen Edge, ShapeCorners
- minor tweak:
- turn off morphing popups
- window open/close animation > fade
- turn off Fading popups
- kwin script: https://store.kde.org/p/1617641/
- window rule to skip initial geometry request: * https://www.reddit.com/r/kde/comments/gx8dch/comment/ivdhcxr/?utm_source=reddit&utm_medium=web2x&context=3 * new Window Rules > Substring Math 'steam_app_' > add Ignore requested geometry
- AVIF:
sudo dnf install kf6-kimageformats
- KDE
Show Desktop
, Ctrl+F12 should turn off - Konsole Ctrl+Alt+T should turn off
-
Solaar
- mapping SmartShift to Middle button
-
input remapper for middle click to expose (super_L)
- https://copr.fedorainfracloud.org/coprs/sunwire/input-remapper/
- create new mapping:
mouse middle
tosuper_L + w
- system auto start:
sudo systemctl enable input-remapper
-
tuning bluetooth mouse lag
- https://askubuntu.com/a/1412221
- get bluetooth ID:
bluetoothctl devices
- edit file /var/lib/bluetooth/24:41:8C:05:87:D6/D2:1E:5D:35:76:47/info
- change both
MinInterval=5 MaxInterval=5
- reboot
- Authenticator (flatpak, import txt in secret git)
- Metronome (flatpak)
- Fedora media writer - burn iso to usb
- Timeshift - backup
- qBittorrent
- YACReader
- pgAdmin4 (flatpak)
- moonlight (flatpak)
- sunshine (need to enable in systemctl because it's server)
- KTailctl (flatpak)
- Flatseal
- QT font scale ENV in global:
QT_SCALE_FACTOR=1.7
- QT font scale ENV in global:
sudo dnf install s3cmd git wget jq rclone
- official docker: https://docs.docker.com/engine/security/rootless/
- btop, enable gpu box:
sudo dnf install rocm-smi
- https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland#KDE_Plasma
- https://mtmatt.one/linux/fedora-38-and-boshiamy/
- install
sudo dnf install fcitx5 fcitx5-chinese-addons fcitx5-chewing fcitx5-table-extra fcitx5-qt-qt5gui fcitx5-configtool
echo "export XMODIFIERS=@im=fcitx" > `.config/plasma-workspace/env/fcitx5.sh`
- Settings >> virtual keyboard >> select fcitx5
- open fcitx5 setting and add boshamy and chewing
- change hot key to
super_L + space
- jetbrains-mono-fonts for terminal
sudo dnf install jetbrains-mono-fonts
- Remove google-droid-sans CJK fonts to prefer noto fonts (because we use locale english, noto cjk won't be first)
sudo rm 69-google-droid-sans-fallback-fonts.conf
sudo rm 69-google-droid-sans-japanese-fonts.conf
sudo fc-cache -f -v ## app need to reopen
- Fix intellij Chinese Character block in some dialogs
- install non-vf noto fonts to workaround
sudo dnf install google-noto-sans-cjk-fonts
- install font first.
- font config:
SymMingLiu,'Noto Serif CJK TC',MingLiu,monospace
.local/share/
- rhythmbox, qBittorrent...etc
.config/
- input-remapper
- change time locale in shell prompt to english
localectl set-locale LC_TIME=en_US.UTF-8
# sudo vim /etc/default/grub
# add amdgpu.runpm=0
GRUB_CMDLINE_LINUX_DEFAULT='quiet splash amdgpu.runpm=0'
# rebuild then reboot
sudo update-grub
## add config
mkdir -p ~/.config/pipewire/pipewire.conf.d && \
cat > ~/.config/pipewire/pipewire.conf.d/hires.conf << EOF
context.properties = {
default.clock.rate = 96000
default.clock.allowed-rates = [ 44100 48000 96000 192000 ]
}
EOF
## restart (no sudo!)
systemctl --user restart wireplumber pipewire pipewire-pulse
- install
sudo dnf install virt-manager
## logout and login to make group work
-
import /mnt/2t/libvirt-pool/*.qcow2 file as exist image
- maly require setup file system
host-develop
to /home/ingram/develop, otherwise it won't boot
- maly require setup file system
-
autostart vm
~/bin/vmctl list # get domain name from vm
sudo virsh autostart maly # set id to autostart
- fix no internet:
# edit sudo vim /etc/libvirt/network.conf
# add `firewall_backend = "iptables"`
# restart libvirtd
sudo systemctl restart libvirt
- DisplayCal 3
flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
flatpak install net.displaycal.DisplayCAL
- fix UI too large
- https://forum.endeavouros.com/t/libreoffice-ui-too-big/52576/5
# add env variable to menu editor
SAL_FORCEDPI=180
dnf swap nano-default-editor vim-default-editor --allowerasing
- keyd (https://github.com/rvaiya/keyd)
- install:
sudo dnf copr enable alternateved/keyd
sudo dnf install keyd
- create default conf with mapping
enter to control
:
sudo mkdir /etc/keyd
sudo bash -c 'cat <<EOF >> /etc/keyd/default.conf
[ids]
*
[main]
rightshift = rightshift
# Maps enter to enter when pressed and control when held.
enter = overload(control, enter)
#capslock = overload(control, esc)
# Remaps the escape key to capslock
#esc = capslock
EOF'
- enable and start
sudo systemctl enable keyd && sudo systemctl start keyd