MicroDevSys.com - Microcomputers - Development - Systems Windows, Linux, UNIX, Java, C++, C, Perl, Scripting and more.....
Transparent Java Message Forum Board applet bean certificate signed develop code viewer C++ C Apache Tomcat HTTP Server JK2 5.0.19 5.0.21 XML Javascript Message Board Java Forum Swing Tutorial Web Components Java Development Programming Program Code Class Method SDK JDBC Driver Type 3 PHP Jakarta Nightly Blog Download Web Site Web Design Applet JApplet Fedora SuSE Networking Network Linux / UNIX kernel build korn shell ksh borne shell bash perl .pl .doc .pdf FAQ Firewall File Systems mount reCAPTCHA CAPTCHA captcha printer configuration canon hp hewlett packard epson KDE Gnome /var/log/ netstat ps top uptime hdparm hddtemp smartctl /proc/meminfo free pstree load overloaded nice renice dmesg sar ifconfig mpstat iostat vmstat lsof core dump binary Tom Kacperski

Winamp: No sound when playing MP3 files or other media.

PROBLEM

When trying to play MP3 files in any version of WinAmp, there is no sound.  The same file may play well in other players like Windows Media Player but not in WinAmp.

SOLUTION

There may be any number of reasons for this.  The most obvious points of check are that the volume is not set too low and that the sound isn’t muted in WinAmp, the cable connections are in and plugged in tight.  Other things that creep up over time are that the sound connector has just degraded to the point that it doesn’t work and even possibly the sound card has become faulty itself.  But the latter are less common.

The problem may also be with Hardware Acceleration.   To test this, follow these steps to toggle the option to see if it causes the problem for you.

  1. Click on Options menu in WinAmp then Preferences…
  2. If you are using WaveOut Output plugin click Configure button then on Device tab uncheck Allow hardware acceleration
  3. Optionally change from WabeOut Output plugin to DirectSound Output plugin.
  4. Test!

Hope this helps.

WEB: ISP (Hosting, VoIP, DSL, Cable) Survival Guide

In the not so distant past, there has been an explosion of ISP’s on the web which caused the only thing all of them could: dirt cheap hosting.  In fact, the web is virtually flooded with ISP’s offering everything imaginable under the sun and space has become dirt cheap.   But what really separates a great host from scams and basement ran hosting companies that are fleeting at best.  The answer isn’t as easy to find as it appears and true value doesn’t exist in the up front offers but what happens once you actually join.

ISP, be it VoIP, DSL, Cable or plain hosting, are there to make money.  Plain and simple.  Then why do we see hosting companies that offer $50 for a package and another company offers $3 for the same package?  What’s going on?  Does it really mean the $50 hosting package is really ripping you off?  What about longevity?  All factors to consider besides the usual: space, uptime, features.  This also depends highly on your own skill level.   Here are a couple of things to consider when looking for a web host:

Host Feature Your Experience Considerations
Price Novice

Cheap isn’t necessarily better for you here.  So what happens to hosting under the hood considering the above and the prices they offer.  Here is a couple of things that might get cut to save you money:

  • Hire cheaper support staff.  For example, from expensive $12 an hour support staff to $2 - $4 an hour support staff personnel outside the hosting company’s home country.
  • Cut support staff wages.
  • Squeeze more clients on servers.
  • Use older hardware components for servers you are on.
  • Charge high fees for exceeding account limits.
  • Controls to setup basic things like subdomains and email accounts are likely be more involving and technical.

If you are a novice user to the web and would like to spend some time with support staff getting the help you are looking for or for customizing your account, you might find yourself following complex and seamingly disorganized and broad set of instructions to configure the most basic things.  This means heavy reliance on support staff who also have been cut and payed less, meaning, they may be less adept at resolving your issue.  This is an important consideration because otherwise, you’ll end up using alot of their time and your time.  This again leads to another potentially problematic thing.  The more time you spend with technical support telling them what to do, the more likely something can go wrong and a simple thing can turn into a nightmare.  If the support staff tell you it’s possible to begin with. 

So the bottom line is that it’s truly what you pay for.  So unless you are an expert, you might not benefit here.

  Intermediate

You are a more experienced user.  You know and understand the ISP business and have all but the most advanced knowledge of things and what to expect.  You know things like what a .htaccess file is about and won’t call in to technical support for your ISP to figure it out.  You know how to use FTP and it’s limitations and occassional problems.  You know HTML, and have done some CSS and have an idea what XML is and even how to write an XML document.  You know how to configure Microsoft Frontpage or another publishing tool and understand how to hook it up with your host based on your reading off the ISP site or other resources online.

You also understand that an ISP, other then in regards to direct problems with a hosting package isn’t responsible to teach you how to create your site: that is your task.  You also understand that to get such support, you need to either look for it online through search engines or on the ISP website in the FAQ sections.  This is a norm and is to be expected.

In this case you still might not want the cheapest ISP.  You can probably avoid the most expensive ISP as well unless there are specific reasons to justify the cost (ie features not found anywhere else)

 

  Expert

 You not only understand how to figure out the ISP’s instructions available either by email they provide or their website including locating the FAQ, you also know how to identify when a problem is related to what you are doing or your ISP is responsible but also how to resolve problems related to your actions without having to call technical support.

You also understand that when your website is unreachable and you determined it’s your ISP’s fault, you do not call the ISP trying to find out why you could not access your website, you take lunch for 30 minutes and try again later or work offline and get your files ready when your website comes online. 

You also understand that there will be wait times when you call. 

In this case, a cheap ISP will do for you since you understand the shortcoming of ISP’s that offer cheap solutions.  You understand their limitations. 

     
Space Novice

 This depends on what you need to do with a host.  Hosts that offer 1.5 Terabytes for their users, are betting that not all their users will use up all that space and you are likely going to use only perhaps 5% of the advertised space.

The servers the ISP uses are also probably a couple of generations old and not only do they not even have 1.5 Terebytes in total, they probably don’t even have the space on the entire server the ISP is offering you.

Then how come they offer me this space if they don’t even have it on their entire server?

This is purely Marketing.  Many ISP’s have hundreds of accounts on servers and the space of the entire server is likely no more then 500GB at today’s standards.  And that is a good server. They are simply betting that you could never fill up that space and only have a few MB of files well below 1GB worth.  This is especially true on shared hosrint accounts.

What if I do fill up the space to 100% of my account?

You will definitely not fill it up to over 30GB very easily.  Even at today’s bandwidth speeds, it would take you nearly a month constantly uploading data (24/7) to fill up your web host space to 30GB let alone anything over that.   Today’s connections are simply limited by their upload speeds.   In fact, FTP and file system limits and other software used to upload will also have their limitations further impeding your uploads.  In fact, the combination of problems along the way to filling up your space would cause you so much headaches and problems it would make the task itself very unpleasant.  All ISP’s are well aware of such limitations including the fact that it would take you forever to fill up their advertised space.

