How To – Permanently Have Desktop Mode on Chrome Mobile for Android

If there’s one thing about Chrome for Android that I despise, it’s the lack of being able to permanently set the browser to desktop mode when browsing on our tablet or large phone. Data plans and larger screens allow for us to emulate carrying around a desktop, and it should provide us with a desktop experience without having to muck about with loading the mobile one first. Thanks to Google and it’s fantastic ability to search everywhere at once, we were lucky enough to stumble upon a solution on the Google Chrome Forum.

Launching chrome with a command line flag telling it to use a desktop user agent is simple and only requires pushing one file to a root directory – meaning that you’re going to need to be rooted. Simply grab the file from the link provided below and drop it into /data/local/ while settings the permissions to 755. This tells Chrome that it needs to run using a desktop user agent and therefor loading desktop sites no matter what; you are also able to replace the user agent inside the quotes with any from this site ( or any that you can find on the web ) to have your tablet display a tablet-like interface if you went with the iPad UA for example. Grab the file from below and drop it in to let us know how it goes. It’s worked on all of our devices so far running both ICS and JB.

Still skeptical or want a video walkthrough?

Heads up:

If the file downloads anything other than a blank file (eg: chrome-command-line.txt, chrome-command-line.bin) then rename it to only “chrome-command-line” and paste it in the correct location. 

chrome-command-line file download

ADB Instructions (for non-rooted devices)

Place the file in the root directory of your PC and make sure your device is connected to your computer. When connected, issue this command:

adb push /chrome-command-line /data/local/chrome-command-line

You can also set the path on your computer where the file is located by replacing the first ‘/chrome-command-line’ with the file location.

Source: Chrome Forums

Be Sociable, Share!

  • Ricardo Moura Rocha

    Awesome!!!!! Thank you so much, this “fixes” the biggest flaw on chrome for me!

    • droidnerds

      Our thoughts exactly! Chrome is a great browser, but really made browsing a huge PITA by having to click that every time.

  • Tim Morrison

    Mine downloads to just text…on a large white field.
    Plus how

    • droidnerds

      If yours opens up as a text file in the browser, then copy the text into a blank file named “chrome-command-line” and follow the instructions above!

  • DrJohnTheDayTripper

    Erm… isn’t it just a case of pulling down the menu from the top right hand corner and checking “request desktop site”?

    • droidnerds

      If you want to do that for every site you visit, then yes, it’s that simple.

    • http://www.facebook.com/GStadium John Saltwell

      Yes, but we really shouldn’t have to do that every time. And we need a way to fix this issue WITHOUT being rooted.

      • droidnerds

        As a heads up, you can apparently push the file via ADB to that location as well without root.

  • Rafael Soares Pinheiro

    You Sir, are a genious!

  • Marc

    Awesome! Worked like a charm!

  • neel

    Thank you so much. I was just tired of doing the ‘request desktop ua’ every time I open a new Tab.

  • http://profiles.google.com/kalavere Chris Popely

    Excellent, thanks a lot for this super handy tip!

    My Nexus 7 is as good as perfect with Paranoid Android, Franco’s kernel and a plethora of little hacks and mods. LOVE Android!

  • kokakoalak

    nice thanks. anything like that to make chrome full screen?

  • fad

    where to put this string ?

    • http://profiles.google.com/kalavere Chris Popely

      Did you read the post? It tells you what to do. It can be found and modified at /data/local/.

  • Pingback: Set up user agent to desktop mode on Chrome for Android

  • Pingback: XDA: Nastavte, aby se mobilní chrome vždy tvářil jako desktopový webový prohlížeč | Androidmarket.cz

  • Pingback: Google Chrome auf Android zu Desktop-Modus zwingen » mobiFlip.de

  • tt

    Call me a noob: While trying to push via adb it tells me: *daemon started successfully*, error: device not found. –> what do I need to do? The nexus 7 is correctly connected via USB…?

  • hisuwh

    I get “Permission Denied” when I try to do this with my nexus 10

  • peter

    Hi, even though this patch worked perfectly with my non-rooted ASUS TF101 on ICS, there is no way i can get it to work with my non-rooted ASUS TF700 (on JB). When i run adb it says “permission denied”. has anyone got this working on a TF700? and if so, what am i doing wrong?

  • http://twitter.com/RogerWTurner Roger W Turner

    “adb push” without root gives “Permission denied”. Is there a fix? [Nexus 7]

  • Jim Night

    Permission denied on Asus TF300 running unrooted Android 4.2.1

    Is there a fix for this issue?

    • Chris

      There is indeed, root your device, lol.