SSブログ

debian + sway + Hyprland [ubuntu,debian系]

debian + sway + Hyprland



あいもかわらずlinuxであそんでいます。
今回の私のパソコン環境は  os  debian   Hyprland
CPU: Intel i7-4790 (8) @ 4.000GHz
GPU: NVIDIA GeForce GTX 970









debian-testing-amd64-netinst.iso
  






debian linuxのインストールは、 gnome-disksにてusbメモリーに書き込み。起動させてssdにインストールした。
標準システムユーティリティ、webサーバーだけを選択して進んだ。

Hyprlandは、wayland用のウインドーマネージャーでしょう。swayと似ています。

debianの場合のHyprlandのインストールは、githubのぺーじからダウンロードして
JaKooLit/Debian-Hyprland

手動でインストールするようになります。
このgithubのぺーじのものは、たいへん優秀で素晴らしいものでしょう。
私の場合まっさらのdebianにインストールしたのが良かったのかもしれません。







インストール終了後

su
passwd: 〇〇〇〇
apt update

apt install build-essential sudo
chmod 777 /etc/sudoers
nano /etc/sudoers
chmod 555 /etc/sudoers
exit


sudo apt install gnome-terminal thunar pluma firefox-esr fonts-noto-cjk sway wofi file-roller ntfs-3g
sudo apt install git
sudo apt install fcitx5-mozc
sudo reboot


sway上で作業をおこなった。
複数回の質問に答える形で作業は進むでしょう


sway
~/Downloads/Debian-Hyprland-main.zip
解凍
cd ~/Downloads/Debian-Hyprland-main
~/Downloads/Debian-Hyprland-main/install.sh



Hyprlandのインストール作業終了
reboot




locale
sudo dpkg-reconfigure locales
端末からonlyoffice。
/usr/bin/onlyoffice-desktopeditors --ozone-platform=wayland ~/Music/深夜便.xlsx
*
*
audacity を正常に起動させるために。
sudo apt install xinit
sudo nano /etc/profile
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5


あとは自分の好みにしよう。
私は、 garuda-hyprland-settingsを参考にしました。
   




sudo apt remove foot im-config
sudo apt install audacity mpv celluloid gimp neofetch
sudo apt install '/home/satou/Documents/hyprland/onlyoffice-desktopeditors_amd64.deb' '/home/satou/Documents/hyprland/google-chrome-stable_current_amd64.deb'

neofetch


sudo nano /etc/environment.d/fcitx5.conf
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx




fcitx5-configtool

killactive,と、closewindow, があります。
closewindow,はいらないでしょう。
ショットカットキーは、i3 とかsway とかと同じになるようにしています。なにせ単細胞でできてますから・・・。

修正した箇所とか
nano ~/.config/hypr/hyprland.conf

$wallDIR=$HOME/Pictures/wallpapers
$lock = $scriptsDir/LockScreen.sh
$SwwwRandom = $UserScripts/WallpaperAutoChange.sh

# wallpaper stuff / More wallpaper options below
exec-once = swww query || swww init
exec-once = $SwwwRandom $wallDIR # random wallpaper switcher every 30 minutes

exec-once = fcitx5 &
ーーーーーーーーー
ーーーーーーーーー

bind = $mainMod, Return, exec, gnome-terminal
bind = ALT, F4, killactive,
bind = $mainMod SHIFT, W, exec, firefox-esr
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, ~/.config/hypr/scripts/Wlogout.sh
bind = $mainMod, D, exec, wofi --show drun --allow-images
ーーーーーーーー
ーーーーーーーー
bind = $mainMod SHIFT, Print, exec, grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.jpg')


waybarは、garudaのものに変更しています。
  



githubのぺーじは、優秀でしたが、残念ながら使いにくい代物でした。



Hyprlandの起動には、大文字いりのままで起動します。

Hyprland

Hyprlandの情報はあまりなく、これからどのように進んでいくか楽しみでしょう。


以下参考画像

Screenshot_19-Feb_14-31-09_18907.jpg
Hyprland 素の状態
1708324639_grim.jpg
neofetch   変更後
1708323485_grim.jpg
mpv
1708324201_grim.jpg
1709459893_grim.jpg
waybar
オリジナルの設定では、サウンドの棒グラフが表示されるでしょう。◯。
1708324006_grim.jpg

youtube


https://www.youtube.com/watch?v=2mP3IvZfsaQ




nice!(0) 

nice! 0