Ubah desktop GNOME dengan gconftool-2: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari
Baris 24: Baris 24:
 
Ubah agar nautilus saat dibuka mengakses /home/user/Desktop
 
Ubah agar nautilus saat dibuka mengakses /home/user/Desktop
 
  $ gconftool-2 --set --type=bool /apps/nautilus-open-terminal/desktop_opens_home_dir false
 
  $ gconftool-2 --set --type=bool /apps/nautilus-open-terminal/desktop_opens_home_dir false
 +
 +
Ubah default font sizes ke 8
 +
$ gconftool-2 --set /apps/nautilus/preferences/desktop_font --type string "Sans 8"
 +
$ gconftool-2 --set /desktop/gnome/interface/document_font_name --type string "Sans 8"
 +
$ gconftool-2 --set /desktop/gnome/interface/font_name --type string "Sans 8"
 +
$ gconftool-2 --set /apps/metacity/general/titlebar_font --type string "Sans Bold 8"
 +
$ gconftool-2 --set /desktop/gnome/interface/monospace_font_name --type string "Monospace 8"
 +
 +
Ubah gambar background dengan comet.jpg
 +
$ gconftool-2 --set /desktop/gnome/background/picture_filename  --type string "/usr/share/backgrounds/cosmos/comet.jpg
 +
 +
Ubah 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"
 +
 +
Gnome ScreenSaver Lock
 +
$ gconftool-2 --set /apps/gnome-screensaver/lock_enabled --type bool 1"
 +
 +
Proxy Automatis [1]
 +
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
 +
 +
Referensi
 +
* [1] http://igos-nusantara.or.id/wiki/index.php?title=Ubah_desktop_GNOME_dengan_gconftool-2&action=edit

Revisi per 9 Juni 2010 15.12

Desktop GNOME dapat diubah melalui gcont-editor ataupun melalui gconftool-2.

Ubah panel atas agar AutoHide:

Sintak:

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


Memakai gconftool-2

$ gconftool-2 --set --type integer /apps/panel/toplevels/top_panel_screen0/auto_hide_size 0

Dapat juga diubah melalui gconf-editor, lakukan:

ALT-F2 > "gconf-editor" > apps > panel > toplevels > top_panel_screen0 > auto_hide_size > 0

Disable User List

$ sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list true

Enable User List

$ sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list false

Ubah agar nautilus saat dibuka mengakses /home/user

$ gconftool-2 --set --type=bool /apps/nautilus-open-terminal/desktop_opens_home_dir true

Ubah agar nautilus saat dibuka mengakses /home/user/Desktop

$ gconftool-2 --set --type=bool /apps/nautilus-open-terminal/desktop_opens_home_dir false

Ubah default font sizes ke 8

$ gconftool-2 --set /apps/nautilus/preferences/desktop_font --type string "Sans 8"
$ gconftool-2 --set /desktop/gnome/interface/document_font_name --type string "Sans 8"
$ gconftool-2 --set /desktop/gnome/interface/font_name --type string "Sans 8"
$ gconftool-2 --set /apps/metacity/general/titlebar_font --type string "Sans Bold 8"
$ gconftool-2 --set /desktop/gnome/interface/monospace_font_name --type string "Monospace 8"

Ubah gambar background dengan comet.jpg

$ gconftool-2 --set /desktop/gnome/background/picture_filename  --type string "/usr/share/backgrounds/cosmos/comet.jpg

Ubah 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"

Gnome ScreenSaver Lock

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

Proxy Automatis [1] 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

Referensi