This commit is contained in:
2025-10-21 05:08:52 +09:00
parent 01012424e8
commit e41f007e8e
2 changed files with 41 additions and 0 deletions

View File

@@ -103,6 +103,8 @@ $ curl http://localhost:8000/v1/chat/completions \
最近、iphoneやmacを買うより、`DGX Spark`を買ったほうが良いのではないかと考えることがあります。
[https://www.nvidia.com/ja-jp/products/workstations/dgx-spark/](https://www.nvidia.com/ja-jp/products/workstations/dgx-spark/)
pc(RTX)やmacは、60万円ほどかかりますし、それは`DGX Spark`の値段と同じです。どうせ同じ値段を使うなら、何を買うのが良いのでしょう。
パソコンのスペックというのは、毎年それほど変わりません。RTXにしても同じです。

View File

@@ -0,0 +1,39 @@
---
title: "archlinuxでvnc"
slug: "arch-vnc"
date: "2025-10-20"
tags: ["archlinux", "vnc", "mac"]
draft: false
---
自分のブログに書いてあると思ったんだけど、見当たらなかったので。
`xorg`, `i3`を使用しています。
```sh
$ sudo pacman -S tigervnc
```
```sh
$ vncpasswd
$ x0vncserver -rfbauth ~/.config/tigervnc/passwd
```
macから接続するには
```sh
$ open vnc://192.168.1.2:5900
```
## 操作感を同じにする
1. 自動起動
2. `Win`から`Alt`に変更。その上で`setxkbmap`でkey-layoutを変更。
```sh:~/.config/i3/config
exec --no-startup-id x0vncserver -rfbauth ~/.config/tigervnc/passwd
exec_always --no-startup-id setxkbmap -option altwin:swap_alt_win
#set $mod Mod4
set $mod Mod1
```