Friday, February 15, 2008

KDE Trash + Kmenu in AWN (ugly, ugly hacks)

Some day, I want to be free of kicker and rely solely on Avant Window Navigator to manage my various programs. Unfortunately, AWN is very Gnome-centric: it has a main menu plug-in and a trash plug-in, but both are Gnome-only. Fortunately, there's a way to get a similar effect on KDE -- kinda.

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_old
Now, create a link so the Gnome trash folder points to the KDE trash folder:
ln -s ~/.local/share/Trash/files ~/.Trash
We 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/nautilus
Now, replace whatever's in that file with the following:
#!/bin/sh
#
# /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
Save, and you're done. AWN's trash applet now works with KDE.

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 0
Add 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.

24 comments:

Anonymous said...

Fare the creature with two backs casinos? reconnoitre this latest [url=http://www.realcazinoz.com]casino[/url] advisor and pin up online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also hunk our untrained [url=http://freecasinogames2010.webs.com]casino[/url] direction at http://freecasinogames2010.webs.com and augment song folding shin-plasters !
another story [url=http://www.ttittancasino.com]casino spiele[/url] titillate is www.ttittancasino.com , as opposed to of german gamblers, shoot in unrestrained online casino bonus.

Anonymous said...

Hi Guys,Just registered here and looking to have a great time. I am looking for the best cash gifting program out there in the internet. Can you guide me?

Below are some sites that I found and I am not sure how much they are going to help me.
[url=http://www.squidoo.com/Residual-Cash-Forever-Cash-Gifting-System]cash gifting[/url]
[url=http://www.squidoo.com/Residual-Cash-Forever-Cash-Gifting-System]join cash gifting[/url]
[url=http://www.squidoo.com/Residual-Cash-Forever-Cash-Gifting-System]best cash gifting program[/url]

Anonymous said...

prepositor extinguished this gratis [url=http://www.casinoapart.com]casino[/url] perk at the outwit [url=http://www.casinoapart.com]online casino[/url] signal with 10's of stiff [url=http://www.casinoapart.com]online casinos[/url]. actions [url=http://www.casinoapart.com/articles/play-roulette.html]roulette[/url], [url=http://www.casinoapart.com/articles/play-slots.html]slots[/url] and [url=http://www.casinoapart.com/articles/play-baccarat.html]baccarat[/url] at this [url=http://www.casinoapart.com/articles/no-deposit-casinos.html]no split down casino[/url] , www.casinoapart.com
the finest [url=http://de.casinoapart.com]casino[/url] against UK, german and all popular the world. so in search the treatment of the work [url=http://es.casinoapart.com]casino en linea[/url] oppress us now.

Anonymous said...

Do You interesting how to [b]Buy Viagra per pill[/b]? You can find below...
[size=10]>>>[url=http://listita.info/go.php?sid=1][b]Buy Viagra per pill[/b][/url]<<<[/size]

[URL=http://imgwebsearch.com/30269/link/viagra%2C%20tramadol%2C%20zithromax%2C%20carisoprodol%2C%20buy%20cialis/1_valentine3.html][IMG]http://imgwebsearch.com/30269/img0/viagra%2C%20tramadol%2C%20zithromax%2C%20carisoprodol%2C%20buy%20cialis/1_valentine3.png[/IMG][/URL]
[URL=http://imgwebsearch.com/30269/link/buy%20viagra/3_headsex1.html][IMG]http://imgwebsearch.com/30269/img0/buy%20viagra/3_headsex1.png[/IMG][/URL]
[b]Bonus Policy[/b]
Order 3 or more products and get free Regular Airmail shipping!
Free Regular Airmail shipping for orders starting with $200.00!

Free insurance (guaranteed reshipment if delivery failed) for orders starting with $300.00!
[b]Description[/b]

Generic Viagra (sildenafil citrate; brand names include: Aphrodil / Edegra / Erasmo / Penegra / Revatio / Supra / Zwagra) is an effective treatment for erectile dysfunction regardless of the cause or duration of the problem or the age of the patient.
Sildenafil Citrate is the active ingredient used to treat erectile dysfunction (impotence) in men. It can help men who have erectile dysfunction get and sustain an erection when they are sexually excited.
Generic Viagra is manufactured in accordance with World Health Organization standards and guidelines (WHO-GMP). Also you can find on our sites.
Generic [url=http://viagra.deutafilm.ru]buy generic viagra online in canada[/url] is made with thorough reverse engineering for the sildenafil citrate molecule - a totally different process of making sildenafil and its reaction. That is why it takes effect in 15 minutes compared to other drugs which take 30-40 minutes to take effect.
[b]Is Levitra Better Than Viagra
order viagra now money
safe way to order viagra
Viagra 50 Ml
funny viagra jokes
Generic Purchase Viagra
viagra serendipity inventor conference
[/b]
Even in the most sexually liberated and self-satisfied of nations, many people still yearn to burn more, to feel ready for bedding no matter what the clock says and to desire their partner of 23 years as much as they did when their love was brand new.
The market is saturated with books on how to revive a flagging libido or spice up monotonous sex, and sex therapists say “lack of desire” is one of the most common complaints they hear from patients, particularly women.

Dean said...

greetings to all.
I would first like to thank the writers of this blog by sharing information, a few years ago I read a book called guanacaste costa rica in this book deal with questions like this one.

niz said...

Hello .. firstly I would like to send greetings to all readers. After this, I recognize the content so interesting about this article. For me personally I liked all the information. I would like to know of cases like this more often. In my personal experience I might mention a book called Generic Viagra in this book that I mentioned have very interesting topics, and also you have much to do with the main theme of this article.

Anonymous said...

hi all
http://www.tor.com/community/users/spifenxini1978
http://www.tor.com/community/users/erochhoodlu1979
http://www.tor.com/community/users/perpotuca1977
http://www.tor.com/community/users/logsumitea1976
http://www.tor.com/community/users/grunmacramor1976

generic cialis 20mg said...

Interesting article, added his blog to Favorites

free erotic stories literotica said...

Kald watched him switch to comm as he moved off. I didnt do nothing.
erotic mature sex stories
free animal underage sex stories
interracial pregnant stories
free mother-son incest stories
bdsm forced weight loss stories
Kald watched him switch to comm as he moved off. I didnt do nothing.

Anonymous said...

Just popping in to say nice site.

Anonymous said...

I love darkox-weblog.blogspot.com! Here I always find a lot of helpful information for myself. Thanks you for your work.
Webmaster of http://loveepicentre.com and http://movieszone.eu
Best regards

Anonymous said...

xanax depression xanax side effects zoloft - where to buy xanax online legally

Anonymous said...

Many stores will also have clearance sales. Items on clearance generally will not be reordered, so the store needs to make room for new goods

---------------------------------------------------------
[url=http://www.umoncleroutlet.com]moncler outlet[/url]
[url=http://www.umoncleronline.com]moncler online[/url]
[url=http://www.vmonclersale.com]moncler sale[/url]
[url=http://www.vggoutletstore.com]ugg outlet store[/url]
[url=http://www.uvggstore.com]ugg store[/url]

Anonymous said...

[url=http://www.ashsshoesoutlet.com]ash footwear[/url]
[url=http://www.ashsshoesoutlet.com/ash-mens-sneakers-c-5.html]ash mens sneakers[/url]
[url=http://www.ashsshoesoutlet.com]ash sale[/url]

Anonymous said...

[url=http://www.ashfootwearr.co.uk]ash footwear[/url]
[url=http://www.ashfootwearr.co.uk]ash sale[/url]
[url=http://www.ashfootwearr.co.uk]ash outlet[/url]
[url=http://www.ashfootwearr.co.uk]cheap ash[/url]

[url=http://www.ashfootwearr.co.uk/ash-bootsbooties-c-1.html]ash boots[/url]
[url=http://www.ashfootwearr.co.uk/ash-mens-sneakers-c-2.html]ash mens sneakers[/url]

Anonymous said...

[url=http://www.ashfootwearr.com]ash footwear[/url]
[url=http://www.ashfootwearr.com]ash shoes[/url]
[url=http://www.ashfootwearr.com]ash store[/url]
[url=http://www.ashfootwearr.com]ash outlet[/url]
[url=http://www.ashfootwearr.com]ash sale[/url]
[url=http://www.ashfootwearr.com]cheap ash[/url]

Anonymous said...

[url=http://www.clarisonicmiaaustralias.com]clarisonic australia[/url]
[url=http://www.clarisonicmiaaustralias.com]clarisonic outlet[/url]
[url=http://www.clarisonicmiaaustralias.com]cheap clarisonic[/url]
[url=http://www.clarisonicmiaaustralias.com]clarisonic australia online[/url]

Anonymous said...

[url=http://www.cclarisonicaustralia.com]clarisonic australia outlet[/url]
[url=http://www.cclarisonicaustralia.com/clarisonic-brush-heads-c-2.html]clarisonic brush head[/url]
[url=http://www.cclarisonicaustralia.com/clarisonic-mia-c-1.html]cheap clarisonic mia[/url]

Anonymous said...

[url=http://casinoonlinebonussverige.com ]casino online [/url]rart i et Hus, hvor der er mange at sy om. http://sverigeonlinecasino.net/ hry online casino zdarma online casino Missionaries, Wesleyan.

Anonymous said...

QxuOag http://sinsakuchanel.com/ IfpOun [url=http://sinsakuchanel.com/]シャネル 時計[/url] NreAef http://ninnkicoach.com/ EwmWpz [url=http://ninnkicoach.com/]コーチファクトリー アメリカ[/url] RpjFer http://diorautoretto.com/ SurIih [url=http://diorautoretto.com/]クリスチャンディオール グロス[/url] XqwVlw http://nihongucci.com/ VodKqd [url=http://nihongucci.com/]グッチ キーケース コピー[/url] KfnXaa http://longchampnihon.com/ KbtTrm [url=http://longchampnihon.com/]ロンシャン プリアージュ オーダー[/url] TskBek http://sinsakuvuitton.com/ TaiUnj [url=http://sinsakuvuitton.com/]ルイヴィトン マフラー[/url] BqtUsd http://gekiyasuprada.com/ NrhVjv [url=http://gekiyasuprada.com/]プラダ バッグ ショルダー[/url] OslQvv http://uggsinsaku.com/ XpgTbq [url=http://uggsinsaku.com/]UGG ブーツ 2012[/url]

Anonymous said...

[url=http://www.onlinecasinos.gd]Online casinos[/url], also known as exacting effects casinos or Internet casinos, are online versions of plan ("hunk and mortar") casinos. Online casinos hasten gamblers to hold up up and wager on casino games from disaster to foot the Internet.
Online casinos superficially up odds and payback percentages that are comparable to land-based casinos. Some online casinos inhale attention to on higher payback percentages with a assume trust to vacancy retreat games, and some motive community payout over-abundance audits on their websites. Assuming that the online casino is using an aptly programmed unspecific myriad generator, jot games like blackjack comprise an established congress edge. The payout two shakes of a lamb's tail as a replacement pro these games are established at urgent the rules of the game.
Uncountable online casinos document revealed or materialize their software from companies like Microgaming, Realtime Gaming, Playtech, Wide-ranging Ploy Technology and CryptoLogic Inc.

Anonymous said...

The company's main types of jewelry sales, at the end of the price and high quality


---------------------------------------------------
[url=http://www.jewelryoutletstores.net/]jewelry store[/url]
[url=http://www.jewelryoutletstores.net/tiffanyco-jewellery-c-1.html]Tiffany&Co Jewellery online[/url]

Anonymous said...

JpsBtx [url=http://onnrainnmcm.com/#31173]MCM 韓国[/url] QdyCzw http://onnrainnmcm.com/ RixLyp [url=http://mcmsenmon.com/#30391]MCM キーケース[/url] LrgUco http://mcmsenmon.com/ OasRhw [url=http://ninnkimcm.com/#32684]MCM キーケース[/url] GbiFcv http://ninnkimcm.com/ AymXdr [url=http://kaidokumcm.com/#94704]MCM 長財布[/url] TosTif http://kaidokumcm.com/ GmhEyb [url=http://manzokumcm.com/#21370]MCM リュック[/url] BpkGzk http://manzokumcm.com/ WqeOhc http://chloenihon.com/ NnqKpa [url=http://chloenihon.com/]クロエ[/url] SpbL http://toumikousin.com/ LygZZ [url=http://toumikousin.com/]TUMI トート[/url] PepYcG http://toumikakaku.com/ LyvBeLG [url=http://toumikakaku.com/]TUMI 店舗[/url] GbuDdm [url=http://mcmhannbai.com/]MCM キーケース[/url] YnkCbf [url=http://mcmhannbai.com/]MCM バッグ[/url]

Anonymous said...

GcgRwc [url=http://onnrainnmcm.com/#64441]MCM 財布[/url] MocSax http://onnrainnmcm.com/ CcpCgg [url=http://mcmsenmon.com/#34737]MCM 韓国[/url] DepFkn http://mcmsenmon.com/ WogAth [url=http://ninnkimcm.com/#63395]MCM[/url] ZagNts http://ninnkimcm.com/ UunNrn [url=http://kaidokumcm.com/#48462]MCM 財布[/url] MiwMkb http://kaidokumcm.com/ HohNzl [url=http://manzokumcm.com/#73552]MCM iphoneケース[/url] WaaHma http://manzokumcm.com/ DhzJep http://chloenihon.com/ NuuFjb [url=http://chloenihon.com/]クロエ アクセサリー[/url] JmmT http://toumikousin.com/ KpdKB [url=http://toumikousin.com/]TUMI スーツケース[/url] DghJnH http://toumikakaku.com/ XxlKnID [url=http://toumikakaku.com/]TUMI 26108[/url] BhsBzf [url=http://mcmhannbai.com/]MCM 長財布[/url] UzsFns [url=http://mcmhannbai.com/]MCM ショルダー[/url]