Actions

PC configurations

From Just in Time

Revision as of 13:46, 28 January 2017 by Danny (talk | contribs)

Note that this page is not directly related to any MCU project. Since I'm installing quite a number of different linux configurations on systems, this page contains some notes on how they've been configured.

Eclipse

This page describes how to hack a shared library to allow Unity menu integration of eclipse. The gist of it:

cd /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies && sudo sed -i 's/Eclipse/Xclipse/' libappmenu.so

To change the appearance of tool tips in unity to be legible within eclipse, follow these instructions. Gist:

sudo gedit /usr/share/themes/Radiance/gtk-2.0/gtkrc

and use #000000 for tooltip_fg_color and #f5f5b5 for tooltip_fg_color.

Media PC

  • Ubuntu 10.04
  • mythtv from synaptic
  • mythweb
  • phpmyadmin
  • unsuccessful move to new Nvidia graphics card (FIXME)
  • tv_grab_nl_py script
  • trying to slow down GPU fan through lm-sensors, needs kernel option to run it87 driver (as descriped here)

Laptop

Adapt /etc/init.d/ondemand to switch to 'conservative' instead of 'ondemand'.

Citrix receiver setup on this page.

if needed add the local script to the init sequence with

sudo update-rc.d local defaults

The following is not needed anymore after a clean install of 13.04

See this thread: http://ubuntuforums.org/showthread.php?t=1747226

To get touch interface to work again on a Toshiba M700, add the following to /etc/init.d/local

xsetwacom set "Serial Wacom Tablet touch" touch on
xsetwacom set "Serial Wacom Tablet touch" Gesture on

By default the screen brightness is very low when logging in. I therefore also add the following to the same file

echo 7 > /sys/class/backlight/acpi_video0/brightness

Desktop

Graphics driver performance

High compiz cpu load? Verify that the graphics driver is not the gallium (software) renderer ("System Settings"->"Details"). Install xserver-xorg-video-intel if it is.

adapt /etc/nsswitch.conf if browsers start to become slow in dns lookup.

this page shows how to install a canon MP640 under ubuntu. The gist is:

sudo add-apt-repository ppa:michael-gruz/canon
sudo apt-get update
sudo apt-get install cnijfilter-mp640series

Install inconsolata

Easiest by installing TypeCatcher. This install inconsolate from Google fonts, making sure that there is a decent (truly monospaced) bold version as well.

Server

Dovecot issue with smb pam:

dpkg --purge libpam-winbind libpam-smbpass