Upgrading a Laptop: a few notes

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.  Yes, users of Real Operating Systems are probably laughing, and I wish Ubuntu had a migration tool as nice as Apple’s (assuming theirs still works).  But if you’re like me and choose to use a penguin-themed operating system, you might find these notes useful.

This isn’t meant to be a proper HOWTO, more of a list of notes to myself for the next time I do this.

Tips:

  • Migrating from machine to machine is much easier when they are both running the same OS.  In my case, I had Ubuntu 18.04 installed on both machines.
  • Don’t change your username.  Keep it simple!
  • Screen resolution and hard drive size were the same.  Again, minimizing change means your existing preferences will move over perfectly.

Process

  1. Do a basic installation on the new machine, just enough that it’s booting and your user exists.
  2. Make a backup of your home directory. You should use rsync for this. The instructions I followed include steps on how to do this.
  3. Export your package manager configuration, including the package sources and their keys.
  4. Generate a list of all of the packages that were installed on the old machine.
  5. Set up your new machine with the same packages sources and keys
  6. Tell the new machine to install the entire list of packages you saved.
  7. Reboot once
  8. Sync your user data to the new machine
  9. Reboot again
  10. Pray

I didn’t even need to migrate my /etc directory.  OK my printer config vanished, but that was easy enough to set up again.

To do all of those steps I followed these instructions.  There were some weird packages installed on the old machine that it couldn’t find, but none of them really seemed to make a difference.  The new machine was working as of the very first reboot, with the following one major issue, and a few minor issues.

Issues

Major Issue: Battery Drain During Sleep

YIKES.  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.  It also felt warm even after having been “asleep” for hours.  It turns out this is a problem with the default sleep method being set wrong.  The default is set to “s2idle” when “deep” is the right answer.  See this AskUbuntu post for details about how to check for and fix this problem.

Touchpad

By default, the new touchpad uses two fingers to right click instead of the right side of the pad.  I decided to revert back to what I was used to be changing a setting:

gsettings set org.gnome.desktop.peripherals.touchpad click-method areas

Mouse Cursor

The mouse cursor has always been the bane of my existence.  I like the DMZ-Black cursor instead of the default white.  For some reason there are two places where the mouse cursor theme is set.  One is in GNOME settings, but the other is system-wide.  So I needed to use gnome-tweaks, and then also:

sudo update-alternatives --config x-cursor-theme

And then reboot.

Printer

Because I hadn’t copied my /etc directory I had to reinstall my printer software.

Conclusion

On the whole the migration was very uneventful.  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.  But for an operating system that is still lousy on the desktop, it actually works pretty nicely and is pleasant to use.  Here’s to another 5 years before I need to do this again!

2 thoughts on “Upgrading a Laptop: a few notes”

  1. Living in OC or every coastal city close to the ocean comes with countless perks, nonetheless it additionally presents unique challenges. One such challenge involves the possibility damage resulting from moisture and humidity to the drywall inside our homes. In this blog post, we will delve into the vitality of prompt drywall repair and talk about the specifically targeted considerations for homeowners in Orange County and different coastal cities. By grasping the risks and taking proactive measures, residents can ensure the longevity and structural integrity of the homes.

    Comprehending the Impact of Moisture on Drywall
    Drywall, a standard building material employed for interior walls and ceilings, is vulnerable to moisture damage. In coastal areas, the proximity into the ocean heightens the chance because of higher humidity levels and occasional moisture intrusion from the salty air. When moisture seeps into drywall, it could cause various issues, including:
    Mold and Fungi Growth: Excess moisture generates a great environment for mildew and mold to thrive, compromising indoor quality of air and posing health threats.
    Structural Weakness: Wet drywall undermines and loses its structural integrity, potentially resulting in sagging, cracks, and sometimes even collapse.
    Aesthetical problems: humidity damage often occurs in unpleasant discolorations, bubbling, ripping paint, and texture decline in quality, lowering the visual appeal of your house.

    Prompt Drywall Repair: Avoiding Beyond Hurt
    Fixing drywall swiftly is essential to prevent further harm and reduce repairs bills. Stalling repairs can exacerbate provide troubles, ultimately causing additional complete and over-priced building work. Consider listed here explanations why timely drywall maintenance is really important:
    Mold Mitigation: protecting humidity-related issues promptly reduces mold increase and spread out, protecting your family's health.
    Sustaining Structural Integrity

    : restoring impaired drywall guarantees the stability and basic safety of your property, avoiding possibilities hazards.
    Stopping Secondary Damage: Moisture-damaged drywall may impact adjacent materials such as for example insulation and solid timber framework. By restoring drywall quickly, you can easily avoid additional harm and connected repairs.
    Cost Efficiency: Early detection and repair of drywall issues are far more cost-effective than waiting until the harm ends up being dangerous. Seasonably servicing preserve you against widespread changes furthermore possibilities resettlement costs.

    Tips for Drywall Commitment in Coastal Sections
    Residing close to the seaside necessitates added care and attention to preserve the stability of one's drywall. Check out useful strategies for home-owners in Orange County and seaside towns and cities:
    Ordinary reports: Perform routine visual assessments of the drywall, being mindful of signs and symptoms of dampness harm, such as for example staining, peeling painting, or soft spots.
    Controlling moisture content: Use blow dryers or air conditioning units to regulate in-house wetness levels, especially during the humid months.
    Ensuring air-flow: See to it appropriate venting in washrooms, the kitchen, and other areas susceptible to moisture buildup. Set and keep exhaust fans to remove excess humidity.
    Frequently retaining the Exterior: Periodically look over your property's outer walls, including the roofing, gutters, and house windows, to spot and fix any likely aspects of wetness invasion.
    Fixing piping water leaks: Fix any plumbing leaks punctually to prevent waters from dripping to the partitions and making drywall havoc.
    Professional help: Seek the services of practiced general contractors for good assessments and improvements to fix any present or interested drywall trouble.

    Bottom Line
    In coastwise parts like OC, timely drywall restore is crucial to mitigate the dangerous effects of wetness to your humidity. By understanding the potential risks associated with humidity damage and taking on assertive strategies, house owners can easily assure the durability, well-being, and visual benefit of his or her own homes.

    I value greatly the finding of this website because of its wealth of valuable knowledge and factual content. The website.com has demonstrated to be an invaluable asset, providing vital knowledge on a diverse subjects. Its extensive collection of information has made it an indispensable instrument for study, learning, and staying informed. I am astounded by the site's dedication to accuracy and trustworthiness, making sure that visitors can count on the knowledge they discover. I am eager about suggesting this site to my companions, as it offers a unique opportunity to explore and gain a wealth of knowledge easily. I recommend them to visit Newport Beach CA water cleanup and uncover the plethora of ideas it has to offer.

    Secrets for Long-Term Durability in Drywall Rectification Repair a1627de

  2. Businesses are transformative forms. Once it manifests to parting with or enlarging, the ideal tactic is imperative. Desiring the help of a skilled agent can offer that imperative viewpoint. With years and years of familiarity and sector insight, they supply strategic guidance and advice that can reveal inestimable.

    https://tambaymergers.com/blog/maximizing-roi-on-your-tampa-commercial-property-investment
    [url=https://fsestory.net/2023/11/08/bonjour-tout-le-monde/#comment-293]Having Forward regarding the Curve: Tampa Bay Company Broker Experience[/url] 0f5f6ab

Comments are closed.