i3

i3 Installation

$ sudo pacman -S --noconfirm i3-gaps

statusbar

$ sudo pacman -S --noconfirm libmpdclient # support for 'internal/mpd'
$ yay -S --noconfirm polybar # yay -S --rebuild polybar

login DM

# sudo pacman -S --noconfirm lightdm lightdm-gtk-greeter
# sudo pacman -S --noconfirm lightdm-gtk-greeter-settings # for tweak setting of lightdm
# sudo systemctl enable lightdm.service

background of Login DM

Place image in shared space for permission Use sudo lightdm-gtk-greeter-settings for lightdm setting

$ sudo cp /home/$USER/dotfiles/images/universe.jpg /usr/share/pixmaps/
$ sudo cp /home/$USER/dotfiles/images/ba90.png /usr/share/pixmaps/

NetworkManger

NOTE:

  • Need to stop netctl to use networkmanager
  • netctl list # show profile list, for example, i have oreore profile
  • sudo netctl stop oreore
  • sudo netctl disable oreore
$ sudo pacman -S --noconfirm networkmanager network-manager-applet
$ sudo systemctl start NetworkManager
$ sudo systemctl enable NetworkManager

Applet

Bluetooth(for blueman-applet on tray)

$ sudo pacman -S --noconfirm blueman

Clipboard manager

$ sudo pacman -S --noconfirm parcellite

Dictionary

  1. install dictionaries
    • $ mkdir ~/.goldendict/dict
    • move dictionary files under the dict folder
    • GoldenDict > Edit > Dictionaries > Sources > Files > Add ~/.goldendict/dict
    • GoldenDict > Edit > Dictionaries > Sources > Files > Scan now
    • GoldenDict > Edit > Dictionaries > Sources > Wikipedia > add and enable https://ja.wikipedia.org/w
  2. GoldenDict > Edit > Preference > Scan popup
    • enable show scan flag when word is selected
  3. GoldenDict > Desktop Menu > enable Sacn popup

links

$ mkdir ~/.goldendict/dict
$ sudo pacman -S --noconfirm goldendict

Otheres

# Launcher
sudo pacman -S --noconfirm rofi dmenu # qlcplus-qt5

# Office
sudo pacman -S --noconfirm libreoffice-fresh

# Image Viewer
sudo pacman -S --noconfirm feh sxiv

# Video Player
sudo pacman -S --noconfirm vlc

# Notification daemon
sudo pacman -S --noconfirm gnome-icon-theme # dependency for dunst
sudo pacman -S --noconfirm dunst

# Window transparent
sudo pacman -S --noconfirm compton

# Screen Capture utility
sudo pacman -S --noconfirm scrot

# EPub Reader
sudo pacman -S --noconfirm calibre

# Blightness
# NOTE: python-gobject is dependency for redshift-gtk
# see https://github.com/jonls/redshift/issues/615
sudo pacman -S --noconfirm python-gobject
sudo pacman -S --noconfirm redshift

# Volume control for system tray
sudo pacman -S --noconfirm volumeicon

# Screen Locker
# sudo pacman -S --noconfirm i3lock xautolock
sudo pacman -S --noconfirm light-locker

Setings of natural scrolling in i3

export DefaultImModule=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export LC_CTYPE=ja_JP.UTF-8

run FCITX-mozc
run_im fcitx

export LC_CTYPE=en_US.UTF-8

# Enable natural scrolling
# $ xinput list #
# ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
# ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
# ⎜   ↳ SynPS/2 Synaptics TouchPad                id=11   [slave  pointer  (2)]
# ⎜   ↳ TPPS/2 IBM TrackPoint                     id=12   [slave  pointer  (2)]
#
# $ xinput list-props 11
# Device 'SynPS/2 Synaptics TouchPad':
#         libinput Scroll Methods Available (289):        1, 1, 0
#         libinput Scroll Method Enabled (290):   1, 0, 0
#         libinput Scroll Method Enabled Default (291):   1, 0, 0
xinput set-prop 11 'libinput Natural Scrolling Enabled' 1