• We've upgraded our forums. Please post any issues/requests in this thread.

execute script on desktop double click

Joined
May 21, 2009
Messages
4,966 (1.59/day)
Likes
1,511
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
#1
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
813 (0.17/day)
Likes
463
System Name $computer$
Processor Core i7 4790K @ 4.4Ghz
Motherboard MSI Z97 Gaming 5
Cooling Alpenföhne Broken 120 + 2 huge coolermaster chassis fans
Memory 2x8GB DDR3 2133Mhz Crucial Ballistix
Video Card(s) Geforce GTX 1080
Storage 2x60gb Kingston SSDnow 320 / 1x120gb Crucial SSD C300 / 1 WD caviar black 1tb
Display(s) 40" Samsung UE40ES5500
Case Cooler Master HAF932
Audio Device(s) onboard realtek audio
Power Supply Corsair AX1200
Mouse Microsoft intellimouse optical
Keyboard Logitech K270
Software Windows 10 Pro
Benchmark Scores https://valid.x86.fr/vmb641
#2
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.