{"id":1858,"date":"2018-08-02T17:31:12","date_gmt":"2018-08-02T22:31:12","guid":{"rendered":"http:\/\/ywwg.com\/wordpress\/?p=1858"},"modified":"2018-08-02T17:34:09","modified_gmt":"2018-08-02T22:34:09","slug":"upgrading-a-laptop-a-few-notes","status":"publish","type":"post","link":"https:\/\/ywwg.com\/wordpress\/archives\/1858","title":{"rendered":"Upgrading a Laptop: a few notes"},"content":{"rendered":"<p>I recently replaced my 2013 Dell XPS 13 with a 2018 Dell XPS 13. This was a very smooth transition, but I thought it was worth publishing some notes on the process.\u00a0 Yes, users of Real Operating Systems are probably laughing, and I wish Ubuntu had a migration tool as nice as Apple&#8217;s (assuming theirs still works).\u00a0 But if you&#8217;re like me and choose to use a penguin-themed operating system, you might find these notes useful.<\/p>\n<p>This isn&#8217;t meant to be a proper HOWTO, more of a list of notes to myself for the next time I do this.<\/p>\n<h2>Tips:<\/h2>\n<ul>\n<li>Migrating from machine to machine is much easier when they are both running the same OS.\u00a0 In my case, I had Ubuntu 18.04 installed on both machines.<\/li>\n<li>Don&#8217;t change your username.\u00a0 Keep it simple!<\/li>\n<li>Screen resolution and hard drive size were the same.\u00a0 Again, minimizing change means your existing preferences will move over perfectly.<\/li>\n<\/ul>\n<h2>Process<\/h2>\n<ol>\n<li>Do a basic installation on the new machine, just enough that it&#8217;s booting and your user exists.<\/li>\n<li>Make a backup of your home directory. You should use rsync for this. The instructions I followed include steps on how to do this.<\/li>\n<li>Export your package manager configuration, including the package sources and their keys.<\/li>\n<li>Generate a list of all of the packages that were installed on the old machine.<\/li>\n<li>Set up your new machine with the same packages sources and keys<\/li>\n<li>Tell the new machine to install the entire list of packages you saved.<\/li>\n<li>Reboot once<\/li>\n<li>Sync your user data to the new machine<\/li>\n<li>Reboot again<\/li>\n<li>Pray<\/li>\n<\/ol>\n<p>I didn&#8217;t even need to migrate my \/etc directory.\u00a0 OK my printer config vanished, but that was easy enough to set up again.<\/p>\n<p>To do all of those steps I\u00a0followed\u00a0<a href=\"https:\/\/askubuntu.com\/questions\/9135\/how-to-backup-settings-and-list-of-installed-packages\">these instructions<\/a>.\u00a0 There were some weird packages installed on the old machine that it couldn&#8217;t find, but none of them really seemed to make a difference.\u00a0 The new machine was working as of the very first reboot, with the following one major issue, and a few minor issues.<\/p>\n<h2>Issues<\/h2>\n<h3>Major Issue: Battery Drain During Sleep<\/h3>\n<p>YIKES.\u00a0 This was not fun to discover. I quickly saw that my new Dell XPS 13 (9370) Laptop running Ubuntu 18.04 was draining battery while sleeping (suspended), at least 5% per hour.\u00a0 It also felt warm even after having been &#8220;asleep&#8221; for hours.\u00a0 It turns out this is a problem with the default sleep method being set wrong.\u00a0 The default is set to &#8220;s2idle&#8221; when &#8220;deep&#8221; is the right answer.\u00a0 See <a href=\"https:\/\/askubuntu.com\/questions\/1029474\/ubuntu-18-04-dell-xps13-9370-no-longer-suspends-on-lid-close\/1036122#1036122\">this AskUbuntu post<\/a> for details about how to check for and fix this problem.<\/p>\n<h3>Touchpad<\/h3>\n<p>By default, the new touchpad uses two fingers to right click instead of the right side of the pad.\u00a0 I decided to revert back to what I was used to be changing a setting:<\/p>\n<pre>gsettings set org.gnome.desktop.peripherals.touchpad click-method areas<\/pre>\n<h3>Mouse Cursor<\/h3>\n<p>The mouse cursor has always been the bane of my existence.\u00a0 I like the DMZ-Black cursor instead of the default white.\u00a0 For some reason there are two places where the mouse cursor theme is set.\u00a0 One is in GNOME settings, but the other is system-wide.\u00a0 So I needed to use gnome-tweaks, and then also:<\/p>\n<pre>sudo update-alternatives --config x-cursor-theme<\/pre>\n<p>And then reboot.<\/p>\n<h3>Printer<\/h3>\n<p>Because I hadn&#8217;t copied my \/etc directory I had to reinstall my printer software.<\/p>\n<h2>Conclusion<\/h2>\n<p>On the whole the migration was very uneventful.\u00a0 I realize that I have a major advantage, being comfortable with Debian systems and apt commands and rsync, and not everyone can or wants to put up with this kind of procedure.\u00a0 But for an operating system that is still lousy on the desktop, it actually works pretty nicely and is pleasant to use.\u00a0 Here&#8217;s to another 5 years before I need to do this again!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently replaced my 2013 Dell XPS 13 with a 2018 Dell XPS 13. This was a very smooth transition, but I thought it was worth publishing some notes on the process.\u00a0 Yes, users of Real Operating Systems are probably laughing, and I wish Ubuntu had a migration tool as nice as Apple&#8217;s (assuming theirs &hellip; <a href=\"https:\/\/ywwg.com\/wordpress\/archives\/1858\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Upgrading a Laptop: a few notes&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/1858"}],"collection":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1858"}],"version-history":[{"count":3,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/1858\/revisions"}],"predecessor-version":[{"id":1861,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/1858\/revisions\/1861"}],"wp:attachment":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}