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個のアプリ起動中 ふつう