Thursday, September 27, 2012

Fixing Ubuntu

Finally moving from Fedora to Ubuntu, I'm baffled at this "Unity" interface. Does all new software assume we're all using tablets and phones? Here's how to get the system back to a developer-friendly desktop system.
  1.  sudo apt-get install gnome-classic-fallback
  2.  sudo apt-get install emacs
  3.  log out
  4. at the login screen click on the selection knob and choose "Gnome Classic"
  5. log in
  6.  Applications/System Tools/Preferences/Main Menu
    1. Remove Emacs from  Accessories
    2. Clear everything from Games
  7. Alt-Windows-right-click on the top menubar
    1. Add to Panel...
    2. Application Launcher...
    3. Select whatever items you want to have in the menubar
  8. sudo apt-get install openssh-server
  9. sudo apt-get install nfs-common
  10. sudo apt-get install gconf-editor
  11. gconf-editor
    1. open apps/metacity/general
    2. click on "button layout"
    3. change to "menu:minimize,maximize,close"  (same as Windows)
    4. press OK
    5. Still in the editor, open apps/metacity/global_keybindings
    6. right=click on "run_command_terminal", select "Unset key".  This lets you use the default binding for Tabhunter in Firefox.
  12. Now fix those annoying popup scrollbars:
    1. sudo vim /etc/X11/Xsession.d/80overlayscrollbars
    2. export LIBOVERLAY_SCROLLBAR=0
    3. log out and back in
  13. sudo apt-get install subversion
  14. cd /mnt && sudo mkdir <nas-endpoint1> <nas-endpoint2> ...
  15.  sudo vim /etc/fstab
    1. Add entries like this:
    2. nas:/data/endpoint1 /mnt/endpoint1 nfs rw,hard,intr 0 0
  16. Restore all your backed up files and get back to work