Update Xorg

This commit is contained in:
Takumi Sueda 2022-05-10 01:20:38 +09:00
parent 3ae1893f45
commit 3ec2a68c4b
1 changed files with 3 additions and 33 deletions

View File

@ -5,41 +5,11 @@ categories:
tags:
- Linux
- GUI
excerpt: Brain 特有の Xorg の設定について
excerpt: Xorg について
---
# Brain 特有の Xorg の設定について
# GUI の利用方法
PW-Sx7 までは SoC に GPU が載っておらず、framebuffer (fbdev) のみが利用可能です。つまり、お手元の Linux マシンで Xorg が GPU と通信するときに使うしくみ (DRM, DRI) は利用できません。設定ファイルに fbdev を使用するよう明示的に書くことで Xorg が動かせます。
# xorg.conf
設定ファイル xorg.conf の内容を以下に示します。vi か nano を使って以下の内容を `/etc/X11/xorg.conf` に書き込んでください。
<!-- markdownlint-disable fenced-code-language -->
```
Section "Device"
Identifier "device"
Driver "fbdev"
EndSection
Section "Screen"
Identifier "screen"
Device "device"
EndSection
```
<!-- markdownlint-enable fenced-code-language -->
# 起こし方
2021年2月23日現在では、Xorg はブートシークエンスと結合されていません。つまり、手で起動します。
```sh
$ Xorg &
$ openbox-session &
```
以上を実行した後にお好みのソフトを起動してください。
Brainux バージョン 2021-03-22-233911 以降は Xorg と jwm が標準でインストールされています。ログイン画面にて jwm 等の好きな DE を選びログインしてください。