Wednesday, December 30, 2015

Happy Holidays & Happy New Year

Happy Holidays and Happy New Year

Monday, December 7, 2015

Setting The System Clock and The Hardware Clock Linux

On a Linux box you have to change the system clock and the hardware clock. The hardware clock will not automatically sync with the system clock. You would think they would, but they don't. Here's what you have to do.

First open up the terminal of your choice.

Next type in the following command (This is an example, change with your date and time obviously):

date --set="Mon Dec 19 14:05:00 EST 2015"

This sets the day month date time timezone (EST, CST, PST)

Now we need to sync the hardware clock with the system clock. To do this type:

hwclock --systohc

And were done. That's it your system clock and hardware clock should now be synced and keeping proper time.

Tuesday, May 5, 2015

Google Play Music using openSUSE

Feliz Cinco de mayo ! I thought today would be a great day to just chill out, knock back a few rum and cokes or las cuba libres and figure out a decent way to share my music collection over multiple devices.

My first instinct was to set everything up on amazon music ! Boo hiss Amazon. Although you can listen to Amazon music just fine on any device for some reason they just don't like working with linux. Amazon music only allows uploads with Windows and Mac. Ironically, I called Amazon tech support one day about something else and the tech guy said it's funny because all the customer service people use linux systems. I think I remember him saying they use Ubuntu. Oh well, I find myself using Amazon less and less these days ! AMAZON Y U NO ACCEPT BITCOIN OR HAVE LINUX SUPPORT ?

O.k., I digress, after a little thought I figured I would try Google Play Music. Wow, what a pleasant surprise. Not only do they offer Linux support for some distributions, they honestly make it as easy as using a Windows computer. This was really refreshing and the first time I've experienced this. I hope this is a sign of things to come in the future. Kudos Google.

So the first thing you have to do is download the Google Play Music Manager. You can find it here.

I clicked the "Download Music Manager" button and after a couple seconds it automatically detected I had a linux system and gave me a few different distro choices. I selected the Fedora/openSUSE 64 bit link and it downloaded the file and opened and installed automatically with apper. Holy crap on a cracker in my two years of using Fedora and now openSUSE, this has never happened. The install couldn't of been any easier ! I haven't had an install this easy since the days of using Windows.

After the install I had a hard time finding the program, but after going through application launcher I found it under "applications". I clicked the program, it asked for my Google user name and password, asked which folder contained my music, and then automatically uploaded over 600 songs in under an hour. I can't tell you how impressed I am with this whole thing. Much props to Google !

There were a few other configuration choices like whether you want it to automatically upload new music, or if you will upload manually. If you decide to use Play Music, I'll leave the configuration up to you. It's really easy to use.

Now, I need to get back to some rum and cokes, download the rest of my music from Amazon, and get it uploaded to Google Play. I can now stream music from my Android tablet, phone, and openSUSE laptop ! Rock on dood !

Wednesday, April 8, 2015

Link: zypper Cookbook Autoremove Packages and Remove Orphaned Packages

Doing some research on using zypper for package management and came across this well written informative piece. Thought I would share it here. 

As I learned how to autoremove unnecessary packages as you remove a package and also how to identify orphaned packages, I marveled at the beauty of zypper and the excellent work of all its contributors. Not only does zypper have the functionality to do just about anything related to repos and packages, it has sensible online help right at your fingertips.

Before I show how to perform these two tasks this post is primarily about, let me show you two easy ways to figure out whether zypper can do what you want to do.

Read the full article here.

Tuesday, April 7, 2015

New Computer HP Pavilion DV7

I recently traded my Dell Inspiron 1750 for a HP Pavilion DV7. I think I had the Inspiron for close to 5 years, it will be missed ! My mother asked me to fix her HP Pavilion DV7 to give to my father. She didn't have any backup disks, and lost the Windows disks to install MS Windows. I told her there was nothing I could do unless she bought a new windows disk.

The HP Pavilion was in almost new condition. I think my mother used it for a couple months, didn't like it, through it in the closet and it sat there for the last 2 or 3 years. I told her I still had the windows disk to my Dell and if she wanted I would put Windows on it, and trade her for the DV7, and she said sure.

So I've been using the DV7 for about 2 weeks now and it's taking some getting used to. I installed openSUSE 13.2 on it and it's working great. The install went real smooth , and the wireless drivers, and networking worked right out of the box. That was refreshing.

I was surprised that the Linux install went so smoothly. I literally had to configure nothing. Everything worked ! I installed openSUSE, did a few of my usual security modifications, and I was up and running in under an hour.

As far as performance I think the Dell Inspiron 1750 performed a bit better than the DV7, the Dell had a Pentium, and the HP runs an AMD chip. This is the first AMD computer I've had, but after a couple weeks of use, I think the Pentium is far superior performance wise. I'm even running 2 gigs of additional memory compared to the Dell.

The difference in performance is really noticeable when  multi-tasking and I'm almost always multi-tasking.The DV7 however seems to have superior video,and sound. I'm going to be playing around with some different configurations, and maybe do an additional memory upgrade.  Anyway, if your thinking about installing openSUSE 13.2 on a HP Pavilion DV7, I strongly recommend it. The install went great, and everything seems to work right out of the box.

Tuesday, February 17, 2015

Extract Multiple Zip Files With Ark

Made with some of the graphics I downloaded and needed to extract.
The other day I needed some fresh backgrounds, clip art, and various vector graphics. I found a site named Vector Portal and downloaded close to 200 different vector graphic packs. Each graphic pack was zipped and contained some eps,svg, and ai files that needed to be extracted. I started the process of clicking each file and opening each individual graphics pack in ARK and after doing about 15 of them, I realized this was going to be an all day affair. Boring, not fun, and definitely not what I was planning on doing all day.

I tried highlighting all the files and opening them all at the same time in ARK but that didn't work. Then discovered that you can do a batch extract from the command line. It was really easy and what would of took all day was now accomplished in under 2 minutes. Here's what you do.

1) Create a directory for your compressed files, and move all the compressed files that you want to extract into that directory.

2) Open up a terminal program and go to the directory you created with all your compressed files. For me it was

cd graphics/vectors

3) Now we use ARK from the command line, and execute a batch extract like so.

ark -b -a *.zip

Here's what we did. ark runs the ark program -b tells ark to use the batch interface from the command line, -a creates a subfolder if ark detects it's not a single folder archive. Finally I used a wild card *.zip so ark extracts every file with the .zip extension in that directory. This command saved me a ton of time.

I should note two things. One, make sure you're in the right directory when you run this command or you risk extracting every zip file in your system. The other thing is this can take a little bit of time. In my case with close to 200 files it took about a minute and a half for the command to complete. Be patient, and let your computer do the work. 

If you want to learn more about using ARK from the command line just type man ark in your terminal for all the different options that are available for this powerful program.