You are not logged in.
Hello, yesterday I installed sway but when I want to launch it with sddm I get a black screen and cannot launch any application, with ly I can't even try to launch sway.
I can however launch it using the terminal to get a windowed sway interface with my wallpaper and everything.
Here is my ~/.config/sway/config file :
# ===================== MONITORS ==================================
output HDMI-1 resolution 1920x1080@100.00Hz position 0 0
# ===================== WALLPAPER =================================
output * bg "/home/archberry/Images/Wallpapers/RedsunCover 1.png" fill
# ===================== APP VARIABLES =============================
set $mod Mod4
set $left h
set $down j
set $up k
set $right l
set $term kitty
set $application_launcher pgrep wofi >/dev/null 2>&1 && killall wofi || wofi --show drun
set $file_explorer nautilus
# ===================== BORDERS & GAPS ============================
# Gaps between windows
gaps inner 8px
gaps outer 4px
# Border width
default_border pixel 1px
default_floating_border pixel 1px
# The border colors:
# border bg text ind child border
#client.focused #d8cab8 #141216 #d8cab8 #d8cab8 #d8cab8
#client.focused_inactive #AC82E9 #141216 #d8cab8 #AC82E9 #AC82E9
#client.unfocused #AC82E9 #141216 #d8cab8 #AC82E9 #AC82E9
#lient.urgent #fcb167 #141216 #d8cab8 #fcb167 #fcb167
#client.placeholder #AC82E9 #141216 #d8cab8 #AC82E9 #AC82E9
# ===================== INPUT & KEYBOARD ==========================
input * {
xkb_layout "fr,us"
xkb_options "grp:alt_shift_toggle"
}
# ========================= TASKBAR ===============================
bar {
swaybar_command waybar
}
# ===================== SCREENSHOTS ===============================
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | swappy -f -
# ===================== BASIC KEYBINDS ============================
bindsym $mod+r exec $term
bindsym $mod+e exec $file_explorer
bindsym $mod+d exec $application_launcher
bindsym $mod+q kill
bindsym $mod+Shift+c reload
bindsym $mod+Shift+space floating toggle
floating_modifier $mod normal
# Exit sway command
bindsym $mod+Shift+e exec swaynag -t warning -m "Are you sure you want to exit sway?" -B "Yes, EXIT!" "swaymsg exit" --font="CaskaydiaCove Nerd Font bold 12"
# ===================== OTHER STANDARD BINDINGS ==================
bindsym $mod+f fullscreen
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
bindsym $mod+a focus parentThanks in advance.
Edit : I did tried to put the --usunpported-gpu line in /usr/share/wayland-sessions/sway.desktop but it still doesn't work.
[Solution] I just had to install the proprietary nvidia driver.
Last edited by ArchBerry (2026-04-16 12:23:09)
Offline