NOTE: FOLLOWING THE INSTRUCTIONS FOR MODIFYING THE TRASH PLUG-IN WILL LIKELY DESTROY A GNOME INSTALL. ONLY USE IT IF YOU USE KDE EXCLUSIVELY, AND HAVE NO DESIRE TO USE GNOME.
Firstly, the trash. AWN's trash plug-in looks for Trash in a different folder from KDE, so we have to change where it looks. First, remove the old Trash folder:
mv ~/.Trash ~/.Trash_oldNow, create a link so the Gnome trash folder points to the KDE trash folder:
ln -s ~/.local/share/Trash/files ~/.TrashWe have to edit Nautilus, the Gnome file manager, so that it will load KDE the way we want when we tell the trash applet to open the trash folder. So back up nautilus, and then open it as root:
sudo mv /usr/bin/nautilus /usr/bin/nautilus.old
sudo kwrite /usr/bin/nautilusNow, replace whatever's in that file with the following:
#!/bin/shSave, and you're done. AWN's trash applet now works with KDE.
#
# /usr/bin/nautilus
#
# Avant Window Navigator Trash Aplet Hack for KDE
#
# Copyleft 2007 A. Tres Finocchiaro
#
# This script is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation
if [ "$1" = "trash:" ]; then
exec konqueror "$@/"
else
exec konqueror "$@"
fi
exit 0
Now, the menu "hack" is much less tightly integrated. Right-click AWN, select preferences, select launchers and click the add button. Call the command anything you like, and give it whatever icon suits your fancy. Now, make sure the command reads:
dcop kicker kicker popupKMenu 0Add it to the AWN launch bar however you like. Now, hide kicker by opening up kcontrol and going to Desktop, then Panels, and finally the hiding tab. Select hide automatically. Now you have a button on your dock that will launch the kmenu.