• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

execute script on desktop double click

Joined
May 21, 2009
Messages
4,966 (0.91/day)
System Name i7-PC / HTPC / iMac
Processor i7 3820 / Phenom II 940
Motherboard GIGABYTE G1.ASSASSIN2 / M3A79-T Deluxe
Cooling Corsair Hydro H100i / Scythe II (HS only)
Memory G.SKILL Trident X Series 8GB (2 x 4GB) DDR3 1600mhz / 4GB DDR2 1066 (@800) Corsair Dominator
Video Card(s) GB Radeon HD 7950s 3GB / GB Radeon HD 7950s 3GB
Storage 2x 80GB Intel X-25, 2x600gb SATA, 1x1tb 5400RPM storage /1x600GB, 3x500GB,1x160,1x120 SATA
Display(s) 1x 27" Yamakasi / Vizio 42" HDTV
Case Lian Li Lancool PC-K58 / Antec 900
Audio Device(s) HT Omega Striker 7.1 / Onboard and HDMI from ATi Card
Power Supply PC Power & Cooling 750W / 610W
Software Ubuntu / Windows 8.1 Pro / OS X / PHPStorm / Gaming
Hello :)

I finally made the real switch a couple months ago, after using nix off and on for years. I am going with Ubuntu for now just to get my feet wet, but I will likely stick with Debian.

I can do everything I need, so now I have been focusing on the missing things I want. now? a feature like "stardock fences" for ubuntu, a script that will show/hide my desktop icons when I double click on the desktop.

I see how I can do that part, here:
http://askubuntu.com/questions/116741/how-to-hide-all-desktop-icons-in-12-04

but what I can't find is how to activate that script when I double click on any blank area of the desktop. any clues?

thanks guys :)
 
Joined
Oct 24, 2004
Messages
1,294 (0.18/day)
I would be interested to know how to do that as well, it might be usefull for other scripted actions.

Until someone come up with the answer, a temporary solution could bind 2 gsettings commands to 2 keyboard shortcuts, such as:

one for hidding desktop icons (ctrl+H)
Code:
gsettings set org.mate.background show-desktop-icons true

one for showing desktop icons (ctrl+U)
Code:
gsettings set org.mate.background show-desktop-icons false

Please note that my gsettings schemas refer to a debian installation with Mate desktop environment, your own gsettings may differ.
 
Top