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

execute script on desktop double click

Discussion in 'Linux / BSD / Mac OS X' started by digibucc, Aug 6, 2014.

  1. digibucc


    May 21, 2009
    4,966 (1.65/day)
    Thanks Received:
    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:

    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 :)
  2. blobster21


    Oct 24, 2004
    773 (0.16/day)
    Thanks Received:
    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)
    gsettings set org.mate.background show-desktop-icons true
    one for showing desktop icons (ctrl+U)
    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.
    Peter1986C, Aquinus and digibucc say thanks.
    10 Year Member at TPU

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)