2024年12月08日

archbang-0812-x86_64.iso。vmware workstation player17.6.1 / sparky-7.5-amd64-xfce

新しいarchbangのisoは、abinstallだけでなく、
archinstallコマンド付き。
つまり、archlinux.isoと同じ機能を備えた
ということです。デスクトップは、
よりどりみどり、なんにでも
できることでしょう。

カーネルは、6.12.3-arch1-1。

abinstallは、緑氏ご本人、古くなった
と思っているようです。
ライブから取り出して、保管したほうが
いいのかも。


posted by ブログ開設者 at 19:42| Comment(0) | linux | このブログの読者になる | 更新情報をチェックする

(つづき)niri window manager-0.1.10|archlinux本家。vmware workstation pro17.6.1 / sparky-7.5-amd64-xfce

niriの設定ファイル(~/.config/niri/config.kdl)を
あれこれいじりました。いろいろできます。
設定ファイルにある説明は丁寧で、
英語の堪能でない私でも、
google翻訳を使ってよくわかりました。

特質は、ひとつ前の投稿でも言及しましたように、
決まったスペースにウィンドウを
縮めてきれいに配置するのではなく、
膨張拡散的にウィンドウを並べる式です。

他のタイル型と同じような配置もできますが、
このタイル型WMの主旨ではないです。
考えに付き合って、この世界は広いんだ的に
使ったほうがハッピーな気はします。

年寄りにはつらいですが、バインドキーが
アタマにしっかり入れば、かなり高速に使えると
思います。同時に見える窓の数はいくらか
制限されますが、アクティブなウィンドウを
痩せさせたり、太らせたりして(Mod+R)、
補ったりすれば、まあいいんだろうと思います。

秒・分単位の短期取引のトレーダーには合わない
だろうと思います。職業上、誰にとって、
このWMが快適か、というと、難しいところですね。
同時に何作かの小説を書いている売れっ子作家?

音量調整に、ほかでだめだったりした
pavucontrolが使えました。
gimpは、開かないですね。swayと
共有部分があってだから、全面的にアウト?
ほかのどこかで開いたような気もしますが、、、。

niri_layout_2024-12-08_08-47-24.jpg

説明していると切りがないです。
まずは、お試しのほどを。


posted by ブログ開設者 at 09:46| Comment(0) | linux | このブログの読者になる | 更新情報をチェックする

niri window manager-0.1.10|archlinux本家。vmware workstation pro17.6.1 / sparky-7.5-amd64-xfce

x11なし、swayが入っている
仮想環境上のarchlinux本家に
niriを追加しました。
当然のことながら、これも、wayland用の
ウィンドウマネージャーです。

pacman -S niri waybarで入ったのは、
cosmic-icon-theme、pop-icon-theme、
rtkit、xdg-desktop-portal、
xdg-desktop-portal-cosmic、niri、waybar
(waybarの導入理由:swayでは、
swaybarを使っていました)

$ yay wbg
することも必要でした。
プラグインあるんですかね。

試用するために設定でしたこと:
niriをインストールすることで、
~/.config/niri/config.kdlが
親切にも生成されます。

以下はいじったところの抜粋です。
バインドキーがたくさんあります。
ファイルは、全部で500行ほど。

input {
keyboard {
xkb {
// You can set rules, model, layout, variant and options.
// For more information, see xkeyboard-config(7).
// For example:
// layout "us,ru"
layout "us"
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
}
}

// You can configure outputs by their name, which you can find
// by running `niri msg outputs` while inside a niri instance.
// The built-in laptop monitor is usually called "eDP-1".
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"!
output "Virtual-1" {
// Uncomment this line to disable this output.
// off
// Resolution and, optionally, refresh rate of the output.
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
// If the refresh rate is omitted, niri will pick the highest refresh rate
// for the resolution.
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
mode "1920x1200@59.885"
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
scale 1
// Transform allows to rotate the output counter-clockwise, valid values are:
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.transform "normal"
// Position of the output in the global coordinate space.
// This affects directional monitor actions like "focus-monitor-left", and cursor movement.
// The cursor can only move between directly adjacent outputs.
// Output scale and rotation has to be taken into account for positioning:
// outputs are sized in logical, or scaled, pixels.
// For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
// so to put another output directly adjacent to it on the right, set its x to 1920.
// If the position is unset or results in an overlap, the output is instead placed
// automatically.
position x=1920 y=0
}

// Add lines like this to spawn processes at startup.
// Note that running niri as a session supports xdg-desktop-autostart,
// which may be more convenient to use.
// See the binds section below for more spawn examples.
// spawn-at-startup "alacritty" "-e" "fish"
spawn-at-startup "fcitx5" "-d"
spawn-at-startup "vmware-user"
spawn-at-startup "vmhgfs-fuse" "/mnt/hgfs" "-o" "auto_unmount" "-o" "allow_other"
spawn-at-startup "waybar"
spawn-at-startup "wbg" "/home/user/画像/niri019-1024x576.png"
}

binds {
// Keys consist of modifiers separated by + signs, followed by an XKB key name
// in the end. To find an XKB name for a particular key, you may use a program
// like wev.
//
// "Mod" is a special modifier equal to Super when running on a TTY, and to Alt
// when running as a winit window.
//
// Most actions that you can bind here can also be invoked programmatically with
// `niri msg action do-something`.
// Mod-Shift-/, which is usually the same as Mod-?,
// shows a list of important hotkeys.
Mod+Shift+Slash { show-hotkey-overlay; }
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T { spawn "alacritty"; }
Mod+Return { spawn "foot"; }
Mod+D { spawn "fuzzel"; }
Mod+Ctrl+F { spawn "thunar"; }
Mod+Ctrl+W { spawn "firefox"; }
Mod+Ctrl+E { spawn "l3afpad"; }
Super+Alt+L { spawn "swaylock"; }
}

モニタの解像度合わせに必要な情報を得るには、
$ niri msg outputs
する必要がありました。
リフレッシュレートの数値について、
このコマンドで出た値を
きっちり入れる必要がありました。

特徴的なのは、ワークスペースが、
モニタの外、上下に隠れ並んでいる、
というイメージ。
横には、画面から追い出されつつ、
ウィンドウはいくらでも並ぶ
んだろうと思います。
ワークスペースを変えるには、
Modキー(Super)を押しながら、
マウスのホイールを回す。
横に並んでいるウィンドウを動かすには、
モニタの左右外にカーソルを追い出し、
クリックです。

ウィンドウの左右幅を変えることもできます。
Mod+Shiftを押しならボーダーラインをドラッグ。
左手でキーボード、右手のマウス、
で多くの操作をやるみたいです。

niri2.jpg

専用の壁紙がなく、ネット上にあった
古い壁紙を借用。表示バージョンも、違っていまして、
インストールしたniriは、0.1.10。

モニタの画面に、ウィンドウが増えると、
1画面に収まるように、ウィンドウがだんだん
小さくなっていくのが普通ですが、
これは、拡散型というか、違いがはっきりしています。
1画面に小さなウィンドウを並べて
一覧的に見て使う方法もあると思いますが、
まだやり方を知りません。

もっているムードとしては、
hyprlandと近いですかね。
アニメーションで動くので。


posted by ブログ開設者 at 00:39| Comment(0) | linux | このブログの読者になる | 更新情報をチェックする