Gryphon - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎Network: Link to common configuration settings)
 

Latest revision as of 11:34, 26 April 2013

Introduction

This is the configuration page for the Ubuntu Lucid Lynx 10.04 partition on Gryphon.

Configuration Files

All configuration files can be found here.

Repositories

  • Added Opera authentication key (see here)
  • Added Medibuntu repository (See here)
  • Added Iplist repository (See here)

Installed Applications

[2009-10-27] Gnome DO (gnome-do)
[2009-10-27] Synergy (synergy) [2011-01-24] v1.3.4! See configuration below.
[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)
[2009-10-27] dlocate, apt-file(dlocate apt-file)
[2009-10-27] Wine (wine)
[2009-10-27] IMAP Courier (courier-imap courier-doc courier-imap-ssl) See below for install settings
[2009-10-27] Midnight Commander (mc) See reference page
[2009-10-27] Opera 10.00 Need to add key with apt-key - see below
[2009-10-27] Ubuntu restricted extras (ubuntu-restricted-extras) shall install automatically libdvdread4 (see also [1])
[2009-10-27] msttcorefonts (msttcorefonts)
[2009-10-27] gThumb (gthumb)
[2009-10-27] QIV (qiv)
[2009-10-27] Amarok (amarok)
[2009-10-27] VLC (vlc)
[2009-10-27] MPlayer (mplayer mplayer-doc mplayer-fonts)
[2009-10-27] libdvdcss2 (libdvdcss) Requires Medibuntu repository
[2009-10-28] gvncviewer (gvncviewer) For testing purpose ...
[2009-11-01] XSel (xsel)
[2009-11-07] Evince (evince)
[2009-11-11] TrueCrypt 6.3
[2009-11-26] Kwrite (kwrite)
[2009-11-29] GNU Go (gnugo)
[2009-11-29] Various Go games (qgo uligo)
[2009-11-29] Panda glGo 1.4.1 ([2]) 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, and enter /usr/games/gnugo for location of gnugo

[2009-11-29] KeePassX (keepassx)
[2009-11-29] (wine) Igowin
[2009-12-09] Psi
[2009-12-16] UltraEdit 1.0.0.11
[2010-01-31] K3b (k3b)
[2010-02-15] iplist (iplist)
[2010-02-15] aMule (amule)
[2010-02-15] bsdiff (bsdiff)
[2010-02-15] Visual Binary Diff (vbindiff)
[2010-02-27] autofs (autofs)
[2010-03-01] (wine) DVDFab 6.2.1.8 + 7.0.8.0 [2010-07-26] Installed back 6.2.1.8 because 7.0.8.0 is damn slow!
Set default DVD to DVD to DVD9
[2010-03-01] XBMC 9.11 (xbmc xbmc-standalone) Installation instructions
[2010-03-02] LIRC (lirc) For XBMC / Gyration Remote 3101
[2010-03-03] KeyTouch (keytouch, keytouch-editor)
[2010-03-03] LineAKD (lineakd) For troubleshooting Gyration Remote 3101
[2010-03-21] CUPS PDF (cups-pdf) Allow CUPS to access ~/PDF:
sudo aa-complain cupsd
[2010-04-17] fdupes (fdupes)
[2010-06-27] gVim (vim-gnome)
[2010-06-27] Exuberant Ctags (exuberant-ctags)
[2010-09-16] Macbuntu 10.04 theme See Macbuntu page. Check log + uninstall script in ~/.macbuntu. no wobbly windows, no hot corners.

Un-installed applications (by uninstall date):

[2009-11-29] cgoban games (cgoban)
[2010-03-01] xbindkeys and xbindkeys-config For Gyration Remote 3101 (xbindkeys, xbindkeys-config)
[2010-08-10] Vim/Cscope (cscope)

Simple Settings

  • [2009-10-27] - Enabled proprietary video device driver NVIDIA (version 96).
  • [2009-11-26] - /etc/sudoers - Allows shutdown without root password.
  • [2010-01-03] - /etc/sudoers - Allows /usr/bin/truecrypt without root password.

Detailed System Settings

1st install

  • 1st install on [2009-10-26]
  • 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: gryphon
  • Keyboard layout: Belgium, Belgium
  • Name: Bad Dreams
  • Login name: baddreams
  • Update: Install security updates automatically
  • Software to install: Ubuntu desktop
  • Partition: see parent page

