Griffin - Ubuntu

From miki
Jump to navigation Jump to search

Introduction

This is the configuration page for the Ubuntu partition on Griffin.

Configuration Files

All configuration files can be found here.

Repositories

Content of /etc/apt/preferences:

Package: *
Pin: release a=natty-updates
Pin-Priority: 250

Package: *
Pin: release a=natty
Pin-Priority: 200

Package: etckeeper git git-core git-doc git-gui git-man git-svn gitk gitweb
Pin: release a=natty-updates
Pin-Priority: 990
 
Package: etckeeper git git-core git-doc git-gui git-man git-svn gitk gitweb
Pin: release a=natty
Pin-Priority: 900

Installed Applications

Common applications
See Common configuration for Linux.

Essential:
[2011-01-15] Google Chrome (chromium-browser)
[2011-01-18] TrueCrypt [2011-01-18] v7.0a, with AES-NI instructions!
[2011-01-15] Privoxy (privoxy)
[2011-01-15] LAMP (apache2 php5 mysql-server mysql-client php5-mysql) See local config
[2011-01-15] PHPMyAdmin (phpmyadmin) Install for apache2 + configure database with dbconfig-common. See local config apache2 only,
[2011-01-15] Courier IMAP (courier-imap courier-doc courier-imap-ssl) Install instructions and local settings
[2011-01-15] Courier-POP3 (courier-pop courier-pop-ssl)
[2011-01-15] Courier-MTA (courier-mta courier-mta-ssl) so that mails are sent to Courier mailboxes
[2011-01-15] Evolution plugins (evolution-plugins-experimental) For opening Winmail.dat attachment in Evolution
[2011-01-15] Evolution RSS (evolution-rss)
[2011-01-15] GNU C/C++ compiler (g++)
[2011-01-15] C/C++ documentation (manpages-posix-dev stl-manual) Make SGI doc available at http://localhost/sgi :
ln -s /usr/share/doc/stl-manual/html /var/www/sgi
[2011-01-15] Oracle/Sun Java JDK 1.6 (sun-java6-jdk)
[2011-01-15] Eclipse 3.5.2 Galileo (eclipse)
[2011-01-15] Psi (psi) See local config
[2011-01-15] CUPS PDF (cups-pdf) Allow CUPS to access ~/PDF:
sudo aa-complain cupsd
[2011-01-15] LaTeX (texlive texlive-xetex latex2hml) Including XeTeX package
[2011-01-15] TeX Extra packages (texlive-plain-extra texlive-science) Soul package requires CTAN color package - see [1]
[2011-01-14] Added texlive-science.
[2011-01-15] pdftk (pdftk)
[2011-01-15] KDirStat (kdirstat)
[2011-01-15] PCSC Tools (pcsc-tools) For ATR_analysis.
[2011-01-16] Macbuntu 10.10 theme See Macbuntu page. Check log + uninstall script in ~/.macbuntu. no wobbly windows, no hot corners. Don't launch docky at startup.
Local applications:
[2011-01-15] MBR (mbr) To create VirtualBox rawdisk
[2011-01-15] Racoon (racoon) For RSA key generation, see Crypto
[2011-01-15] HTTrack (httrack)
[2011-01-15] NTL (libntl-dev, libntl-5.4.2)
[2011-01-15] GMP (libgmp3-dev,libgmp3c2,gmp-ecm)
[2011-01-15] MDF to ISO Converter (mdf2iso) CD image conversion utility
[2011-01-18] K3b (k3b)
[2011-01-18] iplist (iplist)
[2011-01-18] aMule (amule)
[2011-01-18] fdupes (fdupes)
[2011-01-18] Grub2 Splash Image (ubuntu-splash-image) (from lucid-splash-image.deb) installed with sudo dpkg -i --force-architecture lucid-splash-image.deb
[2011-01-18] PuddleTag (puddletag python-qt4 python-pyparsing python-mutagen python-configobj python-musicbrainz2) [2010-12-23] v 0.9.11 See local page
[2011-01-21] IMAPSync (imapsync)
[2011-01-24] Synergy (synergy) [2011-11-01] v1.4.5! See local settings.
[2011-02-13] FTP Server (proftpd-basic) Followed instructions here
  • Selected run from inetd during install, but configured to run standalone so that it must be started manually with.
sudo /etc/init.d/proftd start
  • Added /bin/false to /etc/shells
  • Created user userftp, with shell /bin/false to prevent login. Directory /home/userftp/incoming (mode 777)
  • Login with user userftp + user passwd
[2011-02-20] Some git browsers (qgit gitg source-highlight) [2011-02-21] gitg updated to 0.0.8!
[2011-03-09] Nautilus Audio Converter (wavpack mppenc libmpcdec3 faac flac vorbis-tools faad lame libid3-3.8.3-dev nautilus-script-audio-convert) Enable script ConvertAudioFile (Menu PreferenceNautilus Scripts Manager). See Linux audio.
[2011-03-24] Canorus (canorus) Music score editor. Sounds does not work.
[2011-03-24] Frescobaldi (frescobaldi) Music score editor.
[2011-03-24] MuseScore (musescore) Another music score editor. Play sound out of the box.
[2011-04-03] Calibre (calibre)
[2011-05-12] Perl Audio Converter (pacpl)
[2011-06-01] VirtualBox (virtualbox-4.0) [2011-06-01] Local settings. Updated to 4.0.14! — See VirtualBox
[2011-06-01] Sage 4.7.1 See Sage
[2011-06-08] dwww (dwww)
[2011-06-15] Word Diff (wdiff)
[2011-06-29] Transmission (transmission) Disabled DHT, PEX. Seed until ratio = 2.0. Enable privacy filter.
[2011-07-22] dos2unix (dos2unix)
[2011-07-22] hexedit (hexedit)
[2011-07-26] violin tuner (fmit, gtkguitune, lingot) gtkguitune does not seem to work though...
[2011-07-26] Ack (ack-grep) A better grep...
sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack
[2011-11-04] openJDK 6 32-bit Copied directory /usr/lib/jvm/java-6-openjdk (from Ubuntu Lucid 32-bit) to /usr/lib32/jvm/java-6-openjdk
[2012-04-29] gconf-editor


Un-installed applications (by uninstall date):

[2011-01-21] [2011-01-21] Ophcrack, John the ripper (ophcrack john) To crack win7 password. Uninstalled because not needed anymore


To install:

  • Click Edit and see html comments.

Simple Settings

  • [2011-01-16] — Enabled proprietary video device driver NVIDIA.
  • [2011-02-13] — gdm — Do not show face browser with know users in login window (see Gnome page).
  • [2011-11-13] — Add user www for synchronization of /data/www folder (localhost page):
sudo useradd -g www-data -G users -u 999 -s /bin/bash -m www
sudo passwd www
su - www
ssh-keygen                                         # Or copy .ssh/ copy from other www users
scp .ssh/id_rsa.pub .ssh/authorized_keys
  • [2012-04-29] — Copy Macbuntu fonts (Apple Garamond, Lucida Console...) to /usr/share/fonts/mac.

Detailed System Settings

1st install

  • 1st install on [2011-01-15]
  • Distribution: Ubuntu 10.10 amd64
  • Installation method: Net boot install from Internet using GRUB
  • Language: English
  • Location: Europe, Belgium Time
  • Computer name: griffin
  • Keyboard layout: BE
  • Name: baddreams
  • Login name: baddreams
  • Update: Install security updates automatically
  • Software to install: Ubuntu Desktop
  • Partition: see main page

2nd install

  • 2nd install on [2012-04-28]
  • Distribution: Ubuntu 12.04 amd64
  • Installation method: Net boot install from Internet using GRUB
  • Language: English
  • Location: Europe, Belgium Time
  • Computer name: griffin
  • Keyboard layout: BE
  • Name: baddreams
  • Login name: baddreams
  • Update: No automatic update
  • Software to install: Ubuntu Desktop
  • Partition: see main page (except that /home was temp. mounted to /homeold)

File System

  • To be completed

Network

  • To be completed

Preferences

  • To be completed

Users

# For interface with NAS (note: users are disabled)
sudo useradd -s /bin/bash -u 1027 -g 100 nasbackup
sudo useradd -s /bin/bash -u 1028 -g 100 nasphotos
sudo useradd -s /bin/bash -u 1029 -g 100 nasmovies
sudo useradd -s /bin/bash -u 1030 -g 100 nasvideos
sudo useradd -s /bin/bash -u 1031 -g 100 nasmusics
sudo useradd -s /bin/bash -u 1032 -g 100 nasarchives
  • Add user baddreams to group users (for write access to mnemosyne)

