Installing Debian/XFCE (Linux) on Dell XPS 13 9350

Well, this is off topic for the theme of the blog, but I felt the urge to record an expurgated version of my recent installation of Linux on a new Dell XPS 13 (9350), for the potential edification of the populace.  I will try to make it brief, by my standards 🙂  [but I guess I failed..]  This is not in any way an objective post, but I am just blowing off steam and letting my opinions fly.  Please skip over if you are looking for actual educational material…

As tweeted earlier, a Pi day discount tempted me into the purchase of a 13″ Dell XPS (model 9350).  I had been following Dell primarily due to their Linux support on via the Developer Series, and had been tempted on many occasions in the past.

I should also mention that dating back to the fin-de-siècle, I have been a Linux user.  Although I have occasionally strayed away, for most of the time, Linux computers have formed the core of my computing infrastructure.  In Linux, I can do what I want to do, rather than simply obey the instructions of other OSes.  In recent years, I converted from the Fedora sect to become a Debian adherent, and I have been very satisfied with that choice.

Still, the computer I bought was NOT a Developer’s Edition, but a new Windows 10 machine.  In the past, I have usually put Linux onto either very standard or slightly older hardware, and didn’t have FEAR that it would not work.  My working laptop recently has been a leftover 2010 Macbook Pro running Debian only, and it has no real issues, but it is running hot and noisy.   Since this XPS laptop was brand new with the latest technology, I have to confess that for a moment or two I even considered leaving Windows on the machine and using it in dual boot mode.  But two minutes in Windows 10 erased any of those doubts.  Seriously, why would anyone voluntarily remain in that depressing environment if they had the possibility of escape?

So, I committed to putting Debian on the machine as its sole operating system, and began Googling to get ready.  I learned that the Dell-rebranded Broadcom wireless card was not being supported, except in bleeding edge kernels, and was not very good anyway.  And also that Intel wireless cards worked easily with Linux.  Thanks to Dell, because they put a wonderful service manual online and don’t mind users operating on their own hardware (unlike the fruit-themed gadget company).  I ordered an Intel Wireless card.  Due to a bit of carelessness, I picked a 9260 instead of the 9265 model.  The 9265 is supported natively in the kernel, whereas the 9260 requires a download of Intel proprietary drivers [more on this later].  But, in spite of my nerves, popping open and disassembling my brand new laptop was a piece of cake, and it went back together just as good as new.  I am liking Dell from the hardware perspective.

Then, I prepared a USB boot stick to install Debian 8 (Jessie).  So, I had to fidget about a bit with the UEFI/BIOS settings to get the Dell to want to boot from the stick, but eventually made it happen.  Then I went through a couple of abortive installation attempts because of the aforementioned wireless drivers, which needed to be loaded from a second USB stick.  I am sorry I can’t really document it completely here, but only more fiddling until I found the right combination that would recognize one USB as the boot media and one USB as the supplemental driver files allowed me to proceed.  During that phase, I began to worry that I had gone too far by buying a slim fancy device without an ethernet port, but I survived.  I would still lean towards getting a computer with a real ethernet port in the future though, just for safety.  Turns out the Linux drivers for the USB-C to Ethernet are reported to be fussy too.

On to the next complication… Did I mention that I not only like Linux and Debian, but prefer XFCE as my desktop?  Because I am old school and don’t care for eye candy at all.  It was the horrible broken experience of GNOME 3 that drove me away from Fedora.  I just want a desktop that stays out of my way and does the work (is that some antiquated colonialist mindset? perhaps, but I think it is still OK to exploit a computer, right?).  Anyway, XFCE has been my go-to for the last 4-5 years.  I respect LinuxMint/Cinammon too for their attempt to correct the awful GNOME decisions that were forced on unsuspecting users.  But XFCE has done the job for me.  So, I was willing to work overtime to get XFCE as my desktop.

Now, I have done Debian/XFCE installs on a number of desktops, and my Macbook too.  But somehow, the Debian 8 XFCE install (at the time of writing) had one major issue.  I finished the installation, but could only login to XFCE desktop as root, not as a user.  There was some kind of weird permissions issue, or some problem with the install scripts.  I am experienced in Linux, but not expert, so extensive Googling on this topic failed to resolve the issue.  What did work was to do a standard Debian install with Cinammon as the default desktop.  And only after that was working did I install XFCE.  That worked like a charm.  Hopefully someone who has more knowledge of what could cause this would fix it for the young generations.

I also had to try a few different configurations before getting my preferred configuration of encrypted hard drive and swap space, while leaving a bit of open /boot directory.  I wish there was a better-documented path for this too.  Somehow encryption is still considered to be a slightly exotic option, when it shouldn’t be.