Also consider the more you upload the more you have to download when backing up.

  Intermediate You understand and can see through the marketing hype.
  Expert Just like an intermediate user, you understand all about the marketing hype you have been presented with.  You further understand that because of the marketing in space, other features of your web host will also be exagerated and are willing to put up with it to save on monthly payments.
     
 Uptime Novice You believe 99.9% Uptime means that your site will rarely if ever have downtime.  What you might not consider is that 99.9% uptime is 365 days / (100 - 99.9) = 3.75 days when your site will be unavailable, if uptime is spread evenly over all accounts on the server.
  Intermediate You understand that you can expect some downtime.  You also have a basic understanding of how to determine if your site is down because your internet connection is down or because your ISP server is down.
  Expert

You understand that 99.9% downtime means little.  You understand there are a number of downtimes even if you don’t see it readily available on an ISP site:

  • Network uptime.
  • Server downtime.
  • Website downtime.

You also understand that if a company doesnt’ specify which of the three, in the least, the dowtime applies to, you know they mean Network uptime which doesn’t include any downtime from Server and Website problems.  You also understand that today’s networks have near 100% uptime and are rarely at fault for any downtime.

You also understand that downtime is an average.  This means that when some people may have downtime of 99.999%, a few would have to have downtime as low as 95% for the average of 99.9% uptime to be achieved as the ISP advertises.

You also understand that when an ISP advertises a single uptime for say only the Network part, the uptime for the other components is not guaranteed and is likely much less and that this indicates more of a marketing feature that doesn’t really reflect the actual uptime of the ISP and your site.

You also understand that when you have shared hosting and some other user is causing a problem on the servers, your site may be impacted. Further to that, you also understand that it may take your ISP some time to figure this out while your site is impacted as well.

     
Money back guarantee Novice When money back guarantee is advertised, you believe it without reading the terms and privacy policy.
  Intermediate You read some of the terms and privacy policy and understand the limitations of the money back guaranteed and it’s conditions.
  Expert

You know there is no such thing, or is very very rare if at all, even if advertised.  You also know that when you sign up for a 2 year contract and you leave before then, you won’t get any refund or if ever most likely a prorated refund. 

As a result, you understand that you should not commit yourself to a long term contract with an ISP when you first test an ISP out but only sign up for a few months at best to test first.

You have also REALLY read the terms of service and privacy policy and fully understand it and know all there is available to know about the REAL DEAL.

 

So how do you determine a great host to begin with?  This really isn’t easy at all.  In fact, two hosting companies may look identical in terms of features and other offerings but one, though cheap, may be terrible and cost you while the other, though expensive, may actually save you alot of money and turn out to be cheaper in the long run.  So what really makes the best ISP.  Most top ISP’s are found by research and actually calling them, reading their their site thoroughly and even testing some of their features.  Here’s a table of some things to ask ISP when researching which ISP is the right one for you:

 

CPU Time Limiting

This is avery handy thing to have running on a server when you are a web host.  This ensures that when someone uploads a very inefficient and CPU intensive task, it won’t overload the server.  By overloading I mean causing the server CPU usage to spike as high as 100%.  This is a feature that has to be tweaked on a LINUX, UNIX and Windows servers as it does not come preenabled.  In my findings by calling and emailing dozens of ISP’s only two ISP’s had this at the time one being my own ISP 1and1.com.

How is this usefull?

This effectively prevents any users from creating a scenario no a server which would cause delay for your website. 

It is also noteworthy to ask if the ISP limits CPU usage by application.  For example if an application uses the CPU for over a predetermined amount of time, it will then be asked to share CPU usage with other applications vying for CPU time.  (All very technical stuff but worth while to ask)

If I overload the server with my website software, what will happen?

This question is very heavily related to the one above.  The reason i that you will be uploading stuff to your website some of which may not be what you wrote.  Possibly the software can cause some unforseen problem and cause your ISP’s server problems.  You should find out what will happen to your website once this scenario occurs.  Some common actions ISP’s will take.

  1. Delete your website.  Do not expect a refund.  This is draconian and only a few hosts may end up doing this.
  2. Suspend your website.  You can then contact them about the cause.  Do not expect a refund in this case, even if it’s not your fault.
  3. Remove the application / script that caused the problem.  Suspend the service for your site that the script used to overload the server: IE HTTP which is the service used to display your site to visitors
  4. Move the script out of the way and notify you on it.
  5. Fix the script and notify you on it.

Again these points are important to know.  Ask a potential ISP what they would do.  It will also indicate their level of interest in helping you.

Cancellations

Learn the How and Where before you sign up.  List of questions to ask about cancellations.

  1. What will happen when I cancel midway in my plan?  Find out if your refund will be prorated.
  2. Where do I cancel?
  3. What will happen to my site when I choose to cancel?  Some ISP’s may give you a grace period or even offer extended FTP access for you to move your files off the server.  Some may even backup your site for a period of time in case you come back to reinstate the site. 
  4. Will I be given a backup of a site before or after I cancel?
What payment options do you accept.  Do you accept cash?

Many ISP’s , perhaps due to bililng errors or miscommunication with you, may continue to charge you past your cancellation date or expiration date if you choose not to renew.

This is obviously wrong and can be a hassle.  For this reason it’s sometimes good to pay in ways other then credit that the ISP can’t continue to charge you otherwise you’ll be calling your credit card company to cancel your credit card, but that’s a hellish scenario.

When testing out a new host, you may wish to opt for other payment methods then credit and also ensure you do things proactively and not do things like cancel in the last minute.

SPF records Ask your host if they support SPF records.  SPF records are very important in reducing spam coming into your domain name.
Bogus TCP/IP attack protection.

These are essentially D.O.S. (DOS) attacks or Denial Of Service attacks.  They occur when a party on the internet wishes to take down your website and does so by trying to open thousands of connections per second to your site and the server.  When they do, subsequent connections to the site cannot occur and everyone else gets a timeout which will effectively block your legitimate visitors.

Smart ISP’s will run software to prevent this from occurring by automatic software that will be in place to prevent such attacks.

Other ISP’s will rely on their technical support to prevent such attacks which is not necessarily as good as there will be a response time involved which can stretch for a while depending on the level of support the ISP has.

Do you limit network connection speeds (throttle bandwidth) to and from the site? This is important and is good to have for various reasons.  This both ofers protection against bogus attacks designed to flood you rsite but can also limit your traffic once your site becomes popular.
What will happen when I exceed my quota either in space usage or bandwidth?

Many ISP’s will limit the amount of data you and your uers in total can upload and download in total for a given month.   This is important for another reason.  If you put a large amount of files on your website, it’s possible that either malicious users or even legitimate users will download so many of the files that it will push your usage over the designated limited placed by your ISP.

