Ask HN: Is it a good time to switch to Ubuntu 18.04 desktop?

41 points by alexanderdmitri ↗ HN
I've been doing my dev work on Ubuntu 16.04 for years now and I love it. How are people who have updated to the latest version liking it? Would you recommend upgrading?

69 comments

[ 3.5 ms ] story [ 142 ms ] thread
Works wonderfully, especially with the updated packages and performance enhancements. If you need something from 16.04 or 14.04 there is always VMWare with the Virtualization Extensions enabled which allowed me to still use KVM and older packages when testing backwards compatibility.
If you just need an older Linux distro on Linux, use Docker or LXC. Containers allow you to easily share files and there's no performance overhead or messing around with virtual hard drives.
I've tested Linux Mint 19 (based on Ubuntu 18.04) on a spare laptop and it seems to be working well for my use case. I'll be upgrading my main machine soon. I prefer Mint Cinnamon's UI to Ubuntu's.
Here's what I do, I shrink a partition on my HDD (or have it already partitioned so theres space for several OS partitions,

Then I install the latest and greatest on the free space or a much older distro partition, leaving my current work distro safe on its own partition,

Next I copy over as much of the contents my current home folder as I can. Now, I can truly "taste" the new distro and if it isn't a good transition I just go back to my current favorite. I've found I probably install a new favorite distro twice, first time is to check it out, mess with stuff decide if its an improvement or not, and ensure everything still works. Then re-install the second time, now knowing what I like from the new one and just install with the packages/settings that work.

Any time I get stuck or have some unexpected difficulty I still have the previous favorite distro to boot back to in an emergency.

18.04 is stable. Feel free to go ahead and grab a copy. PPA's are also up to speed.

If you want to hop on board a rolling release, firmware-buster-DI-alpha3-amd64-DVD-1.iso will give you a fully working debian testing install with closed source drivers.

(Weekly builds are known to fail from time to time)

Then, pair that with a sources.list generator: https://debgen.simplylinux.ch/

And one more ingredient: if you use gnome 3, you may have to copy a file to get gnome extension installation via chrome working. Copy the contents of /etc/chromium/native-messaging-hosts/ to /etc/opt/chrome/native-messaging-hosts/.

A bit off topic: for gnome 3 extensions, this has been indispensable: https://extensions.gnome.org/extension/723/pixel-saver/

For tiling window managers, I recommend i3: https://i3wm.org/

Tried 18.04 for an afternoon, it effected a wide variety of system freezes on my ancient i7 920 + GTX570, so, back to rock-solid Debian 9.
For what it's worth, I had moved to 18.04 from 16.04 and regret it. Booting takes longer, and I have an NVidia 1070 but NVidia XServer Settings has stopped working and if I try to run it it hangs the systems where the only option is to hard boot.
This is the same thing that happened to me. It got to be such a bear to boot up that I eventually moved to Solus, which is a lovely, snappy, refreshing distribution. Really enjoying it. Beware of 18!
The issue is the new linux kernel used by 18.04. Nvidia drivers break. In fact if you install debian, that waits before upgrading the last kernel, you do not have any problems.
(comment deleted)
I managed to revive a 2010 Macbook Pro that had an issue with the logic-board/GPU. Ubuntu 18.04 works flawlessly on it. Although Gnome is a little heavy, so my i3 setup with some XFCE settings works very well.
I also have a 2010 MBP with a logic board problem. How did you manage to revive it?
I just installed Xubuntu on it. I suppose it uses the integrated GPU by default? As far as I can tell, it was the switching between GPUs that was causing the machine to crash on macOS. I recall having installed gfxCardStatus on it to stop the switching, but it wasn't super-reliable.

Anyway, it works pretty well now for some dev work and light browsing. Hope you manage to fix yours!

I've been using 16.04 since release and loved it. It was my first Linux daily driver after dumping Windows due to dislike of the way MS has handled Windows 10.

I just bought a new drive, so took the opportunity to install 18.04 to see how it goes. I'm using a Latitude E7450 with a 1920x1080 touchscreen. I'm not a developer, I'm primarily a network engineer, so I spent a lot of time in terminal windows configuring routers/switches,etc... YMMV.

I hate it. Most of my hates are around the gui, likely due to the switch from Wayland/Unity. I can no longer alt-tab between open windows with one hand when you have multiple windows of the same program open. Selecting which window you want requires either using the mouse, or using the arrow keys(with right hand).

The "launcher" -- not sure what it's actually called, the equivalent of the Windows Start menu, reminds me of the jarring experience that the original Windows 8 was. It goes into full-screen task selection mode, instead of a partial window overlay like 16.04 did.

