Fedora Linux Support Community & Resources Center
  #1  
Old 15th July 2007, 03:49 PM
ixlam Offline
Registered User
 
Join Date: Dec 2006
Location: toronto
Age: 40
Posts: 38
"Show Desktop" shortcut/icon?

Does anyone know how to make a "Show Desktop" icon/shorcut that I could have sitting on the desktop itself or in AWN toolbar?
Reply With Quote
  #2  
Old 15th July 2007, 04:14 PM
Loki1950 Offline
Registered User
 
Join Date: Feb 2005
Location: Ottawa ,Canada
Posts: 443
That little button on the bottom panel left does it.Tool tip "Click here to hide all windows and show the desktop"

Enjoy the Choice
__________________
Enjoy the Choice:)
Q8200/Asus P5QDLDX/2G ram/500G HD f10/Evga 9800gt 512M
XP2500 Barton/AsusA7N8X Deluxe/768M RAM/6800gt 128M WinXPpro SP3 120 Gb ntft f10 80 Gb ext3
Reply With Quote
  #3  
Old 15th July 2007, 04:19 PM
ixlam Offline
Registered User
 
Join Date: Dec 2006
Location: toronto
Age: 40
Posts: 38
yes I know about the apllet in the top bar .. what Im after is an Icon on the desktop itself tha i can put anywhere including in the AWN toolbar.
Reply With Quote
  #4  
Old 18th July 2007, 11:51 PM
adrianelliott Offline
Registered User
 
Join Date: Jul 2007
Posts: 20
Try this:-

Open package manager and search for "wmctrl". Its a tool which lets you control x windows from the command line. It is actually suprisingly useful. Install it.

Next you want to use your favorite text editor to create this script:-

#!/bin/sh
if wmctrl -m | grep -q '"showing the desktop" mode: ON'; then
exec wmctrl -k off
else
exec wmctrl -k on
fi

Save it to your home directory as showdesk.sh. Open a terminal up and make sure you are in the same directory as showdesk.sh. Use su to get root access and chmod 755 to make it executable. You should now be able to execute the script using "./showdesk.sh". If it works then you can just make a shortcut to the script and fire it when you want to show desktop.

To give credit where it is due, I 'stole' the script from this page which I found when googling for wmctrl: http://rox.sourceforge.net/desktop/n...65e8abfdcf22cb

Good luck, let us know how you get on. I have to confess, I havn't actually tried this script myself as I am on my windowze laptop as I write this. However it looks like a good shot to me - and I am sure that wmctrl is availiable in the FC repositories.
Reply With Quote
Reply

Tags
shortcut or icon, show desktop

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Binding "Open a Terminal" to keyboard shortcut jon3k Using Fedora 10 28th May 2008 01:33 AM
"Show Desktop" shortcut/icon, how ? ixlam Using Fedora 1 18th July 2007 10:59 PM
Help, How to - Remove "Places" and "Desktop" Menus bwinfrey Using Fedora 7 5th May 2006 11:19 AM
I installed Eternal-Lands an"no icon""installed using yumd now I'm lost Nickmorgan19457 Using Fedora 9 16th March 2006 08:28 AM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 16:46 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Utica Photos - Raigarh Instagram Photos - Gotemba