This is where many ISP’s will start making alot of money on you.  They will charge you as much as $6 / Gb downloaded over your limit!  If you go over by 100GB that’s $600 they will charge you.  It is therefore highly recommended to either ensure your host has some limits in place that would send you a warning when you are approaching your quota so you can take measures to prevent it.

Smart ISP’s will implement some protection against this by allowing a certain speed of download/upload from your site in such a way that it isn’t noticible to you.  It is recommended to ask this.

What will happen to my site if it is hacked?

This is another good question to ask.  However, unless the hack poses a threat to the server, your host will likely mention that you would be responsible for cleaning it up.

It is however good to ask what remediation steps they may be willing to help you with.  Most UNIX / Linux Administrators for an ISP may be able to assist you here in removing the intrusion and related software used in the hack.

Do you use MOD Security or similar hack filtering tools?

This is essentially a plugin for the Web Server (HTTP) .  Mod security is similar to a firewall however the setup and rules are very different for mod security then a firewall.  Mod security also functions by interpreting the traffic coming in through port 80 (HTTP) for signs of problems wiht requests, and blocks requests that are determined malicious based on some defined rules.

You can visit http://www.modsecurity.org/ for more information on this.  This is definitely one you can ask your ISP if they have and use as it can save you from many hack attempts.

Do you run automatic backups?  If so how do you backup?

Most ISP’s will backup but you should ask all ISP’s if they do.  Most other ISP’s will do backups but it may not be readily clear on their site with regards how they do it.

ISP’s know that many users upload music and video files which can become huge.  Some users even hold collection of CD images (ISO’s) on their websites which are enormous.   Many ISP’s will then do backups selectively on such websites, for example skipping all music, video and CD image files.   Or they may backup only files with certain extensions such as .php, .htm, .html, .txt etc.  This is a good question to ask as well.

Technical Support

Call their technical support at various times in the day to determine how their response is like.  Ask some simple questions you might be interested in or better yet ask them the above questions to see their level of understanding.

Then call again a couple of days later to find out if they give you the same answer.  I have not yet found one where tech support will provide the same answer each time you call but there are some that came in very close.

 

This is it in a nutshell but check here again often for new updates.  Feel free to also leave a comment and let us know your experience and submit an opinion.

MS Windows Tweaking: Performance, Security and Annoyances

Here is a set of things to try for those of you suffering from poor PC performance, very slow boot up times, very slow application start up times, generally slow windows performance, security problems and other annoyances on Windows systems. 

PERFORMANCE

Poor performance of a PC usually falls into two categories: Software and/or Hardware related or a combination of both.  Naturally, the latter is more expensive and it is generally advisable to clean up software before deciding you need better hardware.  Below is a number of things you can try now to speed things up on your system and free space at the same time.  Most solutions below take advantage of multiple hard drives or partitions, the former reaping greatest benefit for all of these solutions.    I recommend to follow all the options however I leave it to the reader to decide which they prefer at any given time:

SOFTWARE

  1. Defragment your drive
  2. Disable on-access virus scanning of files
  3. Perform a registry scan
  4. Relocate your Inbox file to another drive from windows root partition
  5. Free space on the drive windows is installed on
  6. Relocate your swap file to another drive
  7. Uninstall unneded applications
  8. Disable startup applications
  9. Disable services you no longer need or configure them to manual
  10. Stagger your applications over two physical hard disks
  11. Check for hardware errors
  12. Check memory for errors
  13. Use Disk Cleanup
  14. Check for Spyware / Malware
  15. Toggle the EnablePrefetcher option in the registry
  16. Optimize the boot files
  17. Ensure your hard drive connection is set correctly
  18. BIOS Settings are correct

 

defragmenter

Why is defragmenting helpfull?
This is because most files on a disk are saved in many small pieces spread over your entire disk instead of one single piece.  When you open a 1MB word document, the file could actually exist in 100 different pieces all over your disk.  Each time you read a file, Windows has to read all the pieces before it opens the file for you.  Each time your disk jumps between the pieces which are all over a disk, it is wasted time. Defragmentation places all the pieces of files together so they are a single big piece, thereby eliminating the time it takes to find all the pieces and reducing the time it takes to read the file.  In most cases, this can make your system start up and react noticibly quicker.

To start the defragmenter follow any of the two below steps:

I) Get to the defragmenter using My Computer:

  1. Click the ‘Show Desktop‘ icon on your task bar (or Launch Bar)
  2. Double click the My Computer icon on your desktop
  3. Right click on  the disk you want defragmented then select Properties
  4. On the Properties panel select Defragment Now…
  5. Click either Analyze to obtain a fragmentation report or Defragment to start the defragmenter

II) Get to the defragmenter using Windows Explorer:

  1. Right click the Start button
  2. Select either Explore or Explore All Users to open the Windows Explorer
  3. Right click the drive letter for the drive that needs to be defragmented
  4. On the panel that opens click Properties
  5. On the Properties panel select Defragment Now…
  6. Click either Analyze to obtain a fragmentation report or Defragment to start the defragmenter.
Disable on-access virus scanning of files

NOTE: You should carefully review any below actions recommended.  If you are not comfortable disabling anything to do with security, or have a sensitive system to protect, you may wish to skip this section and avoid using this recommendation.  This option also assumes you have a working and properly configured (software) firewall on the machine and possibly even a router firewall on your home network.

How helpfull will this be?

You can test this to assess the benefit to you.  Disconnect yourself from the network / internet by disabling the network NIC card you connect through or simply pulling out the network / USB cable responsible for connecting you.  You do this to be safe.  Then, disable the Antivirus software you have completely including any services it starts through the Windows Services panel.  Ensure you write down the state of all the optiosn prior to doing this.  Then restart Windows

Why is disabling this feature helpfull and is it safe?
While antivirus software is virtually a necessity today, most antivirus software will come preconfigured with on-access file scanning.  This option will scan files when they are opened and closed or one or the other.  This will have a very significant impact on how fast applications load on your system, particularly during startup.  In fact, the impact can be so much, that after installing many Antivirus applications, your system may be more than twice as slow if not more.  For this reason disabling this feature can be safe and at the same time have a significant impact on how quickly your system reacts. 

Is this safe?
Usually, when the above option is left enabled, it causes your system to scan the same file over and over again each time you do even simple actions in windows.  Moreover, it only scans the same 10% - 5% of your files over and over.  On a system that has an antivirus program, scanning files when they are opened or closed is highly unlikely to yield any viruses 99.9% of the time if the file has already been repeatedly scanned.  And even 0.1% chance of viruses would be a high rate of viruses on most computers and is indicitive of an unprotected network / workstation installation.  All good antivirus software will pick up viruses when they start to run and prevent them from doing damage anyway, provided it is an up to date version.  Moreover the weekly or daily total system file scan most antivirus applications have will catch viruses inside files cleaning them at the time.  Many viruses will reside in files you do not usually open or open very rarely anyway so this feature will not catch those until a full system scan occurs anyway.  Viruses are like any other programs and need CPU and memory to run.  As long as they are not running they are harmless.  When they do run, active memory is scanned by most if not all antivirus software which will pick up and eliminate the virus.

