News for hackers. Stuff that matters.
Re:The future of Wayland, and Sway's role in it by kiddico on Thursday October 19, 2017 @11:32AM (#15508766)
As an i3 user who harbors a non-zero amount of hatred for X11 it's exciting to see sway has (nearly!) reached 1.0! I had the checklist for feature parity with i3 bookmarked so I could check in on it but I've forgotten to look at it recently, so it's nice to have this reminder pop up here!

Looks like i3-gaps support is basically done so I have no excuse not to switch over now. Good work SirCmpwn and everyone else who helped!

Re:The future of Wayland, and Sway's role in it by 0x6c6f6c on Thursday October 19, 2017 @02:42PM (#15510486)
I've been awaiting sway as well. My big issue has been rotated displays, since I have two vertical monitors that this simply wouldn't work with.

After that there's also the Nvidia proprietary drivers not supporting Wayland, but I'll be switching to a FOSS driver stack with AMD by the time 1.0 hits.

Re:The future of Wayland, and Sway's role in it by kiddico on Thursday October 19, 2017 @02:56PM (#15510599)
I got a Fury to try to show support during the initial releases of AMDGPU. I'm not sure if they noticed but it gave me a good reason to ditch my gtx 770 :D

AMDGPU is really good now, and the parts that are proprietary (AMDGPU Pro) are eventually (hopefully) going to be folded into the FOSS side soon.

Re:The future of Wayland, and Sway's role in it by fgonzag on Thursday October 19, 2017 @08:00PM (#15512572)
AMDGPU Pro is actually built on top of the open source driver, so if AMD wants and can commit its features into the open source driver it shouldn't be that hard. I don't know why they decided to build the proprietary interface if AMDGPU was working so well, maybe 3rd party licensed code?
Re:The future of Wayland, and Sway's role in it by kiddico on Thursday October 19, 2017 @08:35PM (#15512717)
I believe it does have to do with 3rd party licensing. Last time I checked the freesync portion of the driver was only in AMDGPU-Pro, which is what I'm looking forward to the most.
Re:The future of Wayland, and Sway's role in it by hjek on Thursday October 19, 2017 @04:26PM (#15511273)
My big issue is Redshift not working in Wayland yet.

