README.creole 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. = Gnome Network Manager =
  2. My laptop started misbehaving, or Gnome Network Manager's graphical
  3. user interface did.
  4. I resorted to {{{nmcli}}}, the Network Manager command line tool. It's
  5. a bit baroque.
  6. So here is a simple little Emacs Lisp interface to {{{nmcli}}}.
  7. == Installing ==
  8. It's in [[http://marmalade-repo.org|marmalade]] - add marmalade as a
  9. package repository and then do:
  10. {{{
  11. M-x package-install [RET] gnomenm [RET]
  12. }}}
  13. == Commands ==
  14. Here are the useful commands:
  15. === gnomenm-connect ap ===
  16. Connect to a specific //ap//.
  17. === gnomenm-disconnect ===
  18. Disconnect from the current Access Point.
  19. === gnomenm-flip ===
  20. Flip the AP to the last but one connected to.
  21. If you don't have two APs in the history it does nothing.
  22. This is really useful if you switch between a pair of APs like I
  23. do. I recommend using a keychord like:
  24. {{{
  25. (key-chord-define-global "90" 'gnomenm-flip)
  26. }}}
  27. See http://www.emacswiki.org/KeyChord for details on KeyChord.
  28. === gnomenm-status ===
  29. What's the network status?
  30. === gnomenm-toggle-enabled &optional status ===
  31. Toggle whether networking is enabled or not.