Upgrade Ubuntu Lucid Lynx 10.04

  • Upgrade to Ubuntu 10.04 Lucid Lynx
  • Restored Synergy configuration files

File System

  • File system structure:
  • /:
      drwxr-xr-x root     root     mnt/
      drwxr-xr-x root     root     net/
      drwxr-xr-x root     root     smb/
      drwxr-xr-x root     root     windows/
      lrwxrwxrwx root     root     home -> /mnt/data/home/
    /mnt:
      drwxr-xr-x root     root     data/        # /dev/sda5
      drwxr-xr-x root     root     data120/     # /dev/sdb1
    /net:
      # NFS autofs
    /smb:
      drwxr-xr-x root     root     mnemosyne/   # SMB autofs
    /windows:
      drwxr-xr-x root     root     c/           # /dev/sda1
      drwxr-xr-x root     root     d/           # /dev/sdc1
      drwxr-xr-x root     root     f/           # /dev/sda6
    
  • Mount /windows/c as read-only (option ro in /etc/fstab)

Network

  • SAMBA CLIENT - Fixed: CIFS shares not properly unmounted during shutdown - see bug here
  • SAMBA SERVER - Created the following shares (file /etc/samba/smb.conf):
    • d/windows/d (guest ok)
    • f/windows/f (guest ok)
    • j/windows/j (guest ok)
    • k/windows/k (guest ok)

See also common Common configuration settings