Detailed Application Settings

Courier IMAP

  • Install (reference here):
    • Create directories for web-based administration
    • SSL Certificate: /etc/courier/pop3d.pem, /etc/courier/imapd.pem
    • Postfix configuration: local only

Firefox

  • Theme: macfox3 1.1.4
  • Extensions:
    • AutoPager 0.6.1.12
    • Cycle Input Focus 1.0.0
    • Delicious Bookmarks 2.1.072
    • Fast Dial 2.23b1
    • FireGestures 1.5.7
    • Live HTTP headers 0.16
    • User Agent Switcher 0.7.2

Gnome DO

  • Autostart, Quiet mode, notification icon, Glass theme
  • Launch key: <alt>+space (! disable first Gnome global shortcut for Activate the window menu)

Nautilus

  • Default view: List View
  • Display, date format: YYYY-MM-DD hh:mm:ss
  • List View: zoom 33%
  • Icon View, Compact View: zoorm 50%
  • Preview: all set to Never, and only for files smaller than 500kB (to prevent thumbnailing PDFs...)

Psi

(recovered from previous settings on Gryphon at ~/.psi)

  • Gnome: Added Psi as startup program (Psi, /usr/bin/psi, Communicate over the jabber network).
  • OptionsEventsEnable popup notifications (all notifications)
  • Modify Account... → Changed resource to work-ux
  • Modify Account...Automatically reconnect if disconnected
  • Modify Account...Proxylocalhost:8118

Synergy

  • Configuration file /etc/synergy.conf
  • Install xsel (to circumvent Firefox copy/paste Chinese bug)
  • Edited gdm startup scripts to launch server automatically
  • Added quick alias to ~/.bashrc

Terminal

Vim

  • Added ~/.bash_completion from [2] (modified to also take alias v=gvim)

Wine

See Configuration Griffin - Wine.

To Do

Issues

  • Issue — No Configuration Editor link in the menu. Must be added by hand?
    • Solved — Enable it by editing Gnome menu, right click on menu → Edit MenuSystem Tools → Enable icon for Configuration Editor.
  • Issue — Known issues documented in Maverick release manifest & Release Notes:
    • Connected DisplayPort monitors may prevent booting. (655795)
    • 802.11n support for the iwlagn driver has been temporarily disabled. Intel is actively working to get this properly fixed up in the firmware. This workaround should be reverted once updated firmware is available. (630748, 654152). See also Ubuntu Forums thread, Bug 16691 kernel.org, Intel WiFi driver for linux and official Linux Wireless wiki.
    • cfr file /etc/modprobe.d/intel-5300-iwlagn-disable11n.conf
      dmesg | grep -i iwl
      sudo modprobe -r iwlagn
      sudo modprobe iwlagn 11n_disable=1
      iwconfig                                           # Check that 11n is disabled
      # ...
      # wlan0     IEEE 802.11abg  ESSID:off/any
      # 
      # ...
      
    • The logo will not display during boot when using the Nvidia proprietary driver. (653274)
  • Issue — [arrandale] Integrated intel graphics GMA HD doesn't work (590504). See also [3]
  • This relates to kernel message at boot:
    dmesg | grep i915
    # ... intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled
    
  • IssueSuspend does not work; pc goes suspend but then restart immediately it seems in login screen. Related bug: 570604.
    • Solved — Problem is linked with xhci_hcd that prevents suspend when loaded (this is because sleep/suspend is not implemented yet in that module). Unloading it will allow suspend (workaround). Bug is fixed in Ubuntu 11.04. Launchpad bug 522998
    echo 'SUSPEND_MODULES="xhci_hcd"' >> /etc/pm/config.d/unload_modules   # As root
    
  • IssueWindow Manager does not display window decorators after Macbuntu install. Temporary fix:
  • compiz --replace&
    

To Do

  • To DoNFS Server, Remove temporary rules from /etc/exports
  • To Do — Get apt-get log for 1st install.
  • To Do — Look here for possible fix on EliteBook laptops.