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.

Wednesday, February 4, 2015

Adjust Touchpad Delay with Synaptiks

Post removed. Upon reboot, synaptiks wreaked havoc on my system. If you're looking for a way to fix this, in your system tray, find synaptiks and disable it. You may have to right click on system tray to show hidden programs.

Tuesday, January 27, 2015

Adjusting Touchpad Delay With Syndaemon

So I've been on openSUSE now for about 3 days and I'm really enjoying it. Whenever you set up a new system or even do a simple upgrade, you often end up with little annoyances. Maybe something different in the sound, or the screen resolution changes, or in my case, the laptop touchpad is bouncing the cursor all over the screen while you type.

This can be really annoying and cause some serious mistakes while typing. For instance, you're writing a blog post and the cursor ends up in the middle of another sentence. Worse yet, how about an accidental highlight and delete, losing everything you've typed. My personal favorite and the one that gets me cussing like Yosemite Sam going head to head with Bugs Bunny, is the cursor going over the publish button while social networking on say Tsu.com and your post being submitted before you were through writing it. That just about covers everything I've endured in the last three days with this mild inconvenience. So what do you do ?

syndaemon

Syndaemon is the way to add a delay to your touchpad so your cursor isn't bouncing all over the screen while you're typing. For full instructions, and a list of options, just open the terminal program of your choice and type :

man syndaemon

I kept it basic, and used a command to give a 2 second delay.

syndaemon -i 2 -d

So this is what we did. syndaemon starts the program -i is the interval 2 is the amount of seconds -d runs the program in the background as a daemon. So for the tweeted version , the above command gives you a two second delay on the touchpad while your typing. Two seconds believe it or not seems a bit long, you might want to switch it to 1, play around with it and see what your comfortable with.

If you're having this problem I hope this helps. This worked in openSUSE 13.2 and I hope it works for you.It was a minor annoyance but I'm glad it's gone. Thanks for reading !

Monday, January 26, 2015

It's cold out there, busting out the tux hoodie !

It's cold out there, time to bust out the tux hoody ! Found this on Amazon a couple years back. Here's a similar one.