Thank you for your answer.
Originally Posted by kilgoretrout
Here's an article that discusses kde service menu configuration:
Basically, you need to edit the relevant text configuration file to change the service menus in konqueror; there's no gui way to do that AFAIK. These configuration files are all in the form of "*.desktop" and can be located in various places depending on how your distro sets up kde. Apart from mastering the syntax of .desktop files, the biggest challenge is finding the right .desktop file you need to edit.
I knew the article by Aaron Seigo and .desktop files were the first I looked at. Finding the right one was a problem indeed. My distro (sidux) has directories called "servicemenus" so it could have been simple. I also looked at rc files in various .kde locations and at .protocol files for clues. No luck but given the amount of files and the sometimes cryptic filenames, I consider it very possible that I've overlooked the correct one.
My question was posted in the hope someone could point me to an easy solution. I'd taken a half-hearted look at some Ark source files too just in case I could find the root of this issue there. Earlier this evening I combined what I knew from looking at text files and downloaded the KDE source. Unfortunately, my C++ knowledge is quite useless but this is what I found:
/kdeaddons-3.5.9/konq-plugins/arkplugin/arkplugin.cpp, lines 94 - 110
actionMenu = new KActionMenu( i18n( "Compress" ), "ark", actionCollection(), "ark_compress_menu" );
m_ext = m_conf->readEntry( "LastExtension", ".tar.gz" );
if ( itemCount == 1 )
item = itemList.first();
m_name = itemList.first()->name();
action = new KAction( i18n( "Compress as %1" ).arg( m_name + m_ext ), 0, this,
SLOT( slotCompressAsDefault() ), actionCollection() );
action = new KAction( KMimeType::mimeType( m_conf->readEntry(
"LastMimeType", "application/x-tgz" ) )->comment(),
0, this, SLOT( slotCompressAsDefault() ), actionCollection() );
actionMenu->insert( action );
and sure enough, I have a ~/.kde/share/config/arkrc file with an entry called LastExtension:
So my guess
is there's something not working right but I can't say for sure.