fedora 38 weston [fedora系]
fedora 38 weston
あいもかわらずlinuxであそんでいます。
お仕事の方はご苦労さまです。
今回の私のパソコン環境は、 os fedora 38 weston
CPU: Intel i7-7700 (8) @ 4.200GHz
GPU: NVIDIA GeForce GT 730
Fedora-Workstation-Live-x86_64-38-1.6.iso
fedora 38は、USA製。
fedora 38のインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
fedora 38インストールは、BIOS環境でおこなった。
インストール終了後
案内にそってサードパーティ、ユーザーの設定をする。
sudo dnf update
あいもかわらずlinuxであそんでいます。
お仕事の方はご苦労さまです。
今回の私のパソコン環境は、 os fedora 38 weston
CPU: Intel i7-7700 (8) @ 4.200GHz
GPU: NVIDIA GeForce GT 730
Fedora-Workstation-Live-x86_64-38-1.6.iso
fedora 38は、USA製。
fedora 38のインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
fedora 38インストールは、BIOS環境でおこなった。
インストール終了後
案内にそってサードパーティ、ユーザーの設定をする。
sudo dnf update
rpmfusionのインストール
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
マイブームのwestonの記録です。
weston 10 と、weston 11 ではショットカットキーの違いがあります。
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
マイブームのwestonの記録です。
weston 10 と、weston 11 ではショットカットキーの違いがあります。
sudo dnf install scrot feh fontawesome-fonts file-roller leafpad neofetch fcitx5 fcitx5-mozc fcitx5-autostart fcitx5-qt fcitx5-gtk fcitx5-configtool mirage gimp vlc mpv
sudo dnf install weston wofi sakura gnome-icon-theme dolphin konsole audacity
sudo dnf install /home/satou/ダウンロード/google-chrome-stable_current_x86_64.rpm /home/satou/ダウンロード/onlyoffice-desktopeditors.x86_64.rpm
sudo dnf install weston wofi sakura gnome-icon-theme dolphin konsole audacity
sudo dnf install /home/satou/ダウンロード/google-chrome-stable_current_x86_64.rpm /home/satou/ダウンロード/onlyoffice-desktopeditors.x86_64.rpm
上記のaudacityはまともに動きません。なのでaudacity-linux-3.2.5-x64.AppImageをaudacityと名前を変更して
/usr/bin/audacity と置き換える。sudo dolphin それからpirmissionに注意して。
sudo chmod +x /usr/bin/audacity
codec
sudo dnf group upgrade --with-optional Multimedia --allowerasing
+
fedora の weston-panel にclockがありません。代替えとして、tty-clockを使いました。
weston-panelの左端にランチャーとして設置しました。
sudo dnf install ncurses ncurses-devel gcc
git clone https://github.com/xorg62/tty-clock
cd tty-clock
make
chmod +x tty-clock
sudo mv tty-clock /usr/local/bin/tty-clock
tty-clock icon 大きさ32ピクセル
nano ~/.config/weston.ini に追記
[launcher]
icon=/usr/share/icons/access_time.png
path=/usr/bin/konsole -e /usr/local/bin/tty-clock
displayname=clock
sudo nano /etc/environment
CLUTTER_IM_MODULE=fcitx5
QT4_IM_MODULE=fcitx5
QT_IM_MODULE=fcitx5
XMODIFIERS=@im=fcitx5
GTK_IM_MODULE=fcitx5
LANG=ja_JP.UTF-8
cd tty-clock
make
chmod +x tty-clock
sudo mv tty-clock /usr/local/bin/tty-clock
tty-clock icon 大きさ32ピクセル
nano ~/.config/weston.ini に追記
[launcher]
icon=/usr/share/icons/access_time.png
path=/usr/bin/konsole -e /usr/local/bin/tty-clock
displayname=clock
sudo nano /etc/environment
CLUTTER_IM_MODULE=fcitx5
QT4_IM_MODULE=fcitx5
QT_IM_MODULE=fcitx5
XMODIFIERS=@im=fcitx5
GTK_IM_MODULE=fcitx5
LANG=ja_JP.UTF-8
sudo alternatives --config xinputrc
2
fcitx5-configtool
nautilusの設定 コマンド
gsettings set org.gnome.nautilus.preferences always-use-location-entry true
gsettings set org.gnome.nautilus.preferences default-sort-order "type"
gsettings set org.gnome.nautilus.list-view default-visible-columns "['name', 'type', 'size', 'date_modified', 'starred']"
gsettings set org.gnome.desktop.interface clock-show-date true
westonでgnome-terminalが開かなかった。以下のコマンドのあとで開く
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
fcitx5-configtool
nautilusの設定 コマンド
gsettings set org.gnome.nautilus.preferences always-use-location-entry true
gsettings set org.gnome.nautilus.preferences default-sort-order "type"
gsettings set org.gnome.nautilus.list-view default-visible-columns "['name', 'type', 'size', 'date_modified', 'starred']"
gsettings set org.gnome.desktop.interface clock-show-date true
westonでgnome-terminalが開かなかった。以下のコマンドのあとで開く
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
新規作成①
nano ~/wofi-power.sh 一部変更
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
#!/bin/bash
entries="⇠ Logout\\n⏾ Suspend\\n⭮ Reboot\\n⏻ Shutdown"
selected=$(echo -e $entries|wofi --width 250 --height 210 --dmenu --cache-file /dev/null | awk '{print tolower($2)}')
case $selected in
logout)
exec pkill weston;;
suspend)
exec systemctl suspend;;
reboot)
exec systemctl reboot;;
shutdown)
exec systemctl poweroff -i;;
esac
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
nano ~/wofi-power.sh 一部変更
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
#!/bin/bash
entries="⇠ Logout\\n⏾ Suspend\\n⭮ Reboot\\n⏻ Shutdown"
selected=$(echo -e $entries|wofi --width 250 --height 210 --dmenu --cache-file /dev/null | awk '{print tolower($2)}')
case $selected in
logout)
exec pkill weston;;
suspend)
exec systemctl suspend;;
reboot)
exec systemctl reboot;;
shutdown)
exec systemctl poweroff -i;;
esac
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
新規作成②
nano ~/wayland
ーーーーーーーーーーーーーーーーーーーーー
#!/bin/sh
export GDK_BACKEND=wayland
export CLUTTER_BACKEND=wayland
export COGL_RENDERER=egl_wayland
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
fcitx5
sleep 1
/usr/libexec/polkit-gnome-authentication-agent-1
/etc/xdg/Xwayland-session.d/00-at-spi
pulseaudio --start
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
nano ~/wayland
ーーーーーーーーーーーーーーーーーーーーー
#!/bin/sh
export GDK_BACKEND=wayland
export CLUTTER_BACKEND=wayland
export COGL_RENDERER=egl_wayland
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
fcitx5
sleep 1
/usr/libexec/polkit-gnome-authentication-agent-1
/etc/xdg/Xwayland-session.d/00-at-spi
pulseaudio --start
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
weston.iniの設定 丸写し
nano ~/.config/weston.ini
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
[core]
xwayland=true
idle-time=0
pageflip-timeout=10000
require-input=false
[shell]
exposay-modifier=super
background-image=/usr/share/backgrounds/archlinux/snow.jpg
background-type=scale
background-color=0xff002244
background-type=tile
clock-format=minutes
panel-color=0xff0000ff
locking=true
animation=zoom
startup-animation=none
num-workspaces=2
panel-position=top
[launcher]
icon=/usr/share/icons/gnome/32x32/apps/utilities-terminal.png
path=/usr/bin/konsole
displayname=Terminal
[launcher]
icon=/usr/share/icons/gnome/32x32/apps/system-file-manager.png
path=/usr/bin/dolphin
displayname=dolphin
[launcher]
icon=/usr/share/icons/gnome/32x32/apps/web-browser.png
path=/usr/bin/falkon
displayname=falkon
[launcher]
icon=/usr/share/icons/gnome/32x32/actions/gtk-home.png
path=/usr/bin/wofi --show drun --allow-images
displayname=wofi
[launcher]
icon=/usr/share/icons/gnome/32x32/actions/process-stop.png
path=/home/satou/wofi-power.sh
displayname=logout
[keyboard]
keymap_rules=evdev
keymap_layout=jp
#numlock-on=true
[input-method]
path=/home/satou/wayland
[xwayland]
path=/usr/bin/Xwayland
ーーーーーーーーーーーーーーーーーーーーーーーーーーー丸写し終わり
nano ~/.config/weston.ini
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
[core]
xwayland=true
idle-time=0
pageflip-timeout=10000
require-input=false
[shell]
exposay-modifier=super
background-image=/usr/share/backgrounds/archlinux/snow.jpg
background-type=scale
background-color=0xff002244
background-type=tile
clock-format=minutes
panel-color=0xff0000ff
locking=true
animation=zoom
startup-animation=none
num-workspaces=2
panel-position=top
[launcher]
icon=/usr/share/icons/gnome/32x32/apps/utilities-terminal.png
path=/usr/bin/konsole
displayname=Terminal
[launcher]
icon=/usr/share/icons/gnome/32x32/apps/system-file-manager.png
path=/usr/bin/dolphin
displayname=dolphin
[launcher]
icon=/usr/share/icons/gnome/32x32/apps/web-browser.png
path=/usr/bin/falkon
displayname=falkon
[launcher]
icon=/usr/share/icons/gnome/32x32/actions/gtk-home.png
path=/usr/bin/wofi --show drun --allow-images
displayname=wofi
[launcher]
icon=/usr/share/icons/gnome/32x32/actions/process-stop.png
path=/home/satou/wofi-power.sh
displayname=logout
[keyboard]
keymap_rules=evdev
keymap_layout=jp
#numlock-on=true
[input-method]
path=/home/satou/wayland
[xwayland]
path=/usr/bin/Xwayland
ーーーーーーーーーーーーーーーーーーーーーーーーーーー丸写し終わり
前記事と同じような内容でしょう。
weston 10 と、weston 11 ではショットカットキーの違いがあります。
はじめは、そのようなことを知らなかったのでos のせいにしていた。
westonは、重い作業がクラッシュしやすいでしょう。重い作業は、gnomeで。
以下参考画像
weston 10 と、weston 11 ではショットカットキーの違いがあります。
はじめは、そのようなことを知らなかったのでos のせいにしていた。
westonは、重い作業がクラッシュしやすいでしょう。重い作業は、gnomeで。
以下参考画像
logout
メニュー
neofetch
nautilus
weston-panel 左端に、tty-clockを設置