Gryphon - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎Preferences: Power management buttons)
Line 349: Line 349:
* ''Settings'' &rarr; ''Keyfiles'' &rarr; add <tt>~/.tc/tckeyfile</tt> as default key file + ''Use keyfiles by default''.
* ''Settings'' &rarr; ''Keyfiles'' &rarr; add <tt>~/.tc/tckeyfile</tt> as default key file + ''Use keyfiles by default''.
* ''Settings'' &rarr; ''Preferences'' &rarr; ''System Integration'' panel &rarr; ''Open Explorer window for succesfully mounted volume''.
* ''Settings'' &rarr; ''Preferences'' &rarr; ''System Integration'' panel &rarr; ''Open Explorer window for succesfully mounted volume''.

=== XBMC ===
* Installed remote ''Gyration Remote 3101''' using '''lirc''' (see [[XBMC#Remote_and_Keyboard_Control here]]).
* '''Back''' remote button in '''Home''' window shows the '''Shutdown menu'''.
* See the [[{{PAGENAME}} - Files|configuration files]].


== To Do ==
== To Do ==

Revision as of 01:34, 2 March 2010

Introduction

This is the configuration page for the Ubuntu Karmic Koala 9.10 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 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)
  • [2009-10-27] dlocate and 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)
  • [2009-10-27] Opera 10.00 (need to add 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] Igowin (under wine)
  • [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] DVDFab 6.2.1.8 (under wine)
Set default DVD to DVD to DVD9.
  • [2010-03-01] XBMC 9.11 (xbmc xbmc-standalone) as explained here.
  • [2010-03-02] LIRC (lirc) for XBMC / Gyration Remote 3101

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)

Simple Settings

  • [2009-10-27] - Enabled proprietary video device driver NVIDIA (version 96).
  • [2009-10-27] gnome-terminal, set default window size (system-wide) to 150x43.
  • [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

File System

  • Partition summary:
  • Device Label Size Type Options Mount
    /dev/sda1/ 40GBDSK1 8.4 GB ntfs ro /windows/c
    /dev/sda2/ 1.0 GiB swap Defaults swap
    /dev/sda3/ UBUNTU 8.0 GiB reiserfs notail,noatime /
    /dev/sda5/ 8.6 GiB reiserfs notail,noatime /mnt/data
    /dev/sda6/ 40GBDSK2 14 GiB fat32 Defaults /windows/f
    /dev/sdb1/ 120GB 124 GB ext4 Defaults /mnt/data120
    /dev/sdc1/ 250GB 250 GB ntfs Defaults /windows/d
  • 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
      drwxr-xr-x root     root     mnemosyne/
    /mnt/mnemosyne:
      lrwxrwxrwx root     root     archives -> /net/mnemosyne/volume1/archives/
      lrwxrwxrwx root     root     backup -> /net/mnemosyne/volume1/backup/
      lrwxrwxrwx root     root     movies -> /net/mnemosyne/volume1/movies/
      lrwxrwxrwx root     root     musics -> /net/mnemosyne/volume1/musics/
      lrwxrwxrwx root     root     photos -> /net/mnemosyne/volume1/photos/
      lrwxrwxrwx root     root     public -> /net/mnemosyne/volume1/public/
      lrwxrwxrwx root     root     videos -> /net/mnemosyne/volume1/videos/
    /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
    
  • Fixed: CIFS shares not properly unmounted during shutdown - see bug here
  • Mount /windows/c as read-only (option ro in /etc/fstab)
  • 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
      
    • Content of the file /etc/auto.smb.mnemosyne:
    • archives    -fstype=cifs,allow_utime=22,umask=002,credentials=/etc/auto.smb.mnemosyne.archives   ://mnemosyne/archives
      backup      -fstype=cifs,allow_utime=22,umask=002,credentials=/etc/auto.smb.mnemosyne.backup     ://mnemosyne/backup
      movies      -fstype=cifs,allow_utime=22,umask=002,credentials=/etc/auto.smb.mnemosyne.movies     ://mnemosyne/movies
      musics      -fstype=cifs,allow_utime=22,umask=002,credentials=/etc/auto.smb.mnemosyne.musics     ://mnemosyne/musics
      photos      -fstype=cifs,allow_utime=22,umask=002,credentials=/etc/auto.smb.mnemosyne.photos     ://mnemosyne/photos
      videos      -fstype=cifs,allow_utime=22,umask=002,credentials=/etc/auto.smb.mnemosyne.videos     ://mnemosyne/videos
      
    • Created SMB credential files /etc/auto.smb.mnemosyne.* (see man mount.cifs)
    • Created Symlink:
    • ls /net/mnemosyne
      sudo mkdir -p /mnt/mnemosyne
      for i in /net/mnemosyne/volume1/*; do sudo ln -s $i /mnt/mnemosyne/$(basename $i); done
      

Network

  • SAMBA - 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)

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
  • Start Gnome DO at login
  • Hide window on first launch (quiet mode)
  • Launch key: <alt>+space.
    • But 1st change shortcut for Activate the window menu (restart Gnome DO afterwards for change to take effect)

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 Karmic Koala 9.10.
  • 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)

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

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

  • 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