Live data from Hacker News

Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

github.com

101–108 of 108 posts

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#101

The worst of both worlds! The Windows kernel and the Linux UI! I kid; I kid. Looks fun.

Right... You can make Windows 10 look like a unix workstation from 1995.

ITT people who never worked with gnome shell, kde or even i3, awesome, xmonad,...

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#102
post #81

Earlier quoted context omitted.

>but imho the Windows desktop since 7 is better than most on the linux side. Are you by any chance a fan of minimalism? Windows desktop by default comes with almost no features at all – be it about window management, file management, network connectivity (shares) or anything else. Personally I find using a plain Windows desktop an exercise in frustration for that.

I rarely have to touch network connectivity, and as to file management, what's wrong with launching an explorer window? I will use Win+arrow to use a portion of the screen for a given app, and on mac I use moom for that. And yes, I'm a bit of a fan of minimalism. I find that managing the apps I use the most, and navigating between open app instances to be easier in windows than anything else... the windows taskbar +…

Oh man, I didn't know about the win+arrow functionality. I can now do one command to stick one window to a side of a multi-monitor setup! This is killer :)

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#104

Earlier quoted context omitted.

I rarely have to touch network connectivity, and as to file management, what's wrong with launching an explorer window? I will use Win+arrow to use a portion of the screen for a given app, and on mac I use moom for that. And yes, I'm a bit of a fan of minimalism. I find that managing the apps I use the most, and navigating between open app instances to be easier in windows than anything else... the windows taskbar +…

If Windows implemented a global menu bar like Mac - I'd stop using computers. I hate the global menu bar. It's the worst thing about the Mac operating system IMO. I am not sure how anybody thinks it's a good idea. Probably about once a week, I go to click on a menu on my Mac only to find out that the menu doesn't even belong to the app window that I was looking at. That's a show stopper to me and I honestly don't und…

Maybe it's just the frustration of config/settings/preferences being in different locations for every freaking application on windows. It's definitely not consistent...

    File -> Settings
    File -> Preferences
    Edit -> Settings
    Edit -> Options
    Edit -> Preferences
    Tools -> Settings
    Tools -> Options
Anything but consistent. In mac it's `[AppName] -> Preferences` always. And maybe you're right about each window having its' own menu bar.. all the same, I wouldn't call it consistent, as it really isn't.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#105

Earlier quoted context omitted.

I rarely have to touch network connectivity, and as to file management, what's wrong with launching an explorer window? I will use Win+arrow to use a portion of the screen for a given app, and on mac I use moom for that. And yes, I'm a bit of a fan of minimalism. I find that managing the apps I use the most, and navigating between open app instances to be easier in windows than anything else... the windows taskbar +…

Oh man, I didn't know about the win+arrow functionality. I can now do one command to stick one window to a side of a multi-monitor setup! This is killer :)

One of my favorite things added in win7 iirc... once pinned to the right/left can up/down to use 1/4 the screen... I'm using a 40" 4k display, so it really works out nicely.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#106
post #29

Earlier quoted context omitted.

What windowing system do you use this with?

I just saw I read it wrong. Are you referring to seamless mode? I use mate for that.

The question was not as clear as it could've been but this was the answer I was looking for. Thanks mate.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#107
post #94

Earlier quoted context omitted.

Not directly related to this thread but I want to have a little moan about the Steam client, so here goes: When I open Steam it opens in the Store view in the main window, and the promotions pop-up also appears with sales and promo info. Great, except that 90% of the time the main store page and the pop-up are pushing Windows only games. I game on an iMac and occasionally on a Linux laptop. I have never bought a Wind…

AFAIK, you can disable the the pop-up and you can set which page should be opened by default. Steam > Settings > Interface.

So have the consumer do the work that should be done by the for-profit company whose job is to sell, market and profit. I believe the burden of work lies with Valve, I don't need more games, it's up to Valve to sell them to me.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#108

Earlier quoted context omitted.

In flowchart decision points, it's clearer to make "yes" co-linear and "no" orthogonal. Likewise I prefer to structure cyclomatic complexity like this by doing something like if not return else if not return Rather than if if if ...

Early returns here will require duplicated free() calls, which makes it hard to prevent leaks. This coding style is standard practice for Win32 API development.

> This coding style is standard practice for Win32 API development.

Do you have a public style guide that indicates this?

I worked at Microsoft, and while there are teams that (very unfortunately) went with this "diamond" style of error handling, code written in the CNF (Cutler Normal Form) style, such as the kernel code, use gotos and a central cleanup point at the end of the function, which is also the same style used by the Linux kernel: https://github.com/torvalds/linux/blob/master/Documentation/...

The "diamond" style hinders readability, especially when you have many levels of indentation). While it may be a practice adopted by many people, that is does not necessarily mean that it is good style. Even Steve McConnell's Code Complete, a book published by Microsoft Press, recommends early returns over deeply nested if statements for error handling: https://books.google.com/books?id=LpVCAwAAQBAJ&lpg=PA764&ots...

Unfortunately, the Win32 API is full of technical debt, many of which cannot be repaid due to backwards compatibility reasons. Given it is likely most application code written against Win32 is in C++, the ideal approach would be to follow an object-oriented style and use destructors and RAII rather than cleanup functions, but that is not the world we live in.

The design of the Win32 API should not be used as guidelines for good coding practices or even API design. If you haven't already, I highly recommend reading "The Worst API Ever Made": https://mollyrocket.com/casey/stream_0029.html.

Post reply on HN