Skip to content

Instantly share code, notes, and snippets.

@jouyouyun
Created December 27, 2013 06:22
Show Gist options
  • Save jouyouyun/8143319 to your computer and use it in GitHub Desktop.
Save jouyouyun/8143319 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"os/exec"
)
func main() {
cmd := exec.Command("dbus-send", "--type=method_call", "--dest=com.deepin.dde.dock", "/com/deepin/dde/dock com.deepin.dde.dock.ToggleShow")
_, err := cmd.Output()
if err != nil {
fmt.Println(err)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment