Showing posts with label Hardware. Show all posts
Showing posts with label Hardware. Show all posts

Thursday, July 7, 2016

Google Fi and Nexus 5

I just received my Nexus x5 and started on Google Fi. So far, the improvement over my Sharp Aquos on Sprint is incredible.

While Google Fi probably is connected to a Sprint network, the end user experience is much nicer. Additionally, I opted for the 32 GB phone which is an incredible improvement over my Aquos' 8 GB.
I'm still playing with some features, but Blogger works much better.

Tuesday, June 28, 2016

Stupid Linux Tips - Disable Touchscreen Temporally

I have a touchscreen that needs a good wipe down. Touch screens are annoying when dirty and you only have three options:

1) Wipe it down and hope you don't click something stupid.
2) Turn off the computer.
3) Disable the touchscreen.

I want item three, but there seems to be no Unity control panel for the touchscreen. I couldn't find one so I opened the Swiss army terminal and typed xinput.


Reading down the list is simple enough, id=13 is my touchscreen.

The command is xinput disable 13 or whatever number you need. Turning it back on is just as simple with xinput enable 13.


Obviously, I am not the best Linux user, but I like to share tidbits that make things easier.

Now clean that monitor.

Quickly lookup Ubuntu info

Ubuntu is nicely consistent. So consistent that often you can't tell what version you have just by looking.

Two commands in Terminal can grab that info for you:

lsb_release -a

uname -r


Settings and Details does the exact same thing, in a prettier form.


Sunday, December 20, 2015

The Strange Chromebook XFCE Glitch

This morning, I had some trouble with my version of XFCE on my Chromebook. Tab-Alt stopped working, the menu bar had vanished, the programs opened would not keep focus and the cursor was either X or invisible.

How I hate messing with a perfectly good distro. The solution is rather easy. Delete your ~/.cache/sessions directory and the functions come back after logoff/reboot. How simple.


Of course, I forgot you can't rm directories and needed to try three times before I remembered the rm -r modifier. So the actual command is above.

Whew! Thank god for Ubuntu and XFCE's easy of use. If this was Windows, I'd be screwed.

Friday, August 21, 2015