Ok, so now I am excited because I have a working Debian/XFCE install on my new laptop.  My hand-installed wireless is working, and everything is looking up.  BUT, I have NO SOUND, and it appears that the lack of sound is also causing any standard (e.g., YouTube) videos to play too fast.  I take a deep breath.  More googling reveals that this is an issue with the Dell 9350 model’s audio, and that future kernels will handle it.  But my Debian 8 kernel does not handle it, and I cannot use my expensive laptop to watch my favorite YouTube videos!!!!  I use all of my experience in “taming my dog of desire” to reconcile myself to the situation.  I can use my laptop as a wonderful distraction-free zone to code and write wonderful things.  What do I need sound for?  After all, Plato and Muhammad both condemned music.  Yes, what do I need sound for?  Ok, I will live without sound on my laptop 😦

But, after getting everything else configured to my liking, I was ready to keep experimenting.  Is that not the whole point of Linux?  To experiment, to control your own working environment?   Not to blindly obey when a popup window says, “You must update now”, or “You must click ‘accept’ to continue”, or “Operation not permitted”.  Right, this is Linux, so let’s go!

In practice, what that meant was that I attempted a full upgrade from Debian 8 (jessie) to Debian 9 (stretch), even though 9 is not yet stable.  What was my motivation?  Well, to confess, at least 90% of the motivation was to get that audio working.  Because if this is the kind of world where we can’t listen to music on our laptops, is that the kind of world that we want to live in?  We want our music, and we want control of our computers too!

Now, the Debian instructions are very clear and very good, and after editing my apt sources, I was able to update and upgrade, and within a very, very short period of time, had my entire OS running a very current set of applications with crystal clear audio and video.  I now have pretty close to my full suite of applications (R, RStudio, Mathematica, Claws-mail, LaTeX, LyX, Gummi, all of the old favorites…).  Now I am content!  I then had to go and customize my desktop settings and browser to a very dark theme and plaster my laptop with some stickers to make it seem more like my own.  Too much, probably, but it is a small thing that makes me happy 🙂  My family says I’m crazy, but I get that all the time anyway…

20160413_174415 20160413_174124 20160413_174104 20160413_174046 20160413_174014





7 responses

  1. Thomas MARTIN | Reply

    Hello “ryandata”,

    first let me thank you for your report on installing Debian on the xps 13 and showing the pitfalls which may make the task difficult.

    Having the same notebook, I just shrinked the main partition of the originally installed Ubuntu 16.04 to get space for Debian.

    Have you experienced any difficulties due to the fact that you are using Debian 9 before its official release (perhaps abt. 10/2017) or are you still happy with it ?


    1. Glad it was useful, Thomas. I have had no issues with Debian 9 – in fact everything is running great! Only the initial splash screen still shows Debian 8 from my initial setup. I’m sure there’s a way to fix that, but I haven’t bothered so far. The laptop has been serving me very well since initial configuration. I especially enjoy that the Dell’s hardware control buttons for volume, screen brightness, and keyboard lighting work reliably at all times. That was not true of prior linux/laptop combos I have tried in the past.

  2. Thomas MARTIN | Reply

    Hello “ryandata”,

    Thank you for your response!

    Encouraged by your experience I decided to directly install Debian stretch (forseen for Debian 9) and not to install Debian 8.5.. initially from testing on my dual boot notebook (keeping the originally installed Ubuntu 16.04)

    And yes — it works on my xps 13 9350 developer edition.
    Well concerning the touchpad I’ll have to do some enhancements to get it work like under Ubuntu 16.04 but apart from that I am really glad that I now have Debian available on my xps 13.

    Thanks again

  3. Thomas MARTIN | Reply

    Well… it should read:

    I decided to directly install Debian stretch (forseen for Debian 9) initially from testing on my dual boot notebook and not to install Debian 8.5..before.


  4. Hello Ryan, quick question, do you have the 3200×1800 or 1920×1080 resolution? Thank you.

    1. It’s 1920×1080. I am not sure of the benefit of 3200×1800 on a small screen like this, plus I have heard it saves battery to have the lower resolution.

  5. Nice! I just got one through work; I’m a Linux sysadmin by trade and the boss got one a while ago so I thought I’d give it a try.

    I’ve not got rid of Ubuntu 16.04 yet (I usually use Slackware at home) as I know the OS fairly well from work and I know I’ll spend forever messing about with it.

    Looks very well put together so far.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

<span>%d</span> bloggers like this: