Live data from Hacker News

Sway 1.0

drewdevault.com

211–220 of 256 posts

Re: Sway 1.0

#211
post #100

Earlier quoted context omitted.

Noveau sucks, unfortunately. Performance is bad, and you can't load custom firmware like you could with older cards (signing problems). I respect the effort the developers have made; any other driver would be of excellent quality had this much effort been put into it. But Nvidia keeps on being a jerk about it. Easy to say don't support Nvidia, but at the present moment they have the fastest consumer cards on the mark…

I run Wayland on my hypervisor OS and pass through my NVIDIA GPU to a VM with proprietary drivers in order to take full advantage of my card.

Do you know of any blog posts that would discuss a setup like this? Sounds pretty interesting.

Re: Sway 1.0

#212

I remember when Linux desktop environment release announcements came with screenshots.

Sway 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=...

Thanks 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.

Re: Sway 1.0

#213
post #162

Earlier quoted context omitted.

Sway doesn't run on macOS or mobile platforms.

We do live in a world where people browse the internet on other machines than their primary workstation, I would even say many people browse hackernews when they are commuting or something like it.

Indeed. I run Linux and FreeBSD on all of my computers but the vast majority of the time I spend on HN I am browsing using my iPhone. On the couch, when I am walking between places, during breaks etc.

Re: Sway 1.0

#214
post #209

Earlier quoted context omitted.

What I've been thinking is, why can't we have both? Imagine just two changes: a workspace's mode can be switched between tiling and floating, and additional workspaces are just windows. Now you can have any combination of floating and tiling that makes sense to you. You could, for instance, set your desktop to tiling mode and open two new workspace windows, the switch one to floating and run your GUI desktop stuff on…

I think AwesomeWM allows that

I used awesome for a few years and while I think you're correct to say it does try to do both, in reality it ends up doing neither very well, IMO.

Re: Sway 1.0

#215
post #153

Earlier quoted context omitted.

There is a video. Are you sure you aren't using Netscape? The video is webm, which is supported by all major browsers.

They may be using a browser that does not support vp9 such as safari or mobile browsers. Even if they support the container format webm, it does not mean that it supports all formats.

MDN says desktop Safari supports vp8/vorbis in webm, which should be compatible with the sway project's values, but mobile Safari doesn't support any free video codecs from what I understand.

https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_...

Re: Sway 1.0

#216
There 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.

Re: Sway 1.0

#217

I really want to use this but I've had trouble with Wayland and HiDPI. Has anyone gotten proper scaling working?

Wayland 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.

Re: Sway 1.0

#218

Congrats 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. I…

Thanks for saying this! I noticed this too. Sway got this right. So often I'm linked to a project status announcement where I soon give up because it's not all clear what the project is about. Even just adding a sentence or two like Sway did goes a long way.

I fell into this same trap with Autumn (https://sephware.com/autumn) because it's such an abstract concept that it's hard to explain all that it can do. First of all the term "window manager" is overloaded and many people thought it was just like i3 or dwm but for Mac, but it was actually a lot like Slate or Hammerspoon. But also, just like Hammerspoon, it's incredibly versatile and allows you to do a whole lot more than "manage windows". I tried to use visuals to fix this problem, namely a video and a lot of screenshots, but I don't think it helped. The fact is that I'm terrible at marketing (despite decades of trying to get better), and I just have to admit that. Well that and the fact that apparently nobody ever wanted or needed a "window manager with an IDE built in" product, and so I also suck at being a PM apparently.

Re: Sway 1.0

#219

Earlier quoted context omitted.

Firefox.

Thanks! Any particular flags needed or should I be good OOB if running the nightly channel?

It 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

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).

Re: Sway 1.0

#220
post #128

Earlier quoted context omitted.

Personally 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).

how 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.

I'm still using i3 but I guess it should work with Sway. Use the userscript related to your preferred password manager. Lastpass, keypass and pass are supported.

Something like:

config.bind('key', 'spawn --userscript qute-pass')

https://github.com/qutebrowser/qutebrowser/tree/master/misc/...

Post reply on HN