Preferences

  • Theme
  • The mighty Macbuntu 10.04 theme! Reverted changes:
    • Fonts — see below.
    • TerminalColors 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
  • Fonts
    • (before Macbuntu) ApplicationTahoma 9; DocumentSans 8; DesktopSans 8; Title → Sans Bold 9; Fixed widthMonospace 8
    • (after Macbuntu) ApplicationLucida Grande 9; DocumentLucida Grande 9; DesktopLucida Grande 9; Title → Lucida Grande 10; Fixed widthLucida Console 9 (originally Lucida Console 10)
    • (after Macbuntu) Fonts — rename ~/.fonts.conf to ~/.fonts.conf.macbuntu to disable macbuntu hinting settings override.
    • Resolution = 84 dpi (originally 96) (in AppearanceFontsdetails...)
    • 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
  • Background
    • Isabelle Hires Noir&Blanc crop-despeckle 936x1200.png (from ~/etc), centered, background color = (66,85,146) (old was 160,160,160).
  • 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-: → '>'
    • Options: Capslock affects all keys, right alt chooses 3rd level.
  • Display
    • Resolution: 1280x1024, refresh rate auto
    • Issue: Can't save the settings - error message Can't parse /etc/X1/xorg.conf
    • Fixed: Create a new /etc/X11/xorg.conf with
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.original
    sudo nvidia-xconfig
    sudo nvidia-settings
    
    • Issue: Windows are blank (see info here and here)
    • Fixed: Edit the new /etc/X11/xorg.conf as follows:
         ...
         Identifier     "Screen0"
         # This line is necessary otherwise windows are blank!
         Option         "AddARGBGLXVisuals"	"True"
         Device         "Device0"
         ...
    
  • Keyboard Shortcuts
  • Action Shortcut Remark
    Home Folder Win-E (Mod4-E) Hack Super is mapped to Win keys not needed anymore it seems
    Expo key Shift-Win-E (Shift-Mod4-E)
    Activate the window menu Shift-Alt-Space was conflicting with Gnome DO shortcut
  • Power management buttons (edited with Gnome's configuration Editor):
  • Name Current value Default value
    hibernate hibernate hibernate
    lid_ac suspend suspend
    lib_battery suspend suspend
    power interactive interactive
    suspend nothing hibernate
  • Window List Panel (see here)
  • Window List Content → Show windows from all workspace
    Restoring Minimized Windows → Restore to native workspace
  • Screensaver
    • Picture folder + edited settings with gconf-editor

Users

To be completed

Detailed Application Settings

Courier-IMAP

  • Install
    • Create directories for web-based administration
    • SSL Certificate: /etc/courier/pop3d.pem, /etc/courier/imapd.pem
    • Postfix configuration: local only
    • System mail name: gryphon.HELL

Evolution

  • Restore data from previous backup (see Evolution#Backup).
  • Edited as root /usr/share/evolution/2.22/ui/evolution-mail-message.xml and .../evolution.xml to change keyboard shortcuts:
    • Exit application: *Control*qnone;
    • Mark mail as read: *Control*k*Control*q;
    • Mark mail as unread: *Control**Shift*k*Control*u;
    • Message source: *Control*u*Control*k;
<!-- /usr/share/evolution/2.22/ui/evolution.xml: -->
<cmd name="FileExit" _label="_Quit" _tip="Exit the program"/>

<!-- /usr/share/evolution/2.22/ui/evolution-mail-message.xml: -->
<cmd name="MessageMarkAsRead" _tip="Mark the selected messages as having been read" accel="*Control*q" pixtype="pixbuf"/>
<cmd name="MessageMarkAsUnRead" _tip="Mark the selected messages as not having been read" accel="*Control*u" pixtype="pixbuf"/>
<cmd name="ViewSource" _tip="Show the raw email source of the message" accel="*Control*k"/>

Gnome DO

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

Nautilus

  • User baddreams
    • Default view: List View
    • Display, date format: YYYY-MM-DD hh:mm:ss
    • List View: zoom 33%

Opera

  • Current version: Opera 10.00, .deb package for Ubuntu.
  • Use Master Password to protect saved passwords.
  • Set Google as default search engine (toolbar and speed dial).
  • Keyboard configuration in file ~/.opera/keyboard/standard_keyboard_1.ini
    • Note that shortcut can also be defined through Opera, but it does not work for ² alt (! this file is UTF8. See this bug)
[Application]
Platform Windows-Unix-MCE, PageUp ctrl=Switch to previous page
Platform Windows-Unix-MCE, PageDown ctrl=Switch to next page
...
Esc=Leave access key mode | Cancel current voice
Esc shift=Leave access key mode | Cancel current voice
² alt=Enter access key mode | Leave access key mode
...
PageUp ctrl=Page left
PageDown ctrl=Page right
[Hotlist Floating.content]
Button0, -1726668283=Add/Remove Panels
Button1, "Go to page"="Go to page, "http://delicious.com/m1p", , "Delicious", "Panel Mail""
Button2, "post to del.icio.us"="Go to page, "javascript:loc=location.href;title=document.title;notes=window.getSelection();void(open(' http://delicious.com/post?v=4;noui=yes;jump=close;url='+encodeURIComponent(loc)+';title='+encodeURIComponent(title)+';notes='+encodeURIComponent(notes),'delicious','toolbar=no,width=700,height=400'));", , "post to del.icio.us", "Compose mail""

Psi

(recovered previous settings at ~/.psi)

  • Gnome: Added Psi as startup program (Psi, /usr/bin/psi, Communicate over the jabber network).
  • OptionsEventsEnable popup notifications (all notifications)
  • Modify Account...Automatically reconnect if disconnected.

Synergy

  • Reference page
  • synergy v1.3.1
  • Configuration file /etc/synergy.conf
  • Install xsel (to circumvent Firefox copy/paste Chinese bug)
  • Edited gdm startup scripts to launch server automatically

Terminal

  • Set default window size (system-wide) to 150x43.
  • Disabled menu shortcut key (F10)

TrueCrypt

  • Using TrueCrypt 6.3.
  • Personal configuration directory in ~/.tc.
  • Added function tc in ~/.bashrc to mount tc volume in command-line.
    • Requires creating directory /mnt/tc
  • SettingsKeyfiles → add ~/.tc/tckeyfile as default key file + Use keyfiles by default.
  • SettingsPreferencesSystem Integration panel → Open Explorer window for succesfully mounted volume.

XBMC

To Do

  • Check ViewNX, image viewer application that can run under Wine (from Claude).
  • Related to blank windows and xorg.conf bug when saving nvidia settings:
    • Try to add the line Option "DisableGLXRootClipping" "True" (although they say here that it must not be done)
    • Try to run the command sudo nvidia-xconfig --add-argb-glx-visuals
  • Opera: Set cookie policy to Accept only cookies from site I visit, and Delete new cookies when exiting Opera.
  • Install
    • aMule, dvd fab, gnupg, password safe, psi, truecrypt, wine.

Done:

  • nothing