Disabling AVG Free Antivirus on access scan::

  1. Double click the AVG icon to bring up the AVG Control Center
  2. Double click the Resident Shield
  3. Select any of the following three options (from lowest security impact to highest):
  • Uncheck On-close scanning option
  • Select Scan infectable files instead of Scan all files
  • Uncheck Turn on AVG Free Resident Shileld protection to disable this feature alltogether.

Disabling Symantec / Norton Antivirus on access scan::

  1. Click Start
  2. Programs
  3. Symantec Client Security
  4. Symantec Antivirus Client
  5. Select/Unselect any of the following combinations under the Configure menu File System Auto-Protect section (from lowest security impact to highest):
  • Under Advanced menus Scan files when section select Modified (scan on create) instead of Accessed or modified (scan on create, open, move, copy, or run)
  • Under Advanced menus Startup options section select Symantec AntiVirus start instead of System start.  (For faster boot up)
  • Selected instead of All types and modify the file types
  • Uncheck Enable Auto Protect (Enabled)

Disabling McAfee on access scan:

In the works!

Perform a registry scan

Why can this speed things up for me?
Your registry is a list of startup options, commands and what-not that windows reads and goes through on each startup or even during runtime for your applications.    When the registry has erronous entries or links to files that no longer exist etc, Windows will take time to look at each of the settings in the registry including any broken links and try to find the files each time.    Eliminating a broken link or broken registry keys allows windows to process process the correct ones instead of wasting time on erronous ones each time.

There are a number of tools out there that can be used for this:

  1. Registry Mechanic from pctools.com
  2. Windows Registry Repair from 3bsoftware.com
  3. RegCure from regcure.com
  4. RegistryFix from registryfix.com

 

Relocate your Inbox file to another drive from windows root partition.

NOTE: The effect of this option on your installation will depend on the number of partitions you have on your current drive and number of physical hard disks in your system.  Effectiveness of doing this is generalized in below table (Benefits are dependent on how much you use email and the size of your email box):

 Why can this speed things up for me?
If you have alot of email dating back, relocating your inbox to another physical drive or logical drive can reduce space usage on your main drive as well as contention with other running applications.  The lower your space usage on your main partition/drive the quicker applications will generally respond and the less wait time you will have.  The greatest benefit here is if you have another hard disk in the system.  Placing the Inbox emails on another drive can improve performance since accessing your email in anyway will not impact the main disk (ie C:\>) where Windows runs from nor other applications that share the same drive.

Another significant benefit here is that if you ever need to reinstall Windows on the main drive C:, your Outlook files would already be out of the way and not clobbered by the new installation.  In addition, new emails you receive will not go to using up space of your main Windows drive C: and thereby reducing your maintenance on it.

Hard Disks Partitions (ie C:, D:, E:, F:, G: etc) Benefit to you?
1 1 None
1 2+ Decreased space usage.
2 2+ Decreased space usage and increased response time.

 

Microsoft Outlook Express:

  1. Locate your existing Inbox file.
    • From the main menu, select Tools -> Options -> Maintenance tab -> Store Folder… button.  Panel with folder/filename settings should appear.
    • Note the path under the Your personal message store is located in the following folder column of the open panel.  The path may appear  C:\Documents and Settings\Administrator\Local Settings\Application Data\Identities\{A8034645-C37F-4373-A1E5-594B8705A2A9}\Microsoft\Outlook Express  or similar.   This is the root path of your mailboxes in Outlook Express.  Your mailboxes should reside in the above path.  Optionally, copy and paste the folder into an Explorer window to find it’s contents.  Close Microsoft Outlook Express.
  2. Create the same folder path on another partition or drive.  For example, instead of C:\…\…\Microsoft\Outlook\ you might now create  D:\Your\Choice\Of\Path where D: would reside on either another partition or even better, a partition residing on a separate hard disk. Replace D: with your choice of drive or partition.  You could optionally also select something like D:\Your\Choice\Of\Path\<USER> for the individual accounts, if any.
  3. Copy (NOT move) your inbox from your old path residing in C:\…\…\Microsoft\Outlook\ to the new path you created under D:\Your\Choice\Of\Path.  For example if your old mailbox was named C:\…\…\Microsoft\Outlook\Inbox.dbx it would now be D:\Your\Choice\Of\Path\Inbox.dbx or similar after being copied.
  4. Change your Office Outlook settings to point to the new path.
    • Select Tools -> Options -> Maintenance tab -> Store Folder… from the main menu on the mailbox you would like to move.  Panel with folder/filename settings should appear.
    • Click Change on the Store Location panel then select the new path you created above (Per above case D:\Your\Choice\Of\Path\).
    • You may receive "There appears to be an Outlook Express message store already in the folder you have chosen.  Do you want to switch to using that store?  If not, it will be deleted and replaced with your current store." or similar message.  Select Yes to use the store you copied. 
    • Save your new settings and restart Outlook Express.
  5. Test your new mailbox location.  Send yourself a couple of emails as a test to ensure they arrive and you can reply to them fine.  DO NOT delete your old mailbox just yet.  Allow for about a week of testing your new inbox location before you do anything to the old mailbox and it’s location.
  6. Repeat the steps for any other mailboxes you have.
  7. After one week, if you do no notice any issues with your new setup, remove the old mailbox under C: to free space.  To remove your old inbox from C: simply delete the old inbox dbx files residing in C:\…\…\Microsoft\Outlook\.

 

Microsoft Office Outlook:

  1. Locate your existing Inbox file.
    • Select Tools -> Options -> Mail Setup tab -> Data Files from the main menu on the mailbox you would like to move.  Panel with folder/filename settings should appear.
    • Note the path under the Filename column of the open panel.  The path may be similar to  C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Outlook\Outlook.pst.  This is the root path of your mailboxes.  Your mailboxes should reside in the above path.  Optionally, click Open Folder… to open an Explorer window to that folder.  Close Microsoft Office Outlook.
  2. Create the same folder path on another partition or drive/partition combination.  For example, instead of C:\…\…\Microsoft\Outlook\ you might now create  D:\Your\Choice\Of\Path where D: would reside on either another partition or a partition residing on a separate hard disk. Replace D: with your choice of partition or partition/drive and path.
  3. Copy (NOT move) your inbox from your old path residing in C:\…\…\Microsoft\Outlook\ to the new path you created under D:\Your\Choice\Of\Path.  For example if your old mailbox was named C:\…\…\Microsoft\Outlook\Outlook.pst it would now be D:\Your\Choice\Of\Path\Outlook.pst or similar after being copied.
  4. Change your Office Outlook settings to point to the new path.
    • Select Tools -> Options -> Mail Setup tab -> Data Files from the main menu on the mailbox you would like to move.  Panel with folder/filename settings should appear.
    • Click Add… on the Data Files panel and the first listed selection Office Outlook Personal Folders File (.pst).
    • Browse to and select your copied Outlook PST file in D:\Your\Choice\Of\Path. You should now see your new PST file listed in the windows along the old one.
    • Notice that the old PST file you had on C: is marked Mail delivery location and will need to change.  After you added the new PST file, close the panels.
    • To set your default delivery, select Tools -> E-mail Accounts… -> View or change existing email accounts -> Deliver new e-mail to the following location: then select the newly added PST data file from above step or select New Outlook Data File… to add a new PST data file directly.
  5. Test your new mailbox location.  Send yourself a couple of emails as a test to ensure they arrive and you can reply to them fine.  DO NOT delete your old mailbox just yet.  Allow for about a week of testing your new inbox location before you do anything to the old mailbox and it’s location.
  6. Repeat the steps for any other mailboxes you have.
  7. After one week, if you do no notice any issues with your new setup, remove the old mailbox under C: to free space.  To remove your old inbox select Tools -> Options -> Mail Setup tab -> Data Files and click Remove on the old mailbox to disassociate the old Outlook.pst.  Follow this by deleting the old outlook mailbox PST file residing in C:\…\…\Microsoft\Outlook\.

 

