2024년 5월 6일 월요일

linux disable trackpoint

grep -a2 TrackPoint  /proc/bus/input/devices

Then append 1 to the inhibited button and include folder /sys/ before the location of the output of the S: section, example:
S: Sysfs=/devices/platform/i8042/serio1/input/input5

As root:

echo 1 > /sys/devices/platform/i8042/serio1/input/input5/inhibited

------------------------

echo "1" | sudo tee /sys`grep -a2 TrackPoint  /proc/bus/input/devices | tail -1 | cut -d'=' -f2`/inhibited

 

create service?

  • [Unit]
    Description=Disable Trackpoint

    [Service]
    ExecStart=/bin/sh -c "/usr/bin/echo 1 | sudo tee /sys`grep -a2 TrackPoint  /proc/bus/input/devices | tail -1 | cut -d'=' -f2`/inhibited"
    ExecStop=/bin/sh -c "
    /usr/bin/echo 0 | sudo tee /sys`grep -a2 TrackPoint  /proc/bus/input/devices | tail -1 | cut -d'=' -f2`/inhibited"
    RemainAfterExit=yes

    [Install]
    WantedBy=sysinit.target
     
  •  

2024년 4월 28일 일요일

alpine linux experience(fail on build)

  • turn off secure boot 
  • gnome
    • https://wiki.alpinelinux.org/wiki/GNOME
  • apt add sudo
  • install vscode using flatpak 
    • https://www.dziedziczak-artur.com/computers/alpine-linux-desktop/alpine-linux/
  • sudo apk list font-noto-cjk
  • rust
    • https://www.geeksforgeeks.org/how-to-install-rust-on-alpine/
  • ibus-hangul
    • sudo apt add ibus-hangul
  • git
  • macroquad build dependencies 
    • musl-dev, alsa-lib-dev, x11-dev, libxi-dev, mesa-dev, mesa, tar, bzip2
    • build error ( musl? gnome? miniquad? ) - cannot login GNOME xorg

2024년 1월 23일 화요일

windows 11 korean keyboard layout 3 (shift-space) 윈도11 한글키보드 레이아웃3

 설정 - 시간 및 언어->언어 및 지역->언어->한국어->언어옵션->키보드->레이아웃변경

 또는

https://badayak.com/entry/WinHanEng-jwShiftSpaceKey

2024년 1월 19일 금요일

xfce4 use volume key globally

xfce4-pulseaudio-plugin

  1. Right click a panel -> Panel submenu -> Add New Items...
  2. Add an instance of PulseAudio Plugin

 

 

Settings->Keyboard->Application Shortcuts  

  • amixer set Master toggle
  • amixer set Master 5%+
  • amixer set Master 5%-

 https://unix.stackexchange.com/questions/355665/how-to-increase-or-decrease-volume-in-xfce-with-keyboard-shortcuts

 

 

2023년 12월 28일 목요일

windows 11 guest on hyper-x

Security->Ecryption Support->Enable Trusted Platform Module

 

https://techcommunity.microsoft.com/t5/itops-talk-blog/how-to-run-a-windows-11-vm-on-hyper-v/ba-p/3713948

 

install without ms account


https://www.tomshardware.com/how-to/install-windows-11-without-microsoft-account

2023년 12월 19일 화요일

gnome files mounting local disk "not authorized to perform operation"

Open as root for editing a /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy file:

sudo nano /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy

Here we find the rule beginning with the following:

<action id="org.freedesktop.udisks2.filesystem-mount">

And at the bottom of this block, modify the following sections about this:

    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>

to:

    <defaults>
      <allow_any>yes</allow_any>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>

Then save the file.

https://en.linuxportal.info/tutorials/troubleshooting/how-to-clear-the-not-authorized-to-perform-operation-error-message-when-automatically-attaching-USB-flash-drives-and-other-external-USB-storage-devices

debian 13 trixie setup

install git fonts-firacode libwayland-bin for raylib libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libx...