Hi everyone,
I've stopped using this package and mostly xwayland software, so I've given up interest. I'm hoping they'll be support in upstream Wayland and compositors soon, or that we'll switch to a complete Wayland-compatible soon.
As a reminder, this package uses a set of experimental patches on xorg-xwayland, wlroots, and sway to enable HiDPI Xorg apps on Wayland. There might be a newer approach for this problem.
I'll orphan and stop rebasing the patches, feel free to pick them up from my fork and switch to yours.
Ciao!
Search Criteria
Package Details: sway-hidpi-git r6891.3dffe7f3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sway-hidpi-git.git (read-only, click to copy) |
---|---|
Package Base: | sway-hidpi-git |
Description: | Tiling Wayland compositor and replacement for the i3 window manager, with XWayland HiDPI (git version) |
Upstream URL: | https://swaywm.org |
Licenses: | MIT |
Conflicts: | sway, sway-git |
Provides: | sway, sway-git |
Submitter: | Rucikir |
Maintainer: | None |
Last Packager: | Rucikir |
Votes: | 11 |
Popularity: | 0.012075 |
First Submitted: | 2020-05-02 16:53 (UTC) |
Last Updated: | 2022-03-15 07:53 (UTC) |
Dependencies (25)
- cairo (cairo-git, cairo-minimal, cairo-glesv2-bin, cairo-glesv3-bin)
- gdk-pixbuf2 (gdk-pixbuf2-git)
- json-c (json-c-git)
- pango (pango-minimal-git, pango-git, gtk4-git)
- pcre2 (pcre2-svn, pcre2-git)
- polkit (polkit-no-script-git, polkit-git, polkit-consolekit)
- swaybg-git (swaybg-minimal-git)
- ttf-font (neuropol-ttf, ttf-noto-fonts-ib, ttf-win7-fonts, ttf-ms-win8, ttf-ms-win8-arabic, ttf-ms-win8-hebrew, ttf-ms-win8-sea, ttf-ms-win8-indic, ttf-ms-win8-japanese, ttf-ms-win8-korean, ttf-ms-win8-zh_cn, ttf-ms-win8-zh_tw, ttf-ms-win8-thai, ttf-ms-win8-other, ttf-noto-fonts-simple, ttf-kids, ttf-gabriola, ttf-liberation-sans-narrow, ttf-cavafy-script, ttf-ms-fonts, ttf-dejavu-ib, ttf-zelda, ttf-oxygen, ttf-oxygen-gf, ttf-share-gf, ttf-gost, otf-inconsolata-dz, ttf-d2coding, ttf-ibm-plex-mono-git, ttf-dejavu-emojiless, ttf-agave, ttf-caracteres, ttf-cuprum, ttf-autour-one, ttf-impallari-milonga, ttf-impallari-miltonian, ttf-clarity-city, ttf-paratype, ttf-segoewp, ttf-karla, ttf-ms-win10, ttf-ms-win10-japanese, ttf-ms-win10-korean, ttf-ms-win10-sea, ttf-ms-win10-thai, ttf-ms-win10-zh_cn, ttf-ms-win10-zh_tw, ttf-ms-win10-other, ttf-win10, ttf-droid-simple, ttf-ms-win10-auto, ttf-ms-win10-cdn, noto-fonts-variable-lite, ttf-bmono, noto-fonts-lite, ttf-pt-astra-fact, ttf-weblysleekui, ttf-pt-astra-sans, ttf-pt-astra-serif, ttf-pt-sans, ttf-pt-serif, ttf-pt-mono, ttf-pt-root_ui, ttf-ms-win11-auto, ttf-ms-win11, ttf-ms-win11-japanese, ttf-ms-win11-korean, ttf-ms-win11-sea, ttf-ms-win11-thai, ttf-ms-win11-zh_cn, ttf-ms-win11-zh_tw, ttf-ms-win11-other, ttf-xo-fonts, ttf-plemoljp, ttf-literation, gnu-free-fonts, noto-fonts, ttf-bitstream-vera, ttf-croscore, ttf-dejavu, ttf-droid, ttf-ibm-plex, ttf-liberation)
- wlroots-hidpi-git
- xorg-xwayland-hidpi-git
- xsettingsd (xsettingsd-git)
- git (git-vfs, git-git, git-run-command-patch-git) (make)
- meson (meson-git) (make)
- scdoc (scdoc-git) (make)
- wayland-protocols (wayland-protocols-git) (make)
- alacritty (alacritty-glclearfix-git, alacritty-ligatures-git, alacritty-externalpipe-git, alacritty-git, alacritty-sixel-git, alacritty-no-gtk-csds) (optional) – Terminal emulator used by the default config
- dmenu (dmenu-git, bemenu-dmenu, dmenu-wayland-git, dmenu-rs-git, dmenu-rs, dmenu2, glr-dmenu-git) (optional) – Application launcher
- grim (grim-git) (optional) – Screenshot utility
- i3status (i3status-mpd-git, i3status-git) (optional) – Status line
- mako (mako-git, mako-no-blur-git) (optional) – Lightweight notification daemon
- Show 5 more dependencies...
Required by (36)
- dvd-screensaver-sway-git (requires sway) (optional)
- flashfocus (requires sway) (optional)
- foot-upstream-git (requires sway) (make)
- grimshot-git (requires sway)
- i3a (requires sway) (optional)
- i3wins (requires sway) (optional)
- javelin-git (requires sway)
- nwg-shell (requires sway)
- nwg-shell-git (requires sway)
- oguri-git (requires sway) (optional)
- python-i3-quickterm (requires sway) (optional)
- rofi-wayland-git (requires sway) (optional)
- shotman (requires sway) (optional)
- shotman-git (requires sway) (optional)
- srandr (requires sway)
- startw (requires sway) (optional)
- sway-alttab-bin (requires sway)
- sway-input-config (requires sway)
- sway-input-config-git (requires sway)
- sway-keyboard-layout (requires sway)
- Show 16 more...
Sources (3)
Rucikir commented on 2022-12-01 15:03 (UTC) (edited on 2022-12-01 15:03 (UTC) by Rucikir)
kyckl1ng commented on 2022-12-01 11:02 (UTC)
Is there any way making it work with fractional scaling? All I want is to let xwayland run at my native resolution when I'm running wayland with scale 1.5
taba commented on 2022-11-24 13:33 (UTC) (edited on 2022-11-24 13:33 (UTC) by taba)
Along with https://aur.archlinux.org/packages/sway-hidpi-git#comment-882559, having the following in ~/.config/sway/config and running x programs with XCURSOR_SIZE=48 helped.
xwayland force
exec 'echo "*.dpi: 192" | xrdb -merge'
zayatura commented on 2022-09-22 12:44 (UTC)
In case someone's in a similar shoe and wondering how they can have recent wlroots build with xwayland apps having HiDPI support (exactly what this package was doing until it broke): I managed to have the same functionality with another set of packages:
- https://aur.archlinux.org/packages/xorg-xwayland-hidpi-xprop
- https://aur.archlinux.org/packages/wlroots-hidpi-xprop-git
The above work with the simple "sway-git" package and don't seem to need a specific package (such as this package).
These also need an X11 property that can be set by adding to sway config:
exec_always 'xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2'
C_Schmidpeter commented on 2022-06-22 21:11 (UTC)
@Rucikir PR #7079 has been merged now and it compiles fine again.
'makepkg -i' does not work, but 'pacman -U'. Is that expected / how come the latter works, but the former results in an error?
C_Schmidpeter commented on 2022-06-22 20:32 (UTC)
@Rucikir Thanks for the info
Rucikir commented on 2022-06-22 07:28 (UTC)
@C_Schmidpeter Pull request pending at https://github.com/swaywm/sway/pull/7079.
C_Schmidpeter commented on 2022-06-21 19:22 (UTC)
The package used to build fine for me. However, now it fails to compile with:
../sway/sway/ipc-json.c:982:67: error: ‘struct wlr_input_device’ has no member named ‘keyboard’ 982 | struct wlr_keyboard *keyboard = device->wlr_device->keyboard;
Rucikir commented on 2022-01-08 13:57 (UTC)
@wildwestrom User @the_nightman referred the issue they reported in the previous message, not about HiDPI support. I personally enjoy HiDPI support, but with more and more apps supporting Wayland natively, this package will become less relevant.
Pinned Comments
Rucikir commented on 2021-04-25 21:17 (UTC) (edited on 2021-09-22 07:56 (UTC) by Rucikir)
Configuration instructions are at swayvm/wlroots: xwayland: hidpi support #2064 .
If you get a invalid checksum on
xwayland_hidpi.diff
, remember to clean the cache of your AUR helper first.