Mozilla Thunderbird:

  1. Locate your existing Inbox file.
    • Select Tools -> Account Settings -> Server Settings on the mailbox you would like to move.  Panel with server settings should open up.
    • Note the path under Local directory: at the bottom of the open panel.  The path may be similar to C:\…\…\Profiles\default.5ce\Mail.  This is the root path of your mailboxes.  Your mailboxes should reside in the above path.
  2. Create the same folder path on another partition or drive/partition combination.  For example, instead of C:\…\…\Profiles\default.5ce\Mail\ you might now create  D:\Thunderbird\Profiles\default.5ce\Mail where D: would reside on either another partition or a partition residing on a separate hard disk. Replace D: with your choice of partition or partition/drive and path.
  3. Copy (NOT move) your inbox from your old path residing in C:\…\…\Profiles\default.5ce\Mail\ to the new path you created under D:\Thunderbird\Profiles\default.5ce\Mail\.  For example if your old mailbox was named C:\…\…\Profiles\default.5ce\Mail\mymailbox.connectiontype.myISP it would now be D:\Thunderbird\Profiles\default.5ce\Mail\mymailbox.connectiontype.myISP or similar after being copied.
  4. Change your Thunderbird settings to point to your new mailbox location:
    • Select Tools -> Account Settings -> Server Settings on the mailbox you would like to change.  Panel with server settings should open up.
    • Change the path under Local directory: at the bottom of the open panel.  The path may be similar to C:\…\…\Profiles\default.5ce\Mail\mymailbox.connectiontype.myISP.  This is the root path of your mailboxes.  Change this to your new path D:\Thunderbird\Profiles\default.5ce\Mail\mymailbox.connectiontype.myISP .
  5. Test your new mailbox location.  Send yourself a couple of emails as a test to ensure they arrive and you can reply to them fine.  DO NOT delete your old mailbox just yet.  Allow for about a week of testing your new inbox location before you do anything to the old mailbox and it’s location.
  6. Repeat the steps for any other mailboxes you have.
  7. After one week, if you do no notice any issues with your new setup, remove the old mailbox under C: to free space.

 

Free space on the drive windows is installed on

Why can this speed things up for me? 
temp (temporary) folders can constitute a large portion of your drive space.  (See further down on how to locate temporary folders on your windows installation)  These folders, as the name implies, only store temporary files when a program runs.  Once the program exits the temporary files are no longer used but still take up space impacting the overall performance.  Even if the program is restarted again, it will not use the same temporary files it created the last time it ran, and will create new ones.  Smart applications will clean up after themselves but many won’t, such as installation programs.  So such old files can be removed.  How do you know which files can be removed from the temp folder?  Because the applications don’t generally use the same files in the temp folder again when windows or an application is restarted, a general rule of thumb I use is to remove anything older then one day. (NOTE: You will get a warning if you try to delete a file that is currently being used by an application)  You can optionally click the date column in Explorer, to list files by date, then select the ones older then one day for deletion.  For starters, you can remove files older then five days and potentially zip (compress) them out of the way if you are really not sure if you should be removing anything.

Checking other paths, files can also be found in places such as:

C:\Documents and Settings\<USER>\Local Settings\Application Data\

that were perhaps part of some old installations.  You can optionally do a search for some old unused files such as old downloaded temporary installation files left around by the previous installer.  An example below will search for files with dates in the range of years 2000 - 2004 and the words ‘msi’ (Microsoft Installer files) on drive C:

Explorer Search by Date / Type

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Generally it is a good idea keep the main drive your Windows is installed to no more then 75% capacity of your disk or partition.  In fact the lower the capacity the quicker file retrieval can be and less fragmentation the disk will experience.  For fragmentation, see first item above.  To this end here are a few locations you can check for starters:

Unless you are also saving large files to your C: drive one of the largest folders you will probably see are the below three:

C:\Documents and Settings and C:\Documents and Settings\<USER>\

C:\Program Files

C:\WINNT\Installer

C:\WINNT

or

C:\Windows

temp or tmp folders within the above listed paths.

To get the size of folders in Windows, right click on a folder in Explorer (To start Explorer right click Start button in Windows and select Explore All Users or Open All Users) and select properties.  A tally from that folder upwards will show up in a pie chart.

 You could potentially also search for other files such as ones with word temp or tmp in them then decide if any are worth removing.  The search is usefull in this regard especially in locating temporary old and stale folders no longer being used by anything, though you still need to use your judgement what to keep and what to delete.

Relocate your swap file to another drive.

Why can this speed things up for me?

Swap files on a system can be large and relocating them to another drive can be a good idea especially if you have a separate hard disk.  This option will only free space on your windows root partition if you do not have a separate hard disk.   It will have little to no impact on speed of your workstation unless your windows root partition (C:) is full and space is what you need to free in order to increase performance.

To move your swap file to another physical disk (and separate partition) do the following:

  • Right click My Computer in either Windows Explorer or the Desktop.
  • Select the Advanced tab.
  • Click Performance Options… button.
  • Click Change… on Performance options panel.
  • Select the drive letter (partition) where you want to create a swap file on.
  • Select the Initial Size (MB) and Maximum Size (MB).  This should be the same as the one you have on the main (C:) drive / partition.
  • Unset the swap file from the main windows drive (C:) by clearing above boxes.
  • Save your settings.

Virtual Memory Allocation Screen sample:

Virtual Memory Allocation Screen

Uninstall unneded applications  Why can this speed things up for me?

Naturally, the less applications you have installed, the less space you use.  In itself, the additional space freed by uninstalling some can help tramendously in the performance of your PC.  In other ways, the less applications windows has installed, the quicker Windows can start up since Windows will then have a smaller registry to work through.  In addition, and this being a major benefit to performance, any background services those applications needed would be removed as well further speeding up your Windows response time and start up time.

