Skip to content

Instantly share code, notes, and snippets.

View beothorn's full-sized avatar
:octocat:

Beothorn beothorn

:octocat:
View GitHub Profile
@beothorn
beothorn / toogle-panels
Created May 30, 2011 17:28
Toogle panels on gnome2
#!/bin/bash
panelList=$(gconftool-2 --all-dirs "/apps/panel/toplevels")
for panel in $panelList
do
state=$(gconftool-2 --get "$panel/auto_hide")
if [ $state = "true" ]; then
gconftool-2 --set "$panel/unhide_delay" --type integer "0"
gconftool-2 --set "$panel/auto_hide" --type bool "false"