Convert Audio with Ease in KDE

I ripped a couple of CD’s for my son this evening. In the process, I decided to setup Kalarm and Korganizer on his computer so that he could set alarms to remind him to do various chores around the house. While doing all of this, I needed a .wav file so that he could use a song for his alarm. Of course, he wanted one of the songs I had just ripped from his CD. Since I had ripped his songs to .ogg format, I had to investigate which program could convert from .ogg to .wav this the easiest in KDE.

I’ve not used many of the whiz bang functions of KDE and desktop Linux…I’ve been more of a browser, mail, and RSS type of guy for many years. Now that I’ve been using Linux at work and at home, I’ve been blessed with the opportunity to figure out how to do things that I’ve never done before. In this case, convert audio to .wav, .ogg, or .mp3 with ease. There is a tool called audiokonverter available in PCLinuxOS 2007 repositories that makes this a snap.

Continue reading “Convert Audio with Ease in KDE”

Install extra Themes and Icons in PCLinuxOS

Are you a PCLinuxOS 2007 user?

Are you one of the many that love the default theme and think it’s eye catching but wish you could change it and make it your own? Do you wish there were more themes, icon sets, and bling for your desktop that would be easy to add? I did too. Here’s how I was able to customize PCLinuxOS 2007:

PCLOS Default
PCLOS Custom

Continue reading “Install extra Themes and Icons in PCLinuxOS”

Dell E521 and PCLinuxOS 2007 Final

It’s been a process of elimination to get my Dell E521 working. Previous workarounds with boot options didn’t work…so I had to use a combination of boot options to get things working nice and stable.

I powered up the PCLinuxOS 2007 Final LiveCD and began the installation to disk. During the bootloader configuration I appended the following text to the end of my linux, failsafe, and framebuffer entry:

noacpi irqpoll pci=routeirq

From there, I saved, closed all programs and rebooted. Upon first boot I opened Synaptic and installed the PCLinuxOS .a64 Kernel which is optimized for 64 bit processors. I then opened up the PCLinuxOS Control Center yet again, went to the boot section and altered my grub bootloader again with the same information in the code above. I rebooted to make sure my changes worked.

When logging in this time, I opened Synaptic and installed the Nvidia 97xx drivers for my graphics card (Fata1ity 7600GT). After this installs you’re prompted to restart X and upon login…you should be presented with quite a stable and quick desktop.

Hopefully this works well for those of you out there that are using E521’s or E520’s as I believe they have the same mainboard (not sure though).

PCLinuxOS 2007, USR5411 MaxG Wireless Primer

So you’ve just installed PCLinuxOS 2007 TR4 on your laptop and your wireless card is detected! Finally, a distro gets it right! However, you’re not too sure how to proceed next…do you manage the device through the PCLinuxOS Control Center? Do you start another program and work that way? Do you use KDE’s built in applet to monitor things? What’s next?

This is something that is often expressed in the forums at pclinuxos.com and something anyone associated with this fine distribution is glad to see…that is working wireless. However, as noted above, people often wonder how to control their wireless device and how to move in and out of various different environments. I’d like to share how I do wireless on my Thinkpad a22m.

I have a US Robotics 5411 MaxG PCMCIA card for my laptop. PCLinuxOS 2007 detects it out of the box but doesn’t install it by default. The reason for this is that PCLinuxOS doesn’t assume to know how you want to install it…either using the built into the kernel support for the broadcom wireless chip or ndiswrapper…which is a program that allows Windows drivers for wireless to be used in Linux. I elected to go with Ndiswrapper since I had some problems with the broadcom driver in PCLinuxOS. Ndiswrapper is installed by default in PCLinuxOS which makes this process even easier…but the process still requires some forethought and I’ll share with you what I did to make this process go smoothly and easily.

Continue reading “PCLinuxOS 2007, USR5411 MaxG Wireless Primer”

Speed Tweaking PCLinuxOS 2007 TR3

Using PCLinuxOS 2007 TR3 for the last few weeks, I’ve noticed VAST improvements over the .93a release. The most noticable of these is boot times. My boot time is absolutely amazing on this Dell E521n…it averages 30-40 seconds. That’s right. 30-40 SECONDS. I was floored the first time I booted after install. I thought I had done something wrong. I quickly rebooted and got out the stopwatch and recorded 32 seconds as my official time. I rebooted another 5-6 times and averaged in between 30-40 seconds each time and was closer to 30 on 8 out of 10 boots. Absolutely amazing.

