2025년 10월 17일 금요일

Void Linux(2025. 2. 2 배포판 기준) 팁

 ## 패키지 업데이트
$ xbps-install -Su
$ xbps-remove -O
$ xbps-remove -o

// 커널 업데이트 후 이전 커널 삭제
$ vkpurge list
$ vkpurge rm all

// 커널 업데이트 후 오류 시 재설정
$ xbps-reconfigure -f linux{버전(x.xx)}

## xbps-install 업데이트
$ xbps-install -u xbps


## 패키지 검색
$ xbps-query -Rs {검색어}


## virtualbox 게스트 확장 업데이트
// 필요 패키지 설치 (첫 설치 후)
$ xbps-install gcc make perl
$ xbps-install linux{버전(x.xx)}-headers

// 게스트 확장 CD 삽입 후
$ cd /run/media/user/VBox_GAs_{버전}
$ ./VBoxLinuxAdditions.run
$ rcvboxadd quicksetup all


## 한글 설정
$ xbps-install ibus-hangul fonts-droid-ttf noto-fonts-cjk noto-fonts-emoji Fonts-TLWG


### /etc/xprofile
```
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

ibus-daemon -drxR
```


## Java 설치
$ xbps-install openjdk-jre


## PowerTunnel
https://github.com/krlvm/PowerTunnel

### start.sh
```
#!/bin/bash

#
cd ~/PowerTunnel

#
#java -jar ~/PowerTunnel/PowerTunnel.jar --console --start
#java -jar PowerTunnel.jar --start --minimized
java -jar PowerTunnel.jar --start --disable-tray &

#
firefox -P my &
```

## firefox 설정
네트워크 설정 > 연결 설정 > 수동 프록시 설정 > HTTPS 프록시=127.0.0.1, 포트=8085

## 터치패드 관련

$ mkdir /etc/X11/xorg.conf.d

$ cp 40-libinput.conf /etc/X11/xorg.conf.d/


### /etc/X11/xorg.conf.d/40-libinput.conf

```

...

 Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"

        #Option "Device" "/dev/input/event8"
        Option "Tapping" "on"
        Option "NaturalScrolling" "on"
        Option "ScrollMethod" "twofinger"
        Option "AccelProfile" "adaptive"
        Option "AccelSpeed" "0.2"
        Option "ClickMethod" "clickfinger"
        #Option "ScrollPixelDistance" "30"
        Option "ScrollPixelDistance" "15"
        Option "SendEventsMode" "enabled"
EndSection

... 

``` 


### /etc/xprofile
```

...

# firefox 고해상도 스크롤 & 제스처 

export MOZ_USE_XINPUT2=1

```


$ xfce4-settings-editor

아래 경로의 설정 값을 수정(Edit)

pointers > {Touchpad} > Properties > Device_Enabled: 0->1



https://man.archlinux.org/man/libinput.4#CONFIGURATION_DETAILS