Somehow I keep grabbing the icons on the left side('favorited' programs), and then the cursor won't let them go. I wind up spamming enough buttons and keys that eventually it drops it, but a simple click doesn't do it.

Sometimes the mouse quits registering clicks. As if the OS thinks there something on top of what I'm clicking on. I click on a tab in Chrome, and nothing happens. Usually a few alt-tabs to switch active programs will clear it up.

If you touch the screen, most of the time an onscreen keyboard will pop up, and you have to move the mouse to make it go away. I understand why, but I don't use the touchscreen that way and it just gets in my way.

1920x1080 on a 14" screen it just a little too small for me to comfortably read the text at a normal distance. I used the DPI scaling in 16.04 to compensate. But the scaling in 18.04 doesn't work the same way. I changed the fonts around and sort-of got something workable, but it's not as graceful as it was in 16.04.

The alt-space window that drops down the minimize/maximize options doesn't accept keyboard commands. A common key sequence for me is alt-space, x (for maximize window) -- this doesn't work in 18.04

That's my annoyances so far that I can think of after using it for 2-3 weeks.

Things that I like? Multiple tabs in the terminal window. But I could probably get that in 16.04 too.

The network manager is better and more intuitive. I've actually caught myself using it a couple of times. 16.04's manager does nothing but fight with me constantly.

There was an annoying issue with Chrome on 16.04 that occasionally in full-screen video mode, the UI would lock up and I would have to kill -9 chrome to get it back. This hasn't happened yet in 18.04. Not sure if a chrome or Wayland issue.

The relocation of the gui window close/min/max elements doesn't bother me, either layout works for me.

I can't think of any other things that jumped out at me about 18.04, good or bad.

Btw, for the tab behaviour - just go to https://extensions.gnome.org/extension/15/alternatetab/ in your browser and click install.

Gnome is configurable using the browser.

That's better, but I really got used to 16.04's method. It grouped the tasks, but a pause on the task group would open it and sub-subsequent alt-tabs would switch between windows inside the group.
Wow. Some of the bug reports here sound pretty obvious. I wonder if your touch screen is the reason why so many issues are occuring... That or Wayland/Ubuntu isn't right at all.
I don't know if I would call all of them bugs.

The non-registering clicks thing, yes.

The rest...are likely just preference issues, difference in features, and intended behavior. Such as the lack of keyboard shortcuts in the alt-space menu.

Most can probably be dealt with in one way or another. It's just going to be time consuming to go dig and find out how to make the OS stay out of my way. I'll likely be going back to 16.04 soon until 18.04 gets a little more baked.

It looks like I can get Wayland with 18.04[1], so I may try that first.

[1] https://askubuntu.com/questions/1029436/enable-fractional-sc...

> Some of the bug reports here sound pretty obvious

That describes the state of ubuntu these days. More often than not when you get an issue you can find a bug report for it to and the bug report was opened 3 versions ago, never addressed and closed automatically by a bot. It seems they've been busy chasing squirrels and ignored the desktop.

My pet peeve with all recent versions (so xorg and wayland) has been user switching not working, but at least 18.04 is the first version that doesn't boot to an unusable resolution.

> I can no longer alt-tab between open windows with one hand when you have multiple windows of the same program open. Selecting which window you want requires either using the mouse, or using the arrow keys(with right hand).

Doesn't the combination Alt+` do what you intend to do? Alt+tab changes between different apps, and Alt+` changes between different windows of the same app.

possibly, I will try tomorrow when I'm on the laptop again.
Maybe you would enjoy i3 if you spend lot of time with terminal windows.

It’s a little scary at first, but 4 major key combos are all you need.

mod+enter: open terminal

mod+d: open launcher; the default is dmenu, but rofi is amazing.

mod+h: split horizontally when opening next window

mod+v: above but vertically

I personally have a setup with i3-gaps, rofi, and polybar: https://u.cubeupload.com/Bwbw223/170E026006774C45A65E.png

It’s a bit ugly stock, though...

50/50 splits don't work well in practice. Splits right in the middle of the eyes. And assumes all tiles have the same importance and deserve equal screen space. Whereas with large central monitor the positioning and split ratios are very important. 50/50 rarely works well. 60/40, 70/30, are more sensible
In i3 it is very easy to adjust the split ratio. hit mod + r and you are in resize mode.
I think so, since a few packages I use recently turned out to be too old (vs the current mainstream) in the stock repos. E.g. Go, Docker.
If you are considering a switch, do give Fedora a shot. I moved after a decade of Ubuntu.

