Search Linux Info on Web

Custom Search

Sunday, November 9, 2008

Dolphin Issues

Error on hovering mouse over an HTML file in File Explorer Dolphin.

As soon as I select a file to preview or open its context menu, I get the following error message twice:

The desktop entry file
/usr/share/apps/d3lphin/servicemenus/amarok_addaspodcast.desktop
has an invalid menu entry
addAsPodcast.

This is a known bug in Kubuntu 3.5. To fix this problem temporary, one solution is to just copy the service menu:

sudo cp /usr/share/apps/konqueror/servicemenus/amarok_addaspodcast.desktop /usr/share/ apps/d3lphin/servicemenus/amarok_addaspodcast.desktop

One more solution could be :-
1> Edit and fix the file /usr/share/

apps/d3lphin/servicemenus/amarok_addaspodcast.desktop, i use kate to edit

sudo kate /usr/share/apps/d3lphin/servicemenus/amarok_addaspodcast.desktop

2 > The editor opens and you must add the line

Exec=dcop amarok playlistbrowser addPodcast %u

3> Save the file and maybe restart delpin.

Saturday, November 8, 2008

Broadband Speed Hack

My system is a dual boot of Windows Vista and KUbuntu 3.5
I am using BSNL Broadband connection (India). During the speedTest which i took in both the operating systems, i found that Vista was showing a speed of 144 kbps and Kubuntu was showing 52 kbps. The downloads were pathetic in Kubuntu which made me switch to Vista for all internet activities.
Well, i was on a hunt to find an answer which i found was this :-
Open /etc/sysctl.conf as root user.
At the end of the file paste the following lines :-
# Tweaks for faster broadband...
net.core.rmem_default = 32768
net.core.rmem_max = 32768
net.core.wmem_default = 32768
net.core.wmem_max = 32768
net.ipv4.tcp_wmem = 4096 32768 32768
net.ipv4.tcp_rmem = 4096 32768 32768
net.ipv4.tcp_mem = 32768 32768 32768
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_ecn = 0
net.ipv4.route.flush = 1
Save the file and fire up the Terminal to type sudo sysctl.conf -p to reload the above kernel parameters OR just restart the system for the tweak to take effect.

To my surprise when i retook the speed tests, it showed an amazing result of 1.47 Mbps !!!!
I checked my previous google search time which showed google took 0.29 seconds. I just refreshed the same page. Google showed up the same data in 0.08 seconds. Impressive speed!!!!

/etc/sysctl.conf - is a Configuration file for setting system variables. Hence open with care!
You might have to tweak the value 32768 (all occurrences in the following) to any power of 2 that works perfectly fine for you.Although this fix was tried out in KUbuntu it is possible that this might work for other distros with comparable kernels. It looks like the DSL routers and connections are optimized for the default values used in windows. So just tweak the values used in GNU/Linux to match the router - simple.

Saturday, November 1, 2008

Evolution and Microsoft Outlook WebAccess

  • Skype, the free voice over IP phone. Simply go to Skype webpage, select download and download the package. Then make sure that the adept manager is closed and using right-click select the downloaded file. Select the Kubuntu packages install, approve the required password and that's it. You'll find the Skype installed and ready in your internet menu entries.
  • Picasa, the pictures album manager, from Google. Use this link to select the download. When the file is ready, simply do as written above for Skype.
Evolution and exchange. I guess that you are using some kind of exchange server, probably in work. You may have exchange over the web access, but you hate the way it is managed by Firefox. The solution is named Evolution, from Novell, but it is a bit tricky to configure and run. Do the following:
  • First, in adept search for evolution, select evolution and its exchange plug-in.
  • Now, evolution is a bit tricky sometimes to run in the first time. Try to run it from the Kmenu->Internet menu. If does not load, open a Konsole using Kmenu->System->Konsole.
  • In the Konsole write "evolution" and press enter. If the last line is "segmentation fault (core dumped) run: "evolution --disable-eplugin" instead. Most probably that you are able to run evolution. In evolution window, use "edit-preferences" and add an e-mail account. It does not matter which one of your accounts you add.
  • Now, close evolution, exit the Konsole and open evolution from the regular Kmenu.
  • In evolution, add your exchange account. When selecting server type, select Microsoft Exchange.
  • Enter your user name. Note that user name is not email address. User name is the one you use to log in to the network.
  • Enter your over the web access URL. It would probably look like: https:\\owa.company.com\ecxhange\
  • Authenticate it using your login password and now you have a window of properties.
  • In "identity" tab enter your required information.
  • In "receiving mail" tab make sure everything is correct.
  • In "receiving options" tab you configure how often to check for mail in the server and other staff. Select whatever you like. The most important thing is "Global Catalog server name". This is where the server saves the global directory of email addresses. Look in your outlook address book settings in MS-Outlook to find that out.
  • Defaults tab usually needs no adjustments.
  • In "exchange settings" you can add "out of the office" auto-reply or set passwords.
  • In "security" tab I have nothing crossed, so probably everything is not required there.