fix
This commit is contained in:
@@ -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にしても同じです。
|
||||
|
39
my-blog/content/posts/2025-10-20-arch-vnc.md
Normal file
39
my-blog/content/posts/2025-10-20-arch-vnc.md
Normal 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
|
||||
```
|
||||
|
Reference in New Issue
Block a user