Griffin - Ubuntu: Difference between revisions
Jump to navigation
Jump to search
Line 399: | Line 399: | ||
=== Issues on Trusty === |
=== Issues on Trusty === |
||
<ul> |
<ul> |
||
<li>'''{{red|Issue}}''' — v-sync tearing during DVD playback in XBMC 13.0 Gotham</li> |
<li>'''{{red|Issue}}''' — v-sync tearing during DVD playback in XBMC 13.0 Gotham (see [[XBMC]]</li> |
||
* This occurs despites enabling V-Sync in NVidia drivers and XBMC Video settings. |
|||
* Some related bugs: launchpad [https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1278012 1278012], duplicate of [https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/1280665 1280665] + xbmc forum [http://forum.xbmc.org/showthread.php?tid=183343&pid=1698995] |
|||
* Work-around: [https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/1280665 1280665] recommends using a patched libsdl1.2. Tested and works. This seems a better option than patch below. |
|||
sudo apt-add-repository ppa:timo-jyrinki/ppa |
|||
sudo apt-get update |
|||
sudo apt-get install libsdl1.2debian |
|||
* Work-around: [https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1278012 1278012] recommends disabling X-server backing store. Tried and this works. |
|||
cat /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf |
|||
[SeatDefaults] |
|||
# Dump core |
|||
xserver-command=X -bs -core |
|||
* Work-around: Try without composite manager, or logging in directly in xbmc? |
|||
</ul> |
</ul> |
||
Revision as of 13:25, 10 May 2014
Introduction
This is the configuration page for the Ubuntu partition on Griffin.
Configuration Files
All configuration files can be found here.
Repositories
In addition to repositories in the common configuration:
- Added IPList
Added gitg- Added texlive-backports ppa (backports of latest TeX Live from Ubuntu 12.10, see [1])
sudo add-apt-repository ppa:texlive-backports/ppa
- Added LibreOffice 4.0.x PPA (LibreOffice 4.0.x series stable backports ppa, see [2])
sudo add-apt-repository ppa:libreoffice/libreoffice-4-0
sudo apt-get update
sudo apt-get install libreoffice-gnome
Installed Applications
Common Applications
See Common configuration for Linux.
Essentials
Google Chrome (chromium-browser) | |
TrueCrypt | [2012-04-29] v7.0a, with AES-NI instructions! |
Privoxy (privoxy) | |
LAMP (apache2 php5 mysql-server mysql-client php5-mysql) | See local config |
PHPMyAdmin (phpmyadmin) | Install for apache2 + configure database with dbconfig-common. See local config apache2 only, |
Courier IMAP (courier-imap courier-doc courier-imap-ssl) | * Install (reference here):
|
Courier-POP3 (courier-pop courier-pop-ssl) | |
Courier-MTA (courier-mta courier-mta-ssl) | so that mails are sent to Courier mailboxes.
postmaster: baddreams |
Evolution plugins (evolution-plugins-experimental) | For opening Winmail.dat attachment in Evolution |
Evolution RSS (evolution-rss) | |
GNU C/C++ compiler (g++) | |
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
|
GNU libc documentation (glibc-doc) | |
Eclipse (eclipse) | |
Psi (psi) | See local config |
LaTeX (texlive texlive-xetex latex2hml) | Including XeTeX package Upgraded to TeX Live 2012 (from texlive-backports ppa) |
TeX Extra packages (texlive-plain-extra texlive-science texlive-latex-extra) | Soul package requires CTAN color package - see [3] [2011-01-14] Added texlive-science. Upgraded to TeX Live 2012 (from texlive-backports ppa) — requires package texlive-latex-extra |
pdftk (pdftk) | |
KDirStat (kdirstat) | |
PCSC Tools (pcsc-tools) | For ATR_analysis. |
ACL (acl) | |
Synergy (synergy) | v1.4.10! See local settings. |
Acrobat Reader (acroread) | Edit mime type in ~/.local/share/applications/mimeapps.list:[Added Associations]
application/pdf=acroread.desktop;evince.desktop;gimp.desktop
Add to ~/.mailcap: application/pdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
application/x-pdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
application/x-bzpdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf.bz2
application/x-gzpdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf.gz
|
Local Applications
MBR (mbr) | To create VirtualBox rawdisk |
Racoon (racoon) | For RSA key generation, see Crypto |
HTTrack (httrack) | |
NTL (libntl-dev libntl-5.4.2) | |
GMP (libgmp3-dev libgmp3c2 gmp-ecm) | |
MDF to ISO Converter (mdf2iso) | CD image conversion utility |
K3b (k3b) | |
aMule (amule) | |
fdupes (fdupes) | |
PuddleTag (puddletag python-qt4 python-pyparsing python-mutagen python-configobj python-musicbrainz2) | [2010-12-23] v 0.9.11 See local page |
FTP Server (proftpd-basic) | Followed instructions here
sudo /etc/init.d/proftd start
|
Some git browsers (qgit gitg source-highlight) | [2011-02-21] gitg updated to 0.0.8! |
Nautilus Audio Converter (wavpack mppenc libmpcdec6 faac flac vorbis-tools faad lame libid3-3.8.3-dev nautilus-script-audio-convert) | Enable script ConvertAudioFile (Menu Preference → Nautilus Scripts Manager). See Linux audio. |
Canorus (canorus) | Music score editor. Sounds does not work. |
Frescobaldi (frescobaldi) | Music score editor. |
MuseScore (musescore) | Another music score editor. Play sound out of the box. |
Calibre (calibre) | |
Perl Audio Converter (pacpl) | |
VirtualBox (virtualbox) | [2011-06-01] Local settings. Updated to 4.0.14! — See VirtualBox |
dwww (dwww) | |
Word Diff (wdiff) | |
Transmission (transmission) | Disabled DHT, PEX. Seed until ratio = 2.0. Enable privacy filter. |
dos2unix (dos2unix) | |
hexedit (hexedit) | |
violin tuner (fmit, gtkguitune, lingot) | gtkguitune does not seem to work though... |
Ack (ack-grep) | A better grep... sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack
|
gconf-editor | |
uncrustify | v0.59, compiled from source, copied to /usr/local/bin |
openJDK 6 32-bit | Installed via APT, in /usr/lib/jvm/java-6-openjdk-i386:
sudo apt-get install openjdk-6-jdk:i386 \
libice-dev libsm-dev libxt-dev
# Adding 'libice-dev libsm-dev libxt-dev'
# ... to avoid these packages to be removed
Otherwise it can also be copied from e.g. Ubuntu Lucid 32-bit distribution (used to copy /usr/lib/jvm/java-6-openjdk to /usr/lib32/jvm/java-6-openjdk) |
openJDK 7 (openjdk-7-jdk openjdk-7-jre) | Selected alternatives with:
sudo update-alternatives --config java
sudo update-alternatives --config javac
# TODO: Add others (like ant, javah, etc?)
|
Oracle JDK 7 (oracle-java7-installer) | See Linux Software#Oracle / Sun Java |
uncrustify | v0.59, compiled from source, copied to /usr/local/bin |
ia32 libraries (ia32-libs libc6-dev:i386 gcc-multilib) | TODO: Seems we should install ia32-libs-multiarch though... Installing this package removed some package, so reinstall them back with: sudo apt-get install build-essential g++ dkms \
nvidia-current virtualbox-dkms
Compiling with gcc -m32 still does not work though (missing 32-bit libgcc.a). Installing package gcc-4.6:i386 force removal of many 64-bit packages. Instead we go for solution given here: sudo apt-get install gcc-multilib
|
make documentation (make-doc) | |
screen (screen) | |
amarok (amarok) | |
dropbox (dropbox python-gpgme) | python-gpgme needed for dropbox daemon download authentication |
Not yet installed
CUPS PDF (cups-pdf) | Allow CUPS to access ~/PDF:sudo aa-complain cupsd
|
Oracle/Sun Java JDK 1.6 (sun-java6-jdk) | |
Macbuntu 10.10 theme | See Macbuntu page. Check log + uninstall script in ~/.macbuntu. no wobbly windows, no hot corners. Don't launch docky at startup. |
iplist (iplist) | Not found |
IMAPSync (imapsync) | |
Sage 4.7.1 | See Sage |
SSH Tunnel script (sshtunnel.pl, libssl-dev) | Thierry Walrant's Perl script sshtunnel.pl |
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 |
Google Earth (googleearth googleearth-data) | Requires Medibuntu repository |
tnef (tnef,ytnef) | Parsing winmail.dat attachment |
Recoll desktop search (recoll) | See also Recoll page. |
X File Explorer (xfe) | |
4Pane (4pane) | See Linux Software#4Pane |
LIRC (LIRC) | |
LineAKD (LineAKD) | |
KeyTouch (KeyTouch) | |
Grub2 Splash Image (ubuntu-splash-image) | (from lucid-splash-image.deb) installed with sudo dpkg -i --force-architecture lucid-splash-image.deb
|
Uninstalled
Ophcrack, John the ripper (ophcrack john) | To crack win7 password. Uninstalled because not needed anymore |
To install:
- Click Edit and see html comments.
Simple Settings
- [2011-01-16] — Enabled proprietary video device driver NVIDIA.
- [2011-02-13] — gdm — Do not show face browser with know users in login window (see Gnome page).
- [2011-11-13] — Add user www for synchronization of /data/www folder (localhost page):
sudo useradd -g www-data -G users -u 999 -s /bin/bash -m www
sudo passwd www
su - www
ssh-keygen # Or copy .ssh/ copy from other www users
scp .ssh/id_rsa.pub .ssh/authorized_keys
- [2012-04-29] — Copy Macbuntu fonts (Apple Garamond, Lucida Console...) to /usr/share/fonts/mac.
- SUDO - keep environment variable http_proxy, https_proxy (to keep proxy settings for apt-get etc)
- SUDO - keep environment variable GREP_OPTIONS (keep grep options)
- SUDO - keep environment variable DISPLAY, XAUTHORITY (avoid doing
xhost local:root
before launching X pgm) - SUDO - keep environment variable HOME (e.g. to keep git aliases and settings when using etckeeper)
Defaults env_reset
Defaults env_keep += "http_proxy https_proxy GREP_OPTIONS DISPLAY XAUTHORITY HOME"
- Printer — add Canon network printer (select IPP network printer via DNS-SD for protocol)
- Set Color Model to CMYK
- apport — disable apport, which produces these annoying popup System program problem detected. Edit /etc/default/apport (see [4]), and set:
enabled=0
- Force locale time to
en_US.UTF-8
. Add to ~/.profile:
export LC_TIME="en_US.UTF-8"
Detailed System Settings
1st install
- 1st install on [2011-01-15]
- Distribution: Ubuntu 10.10 amd64
- Installation method: Net boot install from Internet using GRUB
- Language: English
- Location: Europe, Belgium Time
- Computer name: griffin
- Keyboard layout: BE
- Name: baddreams
- Login name: baddreams
- Update: Install security updates automatically
- Software to install: Ubuntu Desktop
- Partition: see main page
2nd install
- 2nd install on [2012-04-28]
- Distribution: Ubuntu 12.04 amd64
- Installation method: Net boot install from Internet using GRUB
- Language: English
- Location: Europe, Belgium Time
- Computer name: griffin
- Keyboard layout: BE
- Name: baddreams
- Login name: baddreams
- Update: No automatic update
- Software to install: Ubuntu Desktop
- Partition: see main page (except that /home was temp. mounted to /homeold)
File System
- To be completed
Network
- To be completed
Preferences
- Fonts (via ubuntu-tweak):
- Hinting: Basic
- Antialiasing: Subpixel antialising (LCD screens only)
- Keyboard
Category | Font | Size |
---|---|---|
Default Font | Ubuntu | 9 |
Desktop Font | Sans | 9 |
Monospace font | Lucida Console Semi-Condensed | 10 |
Document font | Sans | 10 |
Window title bar font | Ubuntu Bold | 10 |
Users
- NAS Users
# For interface with NAS (note: users are disabled)
sudo useradd -s /bin/bash -u 1027 -g 100 nasbackup
sudo useradd -s /bin/bash -u 1028 -g 100 nasphotos
sudo useradd -s /bin/bash -u 1029 -g 100 nasmovies
sudo useradd -s /bin/bash -u 1030 -g 100 nasvideos
sudo useradd -s /bin/bash -u 1031 -g 100 nasmusics
sudo useradd -s /bin/bash -u 1032 -g 100 nasarchives
- Add user baddreams to group users (for write access to mnemosyne)
sudo gpasswd -a baddreams users
- Disable guest account in lightdm. Edit /etc/lightdm/lightdm.conf, and add:
allow-guest=false
Detailed Application Settings
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)
Nautilus
- Default view: List View
- Display, date format: YYYY-MM-DD hh:mm:ss
- List View: zoom 33%
- Icon View, Compact View: zoorm 50%
- 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
Synergy
- Configuration file /etc/synergy.conf
- Install xsel (to circumvent Firefox copy/paste Chinese bug)
- Edited gdm startup scripts to launch server automatically
- Added quick alias to ~/.bashrc
Terminal
Vim
- Added ~/.bash_completion from [5] (modified to also take
alias v=gvim
)
Wine
See Configuration Griffin - Wine.
To Do
Issues on Trusty
- Issue — v-sync tearing during DVD playback in XBMC 13.0 Gotham (see XBMC
Issues on Precise
- Issue — Can't map Super-Space for Gnome-Do
- solved? — open ccsm → Ubuntu Plugin → temporarily change the shortcut for the launcher. Change gnome-do shortcut again, and then restore the launcher shortcut to super.
- solved — Use Synapse instead with Alt-Space as mapping.
- Issue — Current openjdk-6-jdk does not print file full path in error message, but only basename, which breaks vim "goto bug" feature.
- partially solved — This is solved in openjdk-7-sdk, but can't install 32_bit version though. So for 32-bit, we need to refer to openjdk-6 libraries.
- Issue — Super-Space does not work. Also cannot bind to Alt-Space either (get error (Do:6011): libdo-WARNING **: Binding '<Alt>space' failed!). See bug 988699, [6] (Bugs: Do)
- temporary fix — killing and restarting gnome-do in a shell (
gnome-do&
) to re-enable Super-Space - solved — Use Synapse instead with Alt-Space as mapping.
- temporary fix — killing and restarting gnome-do in a shell (
- Issue — Compiz Ring Switch requires pressing Enter to select a window.
- solved — Change Key to show the launcher to Shift-Super in Ubuntu Unity Plugin. Also, changed Key to show the HUD to Ctrl-Super
- Issue — Compiz Scale plugin Initiate Window Picker for All Windows does not work (show windows for current workspace only)
- See bug 933776
- A patch can be found in this ppa (
sudo add-apt-repository ppa:mc3man/fixing-scale
)
Issues on Maverick
- Issue — No Configuration Editor link in the menu. Must be added by hand?
- Solved — Enable it by editing Gnome menu, right click on menu → Edit Menu → System Tools → Enable icon for Configuration Editor.
- Issue — Known issues documented in Maverick release manifest & Release Notes:
- Connected DisplayPort monitors may prevent booting. (655795)
- 802.11n support for the iwlagn driver has been temporarily disabled. Intel is actively working to get this properly fixed up in the firmware. This workaround should be reverted once updated firmware is available. (630748, 654152). See also Ubuntu Forums thread, Bug 16691 kernel.org, Intel WiFi driver for linux and official Linux Wireless wiki. cfr file /etc/modprobe.d/intel-5300-iwlagn-disable11n.conf
- The logo will not display during boot when using the Nvidia proprietary driver. (653274)
- Issue — [arrandale] Integrated intel graphics GMA HD doesn't work (590504). See also [7] This relates to kernel message at boot:
- Issue — Suspend does not work; pc goes suspend but then restart immediately it seems in login screen. Related bug: 570604.
- Solved — Problem is linked with xhci_hcd that prevents suspend when loaded (this is because sleep/suspend is not implemented yet in that module). Unloading it will allow suspend (workaround). Bug is fixed in Ubuntu 11.04. Launchpad bug 522998
- Issue — Window Manager does not display window decorators after Macbuntu install. Temporary fix:
dmesg | grep -i iwl
sudo modprobe -r iwlagn
sudo modprobe iwlagn 11n_disable=1
iwconfig # Check that 11n is disabled
# ...
# wlan0 IEEE 802.11abg ESSID:off/any
#
# ...
dmesg | grep i915
# ... intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled
echo 'SUSPEND_MODULES="xhci_hcd"' >> /etc/pm/config.d/unload_modules # As root
compiz --replace&
<li> '''{{red|To Do}}''' — Setup BEH (backend error handler) for CUPS</li>
To Do
- To Do — NFS Server, Remove temporary rules from /etc/exports
- To Do — Get apt-get log for 1st install.
- To Do — Look here for possible fix on EliteBook laptops.
- To Do — Look at byobu (see this also).
- To Do — Install better temperature management from Intel, see [8]
- To Do — To-Do list after upgrade to trusty:
- Fonts (in opera at least) are strange
- Recover etc settings (at least for: ufw, autofs, mc, mailcap)