This is very common and your’e probably even familiar with it but here it goes:

Start -> Settings -> Control Panel -> Add / Remove Programs.

One of the things I do here is to use the Sort by Size option then go down the list of largest space users to lowest space users in determening what should stay and what should be uninstalled.  It is, however, noteworthy to mention that many installed programs may have your personal files within the paths that are being summarized for space usage.  So for example, if a Canon application has a path D:\Program Files\Canon Files\ and is reported to be 4GB it may have your personal data under the path.  This is important since though even if the application is removed, the space freed might be only a few megabytes because the actual data under the folder is really YOUR DATA.  In such cases you would need manual intervention and visit the path to move or remove the files you do not need.  Something to keep in mind when uninstalling.

Disable startup applications

Why can this speed things up for me?

Simply that the applications won’t take so long to start during boot up time will be the major benefit here.  Some installed applications will auto-configure themselves to constantly start up at boot time.  However, if you find yourself only rarely using Startup list applications, these could be good candidates for removal from the start list, and load them from Start -> Programs instead.  The Startup list is something you need to weigh carefully.  Some people like to use them to quickly start up applications they use daily, such as at work.  If you really need something started up automatically when windows starts, you should probably leave it in the Startup list.  

To do a check with regards to what is started on your system:

Start -> Programs -> Startup

Alternately, you can use explorer to access this path:

C:\Documents and Settings\All Users\Start Menu\Programs\Startup

or

C:\Documents and Settings\<YOUR USER>\Start Menu\Programs\Startup

Applications listed there will be started up during boot time.  Some applications get configured to start up automatically after installations but may not be needed everyday.  You’ll need to weigh your options here what you can remove from the start list and what you can leave.  It’s important to note, that removing the applications from the Startup folder / list won’t actually delete the application just keep it from starting next time windows starts up.

Disable services you no longer need or configure them to manual

Why can this speed things up for me?

The main benefit is that startup time will be reduced significantly.  It’s not all that practical to start up a service hundreds of times when in all that time it might be used only once. 

This option has significant impact during start up time but is generally technical and involves good knowledge of background services and applications to do:

To change Service settings navigate to

Start -> Settings -> Control Panel -> Administrative Tools -> Services

Once you do this click the Startup Type column to order the services startup time by their startup state.  Look into the services that are started up Automatically then right click the services to change it’s startup state at boot up time and to Start or Stop the service.  Before you change any services, careful consideration will need to be payed to what is needed and what is not.    If you are unsure about a service, it’s best to leave the option unchanged unless you are willing to test disabling a service.  In any case, it is highly recommended to save all your settings prior to making any changes, whether you do so in a file or simply write the settings down elsewhere.

Stagger your applications over two physical hard disks

 When installing applications, virtually all will give you the location where you can install the application.  There is a clear advantage here on a two drive system.  Normally you would be presented with a path such as C:\Program Files\ where over time it can lead to space and consequently performance issues.

Instead of using the C: drive to install applications on, select D: or E: or any other drive as an alternative.  The application will work just as well if not faster.  Even if the directory Program Files\ doesn’t exist on the target partition, it will be created.  On a two drive system where C: is on one and D: is on another, having applications staggered over the two partitions and consequently using two separate hard drives could potentially decrease start up time of two applications kicked off at the same by as much as half the time it normally takes to start both up.

The main benefit here is that the same application will not have to wait and compete for disk reads / writes.  If one drive reads files at 100MB / s, two drives will, in theory, read at 200MB / s and is really where the benefit lies.  It’s in some ways similar to filling a bucket with water using a standard garden hose.  Two hoses will fill the bucket at twice the rate of a single one.

Check for hardware errors A great application I use for this is the Astra32 application that gives a great overview of your system identifying your hardware and potentially any issues with it.  The Diagnostic section of this tool provides an overview of any issues the utility finds.
Check memory for errors A tool that has been indespensible is the Memtest86 tool which is an open source tool from http://www.memtest.org/.  The tool is very thorough and will do a very good test of your memory.  I’ve used this test extensively in the past and it ran the test for over an hour and it picked up memory errors at the 95% complete mark.  Definitely use this tool and let it run it’s course when checking memory.  Use the Pre Built ISO distributions and then burn the CD ISO image, place in CD drive and reboot.  Following the reboot, you will be given instructions on how to proceed from the CD.
Use Disk Cleanup

Disk cleanup is one of the easier things to do but not necessarily the most thorough one.  Start disk cleanup in the following way:

  • Right click on Start button.
  • Select Open All Users or Explore All Users
  • In Explorer, right click on a partition such as C:, D:, E: etc. and click Properties… .  Panel will appear.
  • Click Disk Cleanup… on the General tab.

 

Check for Spyware / Malware

These are small applications that attach and download themselves into your PC and linger on drastically slowing down your PC.  There are a number of ways to prevent these:

  1. Use Firefox browser instead of Internet Explorer.
  2. Install and periodically run the free Ad-Aware application to remove malware.
  3. Use the Windows Defender application from Microsoft.
  4. HijackThis, Bugoff and CWShredder from merijin.org (WARNING: Use extreme caution when using these.)
  5. Visit Wikipedia’s Spyware Removal page for more utilities.

Also visit the SECURITY section of this site for more details on blocking common entry points Viruses and Malware / Spyware applications use.

Toggle the EnablePrefetcher option in the registry

This is a Windows XP key.  This value in the registry controls whether certain commonly used applications are loaded before they are actually started.  This speeds up application startup performance since the data would then already be loaded in memory when a certain application is started.

However, there is a big downside to this.  This feature works like the Startup option earlier in many ways.  It starts up a chunk of some commonly used applications in the hope that they will be used on each windows startup.  If you have a system with plenty of memory and CPU power, this feature can speed up application start up time considerably but perhaps at a cost of a longer boot up time.  Alternately, leaving this option off, can speed up boot time considerably at a cost of slower application start up once windows is booted.  The choice is yours as to which one you prefer more.

Here are the steps to do this:

  1. Click Start then Run…
  2. Type regedit.exe and click Ok to run
  3. Locate the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters
  4. Locate the Name called EnablePrefetcher
  5. If the value is anything other then the four values below, change it to one of the below:
  • 0 = Disabled

  • 1 = Application launch prefetching enabled

  • 2 = Boot prefetching enabled

  • 3 = Application launch and boot enabled

From here you can experiment setting this value.  The typical value to use is 3 however, again, you may get better performance using 0 instead.  In either case, ensure you always write down the values you used in case you have to revert.

Optimize the boot files

NOTE: This option is an advanced feature.  Please use caution when running it and make bacups where changes need to be made.  These instructions are also for Microsoft Windows XP.

