While getting started using the new wp-plugins.org SVN I was looking for a quick way to download the contents of an SVN to local disk. This can be useful when doing research on methods employed by other plugins or for getting a local development copy where SVN access is unavailable. Under KDE you can normally access any remote location using the standard URL format. For example, an SVN (using the svn://) protocol would normally be accessed using the URL style svn://svn.wp-plugins.org.
Read the rest of this entry »

Advertisements

Increasing traffic is the measure of success for a website. More visitors equals more exposure which in turns generates more income. However, if you have hosted your site on a low-end package you could get hit by excess use charges just as your start celebrating your success.

Here at mutube.com the combination of 4,625 visitors (8,531 hits) a month and popular free downloads quickly helped trip our 1Gb bandwidth limit.

In this article I’ll look at how I’ve used the combined power of Apache Server and Coral Cache to distribute all kinds of requests away from your server transparently.
Read the rest of this entry »

Kubuntu Like You Ubuntu

January 5, 2007

Kubuntu’s mostly-standard KDE desktop layout bears no resemblence to Ubuntu/Gnome. The good news is that if you prefer one layout over the other it’s quite possible to modify the two desktops to look more or less identical. This guide concentrates on applying Ubuntu/Gnome-style layout to Kubuntu/KDE’s panels. If you are going to be using both desktops interchangeably and often it makes sense to have both desktops fairly similar for ease of use.

Starting up…

The most noticeable difference between Ubuntu/Gnome and Kubuntu/KDE is the loss of a second panel. The KDE panel contains everything normally found on the top Gnome panel, plus a Taskbar.

Main Panel to the Top

Rather than delete everything at the bottom and the re-create it above, we can just move the current panel up & create a new blank at the bottom.

  1. Right-click on a blank are of the bottom panel & select “Configure Panel…”
  2. Click the button in the top-left of the arrangement selections.
  3. Adjust the size of the panel to Small.
  4. Click OK.

Your panel should now have jumped to the top of the screen.

Second Panel

Right-click again on the top panel, select “Add New Panel…” and choose “Panel”.
We cannot use the Taskbar panel type because we also want to be able to add the Desktop Switcher and Trash applets.

The next step is to configure the bottom panel to make it the same size as the top one. Unfortunately there is a confirmed bug which prevents editing settings on double panels. If you try and configure the panel, your settings are applied to the main panel instead. Thankfully the fix is simple.

After you have added your second panel simply press Alt-F2 to bring up the Run Command dialog, then enter:

touch ~/.kde/share/config/kickerrc

This reloads the panel configuration & updates with the newly added panel.

Right click on either panel and select “Configure Panel…”. In the window that appears you now have the ability (thanks to the bugfix) to select which panel you want to change. In this drop-down list, “Main Panel” refers to the panel at the top of the screen, whereas “Panel” refers to the one at the bottom. Select “Panel”.

Adjust the size of this bottom panel to Small to match the top panel (and Ubuntu/Gnome).

You may also wish to disable the auto-hiding button on this bar. To do this select the “Hiding” section of the configuration panel. Simply uncheck the checkbox next to “Show right panel-hiding button”.

Click OK to take you back to your desktop.

Taskbar on the Bottom

Now we have our bottom panel sorted out, we need to start adding the standard Ubuntu/Gnome functionality to it. The process for adding applets to a panel is straightforward. Simply right-click on the panel, select “Add Applet to Panel” and then choose your applet from the list. It’s not important which order you do this in because you can drag things around, but for simplicity sakes do the following:

  1. Add Trash Icon.
  2. Add Desktop Switcher
  3. Add Taskbar
  4. Add Show Desktop Icon

Now they are all in place you can now drag them around the panel until you get something that looks something like this:

Finish up the Top

Now we have a Taskbar on the top panel and one at the bottom. Right-click on the top panel and select “Remove From Panel…”, “Applet” and “Taskbar”. Repeat this step again to remove the “Desktop Preview & Pager” applet.

With the space now created we can add the additional functions found in Ubuntu/Gnome to the top panel.

Applications, Locations, Settings

Unfortunately, KDE doesn’t support having the text labels on for the main menus (which conveniently increase the click-area for the most used menu). However, we can still arrange the same functions in the same place.

We already have a Programs button (the “K” Menu) and an equivalent of Places (the “System Menu”). Next to these two in Ubuntu/Gnome we also have a Settings menu. To add this right-click on the top Panel and select “Add Applet to Panel…” and select “Settings” from the list that appears.

The settings icon (a spanner) will appear somewhere on the top Panel. To move it to the correct position, right click and select “Move Settings Menu”. You can now drag it to it’s correct location next to the System menu.

At this point you may also want to replace the Konqueror icon with Firefox if you prefer. The first step is to right-click on the Konqueror icon and select “Remove Konqueror Browser Button”. Now, to add Firefox right-click again and select “Add Application to Panel”. Choose Firefox from the list that appears (it’s available under Internet).

Logout & Clock

To add the Panel Lock/Logout functionality you find in Ubuntu/Gnome you simply need to add another Applet. Right click on the Panel, select “Add Applet to Panel…” and find “Lock/Logout Buttons”. Once you’ve added this, drag it to it’s correct position as using the grip that appears when you put your mouse over the buttons.

Changing the clock is personal preference – you may find it’s a little big for the new thin Panel. To change fonts simply right click on the clock and choose “Configure Clock…” Use the window that appears to make the neccessary changes and then click OK.

Wallpaper & Icons

These are of course option – the icons and wallpaper will have minimal impact on usability of switching desktops. Personally I prefer the clean style of the KDE Crystal icons to the chunky Human ones from Ubuntu/Gnome, especially as under KDE the theme is not complete. However, for those of you who really want to complete the switch there are a couple of simple steps to take.

Click the K-Menu and select System Settings. In the panel that appears select Appearance and then Icons. Choose Human from the list on the right. Click OK and the Ubuntu Human Icons will be applied after a short delay.

If you have Ubuntu/Gnome installed you will already have the ubuntu-wallpapers packaged installed. However, if you removed the ubuntu-desktop metapackage you may find that ubuntu-wallpapers disappeared with it. First, we’ll check to make sure it’s installed.

  • Click “K” Menu, System, Adept Manager.
  • In the Adept Manager window, enter “wallpaper” into the Search box.
  • Find edgy-wallpapers in the package list below.
  • If it is marked as “Installed” you already have the wallpapers packaged. Otherwise, right-click and select “Request Install”.
  • Push the “Apply Changes” button, wait for the installation to complete & then exit Adept.

Now, to select the default ubuntu wallpaper, right click on your Desktop and select “Configure Desktop…”

Ubuntu/Gnome and Kubuntu/KDE keep their wallpapers in a different location so they will not appear automatically in the wallpaper drop-down list. To find them, click the Folder icon next to the current wallpaper drop-down list and you will get an Open dialog window.

In the location bar at the top enter:

/usr/share/backgrounds

Select “ubuntu-smooth chocolate” and click OK.

The last change you can make at this point is to remove the grey gradient on the panels which comes standard with Kubunt/KDE to make it flat. To do this, simple right-click on either Panel, choose “Configure Panel…” and then select Appearance.

Uncheck the box next to “Enable background image…”

Result

If you’ve completed ever step in this guide, you’ll get the following result:

It’s not a perfect replica of the Ubuntu/Gnome desktop (suggestions welcome) but it means you will be faced with substantially similar interface when switching between the two.

Lazy

If you would rather not make all these changes yourself, you can download the final kickerrc config file [+], extract it and Save it over your current configuration in:

~/.kde/share/config/

Restart kicker by pressing Alt-F2 to bring up the Run Command dialog and entering:

dcop kicker kicker restart

Using this update will make all the neccessary changes to the panels, but you will still need to change the wallpaper & icon settings yourself if you wish.

Finally…

If you have any suggestions for improvements to make KDE even more Ubuntu/Gnome like, then leave comments below / on Ubuntu forums. All ideas welcome! If you’re in the UK (or not) you can also join the Ubuntu-UK group for more help & information.