Netwalkerで動かしてみました。
機能が何もないので常用には不向きですが、
軽いWMを試してみたいという勉強用途向けでも。
勉強不足なので意外と動かすのに難しかったですw
◯TinyWMとは
50行のソースコードで書かれた事で有名な最軽量WMです。
消費メモリ0.2MB以下という所も有名でしょうか。
Debianのパッケージ解説文は下記の内容です。
「TinyWM は小さく、シンプルなウィンドウマネージャです。
最小限のメモリしか 利用しないため、組み込みシステムで役立ちます。
ウィンドウの移動、リサイズ、 そして選択操作が特徴であり、
"sloppy focus" をサポートします。
その簡潔さから、(C と Python による) ソースコードは
基本的なウィンドウ マネージャプログラムを理解するための
手段を探している開発者のためのリファレンス実装としても利用できます。」
とありまして、勉強用ですかね。
機能は殆ど無いので、実用は難しいですが
WMを比較評価したい人向けです。
こちらのDebianのサイトがわかりやすいので参考にします。
https://wiki.debian.org/TinyWM
まあターミナルさえ立ち上がれば、
nm-applet &
ibus-daemon &
とかしちゃってまあ良いかみたいななし崩し的に遊ぶ人も
いたりいなかったり?
◯TinyWMのインストール
パッケージのインストールはapt-getで。
その後が面倒でした。
sudo apt-get install tinywm
このままログインマネージャーでTinyWMを選択しても、
ターミナルもなんにも起動しないので操作できませんw
まずターミナルを起動する設定にする必要があります。
まず端末から設定ファイルを編集します。
sudo gedit /usr/share/xsessions/tinywm.desktop
でExecの行の後ろを書き換えます。
Exec=tinywm-session
保存しましたら、実行ファイルを追加します。
sudo gedit /usr/bin/tinywm-session
#!/bin/bash
xsetroot -solid "#000000"
/usr/bin/xrdb -load $HOME/.xinitrc
x-terminal-emulator
x-terminal-emulator
exec /usr/bin/tinywm
で保存します。
Terminal Emulatorの所はxtermなど好きなものに置き換えて下さい。
定義する設定ファイルの.xinitrcの所は各自変更しても問題ないかも。
その後実行形式に変更
sudo chmod a+x /usr/bin/tinywm-session
で、.xinitrcを作成変更
gedit .xinitrc
で下記を書き込み
xsetroot -solid black &
tinywm &
xterm
で保存。
何度も定義する必要は無いはずですが。
後はログアウトしてセッションを「tinywm」に選択すれば起動するはずです。
あくまでテスト用途なので、セッションの起動は今回限りに
しておけば事故を防げますw
ブラックスクリーンのまま起動すると何も出来ないので気をつけて下さいw
◯まとめ
一応Tinywmが立ち上がりました。
意外と悩みました。
ただWMの切り替え、軽量化は限度がありまして
Daemonとか他の用途も減らさないとそんなに速くなりませんかも。
まあお遊び勉強用途として、
WMの重さが気になる人だけ比較してみてくださいな。
【Netwalkerの最新記事】
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
- モバイルUbuntu、NetWalker..
Netwalkerのインフォーめシオン、ありがとう。
私もPC-T1を持っている。
質問がある。日本語で上手じゃないから、英語で出きるの?メールで?
ありがとう。
Thank you for your comments.
This is Kapper.
I can use English.
Please ask in English.
Thank you for your answer.
This page tells me
コメントを書く
ERROR : 半角英数字のみのコメントは受付ません。
when I try to post...
Can you mail me instead?
I came to this blog thanks to some presentations I saw on the net, presentations you made for OCS. Pretty nice work.
I came to this blog thanks to some presentations I saw on the net, presentations you made for OCS. Pretty nice work.
I have a PCT1, which boots on 2.6.28-19-sendai if turned on in normal mode (with an old Jaunty behind).
Booting the device on SDCard is ok, with a SDCard made as recovery card from
the OS.
From there, removing some scripts in rc2.d, and I can boot and get a tty.
But there is something strange here:
Regardless the kernel I want to use (among kernels + /lib/modules/kernels_modules/ copied on the SDCard), passing informations such as "/boot/vmlinuz-2.6.28-19-sendai root=/dev/mmcblk0p1 rw rootfstype=ext3",
the device always boots with the same kernel, i.e., 2.6.28-474-gbd04b06.
I tried adding ubi.mtd=4 in SDCard:/boot/boot.conf, as I read on some posts on
the net for the PCZ1, but always have the same behaviour. I don't even know if
the file boot.conf is even considered...
The thing is that by default, the recovery SDCard has only a /boot/boot.conf
file, no other file in /boot. Yet it boots, and boots of course on the
2.6.28-474-gbd04b06 kernel. I don't even know where this kernel is stored, and don't know how I can make the booting process
correspond to what I want.
I have 2 ideas, both weird:
- The bootloader uses always the /dev/sda1:/zImage.safe (idea coming from the fact that I don't know its version)
- the bootloader uses its own version stored somewhere in NAND
Do you have any idea on what is going on, or what kind of test/manipulations I
could process to finally get it booting with what I want?
Thank you for your comment.
I'm sorry that the board is 2-byte characters is like a minimum of one character necessary.
PC-Z1 and the PC-T1 is a different thing.
Please see this blog.
http://d.hatena.ne.jp/marony0607/20120224/1330042016
Since the number of users is less missing information of PC-T1.
Towards the PC-T1 I do not know if you do not reread the contents of the recovery disk.
I try to check.
I checked one of the article before, due to some internet research.
But I saw nothing on how to boot on the SDCard, with the kernel being on the SDCard.