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

Installed Applications

Common applications
See Common configuration for Linux.

Essential:
[2012-04-29] Google Chrome (chromium-browser)
[2012-04-29] TrueCrypt [2012-04-29] v7.0a, with AES-NI instructions!
[2012-04-29] Privoxy (privoxy)
[2012-04-29] LAMP (apache2 php5 mysql-server mysql-client php5-mysql) See local config
[2012-04-29] PHPMyAdmin (phpmyadmin) Install for apache2 + configure database with dbconfig-common. See local config apache2 only,
[2012-04-29] Courier IMAP (courier-imap courier-doc courier-imap-ssl) Install instructions and local settings
[2012-04-29] Courier-POP3 (courier-pop courier-pop-ssl)
[2012-04-29] Courier-MTA (courier-mta courier-mta-ssl) so that mails are sent to Courier mailboxes
[2012-04-29] Evolution plugins (evolution-plugins-experimental) For opening Winmail.dat attachment in Evolution
[2012-04-29] Evolution RSS (evolution-rss)
[2012-04-29] GNU C/C++ compiler (g++)
[2012-04-29] 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
[2012-04-29] Eclipse (eclipse)
[2012-04-29] Psi (psi) See local config
[2012-04-29] LaTeX (texlive texlive-xetex latex2hml) Including XeTeX package
[2012-04-29] TeX Extra packages (texlive-plain-extra texlive-science) Soul package requires CTAN color package - see [1]
[2011-01-14] Added texlive-science.
[2012-04-29] pdftk (pdftk)
[2012-04-29] KDirStat (kdirstat)
[2012-04-29] PCSC Tools (pcsc-tools) For ATR_analysis.
Local applications:
[2012-04-29] MBR (mbr) To create VirtualBox rawdisk
[2012-04-29] Racoon (racoon) For RSA key generation, see Crypto
[2012-04-29] HTTrack (httrack)
[2012-04-29] NTL (libntl-dev libntl-5.4.2)
[2012-04-29] GMP (libgmp3-dev libgmp3c2 gmp-ecm)
[2012-04-29] MDF to ISO Converter (mdf2iso) CD image conversion utility
[2012-04-29] K3b (k3b)
[2012-04-29] aMule (amule)
[2012-04-29] fdupes (fdupes)
[2012-04-29] PuddleTag (puddletag python-qt4 python-pyparsing python-mutagen python-configobj python-musicbrainz2) [2010-12-23] v 0.9.11 See local page
[2012-04-29] 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
[2012-04-29] Some git browsers (qgit gitg source-highlight) [2011-02-21] gitg updated to 0.0.8!
[2012-04-29] Nautilus Audio Converter (wavpack mppenc libmpcdec6 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.
[2012-04-29] Canorus (canorus) Music score editor. Sounds does not work.
[2012-04-29] Frescobaldi (frescobaldi) Music score editor.
[2012-04-29] MuseScore (musescore) Another music score editor. Play sound out of the box.
[2012-04-29] Calibre (calibre)
[2012-04-29] Perl Audio Converter (pacpl)
[2012-04-29] VirtualBox (virtualbox) [2011-06-01] Local settings. Updated to 4.0.14! — See VirtualBox
[2012-04-29] dwww (dwww)
[2012-04-29] Word Diff (wdiff)
[2012-04-29] Transmission (transmission) Disabled DHT, PEX. Seed until ratio = 2.0. Enable privacy filter.
[2012-04-29] dos2unix (dos2unix)
[2012-04-29] hexedit (hexedit)
[2012-04-29] violin tuner (fmit, gtkguitune, lingot) gtkguitune does not seem to work though...
[2012-04-29] Ack (ack-grep) A better grep...
sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack
[2012-04-29] gconf-editor
[2012-04-30] uncrustify v0.59, compiled from source, copied to /usr/local/bin
[2011-04-30] openJDK 6 32-bit Installed via APT, in /usr/lib/jvm/java-6-openjdk-i386:
sudo apt-get install openjdk-6-jdk:i386 \
     libice-dev libsm-dev libxt-dev
# Adding 'libice-dev libsm-dev libxt-dev' 
# ... to avoid these packages to be removed

Otherwise it can also be copied from e.g. Ubuntu Lucid 32-bit distribution (used to copy /usr/lib/jvm/java-6-openjdk to /usr/lib32/jvm/java-6-openjdk)

[2011-04-30] openJDK 7 (openjdk-7-jdk openjdk-7-jre) Selected alternatives with:
sudo update-alternatives --config java
sudo update-alternatives --config javac
# TODO: Add others (like ant, javah, etc?)
[2012-04-30] uncrustify v0.59, compiled from source, copied to /usr/local/bin
[2012-04-30] ia32 libraries (ia32-libs libc6-dev:i386 gcc-multilib) TODO: Seems we should install ia32-libs-multiarch though...
Installing this package removed some package, so reinstall them back with:
sudo apt-get install build-essential g++ dkms \
     nvidia-current virtualbox-dkms

Compiling with gcc -m32 still does not work though (missing 32-bit libgcc.a). Installing package gcc-4.6:i386 force removal of many 64-bit packages. Instead we go for solution given here:

sudo apt-get install gcc-multilib
[2012-05-01] CPU indicator (indicator-multiload) Selected CPU, Memory, Network
[2012-05-02] make documentation (make-doc)
[2012-05-02] screen (screen)
[2012-05-04] amarok (amarok)


Applications not yet installed:

[2011-xx-xx] CUPS PDF (cups-pdf) Allow CUPS to access ~/PDF:
sudo aa-complain cupsd
[2011-xx-xx] Oracle/Sun Java JDK 1.6 (sun-java6-jdk)
[2011-xx-xx] 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.
[2011-xx-xx] iplist (iplist) Not found
[2011-xx-xx] IMAPSync (imapsync)
[2011-xx-xx] Sage 4.7.1 See Sage
[2011-xx-xx] SSH Tunnel script (sshtunnel.pl, libssl-dev) Thierry Walrant's Perl script sshtunnel.pl
[2011-xx-xx] Foxit Reader (qiv) Extracted tar.gz in /usr/local/bin
Icons in /usr/share/pixmaps/foxitreader.png.
Desktop file in /usr/share/applications/ + edited mime type in ~/.local/share/applications/mimeapps.list to associate with application/pdffiles
[2011-xx-xx] Google Earth (googleearth googleearth-data) Requires Medibuntu repository
[2011-xx-xx] tnef (tnef,ytnef) Parsing winmail.dat attachment
[2011-xx-xx] Recoll desktop search (recoll) See also Recoll page.
[2011-xx-xx] X File Explorer (xfe)
[2011-xx-xx] 4Pane (4pane) See Linux Software#4Pane
[2011-xx-xx] LIRC (LIRC)
[2011-xx-xx] LineAKD (LineAKD)
[2011-xx-xx] KeyTouch (KeyTouch)
[2012-04-29] Synergy (synergy) [2011-11-01] v1.4.5! See local settings.
[2012-04-29] Grub2 Splash Image (ubuntu-splash-image) (from lucid-splash-image.deb) installed with sudo dpkg -i --force-architecture lucid-splash-image.deb

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)
sudo gpasswd -a baddreams users

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 on Precise

  • Issue — Can't map Super-Space for Gnome-Do
    • solved? — open ccsmUbuntu Plugin → temporarily change the shortcut for the launcher. Change gnome-do shortcut again, and then restore the launcher shortcut to super.
  • Issue — Current openjdk-6-jdk does not print file full path in error message, but only basename, which breaks vim "goto bug" feature.
    • partially solved — This is solved in openjdk-7-sdk, but can't install 32_bit version though. So for 32-bit, we need to refer to openjdk-6 libraries.

Issues on Maverick

  • 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.
  • To Do — Look at byobu (see this also).