2025년 3월 28일 금요일

3mode keyboard comparsion

  • cidoo abm066 / 0.8kg (780g mine)
  • aula f65 / 0.804kg (740g mine)
  • gdevil g712ls / 0.705kg (690g mine)
  • gmk67 / 450g (barebone only), (620g dsa 640g xda 650g cherry 690g sa) 
  • abko ak84bt / 485g (no 3mode bt+wire, hot swap, via)
  • logitech k380 / 0.423kg (450g mine+10g keyskin)
  • keychron b1 / 0.410kg  (430g mine)

2025년 3월 13일 목요일

void linux setup

  • less documents, less use case
  • no usb controller in vmware horizon client
  • mirror sometimes slow & unstable
    • no sdl3_ttf 
  • https://animeshz.github.io/site/blogs/void-linux.html 
  • void + gnome reference
  • sway
    • sway config
    • nerd-fonts-ttf (ttf-iosevka-nerd)
    • python3-s-tui
    • htop
    • pulseaudio
    • sway/config
      • output eDP-1 scale 1.5
  • xfce4
    • ibus ibus-gtk+ ibus-gtk4 ibus-hangul file-roller
    • config
      • .xprofile
        • export GTK_IM_MODULE="ibus"
          export QT_IM_MODULE="ibus"
          export XMODIFIERS="@im=ibus"
    • startup 
      • 세션 및 시동에 ibus-daemon -drx
    • hidpi
      • Go to Settings Manager > Appearance > Settings > Window Scaling and select 2 as the scaling factor.
      • Go to Settings Manager > Window Manager > Style and select Default-xhdpi in the theme box on the left.
      • https://mxlinux.org/wiki/hardware/high-resolution-displays/
        • for qt5 apps
        • .xprofile
          • export QT_SCALE_FACTOR=2
    • audio volume control by keyboard
      • Right click a panel -> Panel submenu -> Add New Items...
      • Add an instance of PulseAudio Plugin
      • Right click the icon that just appeared in your panel and click "Properties". Make sure "Enable keyboard shortcuts for volume control" is enabled.
      • You may have to install the PulseAudio Plugin first. In Debian and Debian-based distributions, the package is called xfce4-pulseaudio-plugin.
      •  https://unix.stackexchange.com/questions/342554/how-to-enable-my-keyboards-volume-keys-in-xfce
    • large text on login  screen
      • /etc/lightdm/lightdm-gtk-greeter.conf
      •  [greeter]
      •  xft-dpi = 192
      •  from archwiki HiDPI or 4K configuration
  • bluetooth
    • bluez blueman
  • void-packages 
    • vmware-horizon-client
    • iaito with hack 
      • https://github.com/void-linux/void-packages/pull/54716
      • https://docs.github.com/ko/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
  • gnome
    • replace lightdm
      • rm /var/service/lightdm
      • ln -sf /etc/sv/gdm /var/service/ 
    • missing power profiles
      • install power-profiles-daemon
      • ln -sf /etc/sv/power-profiles-daemon /var/service 
  • plasma
    • kde-plasma
    • konsole discover dolphine ark
    • bigger sddm fonts
      • /etc/sddm.conf.d/kde_settings.conf
      • [General]
        GreeterEnvironment=QT_SCREEN_SCALE_FACTORS=2,QT_FONT_DPI=192
  • flatpak
    • to access outside container
      • flatpak override org.radare.iaito --filesystem=home
    • cannot save file
    • use app from void-packages
  • update notifier
    • octoxbps
  • bios time
    • HARDWARECLOCK="localtime" in rc.conf
  • user local bin path
    • mkdir -p .local/bin
    • PATH="$PATH:$HOME/.local/bin"
  • turbo boost(or power-profiles-daemon)
    • /etc/rc.local

      echo "1" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo 
  • clean up old kernels
    • sudo vkpurge rm `vkpurge list`
  • no sound?
    • install sof-firmware
  • chromium
  • vsv
  • dev
    • curl git gcc SDL3 SDL3-devel godot lazygit helix
    • zig
      • download zig-linux-x86_64 from ziglang.org
    • for building raylib
      • wayland-devel libX11-devel libxkbcommon-devel libXrandr-devel libXi-devel libXinerama-devel libXcursor-devel libva-glx libva-glx-devel glfw glfw-devel make
      • sudo xbps-install make alsa-lib-devel libglvnd-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel mesa MesaLib-devel
      • sudo xbps-install mesa-dri mesa-intel-dri
  • keyboard launcher
    • rofi(x11)
      • rofi -combi-modi window,drun,ssh -theme material -font "Fira Code 20" -show combi
    • tofi(wayland)
      • tofi-drun --drun-launch=true --config soy-milk --fuzzy-match=true
  • known issues
    • dummy audio for niri
      • start pipewire before noctalia 
    • network broken 
      • The issue seems to be due to openresolv somehow not updating or adding the DNS.

        As a temporary fix you could try running # resolvconf -u Or even adding the DNS yourself at /etc/resolv.conf Something like: 

        nameserver 1.1.1.1  

    • funky keyboard
      • Fix for the Linux Fn key: you just need to create a file like /etc/modprobe.d/hid_apple.conf with options hid_apple fnmode=0. Don't forget to update the initramfs. After reboot, everything works fine in Windows mode for me.

        Fedora/Void:
        echo 'options hid_apple fnmode=0' | sudo tee /etc/modprobe.d/hid_apple.conf
        sudo dracut --force

  • auto-rotation
    • https://www.reddit.com/r/voidlinux/comments/1cf4tx5/how_to_get_gnome_auto_screen_rotation_working_on/ 
  • grub
    • dual-boot with windows
    • edit /etc/default/grub
      • GRUB_DISABLE_OS_PROBER=false
    • grub-mkconfig -o /boot/grub/grub.cfg
      https://wiki.archlinux.org/title/GRUB
       
       

 

2025년 3월 10일 월요일

flatpak vscodium issue

  • 내장 터미널에서 환경 설정문제
    • cargo 실행 불가
      • flatpak --user override com.vscodium.codium --env=PATH=/app/bin:/usr/bin:/home/$USER/.cargo/bin
    • 여전히 sdl로딩 불가
      • flatpak override --env=LD_LIBRARY_PATH --env=LIBRARY_PATH
      • flatpak  사용 포기

niri + nautilus + rename bug

 https://discuss.cachyos.org/t/unable-to-rename-files-with-nautilus-in-niri/19724  niri or fcitx5?