Defragment the boot files which are typically skipped in a traditional defragmentation.

  1. Navigate to Start -> Run…. In the open text box type cmd.exe then click Ok.
  2. Run rundll32 advapi32 ProcessIdleTasks

to defragment the boot files.

To enable windows to do this automatically, run regedit.exe by going to Start then Run… again and look for the key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Dfrg\BootOptimizeFunction

Ensure a string called Enable is set to Y.  If not, set it to Y.

Ensure your hard drive connection is set correctly See the HARDWARE section for more on this.
BIOS Settings are correct.

For most porpuses and unless you know what you are doing, selecting default settings in BIOS can give you peace of mind.  It is also recommended to use automatic settings whenever possible to let BIOS autodetect it’s environment. 

There is another benefit here.  In case your system resets, BIOS settings will automatically default to the default settings and you won’t need to adjust anything.  In most cases, BIOS will autoconfigure for best possible settings.  There are also optimized settings for maximum performance as an option in most BIOS applications.

 

Click below for next page…

 

Windows Excel: Creating Drop Down Menus in Excel

Creating Drop Down Menus in Excel

1.    Type the list of items you want to include in your drop down menu in an area of the worksheet that is not visible and/or will not be typed over. http://www.microworkshop.com/WordPressImages/Excel-DropDownMenu-I.jpg

2.    Click on the cell you want the list to appear, in this case it will be cell B1.

http://www.microworkshop.com/WordPressImages/Excel-DropDownMenu-II.jpg

3.    In the main menu, click on Data and then select “Validation”. http://www.microworkshop.com/WordPressImages/Excel-DropDownMenu-III.jpg

4.    In the Validation criteria section, select list in the Allow: field. http://www.microworkshop.com/WordPressImages/Excel-DropDownMenu-IV.jpg

5.    Click in the Source: field and then highlight the area where you typed your list.  You will then see a range value: http://www.microworkshop.com/WordPressImages/Excel-DropDownMenu-V.jpg

6.    If you would like the cell to appear blank before a selection is made, uncheck Ignore blank.

7.    Click OK when all information is completed.

8.    You should now see a drop down arrow in the cell, B1 in this example:

http://www.microworkshop.com/WordPressImages/Excel-DropDownMenu-VI.jpg

9.    When you click it, you should see your list.

http://www.microworkshop.com/WordPressImages/Excel-DropDownMenu-VII.jpg

Windows Word: Creating Drop Down Menus

Creating Drop Down Menus in MS Word

1) To create a drop down menu in Word, go to the area where you would like your menu to appear:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-I.jpg

2) Activate the Forms toolbar if not already showing:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-II.jpg

3) You should see the following toolbar:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-III.jpg

4) To add the drop down list, click on the Drop-Down Form Field button:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-IV.jpg

5) You will now see a grey box:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-V.jpg

6) Double click the box and the Drop-Down Form Field Options window will appear:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-VI.jpg

7) If you want the field to appear empty before making a selection, with your cursor in the Drop-down item: field, press the space bar and click on Add. Your screen will now appear as below: Note: the number of spaces you enter will determine how long the grey area will appear:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-VII.jpg

NOTE: the number of spaces you enter will determine how long the grey area will appear.

8 ) Add all the list items one at a time and then click OK. I recommend putting a space before and after the list item or it will appear too close to the left and right hand border:

9) To activate the menu, you have to protect the document. To do so, click on the Protect Form icon:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-VIII.jpg

10) You should now see the drop-down arrow:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-VIV.jpg

11) When you click on the arrow, your list will appear:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-VV.jpg

12) To make changes, unprotect the form by clicking on the icon again:

http://www.microworkshop.com/WordPressImages/Word-DropDownMenu-VIII.jpg

Good Luck!
BK@MicroWorkshop.com

Microsoft Word: Cursor is at the top of the page in MS Word 2003

Cursor is at the top of the page in MS Word 2003

Most people check their page setup but find that everything is set right. What may have happened is that the View settings for the Print Layout somehow got changed to hide any white space between pages. To correct this, go to:

1) Tools
2) Options
3) Click on the View tab
4) Make sure the option White space between pages (Print view only) below is checked off:

White space between pages (Print view only)

This will hide the white space at the top (header) and bottom (footer) of each page in Print Layout.

HF!
BK@MicroWorkshop.com

F9, KDE 4.X and Konsole: Extra spaces on console command line between cursor and text.

Following some recent upgrades to my distro the Konsole window cursor was always ahead of the text that was typed.  The problem was compounded when lines of text were longer though this problem wasn’t present in other terminal applications.  This really looked horrible using vim, as you can probably imagine.  As you can see in the image below there was consistently space between end of typed text the cursor:

Extra Spaces on Konsole Command Line

This appears to have occurred after removing the obsolete font package after the Fedora 8 to Fedora 9 upgrade, as the font worked before but not after the upgrade and removal of the font package.

SOLUTION

Basically, the selected font in Konsole settings no longer existed following the above uninstallation though surprisingly Konsole didn’t default to another one.  This is seen when you click the font drop down box and the currently selected font is no longer listed.  The solution here was to simply change the font in Konsole settings:

1) In Konsole click ‘Settings‘ menu.

2) Edit Current Profile…

3) Appearance

4) Edit Font…

Konsole: Changing from a no longer existing font.

How do I select the right font or what do you recommend?

Anything will do that you like. It depends on your tastes.  I typed in ‘({)}!#@%!$^@%&‘ on the command line and selected the font that I best liked and displays ‘(‘ and’{‘ correctly.  In some fonts, the two brackets resemble each other so closely, that it becomes difficult to distinguish on occassion.  If you’re a developoer, you probably already saw where I’m going with this.  :)  I used Monospace, size 10 JUST because it was there.

Cheers!
TK@MicroWorkshop.com

Employment, Careers, Jobs

For those of you unfortunate enough to have lost your job or bored enough to start looking for one again, here are some resources for you.  As you may have already experiences, job hunting is another job in itself altogether so for those of you that have a busy life style, this may be a good option.  The lists below cater mostly to IT jobs within the Canada, Ontario region but many will also other world locations as well.  The list below:

Company Listings in Canada:
http://www.branhamgroup.com/branham300/index.php?year=2007
http://listingsca.com/Ontario/Toronto-Region/Computing/Software/index5.asp
http://canada.firmlist.com/ontario/toronto.phtml
http://www.canadianisp.ca/

http://list.canadianbusiness.com/rankings/profit100/2008/next100/Default.aspx?sp2=1&d1=d&sc1=6
http://www.canadastop100.com

http://www.workopolis.com
http://monster.ca

http://www.jobsetc.ca/

http://www.dice.com
http://working.com
http://torontoitjobs.com
http://jobboom.com
http://jobbank.gc.ca
http://www.eluta.ca
http://www.nicejob.ca
http://www.canadianjobs.com

Subscription Services
http://www.petersnewjobs.ca (Internet based job search and report tool.  Does the internet searching for you so you don’t have to. )

