Griffin - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
(No difference)

Revision as of 11:24, 26 April 2013

Introduction

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

Configuration Files

All configuration files can be found here.

Repositories

In addition to repositories in the common configuration:

sudo add-apt-repository ppa:texlive-backports/ppa

Installed Applications

Common Applications

See Common configuration for Linux.

Essentials

Google Chrome (chromium-browser)
TrueCrypt [2012-04-29] v7.0a, with AES-NI instructions!
Privoxy (privoxy)
LAMP (apache2 php5 mysql-server mysql-client php5-mysql) See local config
PHPMyAdmin (phpmyadmin) Install for apache2 + configure database with dbconfig-common. See local config apache2 only,
Courier IMAP (courier-imap courier-doc courier-imap-ssl) Install instructions and local settings
Courier-POP3 (courier-pop courier-pop-ssl)
Courier-MTA (courier-mta courier-mta-ssl) so that mails are sent to Courier mailboxes
Evolution plugins (evolution-plugins-experimental) For opening Winmail.dat attachment in Evolution
Evolution RSS (evolution-rss)
GNU C/C++ compiler (g++)
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
Eclipse (eclipse)
Psi (psi) See local config
LaTeX (texlive texlive-xetex latex2hml) Including XeTeX package
Upgraded to TeX Live 2012 (from texlive-backports ppa)
TeX Extra packages (texlive-plain-extra texlive-science texlive-latex-extra) Soul package requires CTAN color package - see [2]
[2011-01-14] Added texlive-science.
Upgraded to TeX Live 2012 (from texlive-backports ppa) — requires package texlive-latex-extra
pdftk (pdftk)
KDirStat (kdirstat)
PCSC Tools (pcsc-tools) For ATR_analysis.
ACL (acl)
Synergy (synergy) v1.4.10! See local settings.

Local Applications

MBR (mbr) To create VirtualBox rawdisk
Racoon (racoon) For RSA key generation, see Crypto
HTTrack (httrack)
NTL (libntl-dev libntl-5.4.2)
GMP (libgmp3-dev libgmp3c2 gmp-ecm)
MDF to ISO Converter (mdf2iso) CD image conversion utility
K3b (k3b)
aMule (amule)
fdupes (fdupes)
PuddleTag (puddletag python-qt4 python-pyparsing python-mutagen python-configobj python-musicbrainz2) [2010-12-23] v 0.9.11 See local page
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
Some git browsers (qgit gitg source-highlight) [2011-02-21] gitg updated to 0.0.8!
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.
Canorus (canorus) Music score editor. Sounds does not work.
Frescobaldi (frescobaldi) Music score editor.
MuseScore (musescore) Another music score editor. Play sound out of the box.
Calibre (calibre)
Perl Audio Converter (pacpl)
VirtualBox (virtualbox) [2011-06-01] Local settings. Updated to 4.0.14! — See VirtualBox
dwww (dwww)
Word Diff (wdiff)
Transmission (transmission) Disabled DHT, PEX. Seed until ratio = 2.0. Enable privacy filter.
dos2unix (dos2unix)
hexedit (hexedit)
violin tuner (fmit, gtkguitune, lingot) gtkguitune does not seem to work though...
Ack (ack-grep) A better grep...
sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack
gconf-editor
uncrustify v0.59, compiled from source, copied to /usr/local/bin
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)

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?)
uncrustify v0.59, compiled from source, copied to /usr/local/bin
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
CPU indicator (indicator-multiload) Selected CPU, Memory, Network
make documentation (make-doc)
screen (screen)
amarok (amarok)

Not yet installed

CUPS PDF (cups-pdf) Allow CUPS to access ~/PDF:
sudo aa-complain cupsd
Oracle/Sun Java JDK 1.6 (sun-java6-jdk)
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.
iplist (iplist) Not found
IMAPSync (imapsync)
Sage 4.7.1 See Sage
SSH Tunnel script (sshtunnel.pl, libssl-dev) Thierry Walrant's Perl script sshtunnel.pl
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
Google Earth (googleearth googleearth-data) Requires Medibuntu repository
tnef (tnef,ytnef) Parsing winmail.dat attachment
Recoll desktop search (recoll) See also Recoll page.
X File Explorer (xfe)
4Pane (4pane) See Linux Software#4Pane
LIRC (LIRC)
LineAKD (LineAKD)
KeyTouch (KeyTouch)
Grub2 Splash Image (ubuntu-splash-image) (from lucid-splash-image.deb) installed with sudo dpkg -i --force-architecture lucid-splash-image.deb

Uninstalled

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.
  • SUDO - keep environment variable http_proxy, https_proxy (to keep proxy settings for apt-get etc)
  • SUDO - keep environment variable GREP_OPTIONS (keep grep options)
  • SUDO - keep environment variable DISPLAY, XAUTHORITY (avoid doing xhost local:root before launching X pgm)
  • SUDO - keep environment variable HOME (e.g. to keep git aliases and settings when using etckeeper)
Defaults        env_reset
Defaults        env_keep += "http_proxy https_proxy GREP_OPTIONS DISPLAY XAUTHORITY HOME"
  • Printer — add Canon network printer (select IPP network printer via DNS-SD for protocol)

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

  • Fonts (via ubuntu-tweak):
  • Category Font Size
    Default Font Ubuntu 9
    Desktop Font Sans 9
    Monospace font Lucida Console Semi-Condensed 10
    Document font Sans 10
    Window title bar font Ubuntu Bold 10
    • Hinting: Basic
    • Antialiasing: Subpixel antialising (LCD screens only)
  • Keyboard

Users

  • NAS 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
  • Disable guest account in lightdm. Edit /etc/lightdm/lightdm.conf, and add:
allow-guest=false

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 [3] (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.
    • solved — Use Synapse instead with Alt-Space as mapping.
  • 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.
  • IssueSuper-Space does not work. Also cannot bind to Alt-Space either (get error (Do:6011): libdo-WARNING **: Binding '<Alt>space' failed!). See bug 988699, [4] (Bugs: Do)
    • temporary fix — killing and restarting gnome-do in a shell (gnome-do&) to re-enable Super-Space
    • solved — Use Synapse instead with Alt-Space as mapping.
  • Issue — Compiz Ring Switch requires pressing Enter to select a window.
    • solved — Change Key to show the launcher to Shift-Super in Ubuntu Unity Plugin. Also, changed Key to show the HUD to Ctrl-Super
  • Issue — Compiz Scale plugin Initiate Window Picker for All Windows does not work (show windows for current workspace only)

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 [5]
  • 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).