Unable to create directory... Wordpress error (formerly http://unpwnd.com/?p=555)

Friday evening, I was hit by series of errors from WordPress. When uploading images, I was confronted by these error messages:
“Unable to create directory wp-content/uploads/2015/01. Is its parent directory writable by the server?”
“The uploaded file could not be moved to wp-content/uploads/2015/01″
Obviously, my permissions were off, but I couldn't figure out where.
The quick and dirty work around was to log into GoDaddy’s file management tool and create files and upload images via the tool. Back in WordPress, I needed to select a previously existing image and edit the code to match the files and directories I created in the previous stop.
That is not optimal and not advisable. 
The correct answer is to correct the permissions on the server via the file management tool. I made several attempts, but it didn’t seem to work. After calling GoDaddy, I found where I was going wrong.
First and always, log out of WordPress. Second, the items Web Visible and Web Writable need to be ticked on the WordPress upload folder. The directory location is: /wp-content/uploads/. You likely don’t have permission to edit the webroot directory, and you shouldn't give that much permission that high up.
If you select the folder and view the settings you will not see the ticks because the Inherit tick disables those options. Untick it.
The other two become active. You can see the problem right away, the folder isn’t Web Writable. Tick it. 
If you need a quick fix, this is it. Stop reading now, since I don't have any better suggestion to offer. 
If you are still reading, this WILL correct the issue temporarily, but this is not an optimal solution. I contacted GoDaddy 3 times over this issue. 
The first time, the chat agent attempted to reset my permissions, which wasn't the answer at all. I had all the permissions I needed, I simply needed a little more information. I only mention this because you do not want to waste time like this. Don't use chat, they have a tendancy of "escalating" contacts to unnamed people who will effect fixes in 30 minutes to several hours. It never works, don't use chat. 
The second time provided me with the information above. This is also not the correct solution, because it is a quick fix that does not stop the error from happening. I experienced this error more than 40 times from 5 different webpages, hosted on two different GoDaddy servers. I expressed the belief that someone or thing was resetting this one particular permission by accident. The rep said that it was possible, but he did not see that happening. 
The third time, the rep insisted that my use of php based forms was the cause of the issue and it was my fault for using php forms, I need to purchase several things to prevent "php injection attacks". GoDaddy suggested I use Wordpress when I purchased my hosting, because it was very secure and they would be able to address any troubleshoot concerns that I had with it. The last issue is my sites were hosted on a shared server. This is a good cheap solution, but it also means that if someone else has a problem I could have that problem, too. 
The GoDaddy agent was actually suggesting that they have a known problem where people can assess their server with no login credentials at all and modify files at will and not show up on any logs. I had a hardened version of Wordpress, I changed my login ids often and I was not seeing any additional files or files with modification dates that did not correspond to my editing patterns. The changes made by this "intrusion" actually made my site HARDER to attack by removing permissions from a valid function, without making any other modifications.
When I asked for any more information such as server logs, support, etc., I experienced an upcharge menu. Basically, these upcharges highlighted the difference between what I was told I was purchasing and the services I was actually being provided. 
You will notice that I am now on Blogger, a free platform and no longer hosting with GoDaddy. My primary purpose for this change is to get away from the frustration I was experiencing. Let's be real, I was paying under $20 to host 5 websites. For years, GoDaddy provided a wonderful and valuable service for four dollars a month. At some point, quality declined. I was no longer receiving the top end service I had come to expect, likely because I was paying for low end service. I can't really blame GoDaddy for this, but realistically I was paying 20 bucks for headaches. 
I seriously doubt the whole "PhP iNj3cTi0n 4tTaCk!!!!" line the agent tried to sell me on. I do not think they would be in business for very long if they allowed unrestricted access to their servers via the Wordpress install that they provide. That is idiotic. I am more inclined to believe that this is a misguided attempt at security, where someone in house, at GoDaddy is changing settings to be more cautious and more secure without bothering to address the issues this causes with one or more products they sell.
Using GoDaddy for hosting is really not a good option for me. If you are encountering this problem intermittently and it is within your tolerance level, they are a good choice. If not, time to move. I still use GoDaddy for my URL and such. That will not change anytime soon.

Tuesday, July 7, 2015

Five years ago… My tech support hell ended

Five long years ago, I quit my technical support job. I couldn't do it anymore.
Me: What seems to be the issue?
Woman: My monitor is broken.
Me: *click* No, it isn’t. It’s just off.
Woman: Yeah, that’s the problem. That green light is bothering me and when I press that little button, it turns off. The problem is, when the green light turns off, the monitor stops working.
Me: That is the power indicator light. It’s on when the monitor is on…
Woman: Yes, you understand!!! No one else understood the problem.
Me: …
I am very happy where I am now.

Sunday, May 31, 2015

Incantato, il mio vecchio amico Alsamixer!

If you use Duolingo on a chromebook, you may have microphone problems. I tinkered around with the settings and chromebooks do not allow websites to access your microphone and camera by default. Change that by going into settings and Privacy.
Now for the surprise. This didn’t completely fix my problem. I did a little more searching and found that Alsamixer is the key. Press crtl+alt+t to pop open a new crosh tab. Type shell and enter.

Bamb! Alsamixer almost like linux. That shouldn’t be a surprise. One issue I did encounter was the function keys wouldn’t work even when I used the function key. Not all is lost. For some reason the search key needs to be pressed to invoke the function keys.
No problem. Press it with your desired function key. Escape to exit. 
I like Duoling to keep up on my Spanish, but it occurs to me that it is also useful for my horrible Italian. Duolingo lets you select multiple languages at the same time. I have no idea if there is a limit to the number, but I thought that I would stick to the two I know pretty well. 

New chromebooks are much better than the one I have. I'm going to start shopping for a new one soon. 

Saturday, April 25, 2015

Mint LXDE - What's Missing

I installed Mint LXDE 5 or six days ago. In a weeks time, I thought I would have a laundry list of software I absolutely must install. This is LXDE after all.
Surprisingly, that is not the case. LXDE is lightweight, but that doesn’t mean limited software. Right out the install box, Mint contains all of the software you might need for almost any task. For word processing Abiword is all you need; Spreadsheets are handled very well by Gnumeric; Gimp provides all of the photoediting capabilities one might need for almost any task.  Exaile is excellent for music and video is handled well by both MPlayer and VLC. Firefox is the go to web browser for any system and it did not require any updates with Mint LXDE 11, which was a nice touch. In fact with this version of Mint, I don’t believe I had more than a couple of updates.
So what did I HAVE to install? I selected Libre Office over Gnumeric and Abiword; however these to pieces of software are so handy that I decided to keep them. Considering all of the options in Libre Office, keeping them is high praise. For web browsers I needed something other than Firefox so I selected Opera and Epiphany-Browser. There is no beating Firefox in my book, but sometimes I need to look at websites in something else. Opera was selected because I last used this on my old Mac. Epiphany was snap decision, I wanted to take a drive with something new to me
The only lack I saw by way of software was a plain jane HTML editor and an ebook manager. Abiword could do it and there is nothing wrong with gedit, but Bluefish is my favourite. As for ebooks, I selected Calibre because it works so well and does so much more.
I hope to do a write up of my new software choices soon, so say tuned.

Friday, April 24, 2015

Why use Terminal? (GIMP Install)

Linux has come a long way over the years. Nearly every variant has a software manager, a graphical interface for adding software. Why bother with the Terminal any more?
First, the terminal will display everything it does. Second, there are many versions of Linux and all of them have Terminal as an option. No matter what version of Linux, Terminal experience will server you well.
Here is a quick example of how to install GIMP using the Terminal.
Install GIMP:
sudo apt-get update && sudo apt-get install gimp
The && combos two commands, update and install. The first checks your repositories to make sure they are up to date and the second installs GIMP.
You can follow this with autoclean and clean:
sudo apt-get autoclean && sudo apt-get clean
These commands remove .deb files not used by your system. Autoclean removes the cache information. This is good for systems with low disk space, however the penalty is you will need to download these again if you need to update or install software.

Thursday, April 23, 2015

Eye on the Pi

I have my eye on the Raspberry Pi. This little machine has a vibrant community and help is available all around the web.
This morning, I found The Errant Scientist blog; Matthew takes a walk through the set up process and installation of software via the LXTerminal.

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?

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.

Thursday, February 27, 2014

Mint 13 XFCE - Save HD Space with backdrop file resizing

Mint has always had gorgeous backdrop images for the desktop. The photographs by masterbutler are incredible.
But if you are on a small machine, like my ASUS eee PC, you don't have a lot of hard drive space.
You could just delete a lot of things, such as the backdrop files, but that would be a shame. Instead, I choose to resize them to fit my 800x600 screen. To be honest, I am not missing anything. The images surpass my monitors ability to display them in all their glory.
Since Mint comes with Gimp, this is an easy task. The directory is /usr/share/xfce4/backdrops. I hesitated to "undo the beauty" by reducing the size until I opened the credits file. Masterbutler has thoughtfully provide a link to 80+ pages of wonderful images at http://www.flickr.com/photos/alwbutler/.
Go ahead and scale those images. You may find yourself using the space to enjoy more art by masterbutler.

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.

Tuesday, June 25, 2013

xPud – How to Connect to Wifi

xPud is a nice little OS. But it has an issue with hidden ssid’s.
Actually, there is nothing wrong with the OS, it’s all you. No seriously, I mean it. In xPud, you are a super user all the time. That means the normal sudo iwconfig “fails”.
What true linux user runs in super user all the time? Well, you are with xPud.
What linux user radiates their ssid? No one, and with this information you won’t have to either.
So the correct usage of iwconfig for getting connected a hidden ssid is:
iwconfig wlan0 essid “insertnamehere” key “insertpasswordhere”
Easy, eh?

Monday, April 22, 2013

Windows 7 - Running Chkdsk at Start Up

In Windows, running a disk check can clear up many problems. Many small glitches can be cleared up with the chkdsk command.
Setting it up in the command prompt is easy, but counter intuitive. Open the Command Prompt by clicking the windows Icon and typing cmd and enter in the box.
Now type chkdsk /f C:
Windows does the usual thing and tells you can't do that here.
Type in y for yes and then exit the Command Prompt.
Now, reboot the machine and wait for all the checks to run. The normal "chkdsk C:" merely scans a disk, "chkdsk /f C:" scans and fixes problems, so you may be waiting awhile. Hopefully, it is worth it.

Sunday, February 17, 2013

CentOS and ISO Recorder

Yesterday, I covered creating a USB boot drive for CentOS. Today I will walk through making an .iso disc for CentOS using ISO Recorder.
Working with .iso is both easy and frustrating on Windows. Very often the software that comes with the computer is not up to the task. To solve this basic problem I suggest ISO Recorder. This software does not create a desktop icon or a selectable program in the Start/Windows menu; instead it adds options to the menu.
Time to get started. Download your .iso image and place all files in an easy to find directory. I am using CentOS which requires two DVDs. Insert a blank DVD and cancel out of any pop up box Windows 7 displays. Right click the desired .iso file. Select "Copy image to CD/DVD".
The burning software will open and display ISO Recorder on the left hand side of the screen. The Source should default to "Image File".
Click next.
Wait for the burn...
No seriously, wait and wait and wait. The status bar may hang out on 100% for a very long time. This is proportional to the amount of data on the disc. My first CentOS disc uses the whole DVD and took several minutes to complete. The second disc is relatively tiny and took only a moment.
Don't forget to label the discs. CentOS has a built in disc check in the install process, I would suggest using it on BOTH discs to avoid headaches.
**This post was moved from Pretendertothepower.com to Unpwnd.com.

Saturday, February 2, 2013

Mint 11 lxde glitch - Can't delete uninstalled program icons from the menu

Mint 11 lxde is old, but I like it for my Asus EEE PC. It does have one annoying glitch. If you attempt to remove software such as gnumeric, the uninstall process leaves the program's icon in the menu. Annoying but not exactly critical.
There is an easy work around. Go to a convenient location and create a new folder called "deleted icons". Next open the /usr/share/applications folder. Go to tools and select "Open current folder as Root". This displays a new window. Find the offending software and select cut. Go to the deleted icons folder and again, select tools and open as "Open current folder as Root". Paste in the offending program and close all windows.
By shifting the icon via cut-paste, you retain the option of reinstalling the program.