Linux Bla.. Bla..

Selamat mampir di komunitas Ubuntu Indonesia! Adapun maksud dari dibentuknya komunitas ini adalah untuk menyediakan dan menampung berbagai dokumentasi yang berhubungan dengan Ubuntu GNU/Linux dan juga sebagai sarana berkolaborasi yang berkaitan dengan kegiatan komunitas Ubuntu di Indonesia. Anda dipersilakan untuk membuat, mengubah, dan memperbaiki setiap halaman yang ada di dalam komunitas ini (terkecuali pada beberapa halaman yang dilindungi). Semoga partisipasi Anda pada wiki ini dapat berguna untuk khalayak banyak. Salam dan merdeka!

dikutip dari : http://wiki.ubuntu-id.org/

  • Istilah-istilah Windows ke Linux
  1. dxdiag -> glxinfo / glxinfo | grep direct
  2. dir -> ls
  3. cd -> cd
  4. regedit -> gconf-editor(gnome)
  5. cek new hardware -> dmesg
  6. fsdisk -> cfdisk
  • Linux panel comment
  1. search                       : gnome-search-tool
  2. network config           : nm-connection-editor
  3. control center             : gnome-control-center
  4. package manager       : gksu synaptic
  5. help                          : yelp
  6. shutdown dialog        : gnome-session-save –shutdown-dialog
  7. lock screen                : gnome-screensaver-command –lock
  8. logout                       : gnome-session-save –logout
  9. logout dialog             : gnome-session-save –logout-dialog
  10. user about                 : gnome-about-me
  11. open as administrator : gksu
  12. restart                       : python -u /usr/lib/modif/session-manager.py reboot
  13. suspend                     : python -u /usr/lib/modif/session-manager.py suspend
  14. hibernate                   : python -u /usr/lib/modif/session-manager.py hibernate
  15. run                            : /usr/lib/modif/Gnome_run_dialog.py
  16. shutdown                   : python -u /usr/lib/modif/session-manager.py shutdown

#source session-manager.py

########################

import sys,os

print  len(sys.argv)

if len(sys.argv) < 2 or sys.argv[1] == “–help”:

print “HELP=============================================”

print “Command:         What it does:\n”

print “run-in-window     runs independant of gnome-panel”

print “run-in-tray     runs in system tray”

print “=================================================”

else:

import dbus

bus = dbus.SessionBus()

bus2 = dbus.SystemBus()

power = None

power2 = None

try:

devobj = bus.get_object(‘org.gnome.PowerManagement’, ‘org/gnome/PowerManagement’)

power = dbus.Interface(devobj, “org/gnome/PowerManagement”)

print “using gnome < 2.28”

except:

devobj = bus.get_object(‘org.gnome.SessionManager’, ‘/org/gnome/SessionManager’)

power2 = dbus.Interface(devobj, “org.gnome.SessionManager”)

devobj2 = bus2.get_object(‘org.freedesktop.DeviceKit.Power’, ‘/org/freedesktop/DeviceKit/Power’)

power3 = dbus.Interface(devobj2, “org.freedesktop.DeviceKit.Power”)

print “using gnome >= 2.28, expect soon a change to uPower”

if power:

if sys.argv[1] == “suspend”:

power.Suspend()

elif sys.argv[1] == “hibernate”:

power.Hibernate()

elif sys.argv[1] == “reboot”:

power.Reboot()

elif sys.argv[1] == “shutdown”:

power.Shutdown()

if power2:

if sys.argv[1] == “suspend”:

power3.Suspend()

elif sys.argv[1] == “hibernate”:

power3.Hibernate()

elif sys.argv[1] == “reboot”:

power2.RequestReboot()

elif sys.argv[1] == “shutdown”:

power2.RequestShutdown()

########################

  • Info Link :
  1. http://linuxcommand.org
  2. http://www.gnome-look.org
  3. http://linuxjournal.com
  4. http://getdeb.net
  5. http://fullcirclemagazine.org

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: