{"id":3646,"date":"2020-01-27T10:00:25","date_gmt":"2020-01-27T16:00:25","guid":{"rendered":"https:\/\/www.foell.org\/justin\/?p=3646"},"modified":"2023-04-17T10:01:01","modified_gmt":"2023-04-17T15:01:01","slug":"xps-13-developer-edition-settings","status":"publish","type":"post","link":"https:\/\/www.foell.org\/justin\/xps-13-developer-edition-settings\/","title":{"rendered":"XPS 13 Developer Edition Settings"},"content":{"rendered":"\n<p>Here are the other miscellaneous settings I&#8217;ve done with my new XPS13 Developer Edition. It doesn&#8217;t cover all the settings I like, just the ones that seem to be particular to this laptop.<\/p>\n\n\n\n<p>My favorite feature by far is the built-in firmware update functionality:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a class=\"thickbox\" href=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6518.jpg\" rel=\"gallery-3646\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-attachment-id=\"3563\" data-permalink=\"https:\/\/www.foell.org\/justin\/xps-developer-edition-dongles-and-settings\/img_6518\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6518.jpg\" data-orig-size=\"3024,4032\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"img_6518\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6518-768x1024.jpg\" src=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6518-768x1024.jpg\" alt=\"\" class=\"wp-image-3563\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6518-768x1024.jpg 768w, https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6518-225x300.jpg 225w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n\n\n\n<!--more-->\n\n\n\n<p>The light at the bottom\/front of the case isn&#8217;t well explained. It turns solid white during charging. It blinks white occasionally and what that means still remains a mystery \u00af\\_(\u30c4)_\/\u00af<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a class=\"thickbox\" href=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6585.jpg\" rel=\"gallery-3646\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-attachment-id=\"3555\" data-permalink=\"https:\/\/www.foell.org\/justin\/xps-developer-edition-dongles-and-settings\/img_6585\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6585.jpg\" data-orig-size=\"4032,3024\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone 7&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1570520962&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.99&quot;,&quot;iso&quot;:&quot;250&quot;,&quot;shutter_speed&quot;:&quot;0.25&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"img_6585\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6585-1024x768.jpg\" src=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6585-1024x768.jpg\" alt=\"\" class=\"wp-image-3555\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6585-1024x768.jpg 1024w, https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6585-300x225.jpg 300w, https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6585-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>It for sure goes amber when there&#8217;s 10% or less battery life remaining.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a class=\"thickbox\" href=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6708.jpg\" rel=\"gallery-3646\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-attachment-id=\"3567\" data-permalink=\"https:\/\/www.foell.org\/justin\/xps-developer-edition-dongles-and-settings\/img_6708\/\" data-orig-file=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6708.jpg\" data-orig-size=\"4032,3024\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone 7&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1571399456&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.99&quot;,&quot;iso&quot;:&quot;80&quot;,&quot;shutter_speed&quot;:&quot;0.16666666666667&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"img_6708\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6708-1024x768.jpg\" src=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6708-1024x768.jpg\" alt=\"\" class=\"wp-image-3567\" srcset=\"https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6708-1024x768.jpg 1024w, https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6708-300x225.jpg 300w, https:\/\/www.foell.org\/justin\/files\/2019\/10\/img_6708-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Settings Reference<\/h2>\n\n\n\n<p>Here are other settings in detail that I did in other posts:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.foell.org\/justin\/simple-hidpi-monitor-scaling-with-wayland-in-ubuntu-18-04\/\">HiDPI with Wayland and a non-HiDPI external monitor.<\/a><\/li><li>Using the <a href=\"https:\/\/www.foell.org\/justin\/windows-xcv-cut-copy-paste-in-ubuntu\/\"><del>Windows<\/del> Linux-X\/C\/V key combinations for Cut\/Copy\/Paste<\/a>.<\/li><li><a href=\"https:\/\/www.foell.org\/justin\/chaining-dnsmasq-and-resolved\/\">Chaining Dnsmasq and resolveconf<\/a> for the best DNS setup.<\/li><li><a href=\"https:\/\/www.foell.org\/justin\/xps-developer-edition-dongles-and-settings\/\">USB-C adapters<\/a> &#8211; go big or go home.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Boot time<\/h3>\n\n\n\n<p>The boot time on this laptop is strangely long &#8211; consistently 2 mins 20 seconds before I would see the login screen. <a href=\"https:\/\/askubuntu.com\/a\/289\/803610\">I changed the grub configuration so I could see what the hold-up was by pressing escape on the splash screen<\/a>. I also used <a href=\"https:\/\/www.tecmint.com\/systemd-analyze-monitor-linux-bootup-performance\/\"><code>systemd-analyze blame<\/code><\/a> to confirm what I saw: the network.service was taking too damn long. Turns out it was my fault. Ubuntu 18.04 introduces a service called <a href=\"https:\/\/netplan.io\/\">netplan<\/a> to handle network adapter configuration. I had added a <a href=\"https:\/\/www.foell.org\/justin\/virtualbox-connect-to-ubuntu-host-served-website\/\">loopback alias like I normally do the old way<\/a>. Netplan didn&#8217;t like that, so I removed my <code>lo:0<\/code> entries from <code>\/etc\/network\/interfaces<\/code> and added the following <a href=\"https:\/\/netplan.io\/examples#configuring-a-loopback-interface\">netplan configuration<\/a> file:<\/p>\n\n\n\n<p><code>sudo vi \/etc\/netplan\/02-loopback-alias.yaml<\/code><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">network:\n  version: 2\n  renderer: networkd\n  ethernets:\n    lo:\n      addresses: [ 127.0.0.1\/8, \"::1\/128\", 10.254.254.254\/32 ]\n<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Update:<\/strong> I had to add the &#8220;normal&#8221; localhost addresses for <code>lo<\/code> as well. Without them in Ubuntu 20.04 when I would resume after suspend\/sleep <code>lo<\/code> would come back online with only <code>10.254.254.254<\/code>. Then DNS wouldn&#8217;t work because connections to <code>127.0.x.x<\/code> <a href=\"https:\/\/www.foell.org\/justin\/chaining-dnsmasq-and-resolved\/\">for resolved &amp; dnsmasq<\/a> would not work.<\/p><\/blockquote>\n\n\n\n<p>Then I applied the change with <code>sudo netplan apply<\/code>. Boot time went from over two minutes to under 20 seconds.<\/p>\n\n\n\n<p>It&#8217;s not immediately apparent that the loopback alias is available from looking at <code>ifconfig<\/code>. Instead use <code>ip address<\/code> to confirm it&#8217;s there:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000\n    link\/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n    inet 127.0.0.1\/8 scope host lo\n       valid_lft forever preferred_lft forever\n    inet 10.254.254.254\/32 scope global lo\n       valid_lft forever preferred_lft forever\n    inet6 ::1\/128 scope host \n       valid_lft forever preferred_lft forever\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">X Applications that Require Root (sudo)<\/h3>\n\n\n\n<p>Because I&#8217;m running Wayland, apps that you can normally start with <code>sudo<\/code> (like synaptic) will give this response on the command line:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>Unable to init server: Could not connect: Connection refused<br>\n(synaptic:29383): Gtk-WARNING **: 13:31:07.736: cannot open display: :0<\/code><\/p><\/blockquote>\n\n\n\n<p><a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/synaptic\/+bug\/1712089\">Here&#8217;s one solution<\/a>, but I instead put the file in <code>~\/.config\/autostart\/xhost.desktop<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bluetooth Mouse<\/h3>\n\n\n\n<p>My <a href=\"https:\/\/www.foell.org\/justin\/microsoft-mouse-3600-and-ubuntu-16-04-lts\/\">Microsoft Mouse 3600<\/a> seemed slow at first, so I <a href=\"https:\/\/superuser.com\/a\/929755\/550670\">turned the mousepoll up to maximum<\/a> velocity. I&#8217;m not sure if it&#8217;s 100%, but I do think it feels better.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Deep Sleep<\/h3>\n\n\n\n<p>I&#8217;ve always been envious of MacBook owners being able to close the lid of their laptop and come back to it days later without losing any charge. <a href=\"https:\/\/askubuntu.com\/questions\/1029474\/ubuntu-18-04-dell-xps13-9370-no-longer-suspends-on-lid-close\">I made these changes to better the battery savings<\/a>, but I still manage about 8% charge loss per day that it&#8217;s not fully off.<\/p>\n\n\n\n<p>Are there any configuration changes I missed? This thing is still pretty new, so I&#8217;m also still getting used to it. Let me know in the comments if you have any other tip\/tricks.<\/p>\n<div class='kindleWidget kindleLight' ><img decoding=\"async\" src=\"https:\/\/www.foell.org\/justin\/wp-content\/plugins\/send-to-kindle\/media\/white-15.png\" \/><span>Send to Kindle<\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>Here are the other miscellaneous settings I&#8217;ve done with my new XPS13 Developer Edition. It doesn&#8217;t cover all the settings I like, just the ones that seem to be particular to this laptop. My favorite feature by far is the built-in firmware update functionality: Send to Kindle<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Boot time slow in Ubuntu 18.04? I've got a fix, plus some other goodies for the new XPS13 Developer Edition","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,8],"tags":[169,164,167,168],"class_list":["post-3646","post","type-post","status-publish","format-standard","hentry","category-business","category-ubuntu","tag-bluetooth","tag-dell","tag-usb","tag-xps13"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/comments?post=3646"}],"version-history":[{"count":9,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3646\/revisions"}],"predecessor-version":[{"id":4048,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3646\/revisions\/4048"}],"wp:attachment":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/media?parent=3646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/categories?post=3646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/tags?post=3646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}