All the technologies that won out (systemd, gnome, Wayland,etc) were created at Fedora. So the level of integration is unparalleled.

Ubuntu still seems to be fighting it's choices.

You should inform the developers of i3, KDE Plasma, etc. that they can retire now that GNOME has "won out".
I don't think I said that Gnome has won out (and neither should it).

I was making a comparison between two Gnome based distros. In case you were not aware, Ubuntu is now Gnome.

Actually, that's exactly what you said.
i can see why you would think that based on the language, but it was very contextual.

it was fedora vs ubuntu - gnome, wayland and systemd had their equivalents in ubuntu (unity, mir and upstart) which lost the battle. Ubuntu then adopted the winners. I meant that specifically - not a general comment across Linux

> “the level of integration is unparalleled”

Can you elaborate?

I had moved to Ubuntu 18.04 from Xubuntu 16.04 and I like it. Everything is stable. Also I installed it on my parents' laptop, which had Windows before, and they got used to it quickly. Still, I never used Ubuntu 16.04 so I cannot compare with it, but I didn't like Unity UI.
I would avoid Ubuntu. They take carry a LOT of patches that are not upstreamed (for whatever reason) and they have a long history of ignoring community trends and being extremely divisive for no good reason.
Have any recommendations?
Googler's workstations use Debian Testing (customized). It might be a good start.
I do. Manjaro (arch-based rolling release distro). The installer is second to none except maybe suse, the hardware detection is also second to none, having worked for me with all kinds of combinations of cpu/vid card. It has one more thing that is super awesome as well, which is the easiest kernel management system I've ever messed with. I also really think that rolling release is the optimum current release model, another reason I like it. It has access to the aur (arch user repository).

I highly recommend the xfce4 version, (most user issues on the forums are kde based and not manjaros fault) even though I am fully over on awesome now. I also don't like lightdm that much so I like replacing that too. In general, that's the arch principle (KISS, remove the cruft, use what you want, replace things and customize them)

Source: someone who distro hops all the time, maintains all kinds of systems, and who has been using manjaro as a daily for ~1 yr.

> hey take carry a LOT of patches that are not upstreamed (for whatever reason)

I have spent some time looking at bug tracking for Ubuntu with regards to PDF files.

IMHO, FLOSS support of PDF's on Linux has never been that good, although it has gotten better over time (although it is still problematic). For example this file - https://web.archive.org/web/20100215043153/http://www.ratp.i... - loads fine on most platforms, but in Linux FLOSS (evince with poppler) it might take over 30 seconds to render. Because it had an O(n^2) algorithm running over part of the PDF, something other software on other platforms seems to avoid (even the closed source Adobe reader for Linux).

So I spent a lot of time looking at it. But it takes a little bit of domain knowledge to deal with it. Most people load up evince and have a problem reading a PDF and report it to Ubuntu evince bug channel. But the problem with PDF rendering is often up the library dependency chain - with poppler the PDF renderer. So sometimes I curate tickets and move the ticket from the evince queue to the poppler queue when I see there is a problem.

But poppler often depends on cairo, and sometimes (not often) the rendering problem is in cairo, not poppler. So it goes even higher up the library dependency chain, kicked from evince up to poppler up to cairo.

But sometimes it can't be dealt with locally at Ubuntu, so you log into freedesktop.org and report the problem to them there (or chime in to an existing ticket about another manifestation of a problem). Then you link the Ubuntu cairo queue ticket to the upstream fd.o cairo one.

So some domain knowledge is needed - I informally curate the Ubuntu evince queue, and kick a ticket up to poppler, then with a closer look kick it further up to cairo, then I kick that ticket up to the official cairo queue at fd.o and link the ticket (actually sometimes the chain is evince -> poppler -> cairo -> pixman, as some seeming cairo issues are actually pixman issues).

One reason I've done some curation of this is, as I demonstrated with the pdf above, Linux FLOSS pdf support is not so hot, despite the heroic efforts of Albert Astals Cid of poppler and his cohorts. So I jumped in and did some curation of Ubuntu tickets, and fd.o tickets, and even tickets of other Linux distros. I even attempted to write patches for this complex C++ program, but I lacked the time to get a handle on the code base.

In summary, it takes some domain knowledge to upstream things properly for any distro.

For a work machine my advice is to make sure the tools you depend on work well on 18.04. Docker for example didn't have a stable version in their repos until June 22nd. Other tools like MySQL Workbench and the Redis equivalent (who's name escapes me) do not have 18.04 compatible versions.

Otherwise, Kubuntu 18.04 has been very stable for me for several months.

Personally I like to keep it simple, stupid and light which is xfce for me.

