Showing posts with label Chromebook. Show all posts
Showing posts with label Chromebook. Show all posts

Sunday, February 15, 2015

Terminal Refresh - Chromebook Users and Terminal

Years ago, I wrote a terminal cheat sheet over on pretendertothepower.com I think it is time for an update.
One command that I misunderstood from the beginning was sudo. This concept troubled me as there is a root account, which is sort of analogous to being an admin on Windows. Windows is bad news, because the admin account is so handy, or worse, required to do many standard things. This is not the case in all the various forms of Linux. xPud is a notable exception as you are always logged in as root.
By way of example, in Windows, the Admin account will not allow you to delete critical files from your system. At least, not without a lot of effort. Linux will happily allow the root user to delete ANYTHING!
Linux Rule One: If you don't know what outcome you need, root is NOT the tool for you.
On the other hand, you can gain temporary access to elevated privileges with the sudo command. This is actually the correct method for gaining privileges. Let's say you want to install some software, and you intend for all users to access it. The sudo command allows a user to gain privileges using their own password, not the root account password. The process creates a log of what is done in /var/log/auth.log; if mistakes are made, you can easily figure out what and when it was done.
In this example of sudo, we are going to install gedit. But we need to get ready for it.
sudo apt-get update
This command will tell your system to go and check what versions you have against what versions are available on the servers. It installs nothing. This is very important, because your linux computer has a local list of software available and it could be out of date. Update, update, Update!
The command for installing is:
sudo apt-get install gedit
Linux is made up of packages of software, in discrete chunks to make it more useable. The command apt-get install will put these packages on your system and make them useable.
You can go ahead and try to run both commands without the sudo. It will throw a nasty looking error.
Ok. Now we have gedit installed. We can open gedit without the sudo command. Type
gedit
As you can see, gedit is a very basic editor. We are going to use our elevated privileges and use gedit to do something a normal user cannot do. I am using a Chromebook with Crouton and I would like my Linux system to default to the $HOME/Downloads directory.
Let's fix this. Type sudo gedit .config/user-dirs.dirs to open the protected .config file.
What is not shown is all the activity in the terminal. At this point, since terminal opened gedit with elevated privileges, you should not close the terminal window.
Go ahead and change the text $Home/Desktop to $Home/Downloads.
I changed them all, but obviously you don't need to do that. Click save. You should see some activities in the terminal window.
Tomorrow we will look at using sudo for other purposes.

Monday, December 15, 2014

Chromebook's Task Manager

I have recently been suffering from some lockups and crashes. The need for a task manager was incredible and I lamented the lack of one.
How wrong I was. The hot key is Esc+Shift. Well. I feel stupid.
What I discovered using the task manager was that Adblock Plus was eating my RAM. Google Drive Sync, the ability to use and edit drive documents offline is also chewing on my memory.
As valuable as I find Adblock, I decided it to turn it off.
We shall see what happens.

Saturday, August 30, 2014

Chromebook and Ubuntu - How do I right click?

If you are using Crouton on a Chromebook, there will come a day where you ask "How do I right click?" With Chrome, you tap with two fingers. In Ubuntu, this does work.
Nothing special is needed. Just hold the ctrl button and click. This also works with any Ubuntu variant and a Mac single button mouse.
Good to know, eh?

Sunday, May 25, 2014

Multi Day Chromebook Offline Test Part 3

My questioning mind. Google Drive stores files locally. I wonder where? Could I find those files and drop them on a jump drive to edit elsewhere? I can’t see them anywhere on the hard drive and since this is an offline test of the Chrome OS, I don’t want to connect or fire up Ubuntu to poke around.
My other question is why doesn't the spell check work? I noticed that the spell checker for the Chrome Web Browser is working, but that function is apparently different than the spell checker for Drive files. I find it baffling; you would think they are the same tool.
The other funny thing is, I can’t delete drive files. I am sure that is a safety feature, but in messing around, I have created several “Untitled Documents” that I can't ditch. That is maddening to a file freak. Why can't I delete?!?
Well, I guess some mysteries in life are good.
Aw, who am I kidding. I am so gonna Google the answers later. 

Saturday, May 24, 2014

Multi Day Chromebook Offline Test Part 2

As my multi day test of my Chromebook’s offline I noticed that I have some curious behaviors. Dropbox happily stores and updates information on my Chromebook hard drive by virtue of either manually downloading via the Chromebook’s App or automatically via Ubuntu’s capabilities.
Strangely, when I click Chrome’s Dropbox App, I am told I am offline.
I know that. The App doesn't do any caching locally even though the files are all present and accounted for. I have to manually navigate to the folder and open the files.
Some files open natively such as .jpegs or .pdfs. MS Word files open in Quickoffice, not Drive. From the Drive’s Open menu, I can't even access those files.
I could copy and paste information from Quickoffice to Drive, but that is just weird.
Or is it? I have to ask myself “why are you using both Dropbox and Drive?”. Well, the answer is Dropbox offered features that Drive didn’t have when I first starting using them, and now that each has more features, I am using them wrong.
I have 5 gb of space on Dropbox and over 100 gb on Drive. I should be using Drive all the time. I just can’t do it, because there are items I want to be available offline that drive does not handle. A copy of the Ubuntu installer for Minecraft. I suspect Drive wouldn't like that file at all.
Drive is a different sort of animal. It isn’t the beast of burden that Dropbox is. Dropbox stores data while Drive creates data. Someday I will adapt and figure it all out. 

Thursday, May 22, 2014