https://github.com/jonls/redshift/issues/260

Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @06:04PM (#15511926)
Redshift works on sway. Use this fork: https://github.com/giucam/redshift
Re:The future of Wayland, and Sway's role in it by hjek on Monday October 30, 2017 @01:18PM (#15586899)
Really? I'll give it a try. Thanks.
Re:The future of Wayland, and Sway's role in it by rasjani on Thursday October 19, 2017 @03:28PM (#15510866)
It's sort of sad that nvidia does actually support wayland, but only on embedded side. Can't say how good the drivers are but I've worked for a good while for nvidia tegra's & wayland and they well. There was one issue one the drivers that I had access to: mmaped memory leaked file descriptors but besides that, performance was better than other hw in similar price range I was provided with.
Re:The future of Wayland, and Sway's role in it by lucaspiller on Friday October 20, 2017 @01:05AM (#15513643)
As a consumer, I feel that Nvidia’s Linux support is shoddy at best. It seems like they do the bare minimum to get it to work. Some things work best with the proprietary drivers, some work best with the open source drivers. Then there are weird limitations on both, that don’t exist on other platforms.

Recently I finally managed to get 4K at 60fps over HDMI 2.0a working on Linux. For some reason the Nvidia drivers (both) only advertised 4K at 30fps, where as on Windows it works out of the box. I had to manually add my monitors EDID (which is extracted from Xorg in the first place), and now I get 4K 60fps HDR.

I hope AMD continue their rejuvenation, as it’s good to see Intel and Nvidia have some competition again.

Re:The future of Wayland, and Sway's role in it by wizbright on Thursday October 19, 2017 @11:36AM (#15508800)
It hasn't gotten there yet but it will soon! Release canidates are out at the moment as he just released 0.15-rc2
Re:The future of Wayland, and Sway's role in it by kiddico on Thursday October 19, 2017 @11:50AM (#15508930)
Ooh, so close. I think I'm gonna count it. At least it's on my mind now, so I'll remember to check back in soon.
Re:The future of Wayland, and Sway's role in it by wizbright on Thursday October 19, 2017 @12:09PM (#15509131)
After he releases 1.0, they are doing to focus on wlroots which he does mention in the post. It is looking really promising and even now sway is still very usable.
Re:The future of Wayland, and Sway's role in it by kiddico on Thursday October 19, 2017 @01:16PM (#15509690)
I've always wanted to try my hand at making a window manager(or what is now called a compositor I think), so I may use wlroots as my base when it's done(or at least more done). The article confused me a bit, is the goal to have wlroots 'done' for the 1.0 release, or to release the 1.0, and then at some point move it over to wlroots?
Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @01:28PM (#15509785)
We're releasing sway 0.15 based on wlc. It will be the final wlc-based release, and the final 0.x release. The subsequent release, 1.0, will be based on wlroots, which is nearing completion now. https://github.com/swaywm/wlroots
Re:The future of Wayland, and Sway's role in it by kiddico on Thursday October 19, 2017 @02:58PM (#15510612)
The man himself arrives! Thanks for the clarification.
Re:The future of Wayland, and Sway's role in it by sushisource on Thursday October 19, 2017 @12:29PM (#15509323)
I wish they hadn't decided to not support layout saving. Really liked that feature from i3. I suppose it'll be possible to cobble something together in a bash script that arranges everything the way I like on boot, but annoying.
Re:The future of Wayland, and Sway's role in it by kiddico on Thursday October 19, 2017 @12:47PM (#15509452)
I found layout saving cumbersome in i3, mostly because of the manual editing you would sometimes have to do to the JSON file[1]. I have used it a few times, and didn't run into many of the common problems, but there have been many layout related questions/problems on the i3 subreddit.

I wonder if because people had so many problems with it the developer chose to skip over it due to lack of demand. Surely there's a better way to implement it, but that way may break compatibility with i3. This is all speculation of course.

[1] https://i3wm.org/docs/layout-saving.html#_restoring_a_vertic...

Re:The future of Wayland, and Sway's role in it by michaelmrose on Thursday October 19, 2017 @02:02PM (#15510090)
I think the primary use for layouts is for people that want complicated layouts of windows at startup that would be cumbersome to set up every time you log in.

I think in practice with as many workplaces as you like the most productive layouts on medium to small screens, which is to say most of them, is a number of workspaces each with a relatively simple layout and 1-3 windows only.

You can wrap the layout saving restoring functionality in a tiny bit of scripting to make it more useful on the fly. Basically the json isn't useful right from the rip because you have to manually uncomment whatever fields make a given window unique but a script can pretty much do that unless it requires a regex and window title to distinguish between 2 windows.

Re:The future of Wayland, and Sway's role in it by baldfat on Thursday October 19, 2017 @11:50AM (#15508933)
I just wish there was a way to use it on Windows and Mac OS! i3 and Window Tiling is such a better user interface for my work flow. I have having to use the mouse or track pad.
Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @01:29PM (#15509790)
That's by design ;) try using better operating systems!
Re:The future of Wayland, and Sway's role in it by baldfat on Thursday October 19, 2017 @01:53PM (#15510012)
When work hands you a Macbook and you go ewww gross I get looks :) I HATE Mac OS user interface. It is so convoluted and decisions based on things that were wierd 15 years ago.

I doubt I'll get permission to install it on the mac. The mac is super locked down.

Windows 8 was a decient compromise for me but I am in the tiny minority that liked the Windows 8 interface it was the closest thing to a tiled window manager.

Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @02:06PM (#15510126)
If you work somewhere that doesn't respect your autonomy enough to let you work with the tools you like, then you should work somewhere else.
Re:The future of Wayland, and Sway's role in it by DesiLurker on Thursday October 19, 2017 @02:31PM (#15510374)
Did you just suggest somebody leave their job because their employer wont let them install a software package on their mac-book?
Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @02:35PM (#15510417)
Yes.
Re:The future of Wayland, and Sway's role in it by baldfat on Thursday October 19, 2017 @06:47PM (#15512189)
You have a job for me? In the North East or West Virginia?
Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @08:18PM (#15512654)
There's loads of jobs on the east coast! And plenty of remote work even if you can't move. Start looking, who knows what you'll find.
Re:The future of Wayland, and Sway's role in it by RussianCow on Thursday October 19, 2017 @02:30PM (#15510372)
Sometimes it's not about autonomy, but simply the availability of tools. Lots of software for various industries is OS-specific, so you may not have a choice but to use a certain OS for work (usually Windows, but macOS in the case of iOS development).
Re:The future of Wayland, and Sway's role in it by asveikau on Thursday October 19, 2017 @02:31PM (#15510380)
I agree with the sentiment but I think it very much depends on the role. I wouldn't expect iOS development to happen on another platform for instance. There are probably many niches with similar constraints.
Re:The future of Wayland, and Sway's role in it by Sir_Cmpwn on Thursday October 19, 2017 @02:36PM (#15510420)
Yes, of course, if certain tools are required to do the job then it's another matter.
Re:The future of Wayland, and Sway's role in it by atl4s on Thursday October 19, 2017 @01:37PM (#15509866)
[Amethyst](https://github.com/ianyh/Amethyst) is a decent tiling manager for macOS if that's what you're after.
Re:The future of Wayland, and Sway's role in it by cup-of-tea on Thursday October 19, 2017 @04:59PM (#15511514)
Emacs does what i3wm does... When I have to use Windows I used emacs as much as I can and just switch between other full screen windows like web browser etc. Obviously not as good, but not too far away.
Re:The future of Wayland, and Sway's role in it by baldfat on Thursday October 19, 2017 @06:49PM (#15512204)
Well using a terminal splicer is different than a Tiled Window Manager. I love my ursvt with Tmux but that is a different beast then i3.
Re:The future of Wayland, and Sway's role in it by imprecision on Thursday October 19, 2017 @03:20PM (#15510799)
I was really surprised how well a modest VM (Virtual box etc) with Ubuntu + X11 + i3 runs. I use that fullscreen in a virtual desktop to switch between host OS and Linux/i3 and am increasingly surprised by how much time I am finding myself in the "simple" VM which flies and the host OS. I've found it a great way to make a simple first step to switching over on the desktop.
Re:The future of Wayland, and Sway's role in it by lostmsu on Friday October 20, 2017 @05:40PM (#15519300)
There are quite a few tiling window managers for either of those OSes, you just need to do some googling. I develop and use Stack on Windows. https://losttech.software/stack.html
Re:The future of Wayland, and Sway's role in it by hibbelig on Thursday October 19, 2017 @12:53PM (#15509501)
On macOS I use Hammerspoon which I have configured to move and resize windows to specific slots. It's not the same as tiling but it relieves me from having to move windows around manually. On Windows there is Window Sizer or similar.
Re:The future of Wayland, and Sway's role in it by eventualhorizon on Thursday October 19, 2017 @02:02PM (#15510095)
Do you have any pointers to info on using Hammerspoon as you describe above? I have a low dpi 4K (43") monitor and would like to be able to assign windows to pre-determined regions of the screen.
Re:The future of Wayland, and Sway's role in it by hibbelig on Friday October 20, 2017 @04:30PM (#15518910)
I've now put it on Github, here:

https://github.com/kgrossjo/hammerspoon-config

What's different for mine is that I use a single prefix key, that pops up a notification giving you information what you can do next, and then I press one of those keys. I don't need to move windows that often, so having to hit two keys is not a problem. And it prevents Hammerspoon from hogging too many key combinations.

Re:The future of Wayland, and Sway's role in it by fanf2 on Friday October 20, 2017 @08:16AM (#15515142)
http://paste.debian.net/991838/ is the hammerspoon script I use for window placement
Re:The future of Wayland, and Sway's role in it by woahhvicky on Thursday October 19, 2017 @04:55PM (#15511477)
Don’t kid yourself, you’ll eventually grow to hate Wayland as well.
Re:The future of Wayland, and Sway's role in it by renox on Friday October 20, 2017 @04:34AM (#15514338)
No need to wait. AFAIK currently there is no way in the 'pure wayland' world to display remotely windows unless you use X11. Are there VNC application on top of Wayland?