linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux [2025/06/11 01:29] – [nspawn] ealmr | linux [2025/06/11 02:21] (current) – [nspawn] ealmr | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== nspawn ====== | ||
| + | |||
| + | create Arch Linux container: | ||
| + | |||
| + | wget https:// | ||
| + | #setup pacman: | ||
| + | pacman-key --init | ||
| + | pacman-key --populate | ||
| + | #enable container: | ||
| + | systemctl enable systemd-nspawn@arch | ||
| + | | ||
| + | create Debian container: | ||
| + | |||
| + | debootstrap --include=dbus, | ||
| + | #modify password | ||
| + | chroot / | ||
| + | passwd | ||
| + | | ||
| + | | ||
| + | |||
| + | ====== virt-manager ====== | ||
| + | |||
| + | enable Debian guest serial console: | ||
| + | |||
| + | systemctl enable --now [email protected] | ||
| + | |||
| + | |||
| + | ====== Wine ====== | ||
| + | |||
| + | enable CJK fonts: | ||
| + | |||
| + | ch_font.reg: | ||
| + | |||
| + | < | ||
| + | REGEDIT4 | ||
| + | |||
| + | [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink] | ||
| + | " | ||
| + | " | ||
| + | "MS Sans Serif" | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | "Arial Black" | ||
| + | </ | ||
| + | |||
| + | ====== Arch Linux ====== | ||
| + | |||
| + | ===== makepkg ===== | ||
| + | |||
| + | Download PKGBUILD of a package: | ||
| + | |||
| + | asp export pkg-name | ||
| + | |||
| + | install dependency and extract its source code: | ||
| + | |||
| + | makepkg -so | ||
| + | |||
| + | create package of modified source code: | ||
| + | |||
| + | makepkg -ei | ||
| + | |||
| + | ====== KDE tweaks ====== | ||
| + | |||
| + | Workaround for generic wayland icons for GTK apps showed in taskbar on KDE 6 wayland session: | ||
| + | |||
| + | #from: https:// | ||
| + | | ||
| + | Open the app you are wanting to fix (Vivaldi, Firefox Nightly, HandBrake, etc.) | ||
| + | Add new kwin rule with Alt+F3 → More Actions → Configure Special Application Settings → Add Property → Desktop file name → | ||
| + | Enter the desktop file name without extension (e.g. chromium-browser.desktop, | ||
| + | If you are using standard package, check name in “/ | ||
| + | if you are using flatpak package, check name in “var/ | ||
| + | |||
| + | |||
| + | Scroll slow in KDE apps: | ||
| + | |||
| + | # | ||
| + | # | ||
| + | pacman -Rdd xf86-input-libinput | ||
| + | |||
| + | Desktop disable cursor bouncing while launch new application: | ||
| + | |||
| + | System Settings -> Applications -> Launch Feedback | ||
| + | | ||
| + | Desktop double click to start application: | ||
| + | |||
| + | System Settings -> Input Devices -> Mouse | ||
| + | |||
| + | disable transparent while dragging windows: | ||
| + | |||
| + | System Settings -> Desktop Effects -> Translucency | ||
| + | | ||
| + | window switcher(Alt+Tab) style: | ||
| + | |||
| + | System Settings -> Task Switcher -> Visualization -> Thumbnail Grid | ||
| + | | ||
| + | alt + left click to resize window: | ||
| + | |||
| + | System Settings -> Window Behavior -> Window Actions | ||
| + | | ||
| + | gnome-terminal full screen workaround: | ||
| + | |||
| + | https:// | ||
| + | | ||
| + | meta key start Application Launcher(KDE Plasma 5.11.5): | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ====== Fcitx ====== | ||
| + | |||
| + | < | ||
| + | fcitx | ||
| + | fcitx-configtool | ||
| + | fcitx-gtk2 | ||
| + | fcitx-gtk3 | ||
| + | fcitx-libpinyin | ||
| + | fcitx-qt4 | ||
| + | fcitx-qt5 | ||
| + | fcitx-sogoupinyin | ||
| + | fcitx5-git | ||
| + | </ | ||
| + | |||
| + | for SDDM, LightDM, `cat > ~/ | ||
| + | |||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | ====== Debian ====== | ||
| + | |||
| + | no-cloud images: | ||
| + | | ||
| + | https:// | ||
| + | |||
| + | time: | ||
| + | |||
| + | # set / | ||
| + | hwclock --show #show hardware clock | ||
| + | date -R #show time | ||
| + | tzselect | ||
| + | |||
| + | |||
| + | ln -sf / | ||
| + | cat / | ||
| + | #0.000000 1528473643 0.000000 | ||
| + | #1528473643 | ||
| + | #UTC | ||
| + | |||
| + | ====== Command ====== | ||
| + | |||
| + | cat ~/ | ||
| + | | ||
linux.1749605379.txt.gz · Last modified: by ealmr
