Minimoy - Ubuntu

From miki
Jump to navigation Jump to search

Introduction

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

Configuration Files

All configuration files can be found here.

Installed Applications

[2009-10-27] Gnome DO (gnome-do)
[2009-10-27] Synergy 1.3.1 keyboard/mouse sharing (synergy)
[2009-10-27] VIM (vim)
[2009-10-27] p7zip (p7zip-full p7zip-rar)
[2009-10-27] Samba (samba smbfs)
[2009-10-27] NFS Client (nfs-common)
[2009-10-27] SSH (ssh) Local settings
[2009-10-27] dlocate and apt-file(dlocate apt-file)
[2009-10-27] Wine (wine)
[2009-10-27] Midnight Commander (mc)
[2009-10-28] Vino (vino) ...temporary... for testing purpose...
[2009-11-17] XBMC 9.11 (xbmc xbmc-standalone) [2010-03-01] Updated to 9.11!. See install instructions here.
[2009-11-29] GNU Go (gnugo)
[2009-11-29] Various Go games (qgo uligo)
[2009-11-29] Panda glGo 1.4.1 ([1]) Also need packages libsdl-image1.2 libsdl-ttf2.0-0
sudo ln -s libpython2.6.so.1.0 /usr/lib/libpython2.5.so.1.0
Start glGo (glGo), and enter /usr/games/gnugo for location of gnugo
[2009-11-29] Igowin (under wine)
[2010-02-27] autofs (autofs)
[2010-03-02] LIRC (lirc) (for XBMC and Gyration Remote 3101) Selected remote none and transmitter none
[2010-08-10] GNU C/C++ compiler (g++)
[2010-08-10] XSel (xsel)
[2010-08-10] LAMP (apache2 php5 mysql-server mysql-client php5-mysql) See local config
[2010-08-10] PHPMyAdmin (phpmyadmin) Install for apache2 + configure phpmyadmin database + see local config
[2010-08-10] MS Truetype core fonts (msttcorefonts)
[2010-08-10] CUPS PDF (cups-pdf) Allow CUPS to access ~/PDF:
sudo aa-complain cupsd
[2010-08-10] Qiv (qiv)
[2010-08-10] GPG Agent (gnupg-agent) Added use-agent at end of ~/.gnupg/gpg.conf
[2010-08-10] LaTeX (texlive texlive-xetex latex2hml) Including XeTeX package
[2010-08-10] TeX Extra packages (texlive-plain-extra) Soul package requires CTAN color package - see [2]
[2010-08-10] Rename utils (renameutils)
[2010-08-10] Vim/Cscope (cscope)
[2010-08-10] GVim (vim-gnome) To enable support of X clipboard
[2010-08-10] Vim/Cscope (cscope)
[2010-08-10] Exuberant Ctags (exuberant-ctags)
[2010-08-10] AutoSSH (autossh)
[2010-08-10] KeePassX (keepassx)
[2010-08-10] FlashRom (flashrom) To flash the BIOS
[2010-08-11] 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
.
[2010-08-11] Samsung NC10 packages (samsung-tools) See instructions here:
sudo add-apt-repository ppa:voria/ppa
sudo apt-get update && sudo apt-get upgrade
It seems that I don't need the samsung-wireless package (not a RealTek card).
[2010-08-12] Privoxy (privoxy)
[2010-08-12] AutoSSH (autossh)
[2010-08-12] SSH Tunnel script (sshtunnel.pl, libssl-dev) Thierry Walrant's Perl script sshtunnel.pl
[2011-01-05 Ubuntu Tweak (ubuntu-tweak) See local page.
[2011-02-20] GIT (git-gui gitk git-doc gitweb)
[2011-02-14] Some git browsers (qgit gitg source-highlight)
[2011-07-26] violin tuner (fmit, gtkguitune, lingot) gtkguitune does not seem to work though...

Un-installed applications (by uninstall date): none

Simple Settings

  • [2009-10-27] Wireless Network: PreferencesNetwork ConnectionsAdded new connection (ManticoreNet, Available to all users, WPA & WPA2 Personal).
  • [2011-02-20] — gdm — Do not show face browser with know users in login window (see Gnome page).

Detailed System Settings

1st install

  • 1st install on [2009-10-27]
  • Distribution: Ubuntu 9.10 Release Candidate
  • Installation method: Net boot install from Internet using GRUB (see here)
First copy files initrd.gz and linux from here to /boot, then in GRUB command-line (press c in GRUB menu):
root (hd0,2)
kernel /boot/linux 
initrd /boot/initrd.gz
boot
  • Language: English
  • Location: Europe, Belgium Time
  • Computer name: minimoy
  • Keyboard layout: Belgium, Belgium
  • Name: Arthur
  • Login name: arthur
  • Update: Install security updates automatically
  • Software to install: Ubuntu NBR
  • Partition: see parent page

Upgrade to Ubuntu Lucid Lynx 10.04

  • Upgrade using the Update Manager
  • Everything's working fine! Fast NFS, xbmc boots automatically
    • Only needs to restore settings for Gyration remote (lirc...).

File System

For main partitions, see #Partition access conditions above.

  • Mount CIFS-share on Mnemosyne.
sudo mkdir -p /net/mnemosyne/public /net/mnemosyne/backup /net/mnemosyne/photos /net/mnemosyne/movies /net/mnemosyne/videos /net/mnemosyne/musics
sudo mkdir -p /net/mnemosyne/publicrw /net/mnemosyne/backuprw /net/mnemosyne/photosrw /net/mnemosyne/moviesrw /net/mnemosyne/videosrw /net/mnemosyne/musicsrw
sudo chown arthur /net/mnemosyne/*
sudo chgrp sambashare /net/mnemosyne/*

  • Fixed: CIFS shares not properly unmounted during shutdown - see bug here
  • Mount mnemosyne shares as NFS autofs (see [3])
  • Enabled /net automounter in /etc/auto.master (uncomment the following line):
/net     /etc/auto.net
  • Created Symlink:
sudo ln -s /net/mnemosyne/volume1/movies /mnt/mnemosyne/movies

Network

  • To be completed

Preferences

  • Appearance
    • Fonts: All font size set to 8, except Title → 9.
  • Keyboard Layout (System-Wide)
    • Layout: Belgium (default) + USA, no separate layout
      Custom layout Belgium (file /usr/share/X11/xkb/symbols/be) to allow AltGr-; → '<' and AltGr-: → '>', and support Greek letters with AltGr-Shift.
    • Options: Capslock affects all keys, Alt+CapsLock or Right Ctrl+Right Shift switch layout, right alt chooses 3rd level.
      (because Alt+Shift,Left Ctrl+Left Shift prevents ctrl-alt-shift shortcuts to work, Right Ctrl conflicts with VirtualBox)
  • Keyboard Shortcuts
  • Shortcut Action Remark
    Super-E Home Folder Hack Super is mapped to Win keys not needed anymore it seems
    Shift-Super-E Expo key
    Shift-Alt-Space Activate the window menu was conflicting with Gnome DO shortcut
  • Window List Panel (see here)
    • Window List Content → Show windows from all workspaces
    • Restoring Minimized Windows → Restore to native workspace
  • Fonts
    • (/usr/local/share/fonts) BitStream Vera 1.10.
  • Windows
    • Movement Key: Super (Windows logo)
      because Alt-mouse is used in OpenOffice to move columns / rows

Update / Package Management

To be completed

Users

to be completed

Detailed Application Settings

Gnome DO

  • My reference page
  • Start Gnome DO at login
  • Hide window on first launch (quiet mode)
  • Launch key: <alt>+space.

LAMP

sudo apt-get install apache2 php5 mysql-server mysql-client php5-mysql
# --> Defined password for MySQL root user
sudo vi /etc/apache2/apache2.conf
# --> Added lines at line 32:
#     #MIP CUSTOM
#     ServerName "minimoy"
# Restart apache server to activate php module...
sudo /etc/init.d/apache2 restart

# Move www root dir to /data disk
suod mkdir /data
sudo mv /var/www /data
sudo ln -sf /data/www /var/www
  • Apache configuration file is at /etc/apache2/apache2.conf
  • By default, Apache root http directory is /var/www
# Create database that will store local copies of noekeon.org crypto and mikiwiki wiki, and todolist
mysql --user=root -p mysql
mysql> CREATE DATABASE cryptokiwi;
mysql> GRANT ALL PRIVILEGES ON cryptokiwi.* TO kiwi@localhost IDENTIFIED BY '********';   # Replace *** with password
mysql> CREATE DATABASE mikiwiki;
mysql> GRANT ALL PRIVILEGES ON mikiwiki.* TO miki@localhost IDENTIFIED BY '********';
mysql> CREATE DATABASE mikido;
mysql> GRANT ALL PRIVILEGES ON mikido.* TO miki@localhost IDENTIFIED BY '********';
mysql> quit

Nautilus

  • Default view: List View

SSH

  • Installed SSH-Tunnel
  • Files recovered from other installation (ssh-tunnel v2.26 + patch):
/usr/local/bin
-rwxr-xr-x 1 root root ssh-agent-refresh_andlinux.sh
-rwxr-xr-x 1 root root ssh-agent-refresh.sh
-rwxr-xr-x 1 root root ssh.pl
-rwxr-xr-x 1 root root ssh-tunnel.pl
  • User baddreams - configuration file in directory ~/.ssh:
    • id_rsa || id_rsa.pub || authorized_keys || config* || proxy.conf* || clbanner.txt
  • Disabled SSH Key Agent from Gnome Startup Applications (all users)

XBMC

To Do

  • Got the following WARNING when install Ubuntu Netbook Remix package: WARNING:root:Failed to setup dbus (ignoring)


Done:

  • nothing