ubuntu sway remix [ubuntu,debian系]
ubuntu sway remix
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os ubuntu sway
CPU: Intel i7-4790K (8) @ 4.400GHz
GPU: NVIDIA GeForce GT 710
ubuntusway-23.10-desktop-amd64.iso
ubuntu sway remixのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
今回の機種 Intel i7-4790K 搭載 ubuntu sway remix の起動にはあまり余裕がありません。
10年前の代物だからしょうがないでしょう。
sudo passwd
sudo apt update
sudo apt upgrade
sudo apt install gnome-terminal pcmanfm-qt gimp celluloid audacity fcitx5 fcitx5-mozc fonts-noto-cjk wofi
sudo apt install ~/Downloads/google-chrome-stable_current_amd64.deb ~/Downloads/onlyoffice-desktopeditors_amd64.deb
fcitx5の設定
sudo nano /etc/environment.d/fcitx5.conf
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
sudo nano '/etc/sway/config.d'/fcitx5.conf
exec swaymsg input type:keyboard xkb_layout "jp" &
exec fcitx5 -dr
fcitx5-configtool
sway上でonlyofficeを端末から起動 コマンド
/usr/bin/onlyoffice-desktopeditors --ozone-platform=wayland ~/Music/深夜便.ods
*
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os ubuntu sway
CPU: Intel i7-4790K (8) @ 4.400GHz
GPU: NVIDIA GeForce GT 710
ubuntusway-23.10-desktop-amd64.iso
ubuntu sway remixのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
今回の機種 Intel i7-4790K 搭載 ubuntu sway remix の起動にはあまり余裕がありません。
10年前の代物だからしょうがないでしょう。
sudo passwd
sudo apt update
sudo apt upgrade
sudo apt install gnome-terminal pcmanfm-qt gimp celluloid audacity fcitx5 fcitx5-mozc fonts-noto-cjk wofi
sudo apt install ~/Downloads/google-chrome-stable_current_amd64.deb ~/Downloads/onlyoffice-desktopeditors_amd64.deb
fcitx5の設定
sudo nano /etc/environment.d/fcitx5.conf
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
sudo nano '/etc/sway/config.d'/fcitx5.conf
exec swaymsg input type:keyboard xkb_layout "jp" &
exec fcitx5 -dr
fcitx5-configtool
sway上でonlyofficeを端末から起動 コマンド
/usr/bin/onlyoffice-desktopeditors --ozone-platform=wayland ~/Music/深夜便.ods
*
*
audacity起動させるために・・・。
cp -r /usr/share/applications /home/satou/.local/share
nano ~/.local/share/applications/audacity.desktop
Exec=env UBUNTU_MENUPROXY=0 GDK_BACKEND=x11 --gtk-version=3 audacity %F
sudo nano /etc/environment
cp -r /usr/share/applications /home/satou/.local/share
nano ~/.local/share/applications/audacity.desktop
Exec=env UBUNTU_MENUPROXY=0 GDK_BACKEND=x11 --gtk-version=3 audacity %F
sudo nano /etc/environment
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
QT_QPA_PLATFORM=wayland
#SDL_VIDEODRIVER=wayland
XDG_SESSION_TYPE=wayland
XDG_SESSION_DESKTOP=sway
XDG_CURRENT_DESKTOP=sway
# avoid iterating over all libseat backends
LIBSEAT_BACKEND=logind
# allow software renderers in sway
WLR_RENDERER_ALLOW_SOFTWARE=1
# for nouveau compatibility
WLR_DRM_NO_MODIFIERS=1
MOZ_ENABLE_WAYLAND=1
ーーーーーーーーーーーーーーーーーーーーーーーーー
*
QT_QPA_PLATFORM=wayland
#SDL_VIDEODRIVER=wayland
XDG_SESSION_TYPE=wayland
XDG_SESSION_DESKTOP=sway
XDG_CURRENT_DESKTOP=sway
# avoid iterating over all libseat backends
LIBSEAT_BACKEND=logind
# allow software renderers in sway
WLR_RENDERER_ALLOW_SOFTWARE=1
# for nouveau compatibility
WLR_DRM_NO_MODIFIERS=1
MOZ_ENABLE_WAYLAND=1
ーーーーーーーーーーーーーーーーーーーーーーーーー
*
*
dmenu変更
sudo nano /etc/sway/variables
set $menu wofi --show drun --allow-images
*
dmenu変更
sudo nano /etc/sway/variables
set $menu wofi --show drun --allow-images
*
*
swaylockの設定解除がわからなかった。なので以下のファイルを削除しちゃった。乱暴な。
sudo rm /usr/bin/swaylock /usr/bin/swayidle
swayの設定 私の多用するシヨットカットキー
pcmanfm-qt $mod+Shift+F12
sudo rm /usr/bin/swaylock /usr/bin/swayidle
swayの設定 私の多用するシヨットカットキー
pcmanfm-qt $mod+Shift+F12
google-chrome $mod+Shift+F11
firefox $mod+Shift+w
閉じる $mod+Shift+q kill
$mod1+F4 kill
リロードsway $mod+Shift+c
ログアウト $mod+Shift+e
アプリの移動 $mod+Shift+ナンバーキー
タブ状に並べる $mod+s
タブ状に並べる解除 $mod+e
ワークスペース移動 $mod+control+矢印キー
スクリーンショット $mod+Shift+print
nano ~/.config/sway/config
ーーーーーーーーーーーーーーーーーーーーーーー丸写し
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
set $mod Mod4
set $mod1 Mod1
bindsym $mod1+F4 kill
bindsym $mod+Shift+F11 exec google-chrome-stable --gtk-version=4
bindsym $mod+Shift+F12 exec pcmanfm-qt
bindsym $mod+Shift+print exec grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.jpg')
bindsym $mod+Shift+w exec ~/firefox/firefox
bindsym $mod+control+Right workspace next
bindsym $mod+control+Left workspace prev
# Styles
set $theme /usr/share/themes/yaru-sway
# theme variables
include $theme/variables
# Global variables
include /etc/sway/variables
# User variables
include $HOME/.config/sway/variables.d/*.conf
include /etc/sway/outputs/*.conf
include /etc/sway/inputs/*.conf
# include modes
include /etc/sway/modes/*.conf
# Additional configs
include /etc/sway/config.d/*.conf
# User config
include $HOME/.config/sway/config.d/*.conf
# Include nwg-displays config's (if exists)
include ~/.config/sway/outputs
include ~/.config/sway/workspaces
ーーーーーーーーーーーーーーーーーーーーー丸写し終わり
ubuntu sway remix 最初の起動では、画面が暗くなっています。
waybarの左端をクリックすると、アプリの一覧が出るでしょう。
waybarの右端をクリックすると、ログアウトメニューが出るでしょう。
リポジトリ
index
参考サイト様
ubuntu sway remix は、greetdのログインシステムでしょう。
greetdのログインシステムで、軽量化されているでしょう。
閉じる $mod+Shift+q kill
$mod1+F4 kill
リロードsway $mod+Shift+c
ログアウト $mod+Shift+e
アプリの移動 $mod+Shift+ナンバーキー
タブ状に並べる $mod+s
タブ状に並べる解除 $mod+e
ワークスペース移動 $mod+control+矢印キー
スクリーンショット $mod+Shift+print
nano ~/.config/sway/config
ーーーーーーーーーーーーーーーーーーーーーーー丸写し
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
set $mod Mod4
set $mod1 Mod1
bindsym $mod1+F4 kill
bindsym $mod+Shift+F11 exec google-chrome-stable --gtk-version=4
bindsym $mod+Shift+F12 exec pcmanfm-qt
bindsym $mod+Shift+print exec grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.jpg')
bindsym $mod+Shift+w exec ~/firefox/firefox
bindsym $mod+control+Right workspace next
bindsym $mod+control+Left workspace prev
# Styles
set $theme /usr/share/themes/yaru-sway
# theme variables
include $theme/variables
# Global variables
include /etc/sway/variables
# User variables
include $HOME/.config/sway/variables.d/*.conf
include /etc/sway/outputs/*.conf
include /etc/sway/inputs/*.conf
# include modes
include /etc/sway/modes/*.conf
# Additional configs
include /etc/sway/config.d/*.conf
# User config
include $HOME/.config/sway/config.d/*.conf
# Include nwg-displays config's (if exists)
include ~/.config/sway/outputs
include ~/.config/sway/workspaces
ーーーーーーーーーーーーーーーーーーーーー丸写し終わり
ubuntu sway remix 最初の起動では、画面が暗くなっています。
waybarの左端をクリックすると、アプリの一覧が出るでしょう。
waybarの右端をクリックすると、ログアウトメニューが出るでしょう。
リポジトリ
index
参考サイト様
ubuntu sway remix は、greetdのログインシステムでしょう。
greetdのログインシステムで、軽量化されているでしょう。
greetdのログインシステム オートログイン 追記
sudo nano /etc/greetd/config.toml
[terminal]
vt = "next"
[default_session]
command = "tuigreet --remember --time --issue --asterisks --cmd start-sway"
user = "_greetd"
[initial_session]
command = "start-sway"
user = "satou"
vt = "next"
[default_session]
command = "tuigreet --remember --time --issue --asterisks --cmd start-sway"
user = "_greetd"
[initial_session]
command = "start-sway"
user = "satou"
sudo nano /usr/bin/start-sway
ーーーーーーーーーーーーーーーーー
#!/usr/bin/env sh
## General exports
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
# Check if system is running in virtual machine
case "$(systemd-detect-virt)" in
qemu)
export WLR_RENDERER=pixman
export WLR_NO_HARDWARE_CURSORS=1
;;
kvm)
export WLR_NO_HARDWARE_CURSORS=1
;;
oracle)
export WLR_NO_HARDWARE_CURSORS=1
;;
esac
# Apply Nvidia-specific variables
if [ -d /sys/module/nvidia ]; then
export WLR_NO_HARDWARE_CURSORS=1
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export LIBVA_DRIVER_NAME=nvidia
fi
## Load system environment customizations
if [ -d /etc/environment.d ]; then
set -o allexport
for f in /etc/environment.d/*.conf; do
# shellcheck source=/dev/null
. "$f"
done
set +o allexport
fi
## Load user environment customizations
if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/environment.d" ]; then
set -o allexport
for i in "${XDG_CONFIG_HOME:-$HOME/.config}/environment.d"/*.conf; do
# shellcheck source=/dev/null
. "$i"
done
set +o allexport
fi
# Check if Nvidia driver installed, start Sway and send output to the journal
if [ -d /sys/module/nvidia ]; then
exec systemd-cat -- /usr/bin/sway --unsupported-gpu $@
else
exec systemd-cat -- /usr/bin/sway $@
fi
## General exports
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
# Check if system is running in virtual machine
case "$(systemd-detect-virt)" in
qemu)
export WLR_RENDERER=pixman
export WLR_NO_HARDWARE_CURSORS=1
;;
kvm)
export WLR_NO_HARDWARE_CURSORS=1
;;
oracle)
export WLR_NO_HARDWARE_CURSORS=1
;;
esac
# Apply Nvidia-specific variables
if [ -d /sys/module/nvidia ]; then
export WLR_NO_HARDWARE_CURSORS=1
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export LIBVA_DRIVER_NAME=nvidia
fi
## Load system environment customizations
if [ -d /etc/environment.d ]; then
set -o allexport
for f in /etc/environment.d/*.conf; do
# shellcheck source=/dev/null
. "$f"
done
set +o allexport
fi
## Load user environment customizations
if [ -d "${XDG_CONFIG_HOME:-$HOME/.config}/environment.d" ]; then
set -o allexport
for i in "${XDG_CONFIG_HOME:-$HOME/.config}/environment.d"/*.conf; do
# shellcheck source=/dev/null
. "$i"
done
set +o allexport
fi
# Check if Nvidia driver installed, start Sway and send output to the journal
if [ -d /sys/module/nvidia ]; then
exec systemd-cat -- /usr/bin/sway --unsupported-gpu $@
else
exec systemd-cat -- /usr/bin/sway $@
fi
neofetch
logout
logout
dmenu
onlyoffice コマンド
nwg-drawer
waydroid
4個のアプリ起動中 タブ並び
4個のアプリ起動中 ふつう
2024-01-25 10:40
nice!(0)
youtubeについて [メモ]
youtubeについて
わたしは、音楽かけ流しなどにyoutubeを使っています。
youtubeが広告スポンサーありきで成り立っているのであれば、
わたしたちは、素直に従って広告も見るぺきでしょう。
しかし、あまりの低レベルの広告に堪忍袋の緒が切れたというか・・・・。
uBlock Origin にしばらく頑張ってもらいます。
わたしは、音楽かけ流しなどにyoutubeを使っています。
youtubeが広告スポンサーありきで成り立っているのであれば、
わたしたちは、素直に従って広告も見るぺきでしょう。
しかし、あまりの低レベルの広告に堪忍袋の緒が切れたというか・・・・。
uBlock Origin にしばらく頑張ってもらいます。
タグ:youtubeについて
2024-01-23 17:57
nice!(0)
fedora-silverblue linux + waydroid [fedora系]
fedora-silverblue linux + waydroid
お仕事の方はごくろうさまです。
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os silverblue swayウインドーマネージャー
CPU: AMD Ryzen 7 5700G with Radeon Graphics (16)
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mo
お仕事の方はごくろうさまです。
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os silverblue swayウインドーマネージャー
CPU: AMD Ryzen 7 5700G with Radeon Graphics (16)
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mo
fedora系で、waydroidをインストールするならfedora-silverblue linuxでしょう。
silverblue linuxを使っている方は少ないと思われる。
今回ののパソコンは、gpt(efi)環境でしょう。
silverblue linuxのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
silverblue linuxは、デュアルブートができないとおもわれているでしょう。
敬遠される理由にもなっているでしょう。
silverblue linuxは、ssd全部をつかう自動インストールのほうが容易でしょう。
今回は、同一のバソコンssd(500GiB)にsilverblue、debian、manjaroの順番でインストールした。
手間は余計にかかるが、決してデュアルブートが不可能ではないでしょう。
①silverblueのインストール終了後、usbに入ったosのgpartedでパーテイションの縮小、作成した。
debian、manjaro用のパーテイションとespのパーテイションを作成した。
②debianのインストールするときに新しく作成したespのパーテイションを使う、
silverblueのespパーテイションは、使わないようにするのがポイントでしょう。
silverblue linuxは、ssd全部をつかう自動インストールのほうが容易でしょう。
今回は、同一のバソコンssd(500GiB)にsilverblue、debian、manjaroの順番でインストールした。
手間は余計にかかるが、決してデュアルブートが不可能ではないでしょう。
①silverblueのインストール終了後、usbに入ったosのgpartedでパーテイションの縮小、作成した。
debian、manjaro用のパーテイションとespのパーテイションを作成した。
②debianのインストールするときに新しく作成したespのパーテイションを使う、
silverblueのespパーテイションは、使わないようにするのがポイントでしょう。
debianのインストーラーで使わないespパーテイションをクリックしてゆき
このパーテイションは使わないという項目を選択する。
③manjaroのインストールもおなじような作業をする。
debianの/boot/grubフォルダをmanjaroにコピーする。
そして最終作業は、silverblueを起動させる。
パソコン起動時にF2を連打してパソコンの設定を呼び出す。
パソコンの設定で最初に起動するパーテイションを、silverblue入っているパーテイションを選択する。
silverblueのgrubを設定してめでたく3個のosが起動できました。
sudo nano /etc/default/grub
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=true
GRUB_SAVEDEFAULT=true
grubの再インストール
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
rpm-ostree update
rpm-ostree install grub2-common grub2-efi-x64 grub2-pc-modules shim-x64 grub2-tools --allow-inactive
waydroidのインストールと設定。
rpm-ostree install waydroid
debianの/boot/grubフォルダをmanjaroにコピーする。
そして最終作業は、silverblueを起動させる。
パソコン起動時にF2を連打してパソコンの設定を呼び出す。
パソコンの設定で最初に起動するパーテイションを、silverblue入っているパーテイションを選択する。
silverblueのgrubを設定してめでたく3個のosが起動できました。
sudo nano /etc/default/grub
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=true
GRUB_SAVEDEFAULT=true
grubの再インストール
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
rpm-ostree update
rpm-ostree install grub2-common grub2-efi-x64 grub2-pc-modules shim-x64 grub2-tools --allow-inactive
waydroidのインストールと設定。
rpm-ostree install waydroid
sudo waydroid init -s GAPPS -f -c https://ota.waydro.id/system -v https://ota.waydro.id/vendor
*
*
waydroid session start
新たな端末を開き
sudo waydroid shell
:/ #
上記に続けて以下を貼り付ける
ANDROID_RUNTIME_ROOT=/apex/com.android.runtime ANDROID_DATA=/data ANDROID_TZDATA_ROOT=/apex/com.android.tzdata ANDROID_I18N_ROOT=/apex/com.android.i18n sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"
登録サイトを開き、上記の最後に出できた数字を貼り付けて登録する。
https://www.google.com/android/uncertified
貼り付ける場所
google サービスフレームワーク・・・・・
swayのインストールは、私の記事を参照されたし。
インストールしたものとか
rpm-ostree install sway waybar wofi wdisplays wlsunset light grim slurp swappy pavucontrol swayidle bemenu wob audacity gnome-icon-theme fcitx5 fcitx5-mozc
新たな端末を開き
sudo waydroid shell
:/ #
上記に続けて以下を貼り付ける
ANDROID_RUNTIME_ROOT=/apex/com.android.runtime ANDROID_DATA=/data ANDROID_TZDATA_ROOT=/apex/com.android.tzdata ANDROID_I18N_ROOT=/apex/com.android.i18n sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"
登録サイトを開き、上記の最後に出できた数字を貼り付けて登録する。
https://www.google.com/android/uncertified
貼り付ける場所
google サービスフレームワーク・・・・・
swayのインストールは、私の記事を参照されたし。
インストールしたものとか
rpm-ostree install sway waybar wofi wdisplays wlsunset light grim slurp swappy pavucontrol swayidle bemenu wob audacity gnome-icon-theme fcitx5 fcitx5-mozc
*
*
flatpak で mpv celluloidをインストール
fedora-silverblue linuxのインストールは、設定をおえてみればサクサク動くosでしょう。
sway(wayland)は、動画、音声ともきれいでしょう。
以下参考画像。
fedora-silverblue linuxのインストールは、設定をおえてみればサクサク動くosでしょう。
sway(wayland)は、動画、音声ともきれいでしょう。
以下参考画像。
waydroid
onlyoffice sway上では起動させるのが困難なソフトでしょう。
端末から起動できています。
/usr/bin/onlyoffice-desktopeditors --ozone-platform=wayland
gparted
waydroid 起動中
koikoi
google-chrome
mpv
firefox
https://www3.nhk.or.jp/news/html/20240111/k10014316641000.html
2024-01-12 10:26
nice!(0)
manjaro linux + sway 2024 [arch系]
manjaro linux + sway
あけましておめでけとうございます。
お仕事の方はごくろうさまです。
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os manjaro sway
CPU: AMD CPU: Intel i7-7700K (8) @ 4.500GHz
GPU: NVIDIA GeForce GT 730
manjaro-gnome-23.1.1-minimal-231223-linux66.iso
ダウンロードをクリックすると、minimalとfullが選択できるようになっています。
manjaro linuxのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
manjaro-swayエデイションもある。
manjaro-swayエデイションを試してみたが、なんだかなあの結果でした。
今回は、manjaro-gnomeにmanjaro-swayを移植しました。
インストール終了後、gnomeでの作業
sudo pacman-mirrors -c japan
sudo pacman -Sy
リポジトリの追加
sudo nano /etc/pacman.conf
[manjaro-sway]
SigLevel = PackageRequired
Server = https://packages.manjaro-sway.download/stable/$arch
インストールしたものとか
sudo pacman -Sy
あけましておめでけとうございます。
お仕事の方はごくろうさまです。
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os manjaro sway
CPU: AMD CPU: Intel i7-7700K (8) @ 4.500GHz
GPU: NVIDIA GeForce GT 730
manjaro-gnome-23.1.1-minimal-231223-linux66.iso
ダウンロードをクリックすると、minimalとfullが選択できるようになっています。
manjaro linuxのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
manjaro-swayエデイションもある。
manjaro-swayエデイションを試してみたが、なんだかなあの結果でした。
今回は、manjaro-gnomeにmanjaro-swayを移植しました。
インストール終了後、gnomeでの作業
sudo pacman-mirrors -c japan
sudo pacman -Sy
リポジトリの追加
sudo nano /etc/pacman.conf
[manjaro-sway]
SigLevel = PackageRequired
Server = https://packages.manjaro-sway.download/stable/$arch
インストールしたものとか
sudo pacman -Sy
sudo pacman -R manjaro-gnome-settings
sudo pacman -S manjaro-sway-settings wofi dmenu neofetch leafpad swaybg base-devel fcitx5-im fcitx5-mozc fcitx5-configtool libvoikko nuspell celluloid gimp yt-dlp pavucontrol audacity scrot gpicview mpv
sudo nano /etc/profile
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
fcitx5 &
fcitx5-configtool
yay-binのインストール
git clone https://aur.archlinux.org/yay-bin
cd yay-bin
makepkg -si
sudo nano /etc/profile
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
fcitx5 &
fcitx5-configtool
yay-binのインストール
git clone https://aur.archlinux.org/yay-bin
cd yay-bin
makepkg -si
yay -S otf-takao ttf-nanum google-chrome onlyoffice--desktopeditors gnome-icon-theme noto-fonts-cjk
swayの設定
オリジナルの設定をこわさないようにしつつ私好みにする。
swayのフォルダは、3箇所にあります。
最初にswayにログインすると盛大にエラーがででいます。これは、2箇所修正しました。
sudo nano /etc/sway/config.d/90-enable-theme.conf
# kvantummanager --set "$kvantum-theme"
swayの設定
オリジナルの設定をこわさないようにしつつ私好みにする。
swayのフォルダは、3箇所にあります。
最初にswayにログインすると盛大にエラーがででいます。これは、2箇所修正しました。
sudo nano /etc/sway/config.d/90-enable-theme.conf
# kvantummanager --set "$kvantum-theme"
sudo nano /etc/sway/config.d/96-waybar-config.conf
position top
lxterminal,pcmanfm,firefoxをショットカットで呼び出すようにする。
ctrl+win+矢印,alt+F4,ログアウトの設定,screenshotも。
mkdir ~/.config/sway
nano ~/.config/sway/config
ーーーーーー丸写し
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
set $mod Mod4
set $alt_mod Mod1
bindsym $mod+control+Right workspace next
bindsym $mod+control+Left workspace prev
#bindsym $mod+Return exec $term
bindsym $alt_mod+F4 kill
bindsym $mod+Shift+t exec gnome-terminal
bindsym $mod+Shift+w exec firefox
bindsym $mod+Shift+F12 exec nautilus
bindsym $mod+Shift+e exec /home/satou/wofi-power
bindsym $mod+Shift+print exec grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.jpg')
position top
lxterminal,pcmanfm,firefoxをショットカットで呼び出すようにする。
ctrl+win+矢印,alt+F4,ログアウトの設定,screenshotも。
mkdir ~/.config/sway
nano ~/.config/sway/config
ーーーーーー丸写し
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
set $mod Mod4
set $alt_mod Mod1
bindsym $mod+control+Right workspace next
bindsym $mod+control+Left workspace prev
#bindsym $mod+Return exec $term
bindsym $alt_mod+F4 kill
bindsym $mod+Shift+t exec gnome-terminal
bindsym $mod+Shift+w exec firefox
bindsym $mod+Shift+F12 exec nautilus
bindsym $mod+Shift+e exec /home/satou/wofi-power
bindsym $mod+Shift+print exec grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.jpg')
#bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
set $term /usr/bin/lxterminal
# styles - set the folder for your theme definition file
set $theme /usr/share/sway/themes/matcha-green
# theme variables
include $theme/theme.conf
# user theme variable can override the global theme
include $HOME/.config/sway/definitions.d/theme.conf
# global variables
include /etc/sway/definitions
# user variables can override global definitions
include $HOME/.config/sway/definitions.d/*.conf
include /etc/sway/inputs/*
include /etc/sway/outputs/*
# enable modes
include /etc/sway/modes/*
# only enable this if every app you use is compatible with wayland
# xwayland disable
# include additional configs e.g. to autostart applications
include /etc/sway/config.d/*
# user config
include $HOME/.config/sway/config.d/*.conf
ーーーーーーー丸写し終わり
ログアウトファイル 設置はホームに。
nano ~/wofi-power
set $term /usr/bin/lxterminal
# styles - set the folder for your theme definition file
set $theme /usr/share/sway/themes/matcha-green
# theme variables
include $theme/theme.conf
# user theme variable can override the global theme
include $HOME/.config/sway/definitions.d/theme.conf
# global variables
include /etc/sway/definitions
# user variables can override global definitions
include $HOME/.config/sway/definitions.d/*.conf
include /etc/sway/inputs/*
include /etc/sway/outputs/*
# enable modes
include /etc/sway/modes/*
# only enable this if every app you use is compatible with wayland
# xwayland disable
# include additional configs e.g. to autostart applications
include /etc/sway/config.d/*
# user config
include $HOME/.config/sway/config.d/*.conf
ーーーーーーー丸写し終わり
ログアウトファイル 設置はホームに。
nano ~/wofi-power
chmod 755 ~/wofi-power
#!/bin/sh
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 sway;;
suspend)
exec systemctl suspend;;
reboot)
exec systemctl reboot;;
shutdown)
exec systemctl poweroff -i;;
esac
修正した箇所
sudo nano /etc/sway/modes/default
ターミナルの設定,wofi-power
$bindsym $mod+Return exec gnome-terminal
$bindsym $mod+Shift+e exec ~/wofi-power
sudo nano /etc/sway/definitions
dmenuの設定
# Your preferred application launcher
set $menu wofi --show drun --allow-images
sudo nano /etc/sway/modes/shutdown
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 sway;;
suspend)
exec systemctl suspend;;
reboot)
exec systemctl reboot;;
shutdown)
exec systemctl poweroff -i;;
esac
修正した箇所
sudo nano /etc/sway/modes/default
ターミナルの設定,wofi-power
$bindsym $mod+Return exec gnome-terminal
$bindsym $mod+Shift+e exec ~/wofi-power
sudo nano /etc/sway/definitions
dmenuの設定
# Your preferred application launcher
set $menu wofi --show drun --allow-images
sudo nano /etc/sway/modes/shutdown
末尾
#$bindsym $mod+Shift+e mode $mode_shutdown
*
*
*
waybarの設定 大きさと日付
sudo nano /usr/share/sway/templates/waybar/style.css
ーーーーー
font-size: 20px;
sudo nano /usr/share/sway/templates/waybar/config.jsonc
ーーーーー
"clock": {
"interval": 60,
"format": "{: %b%e日 %Y %H:%M}",
sudo reboot
waybarの設定 大きさと日付
sudo nano /usr/share/sway/templates/waybar/style.css
ーーーーー
font-size: 20px;
sudo nano /usr/share/sway/templates/waybar/config.jsonc
ーーーーー
"clock": {
"interval": 60,
"format": "{: %b%e日 %Y %H:%M}",
sudo reboot
*
*
オリジナルにしたがって3箇所にあるswayのフォルダの修正は、疲れるでしょう。
1箇所にまとめることも可能でしょう。多分。
私がいつも使っているonlyofficeは、
1箇所にまとめることも可能でしょう。多分。
私がいつも使っているonlyofficeは、
sway上でonlyofficeを端末から起動 コマンド
/usr/bin/onlyoffice --ozone-platform=wayland
/usr/bin/onlyoffice --ozone-platform=wayland
yay -S fontconfig-ubuntu
manjaro-swayのオリジナルは、使いにくいでしょう。
manjaro-swayのwaybarは、◎。
以下参考画像
sway
waybarのワークスペース表示、別のワークスペース表示
ctrl+win+矢印
neofetch
dmenu
waybarの左端にmanjaroのアイコンクリックでも、dmenuを呼び出せる。
logout
4個のアプリをひらきました。1個だけ違うワークスペースへ移動させる。
移動させるアプリを選択しつつ win+shit+ナンバーキー
4個のアプリをひらきました。タブのリスト表示になっています
スタック [Mod + s]
タブリスト表示縦ならび
タブ [Mod + w]
タブリスト表示横ならび
タブ [Mod + w]
タブリスト表示横ならび
スプリット [Mod + e]
タブリスト解除
日本航空の516便のエアバスA350型機最新旅客機
能登大地震1-1
被災された方々に、お見舞い申し上げます。
能登大地震1-1
能登大地震1-1
2024-01-02 12:21
nice!(0)