Gryphon - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Introduction ==
== Introduction ==
This is the configuration page for the '''Ubuntu Karmic Koala 9.10''' partition on '''[[Configuration Gryphon|Gryphon]]'''.
This is the configuration page for the '''Ubuntu Lucid Lynx 10.04''' partition on '''[[Configuration Gryphon|Gryphon]]'''.


== Configuration Files ==
== Configuration Files ==
All configuration files can be found [[{{PAGENAME}} - Files|here]].
All configuration files can be found [[{{PAGENAME}} - Files|here]].

== Repositories ==
* Added '''Opera authentication key''' (see [[Opera#Ubuntu|here]])
* Added '''Medibuntu''' repository (See [[Ubuntu#Medibuntu|here]])
* Added '''Iplist''' repository (See [[Amule#Installation|here]])


== Installed Applications ==
== Installed Applications ==
{| class="install_log"
* [<tt>2009-10-27</tt>] '''Gnome DO''' (<tt>gnome-do</tt>)
|-
* [<tt>2009-10-27</tt>] '''Synergy 1.3.1''' keyboard/mouse sharing (<tt>synergy</tt>).
* [<tt>2009-10-27</tt>] '''VIM''' (<tt>vim</tt>)
|[2009-10-27]||'''Gnome DO''' (<tt>gnome-do</tt>)||
|-
* [<tt>2009-10-27</tt>] '''p7zip''' (<tt>p7zip-full p7zip-rar</tt>)
|[2009-10-27]||'''Synergy''' (<tt>synergy</tt>)||<small>[2011-01-24]</small> <font color="red">v1.3.4!</font> See configuration [[#Synergy|below]].
* [<tt>2009-10-27</tt>] '''Samba''' (<tt>samba smbfs</tt>)
|-
* [<tt>2009-10-27</tt>] '''NFS Client''' (<tt>nfs-common</tt>)
* [<tt>2009-10-27</tt>] '''SSH''' (<tt>ssh</tt>)
|[2009-10-27]||'''VIM''' (<tt>vim</tt>)||
|-
* [<tt>2009-10-27</tt>] '''dlocate''' and '''apt-file'''(<tt>dlocate apt-file</tt>)
* [<tt>2009-10-27</tt>] '''Wine''' (<tt>wine</tt>)
|[2009-10-27]||'''p7zip''' (<tt>p7zip-full p7zip-rar</tt>)||
|-
* [<tt>2009-10-27</tt>] '''IMAP Courier''' (<tt>courier-imap courier-doc courier-imap-ssl</tt>) ''...see below for install settings''
* [<tt>2009-10-27</tt>] '''Midnight Commander''' (<tt>mc</tt>)
|[2009-10-27]||'''Samba''' (<tt>samba smbfs</tt>)||
|-
* [<tt>2009-10-27</tt>] '''Opera 10.00''' (need to add apt-key - see below)
|[2009-10-27]||'''NFS Client''' (<tt>nfs-common</tt>)||
* [<tt>2009-10-27</tt>] '''Ubuntu restricted extras''' (<tt>ubuntu-restricted-extras</tt>) - shall install automatically '''libdvdread4''' (see also [https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs])
|-
* [<tt>2009-10-27</tt>] '''msttcorefonts''' (<tt>msttcorefonts</tt>)
* [<tt>2009-10-27</tt>] '''gThumb''' (<tt>gthumb</tt>)
|[2009-10-27]||'''SSH''' (<tt>ssh</tt>)||
|-
* [<tt>2009-10-27</tt>] '''QIV''' (<tt>qiv</tt>)
* [<tt>2009-10-27</tt>] '''Amarok''' (<tt>amarok</tt>)
|[2009-10-27]||'''dlocate''', '''apt-file'''(<tt>dlocate apt-file</tt>)||
|-
* [<tt>2009-10-27</tt>] '''VLC''' (<tt>vlc</tt>)
* [<tt>2009-10-27</tt>] '''MPlayer''' (<tt>mplayer mplayer-doc mplayer-fonts</tt>)
|[2009-10-27]||'''Wine''' (<tt>wine</tt>)||
|-
* [<tt>2009-10-27</tt>] '''libdvdcss2''' (<tt>libdvdcss</tt>) ''(requires Medibuntu repository)''
* [<tt>2009-10-28</tt>] '''gvncviewer''' (<tt>gvncviewer</tt>) ''(... for testing purpose ...)''
|[2009-10-27]||'''IMAP Courier''' (<tt>courier-imap courier-doc courier-imap-ssl</tt>)||See below for install settings
|-
* [<tt>2009-11-01</tt>] '''XSel''' (<tt>xsel</tt>)
|[2009-10-27]||'''Midnight Commander''' (<tt>mc</tt>)||See [[Linux_Commands#mc_.28Midnight_Commander.29|reference page]]
* [<tt>2009-11-07</tt>] '''Evince''' (<tt>evince</tt>)
|-
* [<tt>2009-11-11</tt>] '''TrueCrypt 6.3'''
* [<tt>2009-11-26</tt>] '''Kwrite''' (<tt>kwrite</tt>)
|[2009-10-27]||'''Opera 10.00'''||Need to add key with <code>apt-key</code> - see below
|-
* [<tt>2009-11-29</tt>] '''GNU Go''' (<tt>gnugo</tt>)
|[2009-10-27]||'''Ubuntu restricted extras''' (<tt>ubuntu-restricted-extras</tt>)||shall install automatically '''libdvdread4''' (see also [https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs])
* [<tt>2009-11-29</tt>] Various '''Go''' games (<tt>qgo uligo</tt>)
|-
* [<tt>2009-11-29</tt>] '''Panda glGo 1.4.1''' ([http://www.pandanet.co.jp/English/glGo/download.html])
|[2009-10-27]||'''msttcorefonts''' (<tt>msttcorefonts</tt>)||
** Also need packages <code>libsdl-image1.2 libsdl-ttf2.0-0</code>
|-
** <code>sudo ln -s libpython2.6.so.1.0 /usr/lib/libpython2.5.so.1.0</code>
|[2009-10-27]||'''gThumb''' (<tt>gthumb</tt>)||
** Start glGo (<code>glGo</code>), and enter <code>/usr/games/gnugo</code> for location of gnugo
|-
* [<tt>2009-11-29</tt>] '''KeePassX''' (<tt>keepassx</tt>)
* [<tt>2009-11-29</tt>] '''Igowin''' (under wine)
|[2009-10-27]||'''QIV''' (<tt>qiv</tt>)||
|-
* [<tt>2009-12-09</tt>] '''Psi'''
* [<tt>2009-12-16</tt>] '''UltraEdit 1.0.0.11'''
|[2009-10-27]||'''Amarok''' (<tt>amarok</tt>)||
|-
* [<tt>2010-01-31</tt>] '''K3b''' (<tt>k3b</tt>)
* [<tt>2010-02-15</tt>] '''iplist''' (<tt>iplist</tt>)
|[2009-10-27]||'''VLC''' (<tt>vlc</tt>)||
|-
* [<tt>2010-02-15</tt>] '''aMule''' (<tt>amule</tt>)
* [<tt>2010-02-15</tt>] '''bsdiff''' (<tt>bsdiff</tt>)
|[2009-10-27]||'''MPlayer''' (<tt>mplayer mplayer-doc mplayer-fonts</tt>)||
|-
* [<tt>2010-02-15</tt>] '''Visual Binary Diff''' (<tt>vbindiff</tt>)
* [<tt>2010-02-27</tt>] '''autofs''' (<tt>autofs</tt>)
|[2009-10-27]||'''libdvdcss2''' (<tt>libdvdcss</tt>)||Requires Medibuntu repository
|-
* [<tt>2010-03-01</tt>] '''DVDFab 6.2.1.8''' (under wine)
|[2009-10-28]||'''gvncviewer''' (<tt>gvncviewer</tt>)||For testing purpose ...
: Enabled '''Change DVD playback order / Jump to first menu when disc inserted''', and '''Remove annoying PGCs (like FBI warnings)
|-
* [<tt>2010-03-01</tt>] '''XBMC 9.11''' (<tt>xbmc xbmc-standalone</tt>) as explained [[XBMC#Install|here]].
|[2009-11-01]||'''XSel''' (<tt>xsel</tt>)||
|-
|[2009-11-07]||'''Evince''' (<tt>evince</tt>)||
|-
|[2009-11-11]||'''TrueCrypt 6.3'''||
|-
|[2009-11-26]||'''Kwrite''' (<tt>kwrite</tt>)||
|-
|[2009-11-29]||'''GNU Go''' (<tt>gnugo</tt>)||
|-
|[2009-11-29]||Various '''Go''' games (<tt>qgo uligo</tt>)||
|-
|[2009-11-29]||'''Panda glGo 1.4.1''' ([http://www.pandanet.co.jp/English/glGo/download.html])||Also need packages <code>libsdl-image1.2 libsdl-ttf2.0-0</code>
<source lang="bash" enclose="prevalid">sudo ln -s libpython2.6.so.1.0 /usr/lib/libpython2.5.so.1.0</source>
Start <code>glGo</code>, and enter <code>/usr/games/gnugo</code> for location of gnugo
|-
|[2009-11-29]||'''KeePassX''' (<tt>keepassx</tt>)||
|-
|[2009-11-29]||(wine) '''Igowin'''||
|-
|[2009-12-09]||'''Psi'''||
|-
|[2009-12-16]||'''UltraEdit 1.0.0.11'''||
|-
|[2010-01-31]||'''K3b''' (<tt>k3b</tt>)||
|-
|[2010-02-15]||'''iplist''' (<tt>iplist</tt>)||
|-
|[2010-02-15]||'''aMule''' (<tt>amule</tt>)||
|-
|[2010-02-15]||'''bsdiff''' (<tt>bsdiff</tt>)||
|-
|[2010-02-15]||'''Visual Binary Diff''' (<tt>vbindiff</tt>)||
|-
|[2010-02-27]||'''autofs''' (<tt>autofs</tt>)||
|-
|[2010-03-01]||(wine) '''DVDFab 6.2.1.8 + 7.0.8.0'''||<small>[2010-07-26]</small> <font color="red">Installed back 6.2.1.8 because 7.0.8.0 is damn slow!</font><br/>Set default DVD to DVD to '''DVD9'''
|-
|[2010-03-01]||'''XBMC 9.11''' (<tt>xbmc xbmc-standalone</tt>)||[[XBMC#Install|Installation instructions]]||
|-
|[2010-03-02]||'''LIRC''' (<tt>lirc</tt>)||For XBMC / Gyration Remote 3101||
|-
|[2010-03-03]||'''KeyTouch''' (<tt>keytouch</tt>, <tt>keytouch-editor</tt>)||
|-
|[2010-03-03]||'''LineAKD''' (<tt>lineakd</tt>)||For troubleshooting Gyration Remote 3101||
|-
|[2010-03-21]||'''CUPS PDF''' (<tt>cups-pdf</tt>)||Allow CUPS to access ~/PDF:<source lang="bash" enclose="prevalid">sudo aa-complain cupsd</source>
|-
|[2010-04-17]||'''fdupes''' (<tt>fdupes</tt>)||
|-
|[2010-06-27]||'''gVim''' (<tt>vim-gnome</tt>)||
|-
|[2010-06-27]||'''Exuberant Ctags''' (<tt>exuberant-ctags</tt>)||
|-
|[2010-09-16]||'''Macbuntu 10.04 theme'''||See [[Gnome#Macbuntu|Macbuntu page]]. Check log + uninstall script in <tt>~/.macbuntu</tt>. no wobbly windows, no hot corners.
|}


Un-installed applications (by uninstall date):
Un-installed applications (by uninstall date):
{| class="install_log"
* [<tt>2009-11-29</tt>] '''cgoban''' games (<tt>cgoban</tt>)
|-
|[2009-11-29]||'''cgoban''' games (<tt>cgoban</tt>)||
|-
|[2010-03-01]||'''xbindkeys''' and '''xbindkeys-config'''||For Gyration Remote 3101 (<tt>xbindkeys</tt>, <tt>xbindkeys-config</tt>)
|-
|[2010-08-10]||'''Vim/Cscope''' (<tt>cscope</tt>)||
|}


== Simple Settings ==
== Simple Settings ==
* [<tt>2009-10-27</tt>] - Enabled proprietary '''video device driver NVIDIA (version 96)'''.
* [<tt>2009-10-27</tt>] - Enabled proprietary '''video device driver NVIDIA (version 96)'''.
* [<tt>2009-10-27</tt>] '''[[Gnome#Gnome_Terminal|gnome-terminal]]''', set '''default window size (system-wide)''' to '''150x43'''.
* [<tt>2009-10-28</tt>] - Fonts '''BitStream Vera 1.10''' (copied to /usr/share/fonts/truetype/local).
* [<tt>2009-11-26</tt>] - <tt>/etc/sudoers</tt> - Allows '''shutdown''' without root password.
* [<tt>2009-11-26</tt>] - <tt>/etc/sudoers</tt> - Allows '''shutdown''' without root password.
* [<tt>2009-12-11</tt>] - Install '''jsMath fonts''', Linux variant, darkness 20 ([http://www.math.union.edu/~dpvc/jsMath/download/TeX-fonts-linux.tgz this file], see [http://www.math.union.edu/~dpvc/jsMath/download/jsMath-fonts.html here], instruction [[Fonts|here]]).
* [<tt>2010-01-03</tt>] - <tt>/etc/sudoers</tt> - Allows '''/usr/bin/truecrypt''' without root password.
* [<tt>2010-01-03</tt>] - <tt>/etc/sudoers</tt> - Allows '''/usr/bin/truecrypt''' without root password.
* [<tt>2010-01-06</tt>] - Install all '''jsMath extra fonts''', dark version ([http://www.math.union.edu/~dpvc/jsmath/download/extra-fonts/welcome.html from this page]).


== Detailed System Settings ==
== Detailed System Settings ==
Line 84: Line 148:
* Software to install: '''Ubuntu desktop'''
* Software to install: '''Ubuntu desktop'''
* Partition: ''[[Configuration Gryphon|see parent page]]''
* Partition: ''[[Configuration Gryphon|see parent page]]''
==== Upgrade Ubuntu Lucid Lynx 10.04 ====
* Upgrade to '''Ubuntu 10.04 Lucid Lynx'''
* Restored '''Synergy''' configuration files


=== File System ===
=== File System ===
<ul>
<ul>
<li>Partition summary:</li>
{| class="wikitable"
|-
!Device!!Label!!Size!!Type!!Options!!Mount
|-
|<tt>/dev/sda1/</tt>||40GBDSK1||align="right"|8.4 GB||ntfs||ro||<tt>/windows/c</tt>
|-
|<tt>/dev/sda2/</tt>|| ||align="right"|1.0 GiB||swap||Defaults||swap
|-
|<tt>/dev/sda3/</tt>||UBUNTU||align="right"|8.0 GiB||reiserfs||notail,noatime||<tt>/</tt>
|-
|<tt>/dev/sda5/</tt>|| ||align="right"|8.6 GiB||reiserfs||notail,noatime||<tt>/mnt/data</tt>
|-
|<tt>/dev/sda6/</tt>||40GBDSK2||align="right"|14 GiB||fat32||Defaults||<tt>/windows/f</tt>
|-
|<tt>/dev/sdb1/</tt>||120GB||align="right"|124 GB||ext4||Defaults||<tt>/mnt/data120</tt>
|-
|<tt>/dev/sdc1/</tt>||250GB||align="right"|250 GB||ntfs||Defaults||<tt>/windows/d</tt>
|}
<li>File system structure:</li>
<li>File system structure:</li>
<div style="padding-left:2em;">
<div style="padding-left:2em;">
Line 117: Line 165:
drwxr-xr-x root root <font color="blue">data</font>/ <font color="gray"># /dev/sda5</font>
drwxr-xr-x root root <font color="blue">data</font>/ <font color="gray"># /dev/sda5</font>
drwxr-xr-x root root <font color="blue">data120</font>/ <font color="gray"># /dev/sdb1</font>
drwxr-xr-x root root <font color="blue">data120</font>/ <font color="gray"># /dev/sdb1</font>
drwxr-xr-x root root <font color="blue">mnemosyne</font>/
'''<u>/mnt/mnemosyne</u>''':
lrwxrwxrwx root root <font color="darkcyan">archives</font> -> <font color="blue">/net/mnemosyne/volume1/archives</font>/
lrwxrwxrwx root root <font color="darkcyan">backup</font> -> <font color="blue">/net/mnemosyne/volume1/backup</font>/
lrwxrwxrwx root root <font color="darkcyan">movies</font> -> <font color="blue">/net/mnemosyne/volume1/movies</font>/
lrwxrwxrwx root root <font color="darkcyan">musics</font> -> <font color="blue">/net/mnemosyne/volume1/musics</font>/
lrwxrwxrwx root root <font color="darkcyan">photos</font> -> <font color="blue">/net/mnemosyne/volume1/photos</font>/
lrwxrwxrwx root root <font color="darkcyan">public</font> -> <font color="blue">/net/mnemosyne/volume1/public</font>/
lrwxrwxrwx root root <font color="darkcyan">videos</font> -> <font color="blue">/net/mnemosyne/volume1/videos</font>/
'''<u>/net</u>''':
'''<u>/net</u>''':
<font color="gray"># NFS autofs</font>
<font color="gray"># NFS autofs</font>
Line 135: Line 174:
drwxr-xr-x root root <font color="blue">f</font>/ <font color="gray"># /dev/sda6</font>
drwxr-xr-x root root <font color="blue">f</font>/ <font color="gray"># /dev/sda6</font>
</div>
</div>
<li><font color="blue">'''Fixed'''</font>: CIFS shares not properly unmounted during shutdown - see [[Ubuntu#CIFS shares not properly unmounted during shutdown|bug here]]</li>
<li>Mount '''/windows/c''' as '''read-only''' (option '''ro''' in <tt>/etc/fstab</tt>)</li>
<li>Mount '''/windows/c''' as '''read-only''' (option '''ro''' in <tt>/etc/fstab</tt>)</li>
<li>Mount '''mnemosyne''' shares as '''NFS autofs''' (see [https://help.ubuntu.com/community/Autofs]) and as '''SMB autofs'''</li>
<ul>
<li>Enabled/created the following automounters in <tt>/etc/auto.master</tt>:</li>
{{pl2|<source lang="bash" enclose="prevalid">
/net /etc/auto.net
/smb/mnemosyne /etc/auto.smb.mnemosyne
</source>}}
<li>Content of the file <tt>/etc/auto.smb.mnemosyne</tt>:</li>
{{pl2|<source lang="bash" enclose="prevalid">
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
</source>}}
<li>Created SMB credential files <tt>/etc/auto.smb.mnemosyne.*</tt> (see <code>man mount.cifs</code>)</li>
<li>Created Symlink:</li>
{{pl2|<source lang="bash" enclose="prevalid">
ls /net/mnemosyne
sudo mkdir -p /mnt/mnemosyne
for i in /net/mnemosyne/volume1/*; do sudo ln -s $i /mnt/mnemosyne/$(basename $i); done
</source>}}
</ul>
</ul>
</ul>


=== Network ===
=== Network ===
<ul>
* '''SAMBA''' - Created the following shares (file <tt>/etc/samba/smb.conf</tt>):
<li><font color="blue">'''SAMBA CLIENT''' - '''Fixed'''</font>: CIFS shares not properly unmounted during shutdown - see [[Ubuntu#CIFS shares not properly unmounted during shutdown|bug here]]</li>
** '''d''' &rarr; <tt>/windows/d</tt> (''guest ok'')
<li> '''SAMBA SERVER''' - Created the following shares (file <tt>/etc/samba/smb.conf</tt>):</li>
** '''f''' &rarr; <tt>/windows/f</tt> (''guest ok'')
** '''j''' &rarr; <tt>/windows/j</tt> (''guest ok'')
* '''d''' &rarr; <tt>/windows/d</tt> (''guest ok'')
** '''k''' &rarr; <tt>/windows/k</tt> (''guest ok'')
* '''f''' &rarr; <tt>/windows/f</tt> (''guest ok'')
* '''j''' &rarr; <tt>/windows/j</tt> (''guest ok'')
* '''k''' &rarr; <tt>/windows/k</tt> (''guest ok'')
</ul>

See also common [[Configuration Common#Common Settings|Common configuration settings]]


=== Preferences ===
=== Preferences ===
<ul>
* Appearance
<li>Theme</li>
:* Background: '''<tt>Isabelle Hires Noir&Blanc crop-despeckle 936x1024.png</tt>''', scaled, background color = '''(160,160,160)'''
The mighty '''[[Gnome#Macbuntu|Macbuntu 10.04]]''' theme! Reverted changes:
:* Fonts: All font size set to '''9''', except Desktop &rarr; '''10'''.
* '''Fonts''' &mdash; see below.
* Display
* '''Terminal''' &mdash; ''Colors'' select '''Use colors from system theme''' (was set to ''Gray on black'' built-in schemes). Keep transparent background '''95%'''.
:* Resolution: '''1280x1024''', refresh rate '''auto'''
* '''Panel''' &mdash; add back '''System Monitor'''. We don't add back the bottom task panel.
:* <font color="red">'''Issue'''</font>: Can't save the settings - error message <tt>Can't parse /etc/X1/xorg.conf</tt>
* Windows '''<tt>button_layout</tt>''': <tt>menu:minimize,maximize,close</tt>
:* <font color="blue">'''Fixed'''</font>: Create a new <tt>/etc/X11/xorg.conf</tt> with

{{pl2|{{pl2|<source lang="bash">
<li>[[Fonts|Fonts]]</li>
* <s>(before ''Macbuntu'') ''Application'' &rarr; '''Tahoma 9'''; ''Document''&rarr; '''Sans 8'''; ''Desktop'' &rarr; '''Sans 8'''; Title &rarr; '''Sans Bold 9'''; ''Fixed width'' &rarr; '''Monospace 8'''</s>
* (after ''Macbuntu'') ''Application'' &rarr; '''Lucida Grande 9'''; ''Document''&rarr; '''Lucida Grande 9'''; ''Desktop'' &rarr; '''Lucida Grande 9'''; Title &rarr; '''Lucida Grande 10'''; ''Fixed width'' &rarr; '''Lucida Console 9''' (originally ''Lucida Console 10'')
* (after ''Macbuntu'') Fonts &mdash; rename <tt>~/.fonts.conf</tt> to <tt>~/.fonts.conf.macbuntu</tt> to disable macbuntu hinting settings override.
* Resolution = '''84 dpi''' (originally 96) (in ''Appearance'' &rarr; ''Fonts'' &rarr; ''details...'')
* System fonts (<tt>/usr/local/share/fonts</tt>):
:Added '''BitStream Vera 1.10'''
:Added '''jsMath fonts''' (Linux variant, [http://www.math.union.edu/~dpvc/jsMath/download/TeX-fonts-linux.tgz darkness 20 file], see [http://www.math.union.edu/~dpvc/jsMath/download/jsMath-fonts.html here])
:Added all '''jsMath extra fonts''' ([http://www.math.union.edu/~dpvc/jsmath/download/extra-fonts/welcome.html dark version from this page])
* User fonts (<tt>~/.fonts</tt>):
:Added '''Tahoma'''

<li>Background</li>
* <tt>Isabelle Hires Noir&Blanc crop-despeckle 936x1200.png</tt> (from <tt>~/etc</tt>), centered, background color = '''(66,85,146)''' (old was 160,160,160).

<li>Keyboard Layout (System-Wide)</li>
* Layout: '''Belgium''' (default) + '''USA''', no separate layout<br/>Custom layout '''Belgium''' (file <tt>/usr/share/X11/xkb/symbols/be</tt>) to allow ''AltGr-;'' &rarr; '<tt>&lt;</tt>' and ''AltGr-:'' &rarr; '<tt>&gt;</tt>'
* Options: '''Capslock''' affects all keys, '''right alt''' chooses 3rd level.<br/>

<li>Display</li>
* Resolution: '''1280x1024''', refresh rate '''auto'''
* <font color="red">'''Issue'''</font>: Can't save the settings - error message <tt>Can't parse /etc/X1/xorg.conf</tt>
* <font color="blue">'''Fixed'''</font>: Create a new <tt>/etc/X11/xorg.conf</tt> with
{{pl2|<source lang="bash">
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.original
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.original
sudo nvidia-xconfig
sudo nvidia-xconfig
sudo nvidia-settings
sudo nvidia-settings
</source>}} }}
</source>}}
:* <font color="red">'''Issue'''</font>: Windows are blank (see info [http://forum.compiz.org/archive/index.php/t-1682.html here] and [http://ubuntuforums.org/archive/index.php/t-392734.html here])
* <font color="red">'''Issue'''</font>: Windows are blank (see info [http://forum.compiz.org/archive/index.php/t-1682.html here] and [http://ubuntuforums.org/archive/index.php/t-392734.html here])
:* <font color="blue">'''Fixed'''</font>: Edit the new <tt>/etc/X11/xorg.conf</tt> as follows:
* <font color="blue">'''Fixed'''</font>: Edit the new <tt>/etc/X11/xorg.conf</tt> as follows:
{{pl2|{{pl2|<pre>
{{pl2|<pre>
...
...
Identifier "Screen0"
Identifier "Screen0"
Line 192: Line 235:
Device "Device0"
Device "Device0"
...
...
</pre>}} }}
</pre>}}

* Keyboard Shortcuts
<li>Keyboard Shortcuts</li>
<div style="padding-left:2em;">
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 205: Line 248:
| Activate the window menu || '''Shift-Alt-Space''' || was conflicting with Gnome DO shortcut
| Activate the window menu || '''Shift-Alt-Space''' || was conflicting with Gnome DO shortcut
|}
|}

</div>
<li>Power management buttons (edited with Gnome's '''configuration Editor'''):</li>
* Window List Panel (see [[Gnome#Configuring the Window List Panel|here]])
{| class="wikitable"
|-
! Name !! Current value !! Default value
|-
| hibernate || hibernate || hibernate
|-
| lid_ac || suspend|| suspend
|-
| lib_battery || suspend || suspend
|-
| power || interactive || interactive
|-
| suspend || '''nothing''' || hibernate
|}

<li>Window List Panel (see [[Gnome#Configuring the Window List Panel|here]])</li>
:Window List Content &rarr; '''Show windows from all workspace'''
:Window List Content &rarr; '''Show windows from all workspace'''
:Restoring Minimized Windows &rarr; '''Restore to native workspace'''
:Restoring Minimized Windows &rarr; '''Restore to native workspace'''
* Screensaver
** Picture folder + edited settings with <tt>gconf-editor</tt>


<li>Screensaver</li>
=== Update / Package Management ===
* Picture folder + edited settings with <tt>gconf-editor</tt>
Repositories / keys:
</ul>
* Added '''Opera authentication key''' (see [[Opera#Ubuntu|here]])
* Added '''Medibuntu''' repository (See [[Ubuntu#Medibuntu|here]])
* Added '''Iplist''' repository (See [[Amule#Installation|here]])


=== Users ===
=== Users ===
Line 249: Line 304:
=== Gnome DO ===
=== Gnome DO ===
* [[Gnome#Gnome DO|My reference page]]
* [[Gnome#Gnome DO|My reference page]]
* Autostart, Quiet mode, notification icon, Classic theme
* Start Gnome DO at login
* Launch key: '''<alt>+space''' (! disable first Gnome global shortcut for ''Activate the window menu'')
* 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 ===
=== Nautilus ===
Line 261: Line 314:


=== Opera ===
=== Opera ===
* Current version: '''Opera 10.00''', .deb package for Ubuntu Karmic Koala 9.10.
* Current version: '''Opera 10.00''', .deb package for Ubuntu.
* ''Use Master Password to protect saved passwords''.
* ''Use Master Password to protect saved passwords''.
* Set '''Google''' as default search engine (toolbar and speed dial).
* Set '''Google''' as default search engine (toolbar and speed dial).
Line 290: Line 343:
* Gnome: Added '''Psi''' as startup program (''Psi'', <tt>/usr/bin/psi</tt>, ''Communicate over the jabber network'').
* Gnome: Added '''Psi''' as startup program (''Psi'', <tt>/usr/bin/psi</tt>, ''Communicate over the jabber network'').
* '''Options''' &rarr; '''Events''' &rarr; '''Enable popup notifications''' (all notifications)
* '''Options''' &rarr; '''Events''' &rarr; '''Enable popup notifications''' (all notifications)
* '''Modify Account...''' &rarr; '''Automatically reconnect if disconnected'''.


=== Synergy ===
=== Synergy ===
* [[X#Synergy|Reference page]]
* [[X#Synergy|Reference page]]
* '''synergy v1.3.1'''
* '''synergy v1.3.1'''
* Configuration file <tt>[[{{PAGENAME}} - Files#/etc/synergy.conf|/etc/synergy.conf]]</tt>
* Install '''xsel''' (to circumvent Firefox copy/paste Chinese bug)
* Install '''xsel''' (to circumvent Firefox copy/paste Chinese bug)
* Edited ''gdm'' startup scripts to launch server automatically
* Configuration file <tt>[[{{PAGENAME}} - Files#/etc/synergy.conf|/etc/synergy.conf]]</tt>

* At the end of <tt>/etc/gdm/Init/Default</tt>
=== [[Gnome#Gnome_Terminal|Terminal]] ===
<pre>
* Set '''default window size (system-wide)''' to '''150x43'''.
#
* Disabled '''menu shortcut key (F10)'''
# Start the synergy server
#
/usr/bin/killall synergys
sleep 1
/usr/bin/synergys --config /etc/synergy.conf --daemon
</pre>
* At the beginning of <tt>/etc/gdm/PostLogin/Default</tt>
<pre>
#
# Kill all running synergy server
#
/usr/bin/killall synergys
sleep 1
</pre>
* At the beginning of <tt>/etc/gdm/PreSession/Default</tt>
<pre>
#
# Start synergy server
#
/usr/bin/killall synergys
sleep 1
/usr/bin/synergys --config /etc/synergy.conf --daemon
</pre>


=== TrueCrypt ===
=== TrueCrypt ===
Line 330: Line 363:
* ''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 ==
* Check '''ViewNX''', image viewer application that can run under Wine (from Claude).
* Related to blank windows and xorg.conf bug when saving nvidia settings:
* Related to blank windows and xorg.conf bug when saving nvidia settings:
** Try to add the line '''<code>Option "DisableGLXRootClipping" "True"</code>''' (although they say [http://forum.compiz.org/archive/index.php/t-1682.html here] that it must not be done)
** Try to add the line '''<code>Option "DisableGLXRootClipping" "True"</code>''' (although they say [http://forum.compiz.org/archive/index.php/t-1682.html here] that it must not be done)

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