From LedHed's Wiki
Jump to: navigation, search

Setting the number of workspaces (Without Compiz)

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type int \
--set /apps/metacity/general/num_workspaces 1

Setting the number of workspaces (With Compiz)

gconftool-2 --direct \

--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type int \
--set /apps/compiz/general/screen0/options/hsize 1


Disable Compiz

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string \
--set /desktop/gnome/applications/window_manager metacity


Disable DPMS

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type int \
--set /apps/gnome-power-manager/timeout/sleep_display_ac 0


Disable Lock Screen

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type boolean \
--set /desktop/gnome/lockdown/disable_lock_screen True


Set Global Background Image

gconftool-2 --direct \
--config-source xml:readwrite:/etc/opt/gnome/gconf/gconf.xml.mandatory \
--type string --set /desktop/gnome/background/picture_filename /usr/share/wallpapers/default-1600x1200.jpg


Disable Command Line & Run App

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory 
--type bool --set /desktop/gnome/lockdown/disable_command_line true


Disable Force Quit

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /apps/panel/global/disable_force_quit true


Disable Logout

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /apps/panel/global/disable_log_out true


Enable Panel Lockdown

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set  /apps/panel/global/locked_down true


Set Global Background

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /desktop/gnome/background/picture_filename /usr/share/backgrounds/SomePicture.png


Disable Save to Disk

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /desktop/gnome/lockdown/disable_save_to_disk true


Disable Hibernate Password

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /apps/gnome-power-manager/lock/gnome_keyring_hibernate false


Disable Hibernate Lock

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /apps/gnome-power-manager/lock/hibernate false


Disable Suspend Password

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /apps/gnome-power-manager/lock/gnome_keyring_suspend false


Disable Suspend Lock

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /apps/gnome-power-manager/lock/suspend false


Set ScreenSaver to Blank Only

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/gnome-screensaver/mode blank-only


Disable ScreenSaver Lock

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/gnome-screensaver/lock_enabled false


Set Screen Blank to 30 min Timeout

gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/gnome-screensaver/power_management_delay 30