Sway: Can't upload images

This has been going on for a while now, and I don’t know what to do. I’m running openSUSE Tumbleweed (snapshot 20260101-0) with sway 1.11. I just can’t upload any images anywhere, no matter what I try. I have: switched browser (Epiphany → Chromium → Firefox and back), changed default file manager, switched to a different WM (hyprland, worked even worse), tried using image upload sites, tried using links (I know, a bad idea) and searched online. Seems like nobody has ever had this problem. I would greatly appreciate any solutions.
Thanks and a happy new year :partying_face:
George

1 Like

Have you tried the upload button on this forum?
I am puzzled. ?
Can you upload a simple file outside of the browser? … eg push a file to github
Does your email send work?
Obviously some uploads work , of you would not have been able able to post here ?

Check your firewall.

1 Like

Is that using

Or something else ?

Hey, there are two sway’s… that is ridiculous

1 Like

Sounds like a dance.

It’s FOSS, I suppose. :slight_smile:

““SirCmpwn’s Wayland window manager” is a work in progress i3-compatible window manager for Wayland.”

Sway at GitHub

3 Likes

Well George,
Which Sway are you having a problem with?

1 Like

Well I mean file uploads such as pics, files etc.

1 Like

The window manager :blush: sorry if I didn‘t express myself clearly! I never knew there was a MS sway…

1 Like

I use Sway as wm and haven’t had any problems to upload / similar. Could you explain a bit more what happens if you try to upload a file?

1 Like

Nothing happens. Zero. Null. Even when downloading files not in terminal, the same happens. Tried resetting sway config, same.

1 Like

Can you try unloading a image or document to this site. Using the uploads icon on the reply tool bar

2 Likes

Can you show your sway config. I don’t think this is sway issue. Can’t see a reason why Sway don’t allow you to do upload. I’m not so used to SystemD but do you need elogind / similar to give your user some privileges? Sorry, but my mind is on OpenRC as init system

1 Like

Nothing. I click on it and it won’t budge.

# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.

# Edited by user george on host opensuse_im_keller
# Date 03/01/2026 20:03 UTC+01:00
# Last Access 03/01/2026 21:14 UTC+01:00
# File /home/george/.config/sway/config
# Type unidentified

### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term gnome-terminal
# Your preferred application launcher
set $menu rofi -show drun

### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg "/usr/share/backgrounds/Sunset by the Pier.jpg" fill
#
# Example configuration:
#
#   output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs

### Start apps on sway start
#
# Example configuration:
#
#   exec swaync
#
# Must be full path or launchable via a simple terminal command
    exec swaync
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
#          timeout 300 'swaylock -f -c 000000' \
#          timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
#          before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.

### Input configuration
#
# Example configuration:
#
#   input type:touchpad {
#       dwt enabled
#       tap enabled
#       natural_scroll enabled
#       middle_emulation enabled
#   }
#
#   input type:keyboard {
#       xkb_layout "eu"
#   }
#
# You can also configure each device individually.
# Read `man 5 sway-input` for more information about this section.
    
    input type:keyboard {
        xkb_layout "ch"
    }
### Key bindings
#
# Basics:
#
    # Start a terminal
    bindsym $mod+Return exec $term

    # Kill focused window
    bindsym $mod+Shift+q kill

    # Start your launcher
    bindsym $mod+m exec $menu

    bindsym Print exec grim $(xdg-user-dir PICTURES)/screenshot_$(date +%Y-%m-%dT%H:%M:%S).png

    bindsym Shift+Print exec grim -g "$(slurp)" $(xdg-user-dir PICTURES)/screenshot_$(date +%Y-%m-%dT%H:%M:%S).png

    bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy

    bindsym $mod+Print exec swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name' | xargs grim -o $(xdg-user-dir PICTURES)/screenshot_$(date +%Y-%m-%dT%H:%M:%S).png

    # Drag floating windows by holding down $mod and left mouse button.
    # Resize them with right mouse button + $mod.
    # Despite the name, also works for non-floating windows.
    # Change normal to inverse to use left mouse button for resizing and right
    # mouse button for dragging.
    floating_modifier $mod normal

    # Reload the configuration file
    bindsym $mod+Shift+c reload

    # Exit sway (logs you out of your Wayland session)
    bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