If I need a desktop, I always configure the system to use xfce which means 16.04 and 18.04's desktop GUI are the same.

It also means that the vm with GUI under Mac/Windows has the same GUI and also very light. I can configure 512M -2G RAM per VM and they works just fine.

I'm in the same boat, and settled on LXDE after trying XFCE. Either one seems to work great even on cheap or old hardware, and there are way fewer surprises that more featureful desktop environments.
Would not recommend upgrading. I tried it out in a VM, and it's not that it's bad. It's just how solid 16.04 is. It's a joy to work in that environment, and if I'm going to upgrade my OS when things are so smooth, it better be to have a better experience.
Wow. Some of the bug reports here sound pretty obvious. I wonder if your touch screen is the reason why so many issues are occuring... That or Wayland/Ubuntu isn't right at all.

Thomas Abril Consultant en Paris Sportifs https://bookmaker-foot.weebly.com/

I prefer Debian testing + KDE for desktop needs including gaming. Rolling distros are in general more up to date especially with Mesa and kernel updates. Unless you configure extra repositories, stable or LTS distros will fall behind a lot.
Ubuntu Budgie has been a rock for me. Utterly stable. Very useable.
I wish I didn't. My experience was so bad I'm actually back on Windows for the first time since 12.04 and might stay here.

It was an X/driver issue and it took me a few hours to fix to just get X to load. Meanwhile, Windows worked fine as I furiously Googled the issue.

Windows and Linux are not apples to apples. One you pay for and one you don't.
Could you expand on this? Of course they're different. 18.04 isn't worth the upgrade yet in my opinion.
My husband had Windows installed on our only desktop at home and recently I installed Ubuntu 18.04 to do development. I hated it on Windows 10.

It's not as great as developing on my 2015 Macbook Pro but its acceptable.

I would recommend it. I've used it at home for a bit, I only recently switched away from it on my workstation to Antergos.

I still feel that 16.04 was a bit more traditional, and I liked that a lot. If you're happy with 16.04, I'd reccomend sticking. I won't be upgrading my machine at work for a long while, which is still 16.04.

If you are reasonable comfortable in Linux and a developer, I'd strongly recommend Arch with i3 window manager. Pacman is fantastic. The initial setup is a bit of a pain, but it's so much smoother and more stable from that point forward.
How is Arch "more stable" than Ubuntu LTS?

How is maintaining an Arch installation "so much smoother"? The user must carefully review a PKGBUILD every time any installed AUR package needs to be updated[1], which will happen frequently because the user will need many AUR packages to make up for the fact that there are only 10,200 Arch packages[2], much less than Ubuntu's 81,563 packages[3].

[1] https://www.reddit.com/r/archlinux/comments/3yiq4s/is_the_au...

[2] https://www.archlinux.org/packages/

[3] https://packages.ubuntu.com/cosmic/allpackages?format=txt.gz

I ran Arch for a couple years and agree with OP that it "feels" smoother and more stable. The documentation is fantastic, like FreeBSD, and you end up with a streamlined system you understand well if you go through the manual process.

I moved back to Ubuntu only so I could use the same ansible scripts locally as prod.

I think running a long term support distro is silly for non critical devices.

I personally use Debian Testing, maybe take this chance to try it? I've never had a stability issue across the 4 different devices I use.

How is it silly? I've used Debian Stable and Ubuntu LTS on desktops for many years. I've always had the latest versions of all the apps I use thanks to backports, repos managed by upstream developers (e.g., PPAs) and occasionally installing software from source. (Disclosure: I don't use GNOME, KDE or any other DE, which can be problematic to keep updated.)

Also, many upstream developers who provide packages for Debian and Ubuntu (e.g., PostgreSQL[1][2] and Spotify[3]) only test their software on Debian Stable and Ubuntu LTS.

Lastly, Debian Testing has the worst security update speed and should not be preferred if security is a concern.[4]

[1] https://www.postgresql.org/download/linux/debian/

[2] https://www.postgresql.org/download/linux/ubuntu/

[3] https://www.spotify.com/us/download/linux/

[4] https://wiki.debian.org/DebianTesting

I'm under the impression OP is asking about a distro for their laptop or desktop.

My question to you is, why use an old kernel + packages when you could have newish ones with a reasonable degree of trust? Is avoiding the extremely rare bug worth it?

re:PPAs I prefer my machines packages to be downloaded from trusted sources. The distro developer package vetting and accountability adds value.

I would suggest Fedora if your going to use gnome it has far better consistency in my opinion. Ubuntu have switched to installing default apps like system monitor and some others using snap. There's some inconsistencies if you use other GTK themes besides the default.