Multi Day Chromebook Offline Test Part 1

I am currently offline today, but still wanted to do a little writing. Google Drive is an excellent writing tool and the offline capabilities are great. Drive offers a snap shot of my current files and the last time they updated.
In theory, I guess I could lose some work by not syncing or syncing in the wrong way but I won’t be doing this today.
According to my indicators, I have two hours of battery life from a fresh charge. Normally, this is four or more hours, but I am using 3pm-Player for music and charging my phone at the same time. This is a pretty big drain on the battery. Unpluging the phone and turning off the music cause the indicators to creep back to about 3 hours.
This particular model of Chromebook has a 300 gb hard drive and I feel that this may be killing the battery life. I hear it spin up from time to time while playing music and when the automatic save kicks in.
In offline mode, Drive does have some limitations. I can create a Doc, a Presentation, Spreadsheet or Drawing. Forms, Geogrebra, Python, Source Code and StackEdit are all unavailable. That is ok, I don’t really need those now, but my hyperactive mind wonders if there is a setting or option that I could select to make them active offline. I should Google that… later.
When writing offline, I am hesitant to edit a currently existing file. The reason is I do have my iPhone that is connected to drive and obviously could use another computer to connect. I don’t want to wonder what edit will appear first. Until I get comfortable with this offline cloud stuff, anyway.
All and all, this is pretty good. The tunes are rocking and the internet is safely held at bay.

Monday, May 19, 2014

The Chromebook Post I Always Meant to Write

For Christmas, my wife and I exchanged Chromebooks. I received the Acer C720 and she the HP Pavilion. We were replacing my Asus EEE and her Toshiba A210 and Macbook. We had some doubts about each machine as we were used either Ubuntu, Vista or OS X. However at the $200 price point, we thought we'd take a chance.
It's 145 days later and the report back from my wife is excellent: her Chromebook is used daily. Her favorite features are the quick boot time and the easy to use interface. It does nearly everything she needs.
She has two basic problems with her Chromebook. First, she can't connect her iPhone. This is the walled garden problem with iPhones. You just can't do it. The second issue is the lack of good MP3 player software. However, she found Spotify which is excellent on the Chromebook to address the lack of music.
My experience has been completely different. I am a power user and I was very concerned with the lack of offline capabilities, drawing software and photo editing tools. I have taken every step to avoid any problems by installing Ubuntu with Crouton. I cannot convey how easy this was, the Crouton is brilliant.
In my case, installing Crouton was premature. I do enjoy Ubuntu and all the powerful software that comes with it, but I discovered that I needed very few add-ons to make my Chromebook perfect for daily use. The Acer comes with a 300 GB hard drive plus 100 GB of cloud storage via Google Drive. I never have a lack of music. In fact, I can use Google Drive to store my basic music collection and download it to either my Chromebook or iPhone from my desktop. My player of choice is 3PM-Player, it reminds me of the old CD Player found with Windows 2K or Mac OS 9.
In the first few weeks of using my Chromebook, I was pining away for GIMP or Photoshop. Then I noticed that I was firing up Ubuntu and GIMP to do really basic editing. I guess I am more addicted to power tools than I thought. Talk about killing a fly with an axe. Recently, I added Pixlr to my machine and it meets most of my day-to-day needs. The Photo in this post was edited using Pixlr. The touchpad is not the tool for photo editing, but even a cheap mouse fixes this issue.
The only other downside is the "lack" of offline software for the Chromebook. The Chrome Store has tons of offline software, but for the longest time, it was hard to find. Recently, the Store added a checkbox filter for locating offline software which corrects the problem, sometimes. There are software vendors that try to sneak online stuff into the offline category, but those offerings stand out like a sore thumb.
I am really very pleased with our Chromebooks, I am starting to think of Ubuntu as a security blanket. I just can't let it go. Not now. But everyday, I'm learning to love my Chromebook more and more.

Saturday, December 28, 2013

Notes about installing Crouton on a Chromebook

I opted for the Unity interface for Ubuntu. HowToGeek has a great set of instructions.
At the end of the install, you have a very basic Unity interface. Everything useful is missing. The absolute easiest way to fix this is to get the Software Center.
Open Xterm by pressing ctrl-alt-t. Now type in sudo apt-get update. Wait. The next command is sudo apt-get install software-center. Wait again. There is no icon again, so go to lens and search for it.
That is all there is to it. Get installing.
My short list of software is:
Firefox
Chromium (to match Chrome)
Stellarium (to match Chrome's Planetarium software)
Dropbox
VLC Player
Restricted Extras
Inkscape
Libre Office (Search for LibreOffice and scroll down a bit for the suite)
Document Viewer
At the end of the day, you will need to "reboot" Ubuntu to all changes to go into effect. Click the gear and click the restart option. This will eventually return you to Chrome. Go ahead and open the shell and type sudo startunity again.

Monday, June 4, 2012

Just 5 Things: Google Drive

This weeks edition of Just 5 Things covers Google Drive.
1. Google Drive is a cross-platform cloud storage solution.
2. Google Drive supplies 5 GB of space for free.
3. Drive supports the following files types: Word, Excel, PowerPoint, Adobe Portable Document Format, Apple Pages, Adobe Illustrator, Adobe Photoshop, TIFF, DXF, SVG, EPS, PS, TrueType, XPS, ZIP, RAR, TXT, CSS, HTML, PHP, C, CPP, H, HPP, and JS.
4. You can edit most supported files.
5. Google drive will someday love Linux.