#
# Moving around:
#
    # Move your focus around
    bindsym $mod+$left focus left
    bindsym $mod+$down focus down
    bindsym $mod+$up focus up
    bindsym $mod+$right focus right
    # Or use $mod+[up|down|left|right]
    bindsym $mod+Left focus left
    bindsym $mod+Down focus down
    bindsym $mod+Up focus up
    bindsym $mod+Right focus right

    # Move the focused window with the same, but add Shift
    bindsym $mod+Shift+$left move left
    bindsym $mod+Shift+$down move down
    bindsym $mod+Shift+$up move up
    bindsym $mod+Shift+$right move right
    # Ditto, with arrow keys
    bindsym $mod+Shift+Left move left
    bindsym $mod+Shift+Down move down
    bindsym $mod+Shift+Up move up
    bindsym $mod+Shift+Right move right
#
# Workspaces:
#
    # Switch to workspace
    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
    # Move focused container to workspace
    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
    # Note: workspaces can have any name you want, not just numbers.
    # We just use 1-10 as the default.
#
# Layout stuff:
#
    # You can "split" the current object of your focus with
    # $mod+b or $mod+v, for horizontal and vertical splits
    # respectively.
    bindsym $mod+b splith
    bindsym $mod+v splitv

    # Switch the current container between different layout styles
    bindsym $mod+s layout stacking
    bindsym $mod+w layout tabbed
    bindsym $mod+e layout toggle split

    # Make the current focus fullscreen
    bindsym $mod+f fullscreen

    # Toggle the current focus between tiling and floating mode
    bindsym $mod+Shift+space floating toggle

    # Swap focus between the tiling area and the floating area
    bindsym $mod+space focus mode_toggle

    # Move focus to the parent container
    bindsym $mod+a focus parent
#
# Scratchpad:
#
    # Sway has a "scratchpad", which is a bag of holding for windows.
    # You can send windows there and get them back later.

    # Move the currently focused window to the scratchpad
    bindsym $mod+Shift+minus move scratchpad

    # Show the next scratchpad window or hide the focused scratchpad window.
    # If there are multiple scratchpad windows, this command cycles through them.
    bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
    # left will shrink the containers width
    # right will grow the containers width
    # up will shrink the containers height
    # down will grow the containers height
    bindsym $left resize shrink width 10px
    bindsym $down resize grow height 10px
    bindsym $up resize shrink height 10px
    bindsym $right resize grow width 10px

    # Ditto, with arrow keys
    bindsym Left resize shrink width 10px
    bindsym Down resize grow height 10px
    bindsym Up resize shrink height 10px
    bindsym Right resize grow width 10px

    # Return to default mode
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
# Utilities:
#
    # Special keys to adjust volume via PulseAudio
    bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
    bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
    bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
    bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
    # Special keys to adjust brightness via brightnessctl
    bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
    bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
    # Special key to take a screenshot with grim
    # bindsym Print exec grim 
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
    swaybar_command waybar
}


