毎日モザイク

White Room Layout Works

Archive for 2021/02/24

2021-02-24T02:29:14+09:00 [Wed]
--> [Ubuntu]

How to enable qt5ct style launch from ranger in tmux on i3wm

OS:Xubuntu20.04

WM:i3wm

terminal:tilix with tmux

shell: zsh

step 1

add your ~/.bashrc or ~/.zshrc etc.

export QT_QPA_PLATFORMTHEME=qt5ct

step 2

add your .config/i3/config

bindsym $mod+s          exec --no-startup-id tilix -e 'tmux new -s ranger "source ~/.zshrc && ranger"'

step 3

Launch ranger and open file using “s” or “r”.

Your qt application launch with qt5ct style.