Gnome
Most of the things here are done by through gconftool
How to remove the tool bars
To remove the tool bars, or panels as gnome refers them, we need to hide them from desktop, reduce the size to "0", and keep hidden for a long time.
# Top panel gconftool-2 --type boolean -s /apps/panel/toplevels/top_panel/auto_hide true gconftool-2 --type integer -s /apps/panel/toplevels/top_panel/auto_hide_size 0 gconftool-2 --type integer -s /apps/panel/toplevels/top_panel/size 0 gconftool-2 --type integer -s /apps/panel/toplevels/top_panel/hide_delay 0 gconftool-2 --type integer -s /apps/panel/toplevels/top_panel/unhide_delay 1000000000 #Bottom panel gconftool-2 --type boolean -s /apps/panel/toplevels/bottom_panel/auto_hide true gconftool-2 --type integer -s /apps/panel/toplevels/bottom_panel/auto_hide_size 0 gconftool-2 --type integer -s /apps/panel/toplevels/bottom_panel/size 0 gconftool-2 --type integer -s /apps/panel/toplevels/bottom_panel/hide_delay 0 gconftool-2 --type integer -s /apps/panel/toplevels/bottom_panel/unhide_delay 1000000000
How to remove desktop icons
To remove the icons one by one, choose the desired icons set to false
# Icons gconftool-2 --type boolean -s /apps/nautilus/desktop/computer_icon_visible false gconftool-2 --type boolean -s /apps/nautilus/desktop/home_icon_visible false gconftool-2 --type boolean -s /apps/nautilus/desktop/trash_icon_visible false
There is a single option to hide, not remove, all the icons, but you should note that all the icons will disappear from desktop, even the icons created by the user. To do this run the following command.
gconftool-2 --type boolean -s /apps/nautilus/preferences/show_desktop false
How to se the number of workspaces
To limit the number of workspaces available, change the ending number for the desired
# Workspace gconftool-2 --type integer -s /apps/metacity/general/num_workspaces 1
How to disable the screen saver
The following commands avoid the startup of the screen saver and do not allow to lock the screen.
# Avoid Lock screen gconftool-2 --type boolean -s /apps/panel/global/disable_lock_screen true gconftool-2 --type boolean -s /apps/gnome-screensaver/lock_enabled false gconftool-2 --type boolean -s /apps/gnome-screensaver/idle_activation_enabled false
How to disable the command line for the end user
To avoid the user send commands to a terminal.
# Avoid use of command line gconftool-2 --type boolean -s /desktop/gnome/lockdown/disable_command_line false
How to change the click behaviour of the mouse
To start applications with a single click.
# Single click gconftool-2 --type string -s /apps/nautilus/preferences/click_policy "single"
How to enable VNC
Remote desktop of the current session is possible using vino, the following commands will allow a remote user to connect using password.
# Enable remote desktop with vino gconftool-2 --set /desktop/gnome/remote_access/authentication_methods --type list --list-type string "[vnc]" gconftool-2 --type boolean -s /desktop/gnome/remote_access/enabled true gconftool-2 --type boolean -s /desktop/gnome/remote_access/require_encryption false gconftool-2 --type boolean -s /desktop/gnome/remote_access/prompt_enabled false gconftool-2 --type boolean -s /desktop/gnome/remote_access/view_only false gconftool-2 --type string -s /desktop/gnome/remote_access/vnc_password "djBsNG50Mw=="
How to setup keys binding
To start applications with a key combination, we need to setup a key binding on gnome. the following commands will setup [CTL+T]
to open a terminal on current screen.
gconftool-2 --type string -s /apps/metacity/global_keybindings/run_command_1 "<Control>t" gconftool-2 --type string -s /apps/metacity/keybinding_commands/command_1 "/usr/bin/gnome-terminal"
How to keep aligned icons pragmatically on Nautilus
The icon position on Gnome is stored in ~/.nautilus/metafiles/file:/%2F%2F%2Fhome%2f_%2FDesktop.xml file. The items could be positioned in x,y
position, and obsoletes could be removed safely.