include /etc/sway/config.d/*
1 Like

Do you have chrome or firefox on your system ?

If you go to a site with a download on can you action it ?

This is a link to my association a pdf file to download

Please try it and let us know trying both chrome and firefox (or another browser)

Dont worry there is nothing of danger in the file its just a sheet of a4 pdf file. And nothing very interesting.

thanks! Here’s my config. Maybe you can see something that’s different to yours but I don’t think this is a Sway issue. Maybe you could try to install a full DE like Mint and try to upload with it but I think this can be more like a firewall issue?

┌─[pete@gentoo]─[~]
└──╼ cat ~/.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.

exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway
exec /usr/libexec/polkit-kde-authentication-agent-1

exec /usr/lib/polkit-1/polkitd --no-debug & #/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec blueman-applet
exec gentoo-pipewire-launcher restart
exec --no-startup-id dbus-update-activation-environment -all

output eDP-1 bg ~/.config/hypr/wallpapers/night.jpg fill

set $mod Mod4

set $left h
set $down j
set $up k
set $right l

set $term alacritty
set $term1 kitty
set $browser firefox-bin
set $fileManager nemo
set $clock tty-clock
set $menu rofi

set $menu dmenu_path | wmenu | xargs swaymsg exec –

output eDP-1 {
mode 1920x1080@59.997Hz
}

output * bg ~/.config/hypr/wallpapers/night.jpg fill

output eDP-1 res 1920x1080 pos 1920,0
xwayland enable

input type:keyboard {
xkb_layout fi
xkb_options grp:rctrl_toggle
xkb_numlock enabled
}

input “2:14:SynPS/2_Synaptics_TouchPad” {
dwt enabled
tap enabled
natural_scroll enabled
middle_emulation enabled
}

# Start a terminal
bindsym ctrl+alt+t exec $term
bindsym $mod+f exec $browser

# Kill focused window
bindsym $mod+c kill

Start your launcher

bindsym $mod+d exec $menu

floating_modifier $mod normal

Reload the configuration file

bindsym $mod+Shift+c reload

Exit sway (logs you out of your Wayland session)

bindsym $mod+m exec swaynag -t warning -m ‘You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.’ -B ‘Yes, exit sway’ ‘swaymsg exit’

# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right

Or use $mod+[up|down|left|right]

bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

Move the focused window with the same, but add Shift

bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right

Ditto, with arrow keys

bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

# Switch to workspace
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

Move focused container to workspace

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

Note: workspaces can have any name you want, not just numbers.

We just use 1-10 as the default.

# You can “split” the current object of your focus with

$mod+b or $mod+v, for horizontal and vertical splits

respectively.

bindsym $mod+b splith
bindsym $mod+v splitv

Switch the current container between different layout styles

bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed

bindsym $mod+e layout toggle split

# Make the current focus fullscreen
bindsym $mod+Shift+f fullscreen

Toggle the current focus between tiling and floating mode

bindsym $mod+Shift+space floating toggle

Swap focus between the tiling area and the floating area

bindsym $mod+space focus mode_toggle

Move focus to the parent container

bindsym $mod+a focus parent

bindsym $mod+minus scratchpad show

bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px

# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px

Return to default mode

bindsym Return mode “default”
bindsym Escape mode “default”

#exec waybar

bar {

status_command waybar

#position top
swaybar_command waybar
position top

When the status_command prints a new line to stdout, swaybar updates.

The default just shows the current date and time.

status_command while date +‘%Y-%m-%d %X’; do sleep 1; done

colors {

statusline #ffffff

background #323232

inactive_workspace #32323200 #32323200 #5c5c5c

}

}

include /etc/sway/config.d/*

1 Like

I don’t know why the forum changes some of the quoted text to BOLD… They are #

1 Like
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.

# Edited by user george on host opensuse_im_keller
# Date 03/01/2026 20:03 UTC+01:00
# Last Access 03/01/2026 21:14 UTC+01:00
# File /home/george/.config/sway/config
# Type unidentified

### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term gnome-terminal
# Your preferred application launcher
set $menu rofi -show drun

### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg "/usr/share/backgrounds/Sunset by the Pier.jpg" fill
#
# Example configuration:
#
#   output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs

### Start apps on sway start
#
# Example configuration:
#
#   exec swaync
#
# Must be full path or launchable via a simple terminal command
    exec swaync
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
#          timeout 300 'swaylock -f -c 000000' \
#          timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
#          before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.

### Input configuration
#
# Example configuration:
#
#   input type:touchpad {
#       dwt enabled
#       tap enabled
#       natural_scroll enabled
#       middle_emulation enabled
#   }
#
#   input type:keyboard {
#       xkb_layout "eu"
#   }
#
# You can also configure each device individually.
# Read `man 5 sway-input` for more information about this section.
    
    input type:keyboard {
        xkb_layout "ch"
    }
### Key bindings
#
# Basics:
#
    # Start a terminal
    bindsym $mod+Return exec $term

    # Kill focused window
    bindsym $mod+Shift+q kill

    # Start your launcher
    bindsym $mod+m exec $menu

    bindsym Print exec grim $(xdg-user-dir PICTURES)/screenshot_$(date +%Y-%m-%dT%H:%M:%S).png

    bindsym Shift+Print exec grim -g "$(slurp)" $(xdg-user-dir PICTURES)/screenshot_$(date +%Y-%m-%dT%H:%M:%S).png

    bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy

    bindsym $mod+Print exec swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name' | xargs grim -o $(xdg-user-dir PICTURES)/screenshot_$(date +%Y-%m-%dT%H:%M:%S).png

    # Drag floating windows by holding down $mod and left mouse button.
    # Resize them with right mouse button + $mod.
    # Despite the name, also works for non-floating windows.
    # Change normal to inverse to use left mouse button for resizing and right
    # mouse button for dragging.
    floating_modifier $mod normal

    # Reload the configuration file
    bindsym $mod+Shift+c reload

    # Exit sway (logs you out of your Wayland session)
    bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
#
# Moving around:
#
    # Move your focus around
    bindsym $mod+$left focus left
    bindsym $mod+$down focus down
    bindsym $mod+$up focus up
    bindsym $mod+$right focus right
    # Or use $mod+[up|down|left|right]
    bindsym $mod+Left focus left
    bindsym $mod+Down focus down
    bindsym $mod+Up focus up
    bindsym $mod+Right focus right

    # Move the focused window with the same, but add Shift
    bindsym $mod+Shift+$left move left
    bindsym $mod+Shift+$down move down
    bindsym $mod+Shift+$up move up
    bindsym $mod+Shift+$right move right
    # Ditto, with arrow keys
    bindsym $mod+Shift+Left move left
    bindsym $mod+Shift+Down move down
    bindsym $mod+Shift+Up move up
    bindsym $mod+Shift+Right move right
#
# Workspaces:
#
    # Switch to workspace
    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
    # Move focused container to workspace
    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
    # Note: workspaces can have any name you want, not just numbers.
    # We just use 1-10 as the default.
#
# Layout stuff:
#
    # You can "split" the current object of your focus with
    # $mod+b or $mod+v, for horizontal and vertical splits
    # respectively.
    bindsym $mod+b splith
    bindsym $mod+v splitv

    # Switch the current container between different layout styles
    bindsym $mod+s layout stacking
    bindsym $mod+w layout tabbed
    bindsym $mod+e layout toggle split

    # Make the current focus fullscreen
    bindsym $mod+f fullscreen

    # Toggle the current focus between tiling and floating mode
    bindsym $mod+Shift+space floating toggle

    # Swap focus between the tiling area and the floating area
    bindsym $mod+space focus mode_toggle

    # Move focus to the parent container
    bindsym $mod+a focus parent
#
# Scratchpad:
#
    # Sway has a "scratchpad", which is a bag of holding for windows.
    # You can send windows there and get them back later.

    # Move the currently focused window to the scratchpad
    bindsym $mod+Shift+minus move scratchpad

    # Show the next scratchpad window or hide the focused scratchpad window.
    # If there are multiple scratchpad windows, this command cycles through them.
    bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
    # left will shrink the containers width
    # right will grow the containers width
    # up will shrink the containers height
    # down will grow the containers height
    bindsym $left resize shrink width 10px
    bindsym $down resize grow height 10px
    bindsym $up resize shrink height 10px
    bindsym $right resize grow width 10px

    # Ditto, with arrow keys
    bindsym Left resize shrink width 10px
    bindsym Down resize grow height 10px
    bindsym Up resize shrink height 10px
    bindsym Right resize grow width 10px

    # Return to default mode
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
# Utilities:
#
    # Special keys to adjust volume via PulseAudio
    bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
    bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
    bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
    bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
    # Special keys to adjust brightness via brightnessctl
    bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
    bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
    # Special key to take a screenshot with grim
    # bindsym Print exec grim 
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
    swaybar_command waybar
}


include /etc/sway/config.d/*

I think that’s due to markdown formatting.

2 Likes

Hey, it’s markdown,# introduces a title. :wink:

1 Like