noVNC
~/.vnc/xstartup
+awesome &
nginxに追加(未確認)
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
- VNCでアンチエイリアス有効化
~/.Xresources
!Xft.dpi: 96
!Xft.dpi: 120
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
noVNCのインストール
vncserver :1
git clone https://github.com/kanaka/noVNC.git
cd noVNC
# httpsの有効化(Enter連打でok)
openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem
./utils/launch.sh --vnc 0.0.0.0:5901
awesome
apt-get install -y awesome
if [ ! -d ~/.config/awesome/ ];then
mkdir -p ~/.config/awesome/
cp /etc/xdg/awesome/rc.lua ~/.config/awesome/
fi
~/.config/awesome/rc.lua
-modkey = "Mod4"
+modkey = "Mod1"
noVNC上のawesomeで有効なショートカットキー
modkey + | 動作 |
---|---|
j | 次のウィンドウ |
k | 前のウィンドウ |
→ | 次のワークスペース |
← | 前のワークスペース |
w | スタートメニュー |
n | 最小化 |
m | 最大化 |
Enter | 全画面 |
t | 最前面 (^マークがつく) |
r | ファイル名を指定して実行 |
ctrl + r | awesomeのrestart |
shift + q | awesomeの終了 |
shift + c | フォーカス中のアプリケーションを強制終了 |