Then there are job agencies but likely that will be the buik of listings on the Job Boards.

Good Luck!
TK@MicroWorkshop.com

KDE 4.X and Fedora 9: The taskbar is gone.

PROBLEM

The task bar panel is gone, disappeared or has been removed/unconfigured part of some configuration change as a result of an upgrade or update.  This is one issue I had when upgrading from Fedora 8 to Fedora 9 and was mostly due to extensive overhaul of the KDE 4.0 over it’s predecessor KDE 3.5.  The taskbar panel disappeared and the UI software provided with KDE 4.0 did not appear to have any graphical option for reenabling it.  Unfortunately there appear to have been many KDE 3.5 features that appear disabled / removed alot of people enjoyed, this being one of them.  Here is how to enable it:

SOLUTION
The issue turned out to be with settings here in the /root/.kde/share/config/plasma-appletsrc file with regards to:

[Containments][1]
formfactor=0
geometry=0,0,205,47
location=0
locked=false
plugin=
screen=-1

Part of my issue was that I had ‘location=0‘ above when it should be set to either 1,2,3,4 and ‘plugin=‘ should have been ‘plugin=panel‘.  ‘screen=-1‘ should also be set to something meaningful like 0+ instead of -1.  This was enough to reenable the taskbar in KDE 4.0 though as of yet have not seen any UI equivalent.  Once I followed above steps, and restarted KDE the config file was regenerated by KDE and contained:

[Containments][2]
formfactor=2
geometry=0,824,1152,40
location=4
locked=false
plugin=panel
screen=0
size=32
transform=1,0,0,0,1,0,0,-1900,1

[Containments][2][Applets][3]
geometry=0,8,36,36
locked=false
plugin=launcher

[Containments][2][Applets][3][Configuration]
Height=499
Width=437

[Containments][2][Applets][4]
geometry=40,8,870,32
locked=false
plugin=tasks

[Containments][2][Applets][5]
geometry=914,8,40,32
locked=false
plugin=pager

[Containments][2][Applets][6]
geometry=958,8,30,32
locked=false
plugin=systemtray

[Containments][2][Applets][7]
geometry=992,8,32,32
locked=false
plugin=notifier

[Containments][2][Applets][8]
geometry=1028,8,120,44
locked=false
plugin=digital-clock

[General]
locked=false

Above resolved the issue in this case, however, here’s a second way and more details on how this can be done.  I’ve opted to move ‘plasma-appletsrc‘ out of the way to let KDE regenerate one for me thus enabling the taskbar I’ve been missing.  The reason why this worked is that I noticed that the original file that was there already (Presumably from KD 3.5) very messy and would require alot of editing.  The quicker solution, as in this case, would be to let KDE 4.0 regenerate the file:

$ cd /root/.kde/share/config/
$ mv plasma-appletsrc old.plasma-appletsrc
$ init 3 (Will log you out of KDE)
$ A shell will come up asking for login.  Relogin into the shell.
$ init 5 (To restart the X Server and relogin to KDE to see your changes)

Naturally, there may be issues with this.  If you have already customized your settings for the taskbar, you’ll have to carefully weigh the above and decide how to best apply to your own configuration.  Don’t forget to do your backups!  You can also edit the file yourself if you want to tweak the look of your desktop.  That’s certainly possible but is out of scope of this article.

Graphics and Video: Changing the graphics/video resolution with xrandr

PROBLEM

How do I change my screen resolution?  Changes made in the GUI control panel option in KDE 4.0 are just not sticking.

SOLUTION

In Fedora 9 you can navigate to the Display in this manner:
(CAUTION: Clicking ‘Display’ below may reset your video as it automatically runs):

1. Start / KDE Menu
2. Applications
3. Settings
4. System Settings
5. Display

But in testing I found that for KDE 4.0.X I couldn’t apply the settings at all.  Maybe a bug at this time.  However, there is also a command called ‘xrandr‘ that can change the resolution of your desktop on the fly from the command line.  Without parameters, it will print available settings.

Here are the results of running ‘xrandr’ without any parameters:

$ xrandr
Screen 0: minimum 320 x 200, current 1152 x 864, maximum 1600 x 1200
VGA-0 connected 1152×864+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
1152×864       75.0*+   75.0     70.0     60.0
1280×1024      60.0 +   75.0     60.0     60.0
1600×1024      60.2
1400×1050      60.0
1440×900       59.9
1280×960       60.0
1360×768       59.8
1024×768       75.1     75.0     70.1     60.0
832×624        74.6
800×600        72.2     75.0     60.3     56.2
640×480        75.0     72.8     72.8     75.0     66.7     60.0     59.9
720×400        70.1
DVI-0 disconnected (normal left inverted right x axis y axis)
S-video disconnected (normal left inverted right x axis y axis)
$

To make the above permanent, edit ‘/etc/X11/xorg.conf‘ and add something similar to what you see below under the “Screen” section, selecting the appropriate resolution:

Section “Screen”
Identifier “Screen0″
Device     “Videocard0″
Monitor    “Monitor0″
DefaultDepth     16
SubSection “Display”
Viewport   0 0
Depth     16
Modes    “1280×1024″ “1152×864″ “1024×768″ “800×600″ “640×480″
EndSubSection
EndSection

To get a list of actions the script would take use:

$ xrandr –dryrun -s 1280×1024

CAUTION: When making changes to the video resolution, it’s possible you can hit a resolution outside your monitors range.  A message ‘Out of range‘ on the monitor may be printed as it was the case here when using ‘xrandr -s 1280×1024‘.  One possible way to get out of this situation when you are stuck in a mode you can’t get out of is to use this trick. (NOTE: See safer solution further down.)  Run ‘xrandr -s <RESOLUTION>‘ for a resolution you know works.  Next run ‘xrandr -x <UNTESTED RESOLUTION>‘.  If you get stuck, press the up arrow key twice and hit enter (though you will not see anything as your monitor will be blank due to the bad resolution).  Above set of steps will revert you to your last known working resolution (1280×1024):

$ xrandr -s 1280×1024
$ xrandr -s 1600×1024
$ xrandr -s 1280×1024 (UP arrow twice + Return/Enter key)
$

The above code will bring you back to the last known working resolution in the event that the second command typed doesn’t work.  The problem with the above method is that you are working in the dark.  A safer approach and to similate a preview effect, we can add a timer in the above likeas in the below code that will automatically revert to a working setting when the time has expired.  Here is the slightly more automated and SAFER way doing just this:

$ xrandr -s 1600×1024;sleep 10;xrandr -s 1280×1024

What it will do is change the resolution to 1600×1024, sleep for 10 seconds then change it back to 1280×1024.  This would be equivelent to the Windows resolution test option under ‘Display‘.  :)

Cheers!
TK@MicroWorkshop.com


     
  ? ? ? ? ?  
  Copyright © 2003 - 2008 Tom Kacperski. All rights reserved.