0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Manjaro Linuxセットアップメモ

Last updated at Posted at 2024-12-22

CapsLockをCtrlにする

sudo packman -S xorg-xmodmap

以下ファイルを~/.Xmodmapというファイル名で作成

clear lock
clear control
keycode 66 = Control_L
add control = Control_L Control_R
xmodmap ~/.Xmodmap

再起動するとはんえいされているはず

Workspace

  • Workspaceを選び、9個作る
  • xfwm4-settingsコマンド - KeyboardタブのWorkspace nとなっているショートカットを変更する

日本語化

  • 以下をインストール
sudo pacman -S fcitx5 fcitx5-configtool fcitx5-mozc fcitx5-im
  • fcitx5-configurationを起動

    • InputMethodの右項目からmozcを検索し、左項目に移動してApply
    • Ctrl + Spaceがデフォルトのショートカットキー
  • 再起動する

パッケージマネージャー

yayに必要なパッケージ

sudo pacman -S git
sudo pacman -S fakeroot
sudo pacman -S binutils
sudo pacman -S make
sudo pacman -S gcc

yay install

sudo packman -S yay
yay -Syu

Bluetooth

ログイン画面でも有効化

sudo vim /etc/bluetooth/main.conf
AutoEnalbe=true
yay -S buleberry --no-confirm

blueberry経由でマウスなどを接続

マウススクロール

逆にする

yay -S libinput --noconfirm
❯ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ VEN_04F3:00 04F3:31D1 Mouse             	id=9	[slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                      	id=16	[slave  pointer  (2)]
⎜   ↳ Microsoft Arc Mouse Keyboard            	id=17	[slave  pointer  (2)]
⎜   ↳ Microsoft Arc Mouse                     	id=19	[slave  pointer  (2)]
⎜   ↳ VEN_04F3:00 04F3:31D1 Touchpad          	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Lid Switch                              	id=8	[slave  keyboard (3)]
    ↳ Intel HID 5 button array                	id=12	[slave  keyboard (3)]
    ↳ Intel HID events                        	id=11	[slave  keyboard (3)]
    ↳ Dell Privacy Driver                     	id=13	[slave  keyboard (3)]
    ↳ Dell WMI hotkeys                        	id=14	[slave  keyboard (3)]
    ↳ Microsoft Arc Mouse Keyboard            	id=18	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=15	[slave  keyboard (3)]
❯ xinput list-props 19 | grep "libinput Natural Scrolling Enabled"
	libinput Natural Scrolling Enabled (319):	0
	libinput Natural Scrolling Enabled Default (320):	0
xinput set-prop 19 "libinput Natural Scrolling Enabled" 0

パッケージインストール

yay -S copyq --noconfirm
yay -S Ulancher --noconfirm
yay -S googlechrome --noconfirm
yay -S fish --noconfirm
yay -S vim --noconfirm
yay -S neovim --noconfirm
yay -S tmux --noconfirm
yay -S goenv --noconfirm
yay -S direnv --noconfirm

starship

nerd-fontが必要なためインストール

yay -S nerd-fonts --noconfirm

tmux

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

neovim

クリップボード

yay -S xclip
set clipboard=unnamedplus

クリップボード

yay -S clipman

keyboard - Application Shortcut
xfce4-popup-clipmanをCtrl + Q

sudo

パスワードなしでsudoできるように

yuta ALL=(ALL) NOPASSWD: ALL

onedrive

OneDriveにsshconfigやkubeconfigなどを入れている。
各マシンで同期を図れるようにする。

yay -S patch --noconfirm
yay -S onedrive --noconfirm

ホームディレクトリの下にOneDriveができる

ln -s  ~/OneDrive/config/ssh/config ~/.ssh/config

手動同期コマンド

onedrive -d

RDP Client

Remminaが良さそう

yay -S remmina                        
yay -S remmina-plugin-rdp  
yay -S freerdp

タイルの設定

デフォルトだとバッテリーが表示されないので表示できるようにする。
パネルを右クリック - Panel - Panel RferenceでButteryを表示するように。
他お好みで。

image.png

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?