Skip to content

tot0rokr/dotfiles

Repository files navigation

Integrated Bash Eenvironment

Step

Install fonts

Download Nerd Fonts

Install & Run

sudo apt update \
&& sudo apt install -y git \
&& \rm -f ~/.* \
; git clone https://github.com/tot0rokr/dotfiles.git ~ \
&& bash

Desktop 사용

Windows Xming from X11 on ssh

  1. ✅ 1. Windows에서 Xming 실행
    Xming을 실행할 때 반드시 XLaunch를 이용해서 다음처럼 설정해야 합니다: Multiple windows Start no client Clipboard: 체크 (optional) No access control ← 이거 꼭 체크하세요 (그래야 외부 접속 허용됨)
    - Xming 바로가기 파일 속성에 -ac 추가
    
  2. SSH 접속 시 -X 또는 -Y 옵션 사용
    ssh -X <id>@<ubuntu-ip>
    ssh -Y <id>@<ubuntu-ip>
    
  3. Server SSH 설정(/etc/ssh/sshd_config)
    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost no
    
    sudo systemctl restart ssh
  4. $DISPLAY 설정(.bashrc에 해놨음)

If Linux Desktop

Keyboard mapping

https://github.com/jtroo/kanata/releases 에서 kanata 설치 -> $HOME/.bin/kanata 로 저장

[Unit]
Description=Kanata keyboard remapper
Documentation=https://github.com/jtroo/kanata

[Service]
Type=simple
ExecStart=/home/{USERNAME}/.local/bin/kanata --cfg /home/{USERNAME}/.config/kanata/tenkeyless.key
Restart=never

[Install]
WantedBy=default.target

.xprofile에 kime 사용 등록

export GTK_IM_MODULE=kime
export QT_IM_MODULE=kime
export XMODIFIERS=@im=kime

그 다음 systemctl daemon-reload / start / enable

Kime (Korean input)

https://osg.kr/archives/3109

Gnome-shell-extensions

sudo apt install gnome-shell-extensions sudo apt install gnome-tweaks https://support.system76.com/articles/pop-keyboard-shortcuts/ https://github.com/pop-os/shell

Audio

sudo apt install pavucontrol # audio manager

Bluetooth

sudo apt install blueman # bluetooth manager

TMUX

# 1. 필요 패키지 설치
sudo apt update
sudo apt install -y git build-essential libevent-dev libncurses-dev bison pkg-config autotools-dev automake

# 2. 최신 tmux 소스 클론
git clone https://github.com/tmux/tmux.git
cd tmux

# 3. 최신 안정 버전으로 체크아웃 (예: 3.3a)
git checkout 3.3a

# 4. 빌드
sh autogen.sh
./configure
make

# 5. 설치 (옵션)
sudo make install

Kitty

~/.config/kitty/kitty.conf

# Truecolor 활성화
enable_true_color yes

# 외부 앱이 kitty 기능 제어 가능하게 허용
allow_remote_control yes

# (선택) 기본 TERM
term xterm-kitty

.tmux.conf

set -ga terminal-overrides ',xterm-kitty:Tc:sitm=\E[3m' # kitty

# 256 color
set -g default-terminal "xterm-kitty" # kitty

# true color
set -as terminal-features ',xterm-kitty:RGB' # kitty

# 터미널 에뮬레이터 고유 기능 사용을 위해 escape sequences tmux가 가로채지 않도록 하는 기능
set -g allow-passthrough on # kitty

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published