Nxl67002 - Ubuntu: Difference between revisions
Jump to navigation
Jump to search
(→Installed Applications: mdf2iso, mountmanager) |
|||
Line 265: | Line 265: | ||
* '''Panel''' — add back '''System Monitor'''. We don't add back the bottom task panel. |
* '''Panel''' — add back '''System Monitor'''. We don't add back the bottom task panel. |
||
* Windows '''<tt>button_layout</tt>''': <tt>menu:minimize,maximize,close</tt> |
* Windows '''<tt>button_layout</tt>''': <tt>menu:minimize,maximize,close</tt> |
||
<li>Appearance</li> |
<li>Appearance</li> |
||
* <s>(before ''Macbuntu'') Fonts — ''Application'' → '''Tahoma 9'''; ''Document''→ '''Sans 8'''; ''Desktop'' → '''Sans 8'''; Title → '''Sans Bold 9'''; ''Fixed width'' → '''Monospace 8'''</s> |
* <s>(before ''Macbuntu'') Fonts — ''Application'' → '''Tahoma 9'''; ''Document''→ '''Sans 8'''; ''Desktop'' → '''Sans 8'''; Title → '''Sans Bold 9'''; ''Fixed width'' → '''Monospace 8'''</s> |
||
* (after ''Macbuntu'') Fonts — ''Application'' → '''Lucida Grande 9'''; ''Document''→ '''Lucida Grande 9'''; ''Desktop'' → '''Lucida Grande 9'''; Title → '''Lucida Grande 10'''; ''Fixed width'' → '''Lucida Console 9''' (originally ''Lucida Console 10'') |
* (after ''Macbuntu'') Fonts — ''Application'' → '''Lucida Grande 9'''; ''Document''→ '''Lucida Grande 9'''; ''Desktop'' → '''Lucida Grande 9'''; Title → '''Lucida Grande 10'''; ''Fixed width'' → '''Lucida Console 9''' (originally ''Lucida Console 10'') |
||
<li>Appearance</li> |
|||
* <tt>Isabelle Hires Noir&Blanc crop-despeckle 936x1200.png</tt>, in <tt>~/etc</tt>. |
|||
<li>Keyboard Layout (System-Wide)</li> |
<li>Keyboard Layout (System-Wide)</li> |
Revision as of 07:29, 22 September 2010
Introduction
This is the configuration page for the Ubuntu Lucid Lynx 10.04 LTS (amd64) partition on NXL67002.
Configuration Files
All configuration files can be found here.
Installed Applications
[2010-05-03] | Gnome DO (gnome-do) | |
[2010-05-10] | Midnight Commander (mc) | [2010-05-31] see reference page. Use vi as standard viewer/editor. Installed version from mc official repository to fix file highlighting issue. |
[2010-05-10] | Vim (vim) | |
[2010-05-10] | Opera 10.60.6344 | [2010-07-01] Updated to 10.60.6344! |
[2010-05-10] | VirtualBox 3.2.4 (virtualbox-3.2) | [2010-05-26] Local settings. Updated to 3.2.4! — See VirtualBox |
[2010-05-10] | Samba (smbclient smbfs) | |
[2010-05-10] | KeePassX (keepassx) | |
[2010-05-11] | Privoxy (privoxy) | |
[2010-05-11] | AutoSSH (autossh) | |
[2010-05-11] | apt-file (apt-file) | |
[2010-05-11] | SSH Tunnel script (sshtunnel.pl, libssl-dev) | Thierry Walrant's Perl script sshtunnel.pl |
[2010-05-11] | GNU C/C++ compiler (g++) | |
[2010-05-26] | UltraEdit 1.2.0.7 (uex) | |
[2010-05-27] | MBR (mbr) | To create VirtualBox rawdisk |
[2010-05-27] | Courier IMAP (courier-imap courier-doc courier-imap-ssl) | Install instructions and local settings |
[2010-05-28] | SSH (ssh) | Local settings |
[2010-05-28] | p7zip (p7zip-full p7zip-rar) | |
[2010-05-28] | dlocate (dlocate) | |
[2010-05-28] | Thunderbird (thunderbird) | |
[2010-05-28] | Synergy Plus 1.3.4 (synergy-plus) | [2010-06-09] Updated to Synergy-plus 1.3.4! Reference page. Added /usr/bin/synergyc to /etc/suoders Added quick alias to ~/.bashrc |
[2010-05-31] | Courier-POP3 (courier-pop courier-pop-ssl) | |
[2010-05-31] | Courier-MTA (courier-mta courier-mta-ssl) | so that mails are sent to Courier mailboxes |
[2010-05-31] | AutoFS (autofs) | See local config |
[2010-05-31] | XSel (xsel) | |
[2010-05-31] | LAMP (apache2 php5 mysql-server mysql-client php5-mysql) | See local config |
[2010-05-31] | PHPMyAdmin (phpmyadmin) | Install for apache2 + configure phpmyadmin database + see local config |
[2010-06-01] | Psi (psi) | See local config |
[2010-06-01] | MS Truetype core fonts (ttf-msttcorefonts-installer) | |
[2010-06-01] | Compiz config settings manager (compizconfig-settings-manager) | |
[2010-06-01] | Ubuntu restricted extras (ubuntu-restricted-extras) | shall install automatically libdvdread4 |
[2010-06-01] | libdvdcss2 | Installed via sudo /usr/share/doc/libdvdread4/install-css.sh (see also [1])
|
[2010-06-03] | GVim (vim-gnome) | To enable support of X clipboard |
[2010-06-07] | CUPS PDF (cups-pdf) | Allow CUPS to access ~/PDF:sudo aa-complain cupsd
|
[2010-06-08] | Qiv (qiv) | |
[2010-06-09] | 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 |
[2010-06-09] | Grub2 Splash Image (ubuntu-splash-image) | (from lucid-splash-image.deb) installed with sudo dpkg -i --force-architecture lucid-splash-image.deb
|
[2010-06-11] | Racoon (racoon) | For RSA key generation, see Crypto |
[2010-06-14] | GPG Agent (gnupg-agent) | Added use-agent at end of ~/.gnupg/gpg.conf
|
[2010-06-14] | Rename utils (renameutils) | |
[2010-06-30] | Ruby (ruby) | ... for Vim plug-in snipMate.vim |
[2010-07-07] | LaTeX (texlive texlive-xetex latex2hml) | Including XeTeX package |
[2010-07-07] | TeX Extra packages (texlive-plain-extra) | Soul package requires CTAN color package - see [2] |
[2010-07-14] | gThumb (gthumb) | |
[2010-07-14] | QIV (qiv) | |
[2010-07-30] | Vim/Cscope (cscope) | |
[2010-08-09] | Wine (wine) | See Wine page |
[2010-08-09] | Nautilus Audio Converter (wavpack mppenc libmpcdec3 faac flac vorbis-tools faad lame nautilus-script-audio-convert) | Enable script ConvertAudioFile (Menu Preference → Nautilus Scripts Manager). See Ubuntu Geek - Simplest way to convert audio file(s) on Ubuntu Linux |
[2010-08-11] | HTTrack (httrack) | |
[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-13] | Meld (meld) | Diff tool |
[2010-08-31] | Gnome Terminator (terminator) | See Gnome Terminator |
[2010-09-01] | Google Earth (googleearth googleearth-data) | Requires Medibuntu repository |
[2010-09-03] | Sage 4.2.1 | Recovered from AndLinux. Restored old workspaces from ~beq06659/.sage and /root/.sage. See Sage |
[2010-09-03] | NTL (libntl-dev, libntl-5.4.2) | |
[2010-09-03] | GMP (libgmp3-dev,libgmp3c2,gmp-ecm) | |
[2010-09-06] | Flash Plugin 10 (flashplugin-installer) | First need to enable Ubuntu partner repository (deb http://archive.canonical.com/ubuntu lucid partner). Next sudo aptitude autoremove "flashplugin-*"
sudo aptitude install flashplugin-installer
|
[2010-09-13] | tnef (tnef,ytnef) | Parsing winmail.dat attachment |
[2010-09-14] | Evolution plugins (evolution-plugins-experimental) | For opening Winmail.dat attachment in Evolution |
[2010-09-14] | Evolution RSS (evolution-rss) | |
[2010-09-14] | Quicktime plugin (gnome-mplayer,gecko-mediaplayer) | To play Quicktime content in Opera, Firefox |
[2010-09-16] | Recoll desktop search (recoll) | See also Recoll page. |
[2010-09-17] | Macbuntu 10.04 theme | See Macbuntu page. Check log + uninstall script in ~/.macbuntu. no wobbly windows, no hot corners. |
[2010-09-17] | pdftk (pdftk) | |
[2010-09-20] | GNU Go (gnugo) | |
[2010-09-20] | Various Go games (qgo uligo) | |
[2010-09-20] | Panda glGo 1.4.1 ([3]) | 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 |
[2010-09-20] | Quarry (quarry) | Board games Go, Amazons, and Reversi |
[2010-09-21] | MDF to ISO Converter (mdf2iso) | CD image conversion utility |
[2010-09-21] | MountManager (mountmanager) | ...to mount mdf CD images |
Un-installed applications (by uninstall date):
[2010-09-16] | Mac4Lin Gnome theme | [2010-09-17] Uninstalled (theme too dark, Macbuntu theme is much better + Opera much better). See Mac4Line page. Installed in ~/mac4lin. Used MakeTechEasier version + Opera user stylesheet fix. |
none
Automatic Updates
- [2010-05-03] — Kernel — (linux-image-2.6.32-22-generic, replacing original linux-image-2.6.32-21-generic)
Simple Settings
GRUB — Added to file /etc/grub.d/40_custom:(Not needed anymore since VirtualBox boots Windows directly, so no risk of booting host again)set default="Microsoft Windows XP Professional (on /dev/sda2)"
- CRON - cron script for automatic backup of wikis on Noekeon's (see config files).
- PROXY - script for automatic setup of network environment (proxy, ssh...) (see config files).
Detailed System Settings
1st install
- 1st install on [2010-05-03]
- Distribution: Ubuntu 10.04 LTS amd64
- Installation method: Net boot install from Internet using GRUB
- Language: English
- Location: Europe, Belgium Time
- Computer name: NXL67002UX
- Keyboard layout: USA, USA
- Name: beq06659
- Login name: beq06659
- Update: Install security updates automatically
- Software to install: Ubuntu Desktop
- Partition: see main page
File System
- For details, see /etc/fstab.
- Windows partition:
- C: → do not mount automatically. Risk of corruption if mounted while VirtualBox is running!
- D: → mount as /windows/d.
- File system structure:
/: # /dev/sda7 lrwxrwxrwx root root data -> /mnt/data/ drwxr-xr-x root root net/ lrwxrwxrwx root root sage -> /data/sage-4.2.1/ drwxr-xr-x root root smb/ drwxr-xr-x root root windows/ /data: drwxr-xr-x altran altran altran/ drwxr-xr-x beq06659 beq06659 beq06659/ drwxr-xr-x beq06659 beq06659 sage-4.2.1/ drwxr-xr-x www-data root www/ /home/beq06659: lrwxrwxrwx beq06659 beq06659 Documents -> /windows/d/Profiles/beq06659/My Documents/ lrwxrwxrwx beq06659 beq06659 Maildir -> /data/beq06659/Maildir/ lrwxrwxrwx beq06659 beq06659 backup -> /data/beq06659/backup/ /mnt: drwxr-xr-x root root data/ # /windows/d/andlinux/Drives/data.reiserfs.10G.dvi drwxr-xr-x root root winc/ # /dev/sda2 drwxr-xr-x root root wind/ # /dev/sda5 /net: # NFS autofs /smb: drwxr-xr-x root root mnemosyne/ # SMB autofs /var: lrwxrwxrwx root root www -> /data/www/ /windows: lrwxrwxrwx root root d -> /mnt/wind/
Network
- Edited /etc/hosts
- Proxy configuration - network nxp:
- sshproxy → connect to NXP proxy with sshtunnel (with NTLM auth. if needed); forward IMAP/SMTP ports; opens a SOCKS5 proxy
- privoxy → forward to ssh SOCKS5 proxy. provide http proxy server.
- apt-get, wget, browsers... → through privoxy (env. set in /etc/bash.bashrc, /etc/profile, /etc/environment)
- ftp → direct connection (no solution...)
- Proxy configuration - network home:
- sshproxy → direct connection; forward IMAP/SMTP ports; opens a SOCKS5 proxy (useless).
- privoxy → direct connection. provide http proxy server.
- apt-get, wget, browsers... → through privoxy (env. set in /etc/bash.bashrc, /etc/profile, /etc/environment)
- ftp → direct connection
- SAMBA/NFS CLIENT - Mount mnemosyne shares as NFS autofs (see [4]) and as SMB autofs
- Enabled/created the following automounters in /etc/auto.master:
- Created configuration file /etc/auto.smb.mnemosyne
- Created SMB credential files /etc/auto.smb.mnemosyne.* (see
man mount.cifs
) - Created path for mount points:
- NXP Wireless (see Linux Admin#Wireless Network)
- Network name (SSID): WLAN-WBI
- Wireless security: Dynamic WEP (802.1x)
- Authentication: TLS
- Identity: michael.peeters@nxp.com
- User certificate / CA certificate / Private key: imported from Windows (NXP Enterprise CA 1 for Client Authentication, Secure Email, serial 2F DF 1F D4 00 00 00 00 5E 1C)
/net /etc/auto.net
/smb/mnemosyne /etc/auto.smb.mnemosyne
sudo mkdir /net
sudo mkdir -p /smb/mnemosyne
#ls /net/mnemosyne
#sudo mkdir -p /mnt/mnemosyne
#for i in /net/mnemosyne/volume1/*; do sudo ln -s $i /mnt/mnemosyne/$(basename $i); done
Preferences
- Theme The mighty Macbuntu 10.04 theme! Reverted changes:
- Fonts — see below.
- Terminal — Colors select Use colors from system theme (was set to Gray on black built-in schemes). Keep transparent background 95%.
- Panel — add back System Monitor. We don't add back the bottom task panel.
- Windows button_layout: menu:minimize,maximize,close
- Appearance
(before Macbuntu) Fonts — Application → Tahoma 9; Document→ Sans 8; Desktop → Sans 8; Title → Sans Bold 9; Fixed width → Monospace 8- (after Macbuntu) Fonts — Application → Lucida Grande 9; Document→ Lucida Grande 9; Desktop → Lucida Grande 9; Title → Lucida Grande 10; Fixed width → Lucida Console 9 (originally Lucida Console 10)
- Appearance
- Isabelle Hires Noir&Blanc crop-despeckle 936x1200.png, in ~/etc.
- 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
- Window List Panel (see here)
- Window List Content → Show windows from all workspaces
- Restoring Minimized Windows → Restore to native workspace
- Fonts
- System fonts (/usr/local/share/fonts):
- Added BitStream Vera 1.10
- Added jsMath fonts (Linux variant, darkness 20 file, see here)
- Added all jsMath extra fonts (dark version from this page)
- User fonts (~/.fonts):
- Added Tahoma
- Compiz
- Static Application Switcher: Use Alt-Tab for Next Window (current workspace)
- Scale: Multi-Output Mode → On all output devices, darken background, Emblem for overlay icon
- Ring Switcher: Enabled + Use Super-Alt for Next Windows (All Workspaces) + Allow Mouse Selection
- Enhanced Zoom Desktop: Disabled
- Negative: Disabled
- Desktop Wall: enabled Edge Flip Move.
- Put : disabled Put Pointer, enabled Put To Next Output (Superz) selected Avoid Offscreen.
- Windows
- Movement Key: Super (Windows logo)
because Alt-mouse is used in OpenOffice to move columns / rows
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 |
Shortcut | Action | Remark |
---|---|---|
ControlAltLeft ControlAltRight |
Desktop Wall - Move | |
ShiftControlAltLeft ShiftControlAltRight |
Desktop Wall - Move with window | |
ShiftSupere | Expo Key | |
AltF7 | Move Window | |
Superz | Windows Put To Next Output | |
AltF8 | Resize Window | |
SuperTab ShiftSuperTab |
Ring Switcher | (All Workspaces) |
Superw Supera |
Scale windows | Current viewport All windows |
AltTab ShiftAltTab |
Static application switcher | Current viewport |
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
- System mail name: nxl67002ux.wbi.nxp.com
- Created /etc/courier/userdb, and kept entries for root, localuser and beq06659
- Use password from /etc/courier/userdb (method authuserdb).
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)
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 "nxl67002ux"
# Restart apache server to activate php module...
sudo /etc/init.d/apache restart
# Move www root dir to /data disk
sudo mv /var/www /data
sudo ln -s /f /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 '********';
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
- Display, date format: YYYY-MM-DD hh:mm:ss
- List View: zoom 33%
- Icon View, Compact View: zoorm 66%
- 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).
- Options → Events → Enable popup notifications (all notifications)
- Modify Account... → Changed resource to work-ux
- Modify Account... → Automatically reconnect if disconnected
- Modify Account... → Proxy → localhost:8118
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 beq06659 - 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
Terminal
Vim
- Added ~/.bash_complete from [5] (modified to also take
alias v=gvim
)
VirtualBox
- Installed with apt, version 3.2.0
- VirtualBox is launched as user root (because it seems that only the current user and root can access PulseAudio in a same X session — see [6])
- Create vmdk to boot windows partition /dev/sda2. Update the MBR code to remove GRUB. Repeat this every time the partitions change:
sudo dd if=/dev/sda of=opensource.mbr bs=512 count=1
sudo apt-get install mbr # For command "install-mbr"
sudo install-mbr -i n -p D -t 0 opensource.mbr
sudo VBoxManage internalcommands createrawvmdk -filename nxl67002-sda2-mbr.vmdk -rawdisk /dev/sda -partitions 2 -relative -mbr opensource.mbr
- Allow user beq06659 to launch VirtualBox through user root. Add to /etc/sudoers:
beq06659 ALL=NOPASSWD: /usr/bin/VirtualBox
- Helper script to add to e.g. ~/bin :
#First allow user vbox to connect to X11
#xhost +SI:localuser:vbox
#sudo su vbox -c /usr/bin/VirtualBox&
#New config - run VirtualBox as root to allow sound
sudo /usr/bin/VirtualBox&
- Host-only network vboxnet0
- IPv4 address/mask 192.168.11.150/255.255.255.0 (same as AndLinux)
- DHCP Server address/mask 192.168.11.1/255.255.255.0, Lower/Upper address bound 192.168.11.2/192.168.11.99
- Virtual machine NXL67002
- Base Memory 1536 MB, 2 cpus, VT-x/AMD-V enabled, Nested Paging enabled
- Video memory 48 MB, 2 monitors, 3D accel enabled, 2D accel enabled
- Audio host driver PulseAudio, controller ICH AC97
- Network PCnet-FAST III, bridged, eth0
- Network PCnet-FAST III, Host-only adapter, vboxnet0
- Machine folder: permanent, full access, /windows/d as d
- Default layount: seamless mode, extended desktop (windows taskbar on external monitor, gnome taskbar on primary monitor, workspace switcher panel on top bar)
Wine
See Wine own page.
To Do
- Try avahi for ZeroConf name resolution and get rid of /etc/hosts.
- Issue - ssh disconnects after some time, autossh can't reconnect. Even doing a simple ssh does not work anymore. Might be due to broken ssh-agent
- Disable auto-run of Gnome ssh-agent, enabled back my ss-agent script
- Issue - synergy unstable. Sometimes CTRL key does not work anymore in the client...
- Look for alternatives: Synergy+ (SynergyPlus), or x2x (see Synergy page on wikipedia).
- Issue - VirtualBox - UE slower gui refresh since update to VirtualBox 3.2.4 (previous version was 3.2.0)
- Issue - Wireless continuously connect / disconnect. It seems I'm not the only one.
- ToDo - look at Compact Human Theme (see Delicious)
- ToDo - look at Legacy font hinting engine (see Delicious)
- Issue - udevd eats CPU resource! Same problem as [7]. Bug reported here. More here. Partial workaround:
sudo service udevd stop
sudo service udevd start # After this unfortunately there is no battery state icon anymore (unless reboot, or maybe suspend)
udevadm monitor # Check that there is no events triggered