Gryphon - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎Psi: auto reconnect if disconnected)
Line 219: Line 219:
=== Users ===
=== Users ===
To be completed
To be completed

=== CUPS ===
* Allow CUPS to access ~/PDF
{{pl2|<source lang="bash" enclose="prevalid">
sudo aa-complain cupsd
</source>}}


== Detailed Application Settings ==
== Detailed Application Settings ==

Revision as of 12:45, 7 June 2010

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.

Installed Applications

[2009-10-27]Gnome DO (gnome-do)
[2009-10-27]Synergy 1.3.1 (synergy)Keyboard/mouse sharing
[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.00Need 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 (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 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)
[2010-04-17]fdupes (fdupes)

Un-installed applications (by uninstall date):

[2009-11-29]cgoban games (cgoban)
[2010-03-01]xbindkeys and xbindkeys-configFor Gyration Remote 3101 (xbindkeys, xbindkeys-config)

Simple Settings

  • [2009-10-27] - Enabled proprietary video device driver NVIDIA (version 96).
  • [2009-10-28] - Fonts BitStream Vera 1.10 (copied to /usr/share/fonts/truetype/local).
  • [2009-11-26] - /etc/sudoers - Allows shutdown without root password.
  • [2009-12-11] - Install jsMath fonts, Linux variant, darkness 20 (this file, see here, instruction here).
  • [2010-01-03] - /etc/sudoers - Allows /usr/bin/truecrypt without root password.
  • [2010-01-06] - Install all jsMath extra fonts, dark version (from this page).

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)
  • SAMBA/NFS CLIENT - Mount mnemosyne shares as NFS autofs (see [3]) and as SMB autofs
    • Enabled/created the following automounters in /etc/auto.master:
    • /net           /etc/auto.net
      /smb/mnemosyne /etc/auto.smb.mnemosyne
      
    • Created configuration file /etc/auto.smb.mnemosyne
    • Created SMB credential files /etc/auto.smb.mnemosyne.* (see man mount.cifs)
    • Created path for mount points:
    • 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

  • Appearance
  • Background: Isabelle Hires Noir&Blanc crop-despeckle 936x1024.png, scaled, background color = (160,160,160)
  • Fonts: All font size set to 9, except Desktop → 10.
  • 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

Update / Package Management

Repositories / keys:

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

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
  • Install xsel (to circumvent Firefox copy/paste Chinese bug)
  • Configuration file /etc/synergy.conf
  • At the end of /etc/gdm/Init/Default
#
# Start the synergy server
#
/usr/bin/killall synergys
sleep 1
/usr/bin/synergys --config /etc/synergy.conf --daemon
  • At the beginning of /etc/gdm/PostLogin/Default
#
# Kill all running synergy server
#
/usr/bin/killall synergys
sleep 1
  • At the beginning of /etc/gdm/PreSession/Default
#
# Start synergy server
#
/usr/bin/killall synergys
sleep 1
/usr/bin/synergys --config /etc/synergy.conf --daemon

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