archcraft + openbox + Hyprland [arch系]
archcraft + openbox + Hyprland
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os archcraft Hyprland
CPU: AMD Ryzen 7 5700G with Radeon Graphics (16)
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mo
archcraft-2024.01.08-x86_64.iso
archcraft linuxのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
archcraft linuxは、arch系、インド製。
インストール終了後
polybar obmenu-generator plank openboxは、おしゃれに構成されていた。
しかし、使いやすいとは言い難い。
openboxは、jgmenu tint2 で自分好みにした。
jgmenuの設定は・・・。
*
openboxと一緒に入っているbspwmも自分好みにした。 以下ショットカットの設定 hyprlandと一緒。
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os archcraft Hyprland
CPU: AMD Ryzen 7 5700G with Radeon Graphics (16)
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mo
archcraft-2024.01.08-x86_64.iso
archcraft linuxのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
archcraft linuxは、arch系、インド製。
インストール終了後
polybar obmenu-generator plank openboxは、おしゃれに構成されていた。
しかし、使いやすいとは言い難い。
openboxは、jgmenu tint2 で自分好みにした。
jgmenuの設定は・・・。
*
openboxと一緒に入っているbspwmも自分好みにした。 以下ショットカットの設定 hyprlandと一緒。
nano ~/.config/bspwm/sxhkdrc 編集
super + Return
xfce4-terminal
# Rofi App Launcher
super + d
rofi_launcher
# Launch Apps
super + shift + {F12,w}
{thunar,firefox}
# Close App
super + {_,shift + }q
bspc node -{c,k}
alt + F4
bspc node -{c,k}
# Quit/Restart bspwm
super + shift + {e,c}
bspc {quit,wm -r}
# Switch workspace
ctrl + super + {Left,Right}
bspc desktop -f {prev.local,next.local}
xfce4-terminal
# Rofi App Launcher
super + d
rofi_launcher
# Launch Apps
super + shift + {F12,w}
{thunar,firefox}
# Close App
super + {_,shift + }q
bspc node -{c,k}
alt + F4
bspc node -{c,k}
# Quit/Restart bspwm
super + shift + {e,c}
bspc {quit,wm -r}
# Switch workspace
ctrl + super + {Left,Right}
bspc desktop -f {prev.local,next.local}
*
*
nano ~/.config/bspwm/bspwmrc
#exec mpd &
fcitx5 &
fcitx5 &
*
*
sudo pacman -Sy
sudo pacman -Su
sudo pacman -S scrot ark git cmake wget fcitx5 fcitx5-configtool fcitx5-mozc fcitx5-im wofi gimp mpv celluloid base-devel
sudo nano /etc/profile
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
fcitx5-configtool
sudo pacman -S jgmenu
yayで、以下をインストールした。
sudo pacman -Sy
sudo pacman -Su
sudo pacman -S scrot ark git cmake wget fcitx5 fcitx5-configtool fcitx5-mozc fcitx5-im wofi gimp mpv celluloid base-devel
sudo nano /etc/profile
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
fcitx5-configtool
sudo pacman -S jgmenu
yayで、以下をインストールした。
最近は、arch系ばかりで遊んでいたので ~/.cache/yay フォルダを保存していて
〇〇〇〇.pkg.tar.zstを取り出してインストールしている。
yayで、
gnome-icon-theme gnome-icon-theme-symbolic google-chrome onlyoffice-bin audacity-3.1-wxgtk2 audacity-3.1-wxgtk2-debug ffmpeg4.4 4.4.4-4
〇〇〇〇.pkg.tar.zstを取り出してインストールしている。
yayで、
gnome-icon-theme gnome-icon-theme-symbolic google-chrome onlyoffice-bin audacity-3.1-wxgtk2 audacity-3.1-wxgtk2-debug ffmpeg4.4 4.4.4-4
今回は、 notwidow /hyprland というのをインストールした。
どこにも、archcraft と表示されていないのだが、font が archcraft-font がつかわれている。
なので archcraftのhyprland か。
ちなみに本家 archcraftのhyprland は、有料でしょう。
hyprlandのインストール
yay -S hyprland swaybg swayidle swaylock wlroots wl-clipboard kitty mako grim slurp wf-recorder wlogout waybar-git
timeshiftの削除
sudo pacman -Rns timeshift
あとは、自分の好みにしよう。
notwidow /hyprland をダウンロード、解凍、設置
~/.config/hypr フォルダ。
chmod 755 ~/.config/hypr
最初に出力設定をなしにします。私の場合HDMI接続。
nano ~/.config/hypr/hyprland.conf
#monitor=DP-2,1920x1080@144,0x0,1
#workspace=DP-2,1
#monitor=DVI-D-1,1360x768@60,1920x0,1
#workspace=DVI-D-1,2
nano ~/.config/hypr/waybar/config
"output": "DP-2", この部分を削除
どこにも、archcraft と表示されていないのだが、font が archcraft-font がつかわれている。
なので archcraftのhyprland か。
ちなみに本家 archcraftのhyprland は、有料でしょう。
hyprlandのインストール
yay -S hyprland swaybg swayidle swaylock wlroots wl-clipboard kitty mako grim slurp wf-recorder wlogout waybar-git
timeshiftの削除
sudo pacman -Rns timeshift
あとは、自分の好みにしよう。
notwidow /hyprland をダウンロード、解凍、設置
~/.config/hypr フォルダ。
chmod 755 ~/.config/hypr
最初に出力設定をなしにします。私の場合HDMI接続。
nano ~/.config/hypr/hyprland.conf
#monitor=DP-2,1920x1080@144,0x0,1
#workspace=DP-2,1
#monitor=DVI-D-1,1360x768@60,1920x0,1
#workspace=DVI-D-1,2
nano ~/.config/hypr/waybar/config
"output": "DP-2", この部分を削除
ーーーーーーーーーーーーー
ーーーーーーーーーーーーー
"modules-left": ["custom/menu", "hyprland/workspaces", "cpu", "memory", "disk", "custom/updater"],
"modules-center": ["clock", "tray"],
"modules-center": ["clock", "tray"],
ーーーーーーーーーーーーー
*
*
*
これで端末から、Hyprland 入力で起動するとおもう。H は大文字
起動しないときは、~/.config/hypr フォルダのそれぞれのファイルのアクセス権が有効になっていないからと思われます。
nano ~/.config/hypr/hyprland.conf 以下私の場合追記編集
ーーーーーーーーーーーーーーーー
ーーーーーーーーーーーーーーーー
bind=SUPERSHIFT,F,togglefloating,
bind=SUPERSHIFT,Print,exec,grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.jpg')
bind=SUPER,Return,exec,xfce4-terminal
bind=ALT,F4,killactive,
#bind=SUPERSHIFT,W,exec,firefox
bind=SUPERSHIFT,F11,exec,google-chrome-stable --gtk-version=4
bind=SUPERSHIFT,F12,exec,thunar
bind=SUPERCTRL,left,workspace, -1
bind=SUPERCTRL,right,workspace, +1
bind=SUPER,Q,killactive,
bind=SUPERSHIFT,Q,killactive,
bind=SUPERSHIFT,E,exec,$wlogout
bind=SUPER,D,exec,wofi --show drun --allow-images
ーーーーーーーーーーーーーーーーーーー
ーーーーーーーーーーーーーーーーーーー
bind=SUPERSHIFT,1,movetoworkspace,1
bind=SUPERSHIFT,2,movetoworkspace,2
bind=SUPERSHIFT,3,movetoworkspace,3
bind=SUPERSHIFT,4,movetoworkspace,4
bind=SUPERSHIFT,5,movetoworkspace,5
bind=SUPERSHIFT,6,movetoworkspace,6
bind=SUPERSHIFT,7,movetoworkspace,7
bind=SUPERSHIFT,8,movetoworkspace,8
bind=SUPERSHIFT,9,movetoworkspace,9
ーーーーーーーーーーーーーーーーーーーー
nano /.config/hypr/scripts/startup
ーーーーーーーーーーーーーーーーーーー
#exec mpd &
fcitx5 &
archcraft は、zsh が使われています。
~/.zsh_history ファイルを端末に出力する コマンド
fc -ln 1
前記事とほぼ一緒でしょう。
archcraft linux は、普通に動いております。
archcraft linux の thunar のツールバーがありません。不便です。
thunar の メニューの移動の項目に戻るとか 上のフォルダにとかがあります。
hyprland
neofetch
bind=SUPERSHIFT,E,exec,$wlogout
~/.config/hypr フォルダ
manjaro + openbox + Hyprland [arch系]
manjaro + openbox + Hyprland
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os manjaro Hyprland
CPU: AMD Ryzen 7 5700G with Radeon Graphics (16)
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mo
manjaro-kde-23.1.3-minimal-240113-linux66.iso
manjaro linuxのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
Hyprlandは、wayland用のウインドーマネージャーでしょう。swayと似ています。
知らない方も多いと思います。
manjaroの場合のHyprlandのインストールは、githubのぺーじからダウンロードして
JaKooLit /Hyprland-v3
debian(JaKooLit/Debian-Hyprland)と同様にインストールできるでしょう。
しかし、 manjaroの場合もっと手軽にできるのでは・・・。
あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は os manjaro Hyprland
CPU: AMD Ryzen 7 5700G with Radeon Graphics (16)
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mo
manjaro-kde-23.1.3-minimal-240113-linux66.iso
manjaro linuxのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
Hyprlandは、wayland用のウインドーマネージャーでしょう。swayと似ています。
知らない方も多いと思います。
manjaroの場合のHyprlandのインストールは、githubのぺーじからダウンロードして
JaKooLit /Hyprland-v3
debian(JaKooLit/Debian-Hyprland)と同様にインストールできるでしょう。
しかし、 manjaroの場合もっと手軽にできるのでは・・・。
以下私のHyprlandのインストール記録でしょう。
openboxは、plasmaを削除したときに残しておきたいソフトのためでしょう。
*
openboxは、plasmaを削除したときに残しておきたいソフトのためでしょう。
*
*
#############################################################
#############################################################
sudo pacman-mirrors -c japan
sudo pacman -Syu
インストールしたものとか。
sudo pacman -S fcitx5 fcitx5-configtool fcitx5-mozc fcitx5-im openbox tint2 xfce4-terminal thunar scrot jgmenu yay gvfs polkit-gnome base-devel wofi pluma neofetch feh gimp mpv celluloid pavucontrol noto-fonts-cjk grim swaybg waybar
#############################################################
sudo pacman-mirrors -c japan
sudo pacman -Syu
インストールしたものとか。
sudo pacman -S fcitx5 fcitx5-configtool fcitx5-mozc fcitx5-im openbox tint2 xfce4-terminal thunar scrot jgmenu yay gvfs polkit-gnome base-devel wofi pluma neofetch feh gimp mpv celluloid pavucontrol noto-fonts-cjk grim swaybg waybar
yay -S gnome-icon-theme onlyoffice-desktopeditors google-chrome
audacity-3.1-wxgtk,ffmpeg4.4 4.4.4-4 のインストール
yay audacity
9
yay ffmpeg
2
sudo nano /etc/profile
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
yay -S wlogout
xdg-desktop-portal-hyprland,hyprlandのインストール
yay Hyprland
1 2
wlogoutの設定
sudo nano /etc/wlogout/layout 一部編集
{
"label" : "logout",
"action" : "pkill Hyprland",
"text" : "Logout",
"keybind" : "e"
}
Hyprlandの設定
audacity-3.1-wxgtk,ffmpeg4.4 4.4.4-4 のインストール
yay audacity
9
yay ffmpeg
2
sudo nano /etc/profile
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
yay -S wlogout
xdg-desktop-portal-hyprland,hyprlandのインストール
yay Hyprland
1 2
wlogoutの設定
sudo nano /etc/wlogout/layout 一部編集
{
"label" : "logout",
"action" : "pkill Hyprland",
"text" : "Logout",
"keybind" : "e"
}
Hyprlandの設定
壁紙には、swaybg を使用しています。
端末開き、Hyprland H は、大文字
端末開き、Hyprland と入力 enterキー、ウインドーズキー + m
すると、~/.config/hypr フォルダが作成されます。
nano ~/.config/hypr/hyprland.conf
15行目 コメントアウトする。
#autogenerated = 1
nano ~/.config/hypr/hyprland.conf 一部編集と追記
ーーーーーーーーーーーーーーーーー
exec-once = waybar & fcitx5
exec-once = swaybg -i ~/Pictures/wallpaper/coffee-wallpaper-hd-109.jpg
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
ーーーーーーーーーーーー
$terminal = xfce4-terminal
$fileManager = thunar
$menu = wofi --show drun --allow-images
ーーーーーーーーーーーー
input {
kb_layout = jp
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
ーーーーーーーーーーーー
端末開き、Hyprland と入力 enterキー、ウインドーズキー + m
すると、~/.config/hypr フォルダが作成されます。
nano ~/.config/hypr/hyprland.conf
15行目 コメントアウトする。
#autogenerated = 1
nano ~/.config/hypr/hyprland.conf 一部編集と追記
ーーーーーーーーーーーーーーーーー
exec-once = waybar & fcitx5
exec-once = swaybg -i ~/Pictures/wallpaper/coffee-wallpaper-hd-109.jpg
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
ーーーーーーーーーーーー
$terminal = xfce4-terminal
$fileManager = thunar
$menu = wofi --show drun --allow-images
ーーーーーーーーーーーー
input {
kb_layout = jp
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
ーーーーーーーーーーーー
bind = $mainMod, F, fullscreen
bind = $mainMod SHIFT, F, togglefloating,
bind = $mainMod SHIFT, F, togglefloating,
bind = $mainMod SHIFT, Print, exec, grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.jpg')
bind = $mainMod, Return, exec, xfce4-terminal
bind = ALT, F4, killactive,
bind = $mainMod SHIFT, W, exec, firefox
bind = $mainMod SHIFT, F11, exec, google-chrome-stable --gtk-version=4
bind = $mainMod SHIFT, F12, exec, thunar
bind = $mainMod CTRL, left, workspace, -1
bind = $mainMod CTRL, right, workspace, +1
bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, E, exec, wlogout
bind = $mainMod, D, exec, wofi --show drun --allow-images
ーーーーーーーーーーーーーーー
ーーーーーーーーーーーーーーー
waybarの設定 一部編集
cp /etc/xdg/waybar ~/.config/
nano ~/.config/waybar/config
8,9,10行目
"modules-left": ["hyprland/workspaces", "sway/mode", "sway/scratchpad", "custom/media"],
"modules-center": ["hyprland/window"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray"],
bind = $mainMod, Return, exec, xfce4-terminal
bind = ALT, F4, killactive,
bind = $mainMod SHIFT, W, exec, firefox
bind = $mainMod SHIFT, F11, exec, google-chrome-stable --gtk-version=4
bind = $mainMod SHIFT, F12, exec, thunar
bind = $mainMod CTRL, left, workspace, -1
bind = $mainMod CTRL, right, workspace, +1
bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, E, exec, wlogout
bind = $mainMod, D, exec, wofi --show drun --allow-images
ーーーーーーーーーーーーーーー
ーーーーーーーーーーーーーーー
waybarの設定 一部編集
cp /etc/xdg/waybar ~/.config/
nano ~/.config/waybar/config
8,9,10行目
"modules-left": ["hyprland/workspaces", "sway/mode", "sway/scratchpad", "custom/media"],
"modules-center": ["hyprland/window"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray"],
nano ~/.config/waybar/style.css
7行目
window#waybar {
background-color: #000000;
ーーーーーーーーーー
ーーーーーーーーーー
設定がおえたら kde plasma の削除
sudo pacman -Rns plasma kio-extras kde-applications ksysguard manjaro-kde-settings plasma-wayland-session sddm-breath-theme systemd-kcm signon-kwallet-extension kaccounts-integration kaccounts-providers
sudo pacman -S xorg
sudo nano '/etc/sddm.conf'
[Autologin]
Relogin=false
Session=Hyprland
User=satou
ログアウトログイン
以上設定終了
Hyprland だいぶなれてきました・・・・。
以下参考画像
7行目
window#waybar {
background-color: #000000;
ーーーーーーーーーー
ーーーーーーーーーー
設定がおえたら kde plasma の削除
sudo pacman -Rns plasma kio-extras kde-applications ksysguard manjaro-kde-settings plasma-wayland-session sddm-breath-theme systemd-kcm signon-kwallet-extension kaccounts-integration kaccounts-providers
sudo pacman -S xorg
sudo nano '/etc/sddm.conf'
[Autologin]
Relogin=false
Session=Hyprland
User=satou
ログアウトログイン
以上設定終了
Hyprland だいぶなれてきました・・・・。
以下参考画像
Hyprland
neofetch
bind = $mainMod, D, exec, wofi --show drun --allow-images
wlogout
openbox
openboxのショットカットキー
nano /home/satou/.config/openbox/rc.xml
<keybind key="Print"><action name="Execute"><command>scrot '%Y-%m-%d-%T_$wx$h_scrot.jpg' -e 'mv $f ~/Pictures'</command></action></keybind>
<keybind key="W-Return"><action name="Execute"><command>xfce4-terminal</command></action></keybind>
<keybind key="W-S-w"><action name="Execute"><command>firefox</command></action></keybind>
<keybind key="W-S-F11"><action name="Execute"><command>google-chrome-stable</command></action></keybind>
<keybind key="W-S-F12"><action name="Execute"><command>thunar</command></action></keybind>
<keybind key="W-x"><action name="Execute"><command>rofi_run -l</command></action></keybind>
<keybind key="W-S-e"><action name="Execute"><command>pkill openbox</command></action></keybind>
<keybind key="W-S-q"><action name="Close"/></keybind>
<keybind key="W-Return"><action name="Execute"><command>xfce4-terminal</command></action></keybind>
<keybind key="W-S-w"><action name="Execute"><command>firefox</command></action></keybind>
<keybind key="W-S-F11"><action name="Execute"><command>google-chrome-stable</command></action></keybind>
<keybind key="W-S-F12"><action name="Execute"><command>thunar</command></action></keybind>
<keybind key="W-x"><action name="Execute"><command>rofi_run -l</command></action></keybind>
<keybind key="W-S-e"><action name="Execute"><command>pkill openbox</command></action></keybind>
<keybind key="W-S-q"><action name="Close"/></keybind>
<keybind key="W-S-f"><action name="ToggleFullscreen"/></keybind>
*
*
firefox
google-chrome
「“妻”も義兄も鍵アカに…」大谷翔平インタビュー公開に“年齢・特徴”一致で「ネット大盛り上がり」
https://news.yahoo.co.jp/articles/07f105f1005eaed731399a198c5fffc9ad21f0db