Linux, with projects like upstart which is being considered for the next release of Ubuntu, are getting to the point now where boot times will drop considerably. This is welcome as far as I’m concerned…it allows you to get going right away with your business be it personal or other.

Once you’re logged in though…many people don’t touch the OS itself and instead leave it at the default settings. For most people this is ok…as not having something set to be optimized is ok and most distro rollers setup their distros so that they cause the least amount of problems for the most variety of hardware. For me, I like to mess around. I like to play. “I like the night life…I like to boogie

So without further silliness and introductional nonsense, I proudly present a bunch of data that I gathered from various sources (cited where possible) and a few tricks of my own that will allow most rpm based distros to tweak their way into improved performance. Since I did this specifically for the PCLinuxOS community though, I’ve titled the article accordingly. As it is, the article should work for most Fedora’s and Mandriva’s and possibly even OpenSuse.

Continue reading “Speed Tweaking PCLinuxOS 2007 TR3”

Dealing with Runaway Processes

Have you ever been using your Linux distro and suddenly found a program won’t close? It’s frustrating when an application hangs. In Windows, one could right click on the taskbar and choose “Task Manager” and kill the hanging process (which doesn’t always work BTW). In Linux, you can also kill these hanging processes.

First, if you’re using KDE press Control-Escape. This will give all processes in a handy window called the KDE System Guard. Clicking the column heading for “System %” so the arrow on it appears facing up will sort the processes from highest system percentage to lowest. Find the process that seems to be hogging up all the resources (or if you know the name of the process, highlight that) and then hit the kill button. Your process should end it’s routines and exit.

You can also check out which program is hogging up your virtual memory with its process which can also slow things up. Clicking on the column “VmSize” and sorting largest to smallest will allow you to see this and select which process to kill. I often elect to select only user processes using the drop down menu at the top right hand corner of the KDE System Guard. Doing this filters out all system files and shows any hanging applications that are initiated by the user (which is often what is hanging for me).

Don’t worry if you see the same process more than once (for example, Apache or php may have multiple entries if you run a webserver…this is normal). If you’re using Gnome, you’ll either have to use the console method I explain below or launch the Gnome System Manager to get things rolling. Since I don’t use Gnome, I won’t cover the Gnome System Manager here.

Another way you can do things…especially if all Xwindows (KDE, Gnome, Fluxbox, etc) have frozen or are sluggish is to drop to a console. You can do this by killing the Xserver or by dropping to a console. You can press Alt-F2 or Alt-F3 and get directly to a console. Login as root. Now let’s take a look and see what processes are hogging up resources. Kill the Xserver and drop to a console by hitting Control-Alt-Backspace. For our purposes, I’ll assume you’ve made it to the console now.

There’s a quick console way of finding exactly what is consuming the most of your PC as far as processes are concerned. Using the the ‘top’ command will display those processes that are beasts and allow you to take note of them. Look for the process taking up the most CPU% (which should appear at the ‘top’ of your ‘top’ output). Pay specific attention to the PID column of that high CPU% item and make a note of it. This is the process ID number and every program running on a Linux box is assigned one by the Kernel. We’ve found the one making problems for us and have recorded the PID so let’s slay it. Hit Control-C to stop the top command and then type:

kill PID

Where PID is the process ID number you made a note of before. You may not get confirmation that the task has been immediately killed so let’s see if it is still running. We may not get the information we need by using top again since it is mainly for finding the higher consuming processes aka runaways. Instead, let’s use the ps command.

ps aux | more

This command outputs all processes in a nice way…using the | and ‘more’ command allows you to paginate the output so that if there are a TON of processes, you can use the spacebar or arrow keys to page down (you can do that with any command too BTW). Now look for that PID that we just killed in the second column and see if it is there. You could also get creative and use:

 ps aux | grep PID

Where PID is once again the PID you killed. The grep command will search through the results and echo back to you any matching entries it finds. If you didn’t find anything and couldn’t match your PID to that of any displayed in your ps aux command, you just successfully killed that beastly process. As always, for more information, please see the man pages (e.g. man ps or man top).

Hopefully, this allows you to more efficiently manage your processes…runaway or normal. If I’ve printed an error, please let me know via the comments below or if there is a more efficient way of doing things let me know there as well…I’m always open to improvement.

UPDATE: Please checkout the comments section for a few more tips on killing processes!

UPDATE2:  Reader Scott M writes in the comments below “You don’t have to use the PID. You can use the -f option.  e.g. if there are multiple instance of SomeProgram, you can kill them all with one command:

pkill -9 -f SomeProgram”  Thanks Scott!

Creative Commons License
Except where otherwise noted, the content on this site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.