Installation
Install Sway desktop with archinstall (NetworkManager) if problems occur try removing your disk's partitions with fdisk or cfdisk and then reboot or you might use pacman-key --init. Note that as desktop you shall use sway with pipewire, multilib and filesystem as EXT4.
During xdg-desktop-portal pick xdg-desktop-portal-wlr. If you have a NVIDIA GPU you should type Nvidia when running the script else press enter to continue. Remeber to check the dropdown menus below if any problems occur
sudo pacman -Syu git
cd && git clone https://github.com/raminsamadi123/hyprinstall
cd ~/hyprinstall/
./hyprinstall.shIf Hyprland is not automatically launching and you only get into tty try run this:
systemctl daemon-reload && systemctl enable --now getty@tty1.service && source ~/.bash_profile && rebootKeybind
| Key | Action |
|---|---|
| SUPER | App Launcher |
| SUPER + . | Emoji |
| SUPER + Q | Quit |
| SUPER + F | Fullscreen |
| SUPER + Right/Left | Focus Window |
| SUPER + SHIFT + Right/Left | Switch Window Position |
| SUPER + 1-0 | Change Workspace |
| SUPER + SHIFT + 1-0 | Move Window to Workspace |
| SUPER + X | Power Menu |
| SUPER + SHIFT + S | Screenshot |
| SUPER + SHIFT + X | Colorpicker (Install grim slurp zenity) |
| SUPER + T | Terminal |
| SUPER + E | File Manager (Install thunar) |
| SUPER + L | Lock Screen |
| SUPER + Mouse left button + Drag | Drag Window |
Change Keyboard Layout
sudo pacman -Syu vimlocalectl
localectl list-x11-keymap-layoutssudo vim ~/.config/hypr/hyprland.confUnder EXEC:
exec-once = echo se > /tmp/kb_layoutUnder INPUT:
kb_layout = seChange Monitor Position/Resolution/Refresh Rate
sudo pacman -Syu vimFind your monitors output (It should look something like this if you use Display Port DP-1. For HDMI it's something else)
wl-randrsudo vim ~/.config/hypr/hyprland.confmonitor=,preferred,auto,1Here are some examples (Thanks to SinisterSpatula) :
#monitor=name, resolution, position, scale
monitor=DP-5, 2560x1440, 1920x0, 1.25
monitor=DP-6, 1920x1080, 0x0, 1For highest resolution:
monitor=,highres,auto,1For highest refresh rate:
monitor=,highrr,auto,1For more specific information visit https://wiki.hyprland.org/Configuring/Monitors/
Change Wallpaper
sudo pacman -Syu vimIt should look something like DP-1 or HDMI-A-1
hyprctl monitorssudo vim ~/.config/hypr/hyprpaper.confHow to fix no cursor or dissapearing cursor on NVIDIA install
echo "
export LIBVA_DRIVER_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export WLR_NO_HARDWARE_CURSORS=1
export CURSOR_INACTIVE_TIMEOUT=0
" >> ~/.bashrc && source ~/.bashrcrebootProblems in Virtualmachine?
Here's some articles if you really want to run it in a VM. Remeber that you need to enable 3D acceleration.
Hyprlandsudo pacman -Syu open-vm-tools xf86-input-vmmouse xf86-video-vmwaresudo pacman -Syu egl-wayland lib32-libva
sudo sh -c "echo 'LIBSEAT_BACKEND=logind' >> /etc/environment"
echo '
export XDG_SESSION_TYPE=wayland
export LIBSEAT_BACKEND=logind
export WLR_NO_HARDWARE_CURSORS=1
export WLR_RENDERER_ALLOW_SOFTWARE=1 Hyprland
' >> ~/.bashrc && source ~/.bashrc
echo '
#!/usr/bin/env bash
# wrappedhl
# Launch Hyprland with a simple wrapper
cd ~
# Variables
export _JAVA_AWT_WM_NONREPARENTING=1
export XCURSOR_SIZE=24
export MOZ_ENABLE_WAYLAND=1
export WLR_RENDERER_ALLOW_SOFTWARE=1 Hyprland
export LIBSEAT_BACKEND=logind
export WLR_NO_HARDWARE_CURSORS=1
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=gtk2
export SDL_VIDEODRIVER=wayland
export CLUTTER_BACKEND=wayland
exec Hyprland
# Execute Hyprland
if [ -f /usr/local/bin/Hyprland ]; then
exec /usr/local/bin/Hyprland >/dev/null 2>&1
elif [ -f /usr/bin/Hyprland ]; then
exec /usr/bin/Hyprland >/dev/null 2>&1
fi' > ~/.local/bin/wrappedhl
sudo cp ~/.local/bin/wrappedhl /usr/share/wayland-sessions/wrapped_hl.desktophttps://unix.stackexchange.com/questions/656328/libseat-backend-seatd-c70-could-not-connect-to-socket-run-seatd-sock-no-su swaywm/sway#5834 https://ask.fedoraproject.org/t/cant-switch-back-to-x11/19640 https://bbs.archlinux.org/viewtopic.php?id=164391 https://www.reddit.com/r/hyprland/comments/y5fc5e/how_can_i_wrapping_the_launcher/
How to get a working colorpicker?
Note that I didn't enable this by default during installation in order to make your device more lightweightsudo pacman -Syu grim slurp zenitySilent-boot for systemd-bootctl
sudo pacman -Syu vimsudo vim /boot/loader/entries/2023-02-05_21-29-22_linux.confoptions root=PARTUUID=a49e02ad-bb32-476d-b200-4812aafcd87f zswap.enabled=0 rw intel_pstate=no_hwp rootfstype=ext4 rw quiet splash loglevel=0sudo bootctl updateSilent-boot for grub
sudo pacman -Syu vimsudo vim /etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=0 splash"grub-mkconfig -o /boot/grub/grub.cfgHow to remove timeout during systemd boot
sudo sh -c "echo -e '#timeout 3\n#console-mode keep' > /boot/loader/loader.conf" How to remove timeout during grub boot
sudo pacman -Syu vim sudo vim /etc/default/grub GRUB_TIMEOUT=0 grub-mkconfig -o /boot/grub/grub.cfgBeauty community: r/unixporn.
© Artist who make Wallpapers, graphics and more
© All of mantainers of this amazing and opensource tools
© Owl4ce © Ilham25 © Siduck © NvChad © Rxyhn © AmitGold © linuxmobile © ChrisTitusTech


