Difference between revisions of "Gconftool-2 untuk mengkonfigurasi gnome desktop"

From OnnoWiki
Jump to navigation Jump to search
(New page: Format secara umum gconftool-2 --set /path/to/setting --type <type> "value" ==Set Background== $ gconftool-2 --get /desktop/gnome/background/picture_filename ==Proxy Automatis== E...)
 
 
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
  
==Set Background==
+
==Melihat Konfigurasi==
 +
 
 +
$ gconftool-2 -R /
 +
 
 +
 
 +
==Get Parameter==
 +
 
 +
Melihat lokasi gambar background
  
 
  $ gconftool-2 --get /desktop/gnome/background/picture_filename
 
  $ gconftool-2 --get /desktop/gnome/background/picture_filename
  
 +
 +
==Tipe Paramater==
 +
 +
Tipe yang dapat digunakan sesudah perintah type
 +
 +
gconftool-2 --set /path/to/setting --type
 +
 +
Adalah
 +
 +
int|bool|float|string|list|pair
 +
 +
 +
 +
==Set Font Widget==
 +
 +
$ gconftool-2 --type string --set /desktop/gnome/interface/font_name "Serif 12"
 +
 +
 +
 +
==Set Background Picture==
 +
 +
$ gconftool-2 --set /desktop/gnome/background/picture_filename  --type string "/usr/share/backgrounds/africa-s-sun.png"
  
 
==Proxy Automatis==
 
==Proxy Automatis==
Line 20: Line 49:
 
   gconftool-2 –set “/system/http_proxy/use_http_proxy” –type bool “false”
 
   gconftool-2 –set “/system/http_proxy/use_http_proxy” –type bool “false”
 
  fi
 
  fi
 +
 +
 +
==Gnome ScreenSaver Lock==
 +
 +
$ gconftool-2 --set /apps/gnome-screensaver/lock_enabled --type bool 1"
 +
 +
 +
==Set Nautilus File Browser==
 +
 +
$ gconftool-2 --set "/apps/nautilus/preferences/always_use_browser" --type bool TRUE
 +
$ gconftool-2 --set "/apps/nautilus/preferences/click_policy" --type string "single"
  
  

Latest revision as of 16:02, 1 August 2009

Format secara umum

gconftool-2 --set /path/to/setting --type <type> "value"


Melihat Konfigurasi

$ gconftool-2 -R /


Get Parameter

Melihat lokasi gambar background

$ gconftool-2 --get /desktop/gnome/background/picture_filename


Tipe Paramater

Tipe yang dapat digunakan sesudah perintah type

gconftool-2 --set /path/to/setting --type 

Adalah

int|bool|float|string|list|pair


Set Font Widget

$ gconftool-2 --type string --set /desktop/gnome/interface/font_name "Serif 12"


Set Background Picture

$ gconftool-2 --set /desktop/gnome/background/picture_filename  --type string "/usr/share/backgrounds/africa-s-sun.png"

Proxy Automatis

Edit file ~/.xprofile

# Set the proxy
if /sbin/ifconfig eth0 | grep -q 10.66.6.17
then
  gconftool-2 –set “/system/http_proxy/use_http_proxy” –type bool “true”
else
  gconftool-2 –set “/system/http_proxy/use_http_proxy” –type bool “false”
fi


Gnome ScreenSaver Lock

$ gconftool-2 --set /apps/gnome-screensaver/lock_enabled --type bool 1"


Set Nautilus File Browser

$ gconftool-2 --set "/apps/nautilus/preferences/always_use_browser" --type bool TRUE
$ gconftool-2 --set "/apps/nautilus/preferences/click_policy" --type string "single"


Pranala Menarik