9 ms·
Setting Up A Chromebook Development Laptop
- MrMeker 13y agoI have the same setup on mine. Aside for a weird trackpad grounding issue that sometimes messes up the screen after extended two finger scrolling while on battery power, it is really nice. I just have to touch the VGA port every few minutes. I am planning on expanding the RAM to somewhere between the 2GB it came with and the 16GB it supports. I might also put in a laptop hard drive.
- OafTobark 13y agoHow is the trackpad if you keep it stock?
- thebiglebrewski 13y agoIt's really not amazing. Considering buying a mini-mouse for this guy.
- thebiglebrewski 13y agoCool, I was considering upgrading RAM on it at some point if necessary. How were you able to get two finger scrolling working in Ubuntu?
- someperson 13y agoDoes anybody have a way to do Android development on a ARM Chromebooks? The Android SDK is not available on ARM (probably will never be). I have used AIDE (https://play.google.com/store/apps/details?id=com.aide.ui&hl=en https://play.google.com/store/apps/details?id=com.aide.ui&hl...) to with Github and Dropbox with some success, but I feel it could be a lot more polished - but it works as far as I can tell. A Chromebook + modern Android smartphone/tablet is powerful enough to provide a very good development environment (no need to emulate a device). It's held back by Eclipse being slow and bloated and Android SDK being unavailable. Is there any hope for me other than getting a more powerful laptop? I feel like I people around the world should be able to write great Android software with a Chromebook + android device, but they currently can't
- devx 13y agoYeah, with 64-bit ARM chips and 4GB+ RAM devices coming out soon, it's time for Google to prepare an ARMv8-based SDK at least. They wouldn't need to support earlier hardware, since they're not that powerful anyway.
- thebiglebrewski 13y agoI'm fairly confused why it doesn't come standard on Chromebooks. Google has a vested interest in encouraging Android app development and if dev mode on the Chromebook came with it, I'm sure they'd see a lot more people trying their hand at Android development. On the other hand, if you're already writing Java, you probably have a powerful enough machine to handle it.
- seabrookmx 13y agoI picked up the original Samsung Series 5 chromebook for $250 on sale. It gets the same battery life as the new ARM-based model, has a nicer screen (1280 x 800 vs. 1366 x 768 - more vertical real-estate) and is only slightly thicker. Oh, and it has a fan, but it isn't too loud. There's nothing stopping me from writing Android software on this device since it's x86.
- HorizonXP 13y agoI did it, although you probably won't like how. I ran the Android SDK from a remote VM on EC2. I would edit my files in Vim on there, and run ant to build the APK, and adb install to install it to my locally connected device. I can't remember if I actually forwarded the USB port, or if I established an SSH tunnel to install via "WiFi". Either way, I think they both work. I was able to do significant amounts of Android development this way. That said, I've switched to an rMBP, and use IntelliJ. The code completion and syntax correction is out of this world. It's definitely better than my old setup.
- brianfcoleman 13y agoI have used crouton to install Debian with xfce on my Samsung Chromebook. It's a bit on the slow side compared to my Macbook Pro running Ubuntu but the lack of a fan makes it an awesome little machine. I just wish that there was a version of the Pixel with an arm processor inside.
- Nursie 13y agoCrouton is a good thing then? I know a friend of mine said it works well, and you effectively get a full DE running alongside ChromeOS on (effectively) another virtual desktop. I've been dual-booting my ARM chromebook with Chrubuntu on an SD card, though debian is my preferred distro. I find that 90% of the time ChromeOS (with 'Developer Mode' shell unlocked) is good enough for what I use a computer for. The other 10%, well rebooting is pretty quick.
- brianfcoleman 13y agoI haven't tried dual booting but the nice thing about having debian in a chroot is that I can easily switch back and forward between ChromeOS and XFCE. Plus I'm guaranteed that all the hardware is fully supported. When I have encountered an issue with crouton, it's a sufficiently small project that you can hack up the scripts to work around stuff. David Schneider, who maintains the crouton project is also very responsive to any issues that are reported.
- thebiglebrewski 13y agoHe really is! He got back to my GitHub issue in a manner of hours. That guy rocks.
- jolby 13y agoI recently got a Samsung Chromebook, set it up with Crouton and absolutely love it. I ended up not even using X11 in the chroot'ed linux partition. I just use crosh + tmux + emacs and its a great little dev environment. I was even able to get clojure+nrepl working! (using the new arm7 hard-floating point jdk build). Probably the biggest issue is the small amount of local storage, so you have to commit to doing dev work on remote servers over ssh for larger projects, but I was already doing that anyways. I was initially just going to use this laptop as a short stop-gap while I saved up a bit for a new macbook air, but right now, I don't feel any need.
- drwl 13y ago> go into read article about chromebook development > signup for nitrous.io
- thebiglebrewski 13y agoHaha so tru
- moonchrome 13y agoAs much as I like the idea of 200$ dev machines for students if they already have working laptops by far the easiest and uniform solution would be to distribute virtual box images, have students install virtual box and develop inside that, even that cheap Acer would be enough to run a ruby dev virtual box. You can even install all ruby gems, packages and w/e you need for the class before you distribute it for convenience.
- Bahamut 13y agoVirtualization is a bit of a flawed solution - I have had issues trying to virtualize Ubuntu on my Windows 8 desktop (my gaming machine) that would drive me nuts, and would be far worse for students just entering web development. It is still too fragile IMO.
- rjbond3rd 13y agoHmm, fragile in what way? For me, VMware Player has had only a couple minor hiccups in several years, and even VirtualBox has been (buggier but) very usable. (My machines are non-gaming.)
- Bahamut 13y agoI had breaking issues like Unity crashing on a fresh VM install of Ubuntu.
- yareally 13y agoYou can actually install Linux with Hyper-V. I use Windows 8 Pro x64 much of the time at home and have a Debian VM set up with Hyper-V. Though, I do not use a desktop, I just SSH into it for development. Plus side is you can keep a 512MB VM running all the time without caring if it's consuming resources that way.
- moonchrome 13y agoI've worked with different virtualization tools on different machines, the biggest hassle is configuring the image which is done once by the teacher - once it's set up it's really easy to distribute it and then it should work identically on all clients assuming they installed the software and image correctly.
- tbarbugli 13y ago9Gigs of disk space...
- thebiglebrewski 13y agoIt doesn't seem like much, but this is why we have GitHub and the cloud!
- rwmj 13y agoI used a Chromebook running Fedora 17 (dual boot on a separate SD card, not chrooted) for 2 weeks and wrote about it[1]. In summary, not too bad. Even better: recently someone worked out how to fully root it so you can enable hardware virtualization and sign your own kernels[2]. [1] http://rwmj.wordpress.com/2013/01/16/some-thoughts-after-2-5-weeks-with-the-samsung-chromebook/#content http://rwmj.wordpress.com/2013/01/16/some-thoughts-after-2-5... [2] http://lwn.net/SubscriberLink/568943/fd91a17213c1e788/ http://lwn.net/SubscriberLink/568943/fd91a17213c1e788/
- thebiglebrewski 13y agoThat is pretty sweet as well. The separate SD card option is definitely appealing since it's just a tad more permanent then installing onto a USB drive. Awesome article!
- thebiglebrewski 13y agoAlso, yes, I can echo the trackpad not working so well and suspend kind of failing to do it's job - only seems to work after opening and closing the laptop several times.
- chernevik 13y agoDoes crouton have issues with hibernation on lid close? I've been using ChrUbuntu, and it is great, but it often fails to wake up after a lid close.
- thebiglebrewski 13y agoIt actually does, which is kind of sad...I sometimes have to close and open 2 or 3 times before it wakes up. It's weird though because you can still vaguely see the screen image as if it's just a problem with the backlight.
- Nick_C 13y agoTry ssh'ing into it and see if you can get a shell. `xbacklight -get` shows the current backlight setting. Also, when resuming I often get this in /var/log/syslog: "ACPI: No _BQC method, cannot determine initial brightness".
- thebiglebrewski 13y agoHmm, I guess I could SSH into it but it seems a bit more trouble then it's worth! I don't mind opening the lid 2 or 3 times...although I wish they'd fix the kernel on that one.
- cmiles74 13y agoMaybe you could try using XBindKeys to configure a hotkey that toggles the backlight on.
- MatthewPhillips 13y agoI love developing on a Chromebook but I use ChromeOS because I prefer it... am old laptop to use as a server and Secure Shell app is all I need.
- thebiglebrewski 13y agoTrue that, I could totally get by on just vim but I'm sure my beginner students would be a little intimidated! ChromeOS is pretty amazing, I love the simplicity.
- bond 13y agoIf only could be used for android development...
- seabrookmx 13y agoIt can. I have the Android SDK on my Samsung series 5.. There's only a single Chromebook that runs on an ARM chip. I have no idea why everybody thinks all these devices are ARM based.
- readme 13y agoIt can, but it would suck. You need a bigger monitor than a chromebook has for android development. You definitely need at the very least, 2 monitors. Also, the CPU would be so slow on that thing that eclipse would run like molasses. IntelliJ might be faster but I kind of doubt that too. Of course, you don't need an IDE, but lets face it: most people developing for android are going to use an IDE. Not the sdk tools + vim or emacs. Those really aren't sufficient because you need a visual tool to develop the UI. Yeah, I code it in XML, but you need a preview before pushing to the device because building and deploying an android app can take almost a minute sometimes. Not fast enough to change one XML attribute and test....
- seabrookmx 13y agoThis really depends on the app. If you're doing 3D game development, you're never going to touch the Android native UI stuff. And the difference between vim and Eclipse is a huge gap. Lots of people are right in the middle and use things like Geany or Sublime Text 2. Not saying it's optimal either, I'm just saying I've written quite a bit of code on a Chromebook and it isn't unbearable. The only people I would advise it for though is webdevs, as they avoid the sluggish compile times.
- xdd 13y agoI still remember the $4899 price tag on IBM T-series. Everything today compare to that period is a bargain. Xeon and Ecc is what developer should use for stability(VMs) and decent speed. $200 coding machine is not a bad idea, but I just cannot figure out where to use it.
- evol262 13y agoThe idea that you need a Xeon for VM "stability" and "decent speed" is one of the more asinine things I've ever heard. There's no real advantage to a Xeon over an i5 for 99% of developer workload.
- TillE 13y agoYeah, if you're running a bunch of VMs for testing purposes, I'd rather invest that money in a bigger SSD and plenty of RAM.
- xdd 13y agoIt is not Xeon but the surrounding hardware. A Bit error in calculation may cause problem in CAD/CAM, Finance or Virtual Machines. Intel does not allow ECC memory with i5 or i7; It is the idea for environments where cannot tolerate bit errors. You will see some odd errors in your VMs after running(rendering) heavily for as little as few hours. Other examples is model rendering. Intel only allowed 32G memory for i5/i7 CPUs and you need to leave certain free memory while doing that. It end up you can only use 2-3 core instead 12 core which makes your process slower.
- thebiglebrewski 13y agoThe price difference these days is insane. I can't believe what you can get for $200!
- pearjuice 13y agoIn terms of operating system support, ARM is really a deal breaker.
- seabrookmx 13y agoThe Acer runs an Intel chip, as do all other Chromebooks/boxes except for the base model Samsung Chromebook.
- ChikkaChiChi 13y agoI recently posted on G+ that if the hardware were more open, the Pixel would be the flagship Linux developer machine. The problem is that I don't want to get a laptop and spend countless hours getting it to "just work"
- thebiglebrewski 13y agoTotally agreed, luckily Crouton is super easy to use!
- minor_nitwit 13y agoI saw someone post that apparently, the display resolution is too high which creates scaling problems with most DEs. I don't really understand the gimped ChromeOS approach, they should just give it a real terminal, and a Debian based 'app-store'.
- samspenc 13y agoThis! If only Google would give us a real terminal and Debian (or other) app store (a real app store with Eclipse, Thunderbird, etc, please) in Chromebooks, I would buy one in a jiffy!
- pjbrunet 13y agoI think it's better to learn violin on a Stradivarius. (Start out using Linux.) And 4 hours battery life? Not really enough IMO, especially for a slow Celeron :-/
- thebiglebrewski 13y agoHaha I like the analogy!