14 ms·
Sway 1.0
- tarruda 8y agoFor a long time Xorg/i3 user, are there visible improvements when switching to Wayland/sway?
- Sir_Cmpwn 8y agoIt'll be noticably snappier. https://github.com/swaywm/sway/wiki/Differences-from-i3 https://github.com/swaywm/sway/wiki/Differences-from-i3
- mediocrejoker 8y agoDo people experience noticeable lag on i3 on modern hardware?
- Sir_Cmpwn 8y agoIt's more of a problem with Xorg, which does not do things atomically - leading to tearing and other problems which are absent on Sway. We also work at a level where we can orchestrate atomic updates of your entire layout as many windows are affected by a single update.
- tarruda 8y agoMaybe not lag, but I've experienced screen tearing with some drivers, though it completely went away when I started using glamor: https://www.freedesktop.org/wiki/Software/Glamor/ https://www.freedesktop.org/wiki/Software/Glamor/
- mario0b1 8y agoDoes "everything else" work with wayland? Like is the compositor the only thing I need to get most applications running without too much hassle? Disclaimer: I haven't read up anything on wayland and don't know too much about how X or it's mechanics work
- Sir_Cmpwn 8y agoYep, most applications should Just Werk.
- lapinot 8y agosway comes with xwayland configured, which makes it zero-effort to run X-only software (eg software that doesn't use a wayland-enabled gui library like gtk3, qt5, sdl2...). The only pain will be if you have a hidpi screen, since xwayland will scale a non-hipdi rendered X window instead of passing down the scaling factor to X (which apparently is tricky). I'm in that case and what caused me the most hassle was firefox, but there is an experimental wayland branch (for which fedora provides prebuilt binaries) which i'm running smoothly.
- deevus 8y agoStill don't see Sway 1.0 in Fedora repo though :(
- erik_seaberg 8y agoEvery app still needs to support X, because Wayland doesn't have remoting. I'd love to be wrong about this.
- kentt 8y ago> Sway includes the features of the i3-gaps patches What is this about? The look of i3-gaps is extremely undesirable to me. Is it easy to avoid the look of i3-gaps?
- Gigamo 8y agoThere are no gaps in the default configuration regardless. You would have to manually specify them. However, the i3-gaps fork contains more features than just gaps themselves.
- nambit 8y agoIf you're using Nvidia graphics cards, they do not support proprietary nvidia drivers btw.
- symlinkk 8y agoCongrats on the release, Drew. I'm going to fire up a Linux distro this week and try this out. Out of curiosity, what distro do you use?
- ddevault 8y agoThanks! I use Alpine Linux.
- elagost 8y agoYou've probably written about it before, but care to elaborate? Is alpine as a desktop in any way viable for regular users?
- Sir_Cmpwn 8y agoI don't know what "regular users" means. I write new Alpine packages often, you shouldn't expect everything to already be there - especially with respect to GUIs. If you're not prepared to do that (and you should be, imo), Alpine may not be for you. I love it, though, it's simple and efficient, and doesn't get in my way.
- elagost 8y ago"Regular users" for me means someone who doesn't want to fuss too much with a desktop system; I use Fedora (or Debian until recently) because I want to spend my time administering my servers, not my desktop system that is the interface to those servers. "It Just Works" If it comes highly recommended, though, I'll give it a shot. OpenRC really is a thing of beauty and that's the one thing I miss from Gentoo.
- JoshuaRLi 8y agoAh, a man of culture and good taste.
- 7e 8y agoAre global hotkeys supported?
- emersion 8y agoYes, you setup global hotkeys in your Sway config file.
- AdmiralAsshat 8y agoAre we able to change window position yet? One of the thing keeping me on X is the simple drop-down terminal, which I'm told is impossible on Wayland because Wayland does not allow its applications to control the window position.
- Sir_Cmpwn 8y agoI gave a short talk at XDC which shows how sway & wlroots solves this problem: https://www.youtube.com/watch?v=VuRXHJu5Kmg https://www.youtube.com/watch?v=VuRXHJu5Kmg tl;dw: you can't set your position but a drop-down terminal is still in the cards
- AdmiralAsshat 8y agoHello, Drew! Thanks for responding. Having watched the video, it seems like we could do a "pop-in" terminal (which is how guake and tilix already do their "drop-down" mode because they let the WM actually do the drawing), but a true "drop-down" terminal a la Yakuake or the old id Quake consoles would require some additional functionality, since you'd essentially have to re-draw the application window at Y Pos +10 each time to give the effect of a moving window until it reached its final point. Is that possible?
- Sir_Cmpwn 8y agoYou can just animate the margin of the layer surface, which controls its distance from the edge. It can be negative.
- emersion 8y agoWe have designed a new Wayland protocol for this kind of apps: https://github.com/swaywm/wlr-protocols/blob/master/unstable/wlr-layer-shell-unstable-v1.xml https://github.com/swaywm/wlr-protocols/blob/master/unstable... So yes, it's possible. I'm not aware of any existing drop-down terminal using the protocol yet.
- sergiotapia 8y agoThe video is great and useful, shows me what it's all about in 2 minutes. Good stuff.
- Insanity 8y agoKudos on the 1.0 release! I'll install it on my machine tonight to give it a spin, so far I've mostly been using xfce but been wanting to try out a tiling WM for some time :)
- ilovecaching 8y agoThis is huge news. Sway is absolutely incredible, it puts macOS, built by Apple's army of engineers and dump trucks of money to shame in its simplicity, stability, and efficiency. If you want the best of the best DE, look no further. If you're on the fence about trying a tiling windows manager, I say, give it a shot for a single week and you'll never look back. Invest a few hours in a sway config file that will serve you for years. Also, migrating from i3 is super easy and painless. Really a seamless upgrade experience. If you've been holding off upgrading to Wayland, now is the time, Sway is absolutely ready. By the way, you should donate. These people absolutely deserve your money.
- ubercow13 8y agoWhy should you (upgrade from i3/X)? What's the benefit?
- ilovecaching 8y agoBecause you can support Wayland and make Sway better. X11 is a super crusty, hacky mess that is being phased out. Sway also incorporates some nice features (gaps) that were previously not in the base version.
- rudilee 8y agoI really don't get it why people like gaps so much, yes it's look pretty, but in my opinion it is as much waste of space as window drop shadow. I would like to have as much screen real estate as possible to be used to show information, that's the whole point to use tiling wm in the first place for me.
- chmln 8y agoA 5px gap between windows is a drop in the bucket, but adds a lot in terms of aesthetics.
- mises 8y agoBased on Wayland, meaning it's more modern. Here's what I've heard for benefits: * Better multi-window and gesture support * Gaps built in (currently, i3 is separate from i3-gaps, which is what most actually use). No separate forks to deal with, meaning easier maintenance. * Wallpaper * Faster However, there are some big downsides. Wayland is still pretty beta, and not everything works well with it. This is not the fault of Wayland/sway per se, more the fact that everything is based around X11. Biggest thing for me is no copy/paste. Hidpi scaling is supposed to be a nightmare. Also, sway doesn't support Nvidia, and the author has publicly stated he refuses to support any Nvidia drivers (or at least until they're open-source).
- Tharkun 8y agoThis might finally get me to migrate away from awesome-wm, which I've been using for basically as long as it's existed. As far as I can tell, awesome-wm has been dead for a while, with only one release over the last two years or so.
- icebraining 8y agoThey didn't have any releases in 2018, but the January release had plenty of stuff: https://github.com/awesomeWM/awesome/releases/tag/v4.3 https://github.com/awesomeWM/awesome/releases/tag/v4.3 And quite a bit of activity in the last 30 days: https://github.com/awesomeWM/awesome/pulse/monthly https://github.com/awesomeWM/awesome/pulse/monthly
- deleted 8y ago[deleted]
- npmaile 8y agoI've been using sway nearly exclusively for about a year and love it. Nearly everything I do with it just works. Additionally, I keep seeing Drew all over the net with various projects, blogposts, and other useful contributions. sr.ht is an interesting project I would recommend people take a look at.
- dcdevito 8y agoI thought this was Microsoft Sway, lol.
- Memosyne 8y agoWhat's the status of blurry XWayland applications on HiDPI screens? I tried to replace i3 with sway a couple months ago and couldn't get VSCode to look decent with scaling.
- colordrops 8y agoThis is what has held me back as well, so I'm very curious if this is better. I thought HiDPI screens would be prevalent enough by now to be a strong forcing function to get everything upgraded sooner.
- mikenew 8y agoCurrent status: still sucks, unfortunately. From what I've seen the developers have more-or-less decided that it would be a lot of effort to get scaling and input to work correctly for X applications with HiDPI, and they'd rather work on new things, not supporting old things. Which I certainly understand, but it kills the experience for most applications that I tend to use. So I can't really switch until that changes or more applications support wayland natively.
- e12e 8y agoIs this only a problem with x11 apps? If so, I'm a little surprised there's not a Wayland based build for Electron that'd make it easy to fix the issue for vscode? Hm, looks like the branch/subproject in chrome is "ozone" and some work is ongoing there: https://github.com/electron/electron/issues/9056 https://github.com/electron/electron/issues/9056 https://github.com/Igalia/chromium/tree/ozone-wayland-dev https://github.com/Igalia/chromium/tree/ozone-wayland-dev
- Sir_Cmpwn 8y agoKDE is working on a solution that we hope to learn from for a future sway release.
- kevinherron 8y agoMakes it a non-starter for me as well :/
- 8y ago
- jadbox 8y agoIs there an update to the nvidia (proprietary drivers) situation with sway/wayland?
- mises 8y agoThe author still flat-out refuses to support them. This might change if Nvidia open-sources their drivers, which I suspect is part of what he's trying to do.
- cwyers 8y agoProbably, but given the relative levels of adoption of Nvidia graphics cards and Sway, I suspect that he's doing more to limit adoption of Sway than he is of encouraging Nvidia to change their behavior.
- badosu 8y agoI would say it's the case in both accounts. Whereas before installing nvidia proprietary drivers was just a nuisance, now I am looking for alternative GPUs as I use Linux on all my machines.
- Qub3d 8y agoI'm just using i3. Its a little "realpolitik", but I use an eGPU and AMD's lackluster, power-hungry options just don't compete, especially when I'm losing 10-15% performance to TB3 overhead. I'd love for this situation to change, but until then, i'm on i3-gaps and happy.
- AWildC182 8y agoSeeing as even Linus was unable to "persuade" them, this means "someone will write a fork with nvidia driver support eventually"
- vertex-four 8y agoIt’s a case of nvidia refusing to support Linux properly, rather than the other way around - nvidia have been attempting to force their own APIs on Linux graphics developers rather than fit in with what everyone else (Intel, AMD, and all ARM GPU developers) have been doing. The result is that anyone doing low-level graphics on Linux would have to support two entirely separate, very complex APIs - one for everyone but nvidia, and then one for the proprietary nvidia drivers. Unsurprisingly, not many people are up for that. Realistically, nvidia just don’t care about Linux outside of very specific use cases where they’re working with the system integrators directly, the same as Broadcom and a few others. If you’re building a Linux system without their support, you’d be well advised to stick with GPU developers that actually work with Linux developers.
- willtim 8y agoCongratulations on the release! I currently use i3 but am looking forward to trying this. Backwards compatibility was a great idea!
- jcadam 8y agoHmm... tempted to try a tiling window manager again (tried i3 a few years ago, but couldn't really see the utility at the time), since I just got a big 32" 4K monitor for my dev machine. I've caught myself starting to manually arrange all my windows into "tiles" anyway, now that I've finally got the screen real estate to do it :)
- sevensor 8y agoI also run a big monitor (39" 4k TV), and tiling is great. I can fit 3-6 terminal windows / text editor windows side-by-side, depending on the fonts used. Sometimes I put windows with larger fonts at the periphery, and a couple of small-font windows in the middle, so that I can easily look to the side for reference while focusing on a column of smaller text in the middle. This works beautifully with Kakoune, where I have multiple windows attached to the same editor session. I can paste from my large-font reference windows into my small-font working windows without having to figure out where my mouse pointer is.
- jniedrauer 8y agoI've been using sway since the 0.15 days. I switched to the 1.0 branch about 6 months ago, and watching the rate of improvement has been amazing. I haven't used an xorg system in over a year now. I'm very excited about this release.
- sevensor 8y agoTotally agreed. I was blown away by the improvement in quality brought by the 1.0 beta, and I'm looking forward to using the release!
- DC-3 8y agoI have nothing to say, so by rights I shouldn't leave a comment at all - but I can't help but once again thank you for this superb software.
- jamesbvaughan 8y agoThat's a great thing to say :) And I'd like to second it: Sway has been great and I'm stoked for this release!
- slashink 8y agoReally exciting to see this released! Is there a good distro to run this on? I run Ubuntu at home but from my understanding, adding Sway to Ubuntu seems non-trivial. Is there a good distro I can switch to that supports Sway?
- Sir_Cmpwn 8y agoSway runs fine on most distros, so it's going to come down to other things. Debian experimental has a package for it.
- pimeys 8y agoI'd wait for Ubuntu 19.04 to get wayland-protocols 0.17, which is required by wlroots. If you want to test it now, Arch linux has a package already: https://www.archlinux.org/packages/community/x86_64/sway/ https://www.archlinux.org/packages/community/x86_64/sway/
- 0xb100db1ade 8y agoI really want to use this but I've had trouble with Wayland and HiDPI. Has anyone gotten proper scaling working?
- Sir_Cmpwn 8y agoWriting this comment on a 4K display on a mixed-DPI desktop. Works great!
- emersion 8y agoIt should work perfectly with native Wayland apps. However, Xwayland apps will be blurry. This is a harder problem to solve, but KDE is working on a solution which would work for sway too.
- colemickens 8y agoWayland is the only place that HiDPI really works correctly, so I'm surprised to hear this. Scaling just works... except with XWayland apps. And I think we should investigate sommelier more for that, though it's increasingly irrelevant to me, as a user. Note that Chromium seems to be a big burden right now, as Ozone/Wayland is not ready yet and is not included in default configurations. (But I'm going to start publishing Chromium+vaapi+wayland builds to nixpkgs-wayland, which I maintain). Let me know if I can answer questions or help. Sway is the first place I've finally get decent about Linux+HiDPI. edit: To emphasize my point, I can actually step up/down the scaling factor in .1 increments (imagine Ctrl +/- keybindings). It's not quite as smooth as ChromeOS's entire UI scale, but I honestly never thought I'd see this in Linux.
- laumars 8y agoHow well does Sway work with multiple screens? And hot plugging / unplugging those screens? I have a laptop hooked up to 2 additional monitors. When going to meetings I'm often disconnecting the screens then reconnecting them when I'm back at my desk.
- Sir_Cmpwn 8y agoIt should work great. If your laptop has a limited number of CRTCs you may want to use this to deal with enabling/disabling the outputs you want to use as necessary: https://github.com/emersion/kanshi https://github.com/emersion/kanshi
- laumars 8y agoThank you. I do have multiple different configurations (3 screens at home too but arranged differently) so that will come in handy
- rudilee 8y agoSway is the reason why i got the bravery to fully embrace tiling wm even though i switch to i3wm at the end due to some bugs in 0.x version. With i3wm they both make tiling wm so much more accessible to linux noob like myself, the ability to combine tiling, tabbed and stacked windows feels so much powerful for productivity boost. Congrats for the 1.0 release, given news about so much improvement over 0.x version, I might looking to switch back :)
- raehik 8y agoAwesome! Fantastic news. If there's any chance sircmpwn is lurking here, quick question: has there been any further development on IME support? I use Mozc+IBus. Last time I tried on sway it almost worked, but the prediction box didn't show. That was the only gripe I had with sway. It solved all my tiny issues with i3 and made config much nicer too. Certainly making the switch if IME is better (or if I can easily help out). Real big thanks to the wlroots/sway community.
- Sir_Cmpwn 8y agoはい、Swayでibus+anthyはできます。Mozcはできないと思いました、でも今から変わったが可能性です。Swayを楽しんで!
- 89nn 8y agoFYI I've been using ibus+anthy on sway for a while now, however recently switched to ibus+mozc because the prediction box in anthy started acting up/disappearing. Mozc seems to be working great so far (and actually what I wanted to use in the first place, but I believe I might have had the same issue you experienced)
- williamdclt 8y agoI like the idea of tiling window managers but never got the use for it. 99% of my time is spent between my browser, my IDE and my terminal. A half-size browser is painful to work with, I need it full screen. Same for IDE. Same for terminal, I do need multiple terminals but I want them together. I also have another workspace for chat stuff (browser with whatsapp, slack, messenger) and another for random apps (spotify mostly) So I end up having cmd-tab set up to switch between browser and IDE (don't even get me started on the default macOS behaviour) and have a drop-down terminal mapped to shift-space, so I'm always one keystroke away from the app I want to use. For the rare case I use another app (some excel file containing data), I can afford the manual window switch. And for the tiling terminal, tmux is my friend. Also allows me to see the same set of terminals between workspaces (multiple terminal windows on the same tmux session)
- Sir_Cmpwn 8y agoPersonally for the most part I only have one application per workspace, and switch workspaces frequently. I often have several terminals on one workspace, though. I don't regularly use any GUI applications other than qutebrowser (web browser) and alacritty (terminal emulator).
- n42 8y agohow do you do password management? I setup Sway/qutebrowser last week and love it, but the lack of password management extensions was crippling. I reverted to Firefox + Vimium, which has been a subpar experience to qutebrowser. from what I understand the team on qutebrowser is actively working on an API for addons, but in the meantime it's a nonstarter for me. thank you for your contributions, by the way.
- Sir_Cmpwn 8y agohttps://www.passwordstore.org/ https://www.passwordstore.org/
- pimeys 8y agoI keep a keepassxc open in the scratchpad, available with one keystroke on any desktop when I need it. Workflow: - site needs a login - mod+- to get keepassxc to the front - ctrl+f for search, typing the first letters of the service - ctrl+c to copy the password
- peteforde 8y agoCongrats on the release! You should be very proud of what your movement has accomplished. I want to highlight something that I appreciate in your release post, which is the short explanation between paragraphs 1 & 2: "Sway is an i3-compatible Wayland desktop for Linux and FreeBSD" One of my major peeves with OSS projects is the tendency to adopt an "if you're reading this, you already know what this is for" stance. It's not just elitist... it's a missed opportunity to bring passers-by into the fold. It might seem dull or repetitive to people that are deep in the trees to see layman explanations, but at least linking to them is a small but appreciated nod of respect to people who are just coming online. To this end, I would challenge that you could set an amazing example that goes further towards accomplishing these goals by linking the words in that description to readable explanations of what the words mean in the context of this project. Your goal should be to move beyond what Sway is and perhaps start with why Sway exists. It's clear that this is important, but someone coming in has no idea what motivated you and your army of contributors to stop other important projects and build this. Where does it fit into the concepts that they are already familiar with? What other technologies does it replace? What can I do with this that I couldn't do before? Are there tradeoffs to using this over other solutions? Are there situations where I shouldn't use this? And eventually: are there newer projects that Sway inspires which are even better that I should probably be using instead? If we look at your explanation in this new light, "Sway is an i3-compatible Wayland desktop for Linux and FreeBSD", you can see that it's opaque to people who aren't already familiar. i3... you mean like the Intel i3? What's Wayland? I use Ubuntu... isn't that my desktop? I heard MacOS is based on FreeBSD, so can I use this on a Mac? These aren't problems, they are opportunities to be a hero to the silent majority of people who have no freaking clue what a tiling window manager is or why it might be applicable to them.
- Sir_Cmpwn 8y agohttps://swaywm.org https://swaywm.org should cover this right?
- reaperducer 8y agoShould, but doesn't. This is all there is: "Sway allows you to arrange your application windows logically, rather than spatially. Windows are arranged into a grid by default which maximizes the efficiency of your screen and can be quickly manipulated using only the keyboard." Sounds interesting. No screenshots, though. Just a big black box reading "No compatible source was found for this media." I guess it's trying to play a video? Why not have a video, and also images which are compatible with every single browser since Netscape?
- filereaper 8y agoLongtime user of i3, looking forward to sway becoming fully adopted. I won't be switching to sway anytime soon as I really need support for screen-capture and video-sharing (i.e Zoom and Google Hangouts) to share my code screen for walkthroughs with my remote colleagues. I effectively downgraded from Ubuntu 18.04 to the more stable 16.04 due to the lack of above support. I see the following in the release notes: >A real time screen capture protocol has been developed and implemented (which allows for future third-party screenshot and video capture tools) Waiting with baited breath till support for it is fully fleshed out. Cheers.
- simlevesque 8y agoThank you Sir ! Is there an update guide somewhere ?
- Sir_Cmpwn 8y agoWait for it to land in your distro and then just run updates normally. Feel free to file an out-of-date notice for the package if appropriate. Have fun!
- markstos 8y agoI remember when Linux desktop environment release announcements came with screenshots.
- Sir_Cmpwn 8y agoSway desktops are usually customized to suit the preferences of their users. You probably won't see the same one twice. Try this: https://old.reddit.com/r/unixporn/search?q=sway&restrict_sr=on https://old.reddit.com/r/unixporn/search?q=sway&restrict_sr=...
- markstos 8y agoThanks for the response. I tried a previous version of Sway and am interested to try it again now that it has reached 1.0. I understand the nature of it, but I still think at one screenshot would be helpful for people to get the general idea. I would use one that includes a number of bells-and-whistles enabled, as it's easier to visualize something removed then to guess what might be added.
- gremlinsinc 8y agomaybe w/ gnome or plasma where there was really a desktop to show off..tiling WM aren't really DE's, per se, it's a loosely coupled DE where you basically get fluid window placement. Most people who use i3 don't do it for aesthetics but utility, speed, and are generally the people who'd rather live 24/7 in vim/emacs than use a gui.
- josteink 8y agoThat’s great news. Congratulations to everyone in this important release! Now for a completely orthogonal but still slightly related question: which Linux-browser does currently have the best Wayland-support? Any clear favorite or are they all pretty much the same?
- Sir_Cmpwn 8y agoFirefox.
- josteink 8y agoThanks! Any particular flags needed or should I be good OOB if running the nightly channel?
- Sir_Cmpwn 8y agoI think it works OOTB if you're on nightly, yeah.
- emersion 8y agoMaybe `GDK_BACKEND=wayland`
- colemickens 8y agoIt switched a while back, it's MOZ_ENABLE_WAYLAND now (or will be soon?), as far as I understand: https://bugzilla.mozilla.org/show_bug.cgi?id=1522780 https://bugzilla.mozilla.org/show_bug.cgi?id=1522780 Note that perf for Firefox+HiDPI+Wayland-native is noticeably worse than XWayland (regardless of whether it's scaled or Firefox is rendering itself at 2x), and keyboard shortcuts are still not functioning correctly (and apparently only in Sway).
- paulcarroty 8y agoCongratulations! Laugh every-time when haters says 'Wayland was failed' or 'Nobody use Wayland'.
- jh 8y ago:cries from windows: In all seriousness, I have not found an i3 clone for windows that I am happy with. I am making due with a combination of VirtuaWin for workspace switching, windows key app positioning and multiple monitors.
- Spearchucker 8y agoWorked hard at Microsoft and at Nokia. Held senior positions at both and maybe loved what I was doing too much to burn out. That said I then took on some enterprise roles and the lax work ethic blew my mind. It was like a vacation. Eternal summer. I recommend it.
- majewsky 8y agoWrong thread?
- Spearchucker 8y agoYes. No idea how I managed that.
- sevensor 8y agoI just noticed that this has already hit the Arch community repo, for my fellow Arch users.
- stackzero 8y agoNice work. Stuck on mac at the moment but am excited to try this when I can
- sydney6 8y agoThere must have been so many "unforeseen" blockers from the basic design idea up to this 1.0 release. And indeed, it appears that the sway developers have walked the walk. Pareto's Principle at it's best. Anyhow.. Congratulations to this truly impressive achievement.
- abrowne 8y agoDoes anyone use Sway (or a tiling wm) mostly with graphical applications? Sway is tempting since it supports some niche features other Wayland compositors may never support, like cursor hiding à la unclutter and real redshift. I use a terminal everyday, but I don't mostly use a terminal.
- pard68 8y agoI use vim so I use a terminal nearly all the time. But I also do non terminal things and none of my personal computers have anything other than i3. If I only needed tiling in a terminal I would just use tmux
- sandov 8y agoAny plans to move the source code from github to sourcehut?
- rat9988 8y agoFrom the faq: "Tip: buy your hardware with open source support in mind." Is it really necessary to put statements with such a condescending tone? Am I the only one who thinks that it can only hurt a project in the long term?