I am trying to setup Sway on Fedora 35 on the Framework Laptop (Batch 2, the BIOS version is default. Maybe 3.02). Below is the screenshot. The issue is that Firefox and Firefox’s tab, menu bar and Sway’s status bar on the top by waybar are too big. Firefox is 100% scale.
Searching this forum, I saw some threads related to resolution. On the [RESPONDED] Using elementary OS on the Framework Laptop , there is an example with xrandr
. But the xrandr
is not recommended on Sway.
On another thread Screen Resolution not displaying correctly on Linux Mint - #2 by Chiraag_Nataraj , I found the following comment.
I use sway as my Wayland compositor and setup fractional scaling (1.5) and it all “Just Works”.
I tried the following 3 settings in .config/sway/config
, but after reloading the config ( $mod+Shift+c
), nothing is changed.
output eDP1 mode 2256x1504
output eDP1 mode 3000x2000
output eDP1 scale 1.5
Could you tell me how to modify the .config/sway/config
to show the display properly with thin and small title bars? Thanks.
Edited at December 29 2021: Sorry I noticed I did set wrong device ID eDP1
instead of correct ID eDP-1
seeing the output of swaymsg -t get_outputs
. So, the following setting gave me a better experience.
output eDP-1 scale 1.2
@2disbetter by the way, shall we change this thread title name to a name to describe Sway / i3 common thread that is not Ubuntu specific?