{"id":69,"date":"2020-08-17T07:54:15","date_gmt":"2020-08-17T07:54:15","guid":{"rendered":"https:\/\/machine-learning.webcloning.com\/2020\/08\/17\/ubuntu-17-10-a-last-minute-review\/"},"modified":"2020-08-17T07:54:15","modified_gmt":"2020-08-17T07:54:15","slug":"ubuntu-17-10-a-last-minute-review","status":"publish","type":"post","link":"https:\/\/salarydistribution.com\/machine-learning\/2020\/08\/17\/ubuntu-17-10-a-last-minute-review\/","title":{"rendered":"Ubuntu 17.10: a last minute review"},"content":{"rendered":"<div readability=\"112.65305717311\">\n<ul class=\"unstyled inline blog-info\">\n<li>\n<i class=\"icon-calendar\"><\/i> October 8, 2017<\/li>\n<li>\n<i class=\"icon-user\"><\/i> <a href=\"http:\/\/blog.datumbox.com\/author\/bbriniotis\/\" title=\"Posts by Vasilis Vryniotis\" rel=\"author\">Vasilis Vryniotis<\/a>\n<\/li>\n<li> <a href=\"http:\/\/blog.datumbox.com\/ubuntu-17-10-a-last-minute-review\/#comments\">. 3 Comments<\/a>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/ubuntu-17-10-artful-ardvark-770x432.jpg\" alt=\"\" class=\"alignnone size-large wp-image-821\" width=\"770\" height=\"432\">On October 19 2017, Ubuntu 17.10 will be released and as many of you know it packs lots of significant changes. I spend a week testing the <a href=\"http:\/\/releases.ubuntu.com\/17.10\/\" target=\"_blank\" rel=\"noopener noreferrer\">Beta 2<\/a> and in this \u201clast minute\u201d review, I document some of the less obvious features\/gotchas of Ubuntu 17.10. I also share with you my experience and provide a few workarounds for some problems that I spotted. For a more conventional review, have a look at OMGUbuntu\u2019s excellent <a href=\"http:\/\/www.omgubuntu.co.uk\/2017\/09\/ubuntu-17-10-beta-2-download\" target=\"_blank\" rel=\"noopener noreferrer\">blogpost<\/a>.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/ubuntu-17.10.jpg\" alt=\"\" class=\"alignnone size-full wp-image-846\" width=\"750\" height=\"422\" srcset=\"http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/ubuntu-17.10.jpg 750w, http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/ubuntu-17.10-300x169.jpg 300w\" sizes=\"(max-width: 750px) 100vw, 750px\">For those of you who don\u2019t know me, I\u2019m a creature of habit and an Ubuntu fan-boy, so when Canonical announced that they are <a href=\"https:\/\/insights.ubuntu.com\/2017\/04\/05\/growing-ubuntu-for-cloud-and-iot-rather-than-phone-and-convergence\/\" target=\"_blank\" rel=\"noopener noreferrer\">ditching Unity<\/a> I was not particularly happy. Nevertheless, even though Unity had some great features and it was particularly appealing to me, I find it a bit pointless to try and go against the flow of the river (manually installing Unity 7, using one of the community forks etc). What it\u2019s done is done and from my point of view one should try to adjust to the new reality or choose a different distro.<\/p>\n<p>On the positive side, Unity always shipped with a very large number of Gnome programs so most of the applications you used are still available by default. Moreover there are lots of interesting Gnome Extensions that can help you configure your desktop to be more unity-like. For instance the <a href=\"https:\/\/extensions.gnome.org\/extension\/307\/dash-to-dock\/\" target=\"_blank\" rel=\"noopener noreferrer\">Dash to Dock<\/a> extension will allow you to customize the Dash (location, launcher button, styles etc) and offers significantly more options than the default forked extension offered by Ubuntu. For those of you who are fond of the Indicator Applets, Canonical <a href=\"https:\/\/extensions.gnome.org\/extension\/615\/appindicator-support\/\" target=\"_blank\" rel=\"noopener noreferrer\">forked<\/a> the <a href=\"https:\/\/extensions.gnome.org\/extension\/1031\/topicons\/\" target=\"_blank\" rel=\"noopener noreferrer\">Top Icons Plus<\/a> extension (which is now <a href=\"http:\/\/www.omgubuntu.co.uk\/2017\/09\/top-icons-plus-development-paused\" target=\"_blank\" rel=\"noopener noreferrer\">discontinued<\/a>). For me the official Indicator extension was enough and covered most of the functionalities that I want but your mileage may vary. Another useful extension is the <a href=\"https:\/\/extensions.gnome.org\/extension\/1198\/start-overlay-in-application-view\/\" target=\"_blank\" rel=\"noopener noreferrer\">Stay Overlay in Application View<\/a> which is a not very intuitive way of saying that you will get the Application View (Gnome\u2019s equivalent of Unity Dash) if you press the Windows\/Super button. These 3 plugins were enough for me to reproduce the bare minimum of Unity and make Gnome more user-friendly. For those of you who liked the Global Application Menu\/HUD you can use an <a href=\"https:\/\/extensions.gnome.org\/extension\/1250\/gnome-global-application-menu\/\" target=\"_blank\" rel=\"noopener noreferrer\">unofficial plugin<\/a>; I personally have not tested it.<\/p>\n<p>Wayland is the default session for Ubuntu 17.10 and replaces Xorg (even though Xorg is still available). Unfortunately at the time of writing the article, a serious bug remained unresolved which led to the crashing of several applications. The <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/synaptic\/+bug\/1712089\" target=\"_blank\" rel=\"noopener noreferrer\">problem<\/a> seems to affect pkexec\u2019ed, su-to-root and gksu\/gksudo applications and according to the bug reports popular programs such as synaptic, backintime, gui-ufw and bleachbit do not work. Several workarounds have been proposed such as running <code>xhost +si:localuser:root<\/code> and then <code>sudo synaptic<\/code> or switching to Xorg until this is patched. Not the end of the world but definitely annoying.<\/p>\n<p>Even though Unity packed a large number of Gnome applications, most of them were seriously modified. As a result on Ubuntu 17.10 you should expect to find some noticeable differences. For example the Archive Manager does not support exports by drag and drop (maybe it\u2019s a bug?), the save dialog of gedit changed, Nautilus\u2019 navigation and right click menus are different etc. Finally some programs such as the system-config-lvm are not yet available on the latest version.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/deja-dup-s3-770x367.png\" alt=\"\" class=\"alignnone size-large wp-image-851\" width=\"770\" height=\"367\" srcset=\"http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/deja-dup-s3-770x367.png 770w, http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/deja-dup-s3-300x143.png 300w, http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/deja-dup-s3-768x366.png 768w, http:\/\/blog.datumbox.com\/wp-content\/uploads\/2017\/10\/deja-dup-s3.png 924w\" sizes=\"(max-width: 770px) 100vw, 770px\"><br \/>The default Backup application of Unity had a very cool feature. By installing a simple plugin, one could take <a href=\"http:\/\/mooooo.ooo\/deja-dup-s3-backups\/\" target=\"_blank\" rel=\"noopener noreferrer\">automated backups on Amazon S3<\/a>. Deja Dup supports also encryption so this yielded a cost effective and secure solution. Unfortunately the developers of the application decided to <a href=\"https:\/\/wiki.gnome.org\/Apps\/DejaDup\/Clouds\" target=\"_blank\" rel=\"noopener noreferrer\">Deprecate several storage services<\/a>, among them Amazon S3. They provide a series of reasons of why they did it, but for me this is a very poor choice. One of their core arguments is that Google Drive is more user-friendly than Amazon S3 for the casual users. Fair enough but I thought that Linux was all about the freedom of customization and choice. Moreover Linux typically attracts a large number of power-users comparing to other conventional operating systems. Removing Amazon S3, a solid cloud storage option, makes Ubuntu poorer not richer in terms of options and usefulness.<\/p>\n<p>Thankfully for now the plugins are still supported but they are hidden. So if you have setup the required libraries (check the first linked article) and run the following command on terminal <code>gsettings set org.gnome.DejaDup backend 's3'<\/code> you should still be able to take backups on S3.<\/p>\n<p>My laptop manufacturer mapped special operations such as Increasing\/decreasing the lighting of the screen and the sound volume on the F1-12 buttons. Thankfully to activate them you need to press them along with the \u201cFn\u201d button. So far so good. Unfortunately, they also had the amazing idea of placing the sleep button next to the sound volume button, which leads to accidents and drives me crazy. On Unity it was relatively straight forward to disable it, either via gui (dconf editor) or via the console using the following commands:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ngsettings set org.gnome.settings-daemon.plugins.power button-suspend 'nothing'\ngsettings set org.gnome.settings-daemon.plugins.power button-sleep 'nothing'\ngsettings set org.gnome.settings-daemon.plugins.power button-hibernate 'nothing'\n<\/pre>\n<p>Unfortunately on Gnome these commands don\u2019t work for my laptop. Thankfully it\u2019s Linux, you can customize everything! So after searching for an hour and reading random forum messages and blogposts, I found the following working solution:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nxmodmap -e 'keycode 213 = NoSymbol' #XF86Suspend\nxmodmap -e 'keycode 150 = NoSymbol' #XF86Sleep\n<\/pre>\n<p>Ubuntu 17.10 looks good and with some customization you can make it more usable. There are some gotchas\/bugs\/problems but hopefully they will all be addressed before the 18.04 LTS. We all need to keep in mind that this is not a LTS version and Canonical tries to iron out the transition from Unity to Gnome. Having said that, it\u2019s a no-brainer that you should not install 17.10 on a production machine. It\u2019s worth trying it out on your secondary PC or on a Virtual Machine; hopefully this will smooth your transition.<\/p>\n<p>For me testing Ubuntu 17.10 was a good opportunity to move all of my installation scripts from ugly bash scripts to <a href=\"https:\/\/www.ansible.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Ansible<\/a>. For those of you who have not used Ansible, it\u2019s an open-source free automation engine which simplifies provisioning, configuration and management of servers. You write scripts in YAML and Python, which beats coding in Bash any day. During the process I ended up writing an <a href=\"https:\/\/galaxy.ansible.com\/datumbox\/jprofiler\/\" target=\"_blank\" rel=\"noopener noreferrer\">Ansible role for installing Jprofiler<\/a> since I could not find any existing solution on Ansible Galaxy. I ended up open-sourcing it so if you use JProfiler in your development give it a try. ?<\/p>\n<div class=\"authorsure-author-box\" readability=\"8.4210526315789\">\n<img decoding=\"async\" loading=\"lazy\" alt=\"\" src=\"http:\/\/0.gravatar.com\/avatar\/0d9cf005f5d9fbbe42b6723e723a7f76?s=90&amp;r=g\" srcset=\"http:\/\/0.gravatar.com\/avatar\/0d9cf005f5d9fbbe42b6723e723a7f76?s=180&amp;r=g 2x\" class=\"avatar avatar-90 photo\" height=\"90\" width=\"90\"><\/p>\n<h4>About\u00a0<a rel=\"author\" href=\"http:\/\/blog.datumbox.com\/author\/bbriniotis\/\" class=\"authorsure-author-link\">Vasilis Vryniotis<\/a><br \/>\n<\/h4>\n<p>My name is Vasilis Vryniotis. I&#8217;m a Data Scientist, a Software Engineer, author of Datumbox Machine Learning Framework and a proud geek. <a href=\"http:\/\/blog.datumbox.com\/author\/bbriniotis\/\">Learn more<\/a><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/blog.datumbox.com\/ubuntu-17-10-a-last-minute-review\/<\/p>\n","protected":false},"author":1,"featured_media":70,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/69"}],"collection":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":0,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media\/70"}],"wp:attachment":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}